Tori1157
Control and check game time

Supported Games
GameServerKingsGameServerKings

This plugin is made for people who want other staff members to be able to control the time via commands. Currently you can check and set time via commands, however there are other features which you can read more about below.

Permissions

  • angrytime.admin -- Allows player to use the time command

Commands

This plugin provides universal chat and console commands. When using a command in the chat, prefix it with a forward slash: /.

  • time set 00:00:00 -- Set the game time in 24-hour format (ex. 23:59:00)
  • time help -- Display help information for time command
  • time -- Display the current time and date in-game

Functions

Server Date

With this enabled it will take the servers current date and set that as the in-game time. It will be checking every 15 minutes if it's the correct date. If both 'Server Date' and 'Server Time' is enabled, it will be checking and updating every second. This function works with 'Server Time' and 'Skip Time'.

Server Time

With this enabled it will take the servers current time and set that as the in-game time. It checks and set's the clock every second, so it never falls behind/ahead. This function works with 'Server Date' but not with 'Skip Time

Skip Time

With this enabled it will skip the time between _Sunset _and Sunrise. It's default settings are to skip night with never loosing daylight. This function works with 'Server Date' but not with 'Server Time'.

Configuration

{
  "Global Options": {
    "Message Prefix": "Angry Time", // Prefix for messages
    "Message Prefix Color": "#ffa500" // Color prefix for messages
  },
  "RealTime Options": {
    "Use Server Date": false, // Use server date as game date.
    "Use Server Time": false // Use server time as game time.
  },
  "Skip Time Options": {
    "Inform Console": true, // Inform console when skipping time
    "Sunrise Hour": 10, // Sunrise hour
    "Sunset Hour": 17, // Sunset hour
    "Use Skip Time": false // Use skip time
  }
}
This plugin is unlicensed and the original author reserves all rights to it.

The original author may request that this plugin be removed and there is a risk that the plugin may be unavailable in the future.

Note that the current maintainer may not have permission to assign a license to the plugin if they are not the original author, so explicit permission would need to be obtained from the original author in order for the plugin to remain openly available and guarantee that it will be around for all to enjoy going forward.