By continuing to use this site, you agree to the Terms of Service of this website, including usage of cookies.

OK, Don't show this again

Cycles in-game time as that in real life
version 1.2.1
Approved
Direct Download How to install?
Switch version
3590 Downloads / 8008 Total
1 Review
Plugin Description §

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:

What's new §
  • RealTime can now synchronise vanilla time to match your location details. Just specify your location in location.yml or let RealTime do this by turning on auto_locate in config.yml (Head to geoPlugin.yml first to accept the policies).
  • You may specify the worlds you would like realtime to target.
  • Added more commands.
  • Added time broadcaster.
  • Improved configuration auto-updater.
  • Updated to Version 1.1.0
    • Added moon phases.
    • Added "day starts at" setting.
    • Internal code improvements.

patahgaming
using v1.2.1
22 Jul 21
day and night was have worng time exemple 10:00 in real life 22:00 in realtime plugin php.ini was setting date time zone

Reply to review by :

Supported API versions
3.0.0
->
3.22.1
License §
Categories:
Informational
General
API plugins
Permissions
Permissions
Commands
Asynchronous tasks

You can leave one review per plugin release, and delete or update your review at any time

Loading...