(4.0.0 - 4.21.1) 1.0.0 (5.0.0 - 5.16.0) 1.2.0
269
Read more on poggitThe WorldTime plugin is a PocketMine plugin that allows you to set the time of specific worlds in your server based on a configuration file.
The plugin comes with a configuration file named config.yml
. You can modify this file to configure the plugin behavior.
The config.yml
file contains the following options:
config-version
: (Do not modify) The version of the configuration file.worlds
: An array of worlds and their settings. Each world has the following options:
time
: The desired time value for the world. It can be one of the predefined values (day, night, sunset, sunrise, noon) or a custom integer value.stop
: (Optional) Set to true
if you want to stop the time in the world.message
: The log message to display when setting the time of a world. You can use placeholders to dynamically insert values. Available placeholders: {WORLD}
, {TIME}
.config.yml
file to specify the worlds and their time settings.The plugin will log a message for each world it sets the time for, using the configured log message. The {WORLD}
and {TIME}
placeholders in the log message will be replaced with the respective values.
worlds:
world1:
time: day
stop: false
world2:
time: 6000
stop: true
world3:
time: sunset
stop: false
message: 'Set the time of the {WORLD} world to {TIME}.'