Skip to content

Remove Timings and bundle Spark#2117

Open
Villagers654 wants to merge 5 commits intoCloudburstMC:masterfrom
Villagers654:remove_timings_add_spark
Open

Remove Timings and bundle Spark#2117
Villagers654 wants to merge 5 commits intoCloudburstMC:masterfrom
Villagers654:remove_timings_add_spark

Conversation

@Villagers654
Copy link
Copy Markdown

Since timings is being deprecated and removed by Paper #8948 and its forks, it makes sense for Nukkit to follow suit and remove timings in favor of Spark.

This PR removes Timings from the server completely, and then installs Spark automatically (unless the user already has installed Spark as a plugin)

The method of installing Spark is based on Purpur #1020

@PetteriM1
Copy link
Copy Markdown
Member

Is it intentionally only downloading Spark when the server is reloaded? Also, there should probably be a setting to disable Spark download.

@Villagers654
Copy link
Copy Markdown
Author

To make a config change, do I have to write a PR to Languages? Or am I missing something

@PetteriM1
Copy link
Copy Markdown
Member

To make a config change, do I have to write a PR to Languages? Or am I missing something

Yes. The default nukkit.yml is loaded from language submodule and it isn't updated automatically because that would remove all comments I think.

@Kazzuk
Copy link
Copy Markdown
Member

Kazzuk commented Jul 8, 2023

Noticed a few Timings references lingering:

  1. ISSUE_TEMPLATE.md
  2. Server.java
  3. DefaultPermissions.java

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants