RealTime - Synchronize Minecraft Time with Real World icon

RealTime - Synchronize Minecraft Time with Real World -----

Keep your Minecraft world in sync with the real world




Update 1.7 – Enhanced Help System, Update Checker & New Exclusion Command

Release Date: 8 February, 2025

IMPORTANT UPDATE NOTICE

Before using this new version, please update your configuration file to ensure everything works correctly. You can either delete your old config and restart the server, or copy-paste the updated configuration from the SpigotMC website. This step is essential to avoid problems and to keep it up to date!

Additionally, significant changes have been made to permissions for better management. The base permission is now realtime.use, while each subcommand requires its corresponding permission. Alternatively, realtime.* grants access to all RealTime commands. If you’re not using a permissions plugin, granting a player operator status with /op <playername> will also provide full access. A complete list of all permissions can be found on the main RealTime SpigotMC plugin page.


[CHANGE] Updated /rt help Command

  • The /rt help command is now distributed over multiple pages using /realTime help [page] for a clearer view.
  • You can now search for details on a specific subcommand using /rt help [keyword] (e.g., /rt help timezone shows a detailed description and usage).
rt help base.jpg
rt help detailed.jpg

[CHANGE] Improved Update Checker


  • The update checker now includes a clickable link to the SpigotMC changelog, along with a direct link to the SpigotMC website for downloading the plugin, ensuring seamless updates directly from the chat.
rt update checker.jpg

[CHANGE] Minor Improvements to /rt reload Command


  • The /rt reload command now also displays changes to messages, each shortened to 20 characters to keep the chat clean.
new rt reload command.jpg

[NEW] New Command: /realtime exclude <add|remove|list> <world>


  • Description:
    Manage the list of excluded worlds directly in-game.
    • add <world>: Adds the specified world to the exclusion list.
    • remove <world>: Removes the specified world from the exclusion list.
    • list: Displays all worlds currently in the exclusion list.
  • Why it’s Useful:
    Eliminates the need to manually edit configuration files or reload the plugin when managing world exclusions.
  • Example Usage:
    /realtime exclude add world_nether
    /realtime exclude remove world_nether
    /realtime exclude list
rt exclude.jpg

[NEW] More Messages Adjustable

  • Additional plugin messages are now configurable through the configuration file, allowing for enhanced customization.

[NEW] Individual Command Permissions Added
Each command now has its own permission node for finer access control. Below is the full permissions list:

realtime.use
Allows use of the RealTime plugin commands.

realtime.command.enable
Allows enabling of RealTime sync.

realtime.command.disable
Allows disabling of RealTime sync.

realtime.command.reload
Allows reloading of the RealTime configuration.

realtime.command.timezone
Allows changing the time zone.

realtime.command.time
Allows checking the current time.

realtime.command.debug
Allows toggling debug mode.

realtime.command.sun
Allows checking sun information.

realtime.command.exclude
Allows managing excluded worlds.

realtime.update.notify
Allows viewing update and help notifications.

realtime.*
Admin permission (grants all RealTime commands)

[CHANGE] Updated Default Configuration

  • The default configuration file has been revamped with a clearer and more intuitive design for easier customization.
Code (YAML):
#  _____            _ _______ _
# |  __ \          | |__   __(_)
# | |__) |___  __ _| |  | |   _ _ __ ___   ___
# |  _  // _ \/ _` | |  | |  | | '_ ` _ \ / _ \
# | | \ \  __/ (_| | |  | |  | | | | | | |  __/
# |_|  \_\___|\__,_|_|  |_|  |_|_| |_| |_|\___|
#
# RealTime Plugin Configuration
# ==============================
#
# NOTE: Color codes in messages use the '&' symbol (e.g., &a for green).
#

# General Settings
# ----------------
# enabled: Enable or disable real-time synchronization on server startup.
#          Set to 'true' to enable synchronization, or 'false' to disable.
enabled
: true

# timezone: The default time zone used for synchronization.
#           This should be a valid  time zone ID (e.g., "Europe/Berlin"
#           "America/New_York", etc.).
#           Changing this via the in-game command /realtime timezone [zone|auto] is
#           easier, as it supports tab completion and allows for automatic synchronization
#           with the server's time zone.
timezone
: Europe/Berlin

# Update Checker Settings
# -----------------------
# update-checker: If set to 'true', the plugin will automatically check for updates
#                 on startup. Set to 'false' to disable update checking.
update-checker
: true

# World Exclusions
# ----------------
# excluded-worlds: A list of world names where real-time synchronization should not be applied.
#                  For example, you might want to exclude your Nether or The End.
#                  It can also be adjusted in-game using the command /realtime exclude <add|remove|list> <world>.
excluded-worlds
:
 - world_nether
  - world_the_end

# Logging Settings
# ----------------
# logging.debug: Enable extra debug output in the console.
#                Useful for troubleshooting; set to 'true' to see debug messages.
logging
:
  debug
: false

# Messages
# ----------------
# The following messages are used by the plugin. You can customize the text and color
# codes (using '&' for color codes).
#
# prefix: The prefix that appears before all plugin messages.
messages
:
  prefix
: "&7[&bRealTime&7] &7"

  # no-permission: Message shown when a user does not have the required permission.
  no-permission
: "&cYou do not have permission."

  # enabled: Message displayed when real-time synchronization is enabled.
  enabled
: "&aRealTime syncing enabled."

  # disabled: Message displayed when real-time synchronization is disabled.
  disabled
: "&cRealTime syncing disabled."

  # reloaded: Message displayed after the plugin configuration has been reloaded.
  reloaded
: "&eRealTime plugin reloaded."

  # timezone-set: Message shown after successfully changing the time zone.
  #                %timezone% is replaced with the new time zone ID.
  timezone-set
: "&aTime zone set to %timezone%."

  # timezone-invalid: Message displayed when an invalid time zone is provided.
  #                     %timezone% is replaced with the invalid input.
  timezone-invalid
: "&cInvalid time zone: %timezone%."
 
[FIX] Plugin Uninstallation Issue Resolved

  • Fixed an issue where simply deleting the plugin from the folder did not fully disable it, causing the in-game time to get stuck.
  • Now, when the plugin is disabled, the gamerule doDaylightCycle is automatically re-enabled for all worlds.
----------, Feb 8, 2025

Release Date: 11 September, 2024

[INFO] This update expands compatibility to support versions 1.18 through 1.21.

Please ensure that the correct Java version is used for each specific game version to ensure compatibility and performance.
----------, Sep 11, 2024

Release Date: 28 August, 2024

[INFO] Overhauled the RealTime SpigotMC page for better clarity and user experience.

[NEW] Implemented variable sunrise and sunset times based on the current month, making seasonal differences more realistic.

[NEW] Updated the /realtime sun command to display accurate times for sunrise, day, sunset, and night transitions.

[​IMG]

[CHANGE] Improved the time conversion, making it more accurate and closer to real-life time.

[CHANGE] Enhanced the /realtime debug command by fixing message errors.

[CHANGE] Updated the /realtime timezone command. The "/realtime timezone auto" option now automatically sets the timezone based on the server's timezone, while manual timezone entry remains available.

[​IMG]

[CHANGE] Adjusted the /realtime help command to reflect the new features and updates.

[FIX] Improved the calculation of day and night transitions to avoid illogical time jumps.
----------, Aug 28, 2024

[+] Update Checker: Automatic check for new versions with notifications for admins when joining. This feature can be toggled on or off in the configuration.

update checker.png

[+] Customizable Admin Permission: The required permission for admin commands can now be customized directly in the configuration.

admin permission.png

[+] Excluded Worlds: You can now exclude specific worlds from real-time synchronization through the configuration.

excluded worlds.png

[/] Reload Command: The /realtime reload command now displays all changes made in the configuration, providing clear feedback on what has been updated.

reload command update.png

Important: To ensure the plugin functions correctly, you must replace your existing configuration file with the new one included in this update. You can either copy the new config manually or delete the RealTime folder, allowing the plugin to generate a new configuration automatically.


Code (YAML):
#
#  _____            _ _______ _
# |  __ \          | |__   __(_)
# | |__) |___  __ _| |  | |   _ _ __ ___   ___
# |  _  // _ \/ _` | |  | |  | | '_ ` _ \ / _ \
# | | \ \  __/ (_| | |  | |  | | | | | | |  __/
# |_|  \_\___|\__,_|_|  |_|  |_|_| |_| |_|\___|
#
# RealTime Plugin Configuration
# ==============================

# General Settings
# ----------------

# Enable real-time synchronization on server startup.
enabled
: true

# Default time zone for synchronization.
# Use a valid ZoneId, e.g., Europe/Berlin
# You can easily select a valid time zone using the /realtime timezone command with tab completion.
timezone
: Europe/Berlin

# Update Checker Settings
# -----------------------

# Enable or disable the update checker.
# When enabled, the plugin will check for updates on server startup and notify players with the specified permission.
update-checker
: true

# Permission Settings
# -------------------

# Set the permission required to use admin commands related to the RealTime plugin.
admin-permission
: realtime.admin

# World Exclusions
# ----------------

# List of worlds that should NOT be affected by the real-time synchronization.
# Use the exact world names as they appear in your server.
excluded-worlds
:
 - world_nether
  - world_the_end

# Logging Settings
# ----------------

logging
:
  # Enable or disable debug mode.
  # When enabled, detailed logs will be recorded in the server console.
  debug
: false
 
----------, Aug 21, 2024

Some Bugfixes
----------, Aug 20, 2024

[+] : Full support for all time zones with accurate formatting.
[/]: Tab completion for time zones now works reliably and suggests the
correct time zone options.
[/]: Issues related to loading and validating time zones from the configuration.
[-]: Extra prefix text from console log messages to keep the output clean.
----------, Aug 20, 2024

This update addresses an issue with the update notification system, ensuring that server admins are correctly informed when a new version of RealTime is available.
----------, Aug 20, 2024

Resource Information
Author:
----------
Total Downloads: 436
First Release: Aug 20, 2024
Last Update: Feb 8, 2025
Category: ---------------
All-Time Rating:
3 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings