Installation - Alex39099/TimeControl GitHub Wiki

Installation

Before Installation

If you encounter any problems enabling or running the plugin please make sure to:

  • use the latest version of the plugin.
  • use the latest Spigot or Paper MC version of a Minecraft version the plugin supports.

The currently supported versions are always updated on the plugin page on Spigot.

Please do only report bugs if you made sure to follow these steps first!

Also please note that the plugin uses bstats to collect some data like a global server count. It really motivates to see my plugin is actually used so I would like you to not deactivate it. However if you really wish to you can do it via the bstats folder which is created during installation process within your server's plugins folder.

Installation

Just put the jar file into your server's plugins folder and start your server. After the plugin was loaded by the server it will create a folder called TimeControl within the plugins folder. In there you should at least find the config.yml.

If the plugin is not yet configured you will get an error message in the console. The reason behind this is that you should configure which worlds you want to be controlled by the plugin because it will disable the game rule doDaylightCycle. But also you can set defaults for all newly generated world specific configurations - so this most likely saves you some time. Please see Basic Configurations for more.

Important Information:

  • Java 11 or higher is required to run the plugin since v4.1.1.
  • Do not re-enable doDaylightCycle or set playersSleepingPercentage back to 100 manually for any effected world or it will create funky behavior.
  • In order to disable the action bar message 'No amount of rest can pass this night' you will need to install ProtocolLib.
  • Reloading should be supported but nevertheless it is never a good idea to reload your server.

Debug Mode

The plugin has an integrated debug mode. It is mainly for personal use while developing or for very individual plugin support.

To enable debug mode add "debug: true" to the configuration file. It has to be on the top level (i. e. same level as configured)