RealTime
No funciona (falla al cargar) — Could not load plugin 'RealTime_1.2.1.phar': Invalid plugin manifest: Invalid Plugin "permissions": Nested permission declarations are no longer supported. Declare each permission separately. · Probado en PocketMine-MP 5.50.0 (PHP 8.4.27).
Description
A PMMP plugin that cycles in-game time according to real-life factors.
Configuration
version NEVER CHANGE THIS VALUE
enable_time_sync [true,false] If true, vanilla time will run with respect to real-life factors
worlds ["myworld","broken_nether","TheLOLlevel"] The worlds you would like the plugin to do its job on. Separate the world names with a comma. Leave the brackets empty to include all the worlds
location_dependant If true, vanilla day will cycle as a real day somewhere on earth. Enter your location details in location.yml
auto_locate If true, the server will verify the location details every time it starts up using geoPlugin.com
noon_time The time the sun is at its peak. Used if location_dependant is set to false. Don't remove the double quotes "hh:mm:ss". Example: "12:05"
broadcast_interval Time interval in minutes at which a message with the time is broadcasted
broadcast_mode [message,tip,popup,title] The way players will receive the message
Commands
/realtime Alias: (/rt)
/realtime current returns the current time. '/realtime' alone could be used instead.
/realtime disable disables game time from synchronising with real-life factors.
/realtime enable enables game time synchronising with real-life factors.
/realtime help provides a list of available commands.
/realtime reload updates the settings to correspond to the files.
/realtime status returns status about the sun position and current day.
Additional information
-
If you're facing timezone issues (the time on your machine is not the same as your terminal). Open up SERVER DIRECTORY/bin/php/php.ini . Add, on a new line, the following setting date.timezone= "YOUR TIMEZONE". A list of all supported timezone shall be found here: www.php.net/manual/en/timezones.php . In my case date.timezone= "Africa/Cairo"
-
The results you going to observe are NOT completely accurate. This is to decline bad impact on the overall performance. We'll work on better accuracy, with performance into consideration, on the next updates.
Credits
Icon by: Aleksandr Reva (https://www.iconfinder.com/icons/1034355/day_night_date_moon_sun_icon)
Contribution
Have ideas or found an issue? Feel free to contribute with us. Links:
-
Open an issue or leave a suggestion
-
Add something new or fix a bug
Donate
If you find this project useful, please consider supporting the development with a small donation. A little amount would support me and help me get better products in the future. Thank you :)
Donate here