This kind of plugins is for specific servers that doesn't want some players to progress much more than others (often private ones). Some of its features are:
WARNING: If you're updating from 1.2.0 or prior to 1.3.0 or newer, make sure to delete your "TimeRestrictions/config.yml" file and restart the server again to generate the updated config file. Then you can define your restrictions again.
- "plugin_enabled": As it says, the functionalities of this plugin will be enabled when it's true.
- "disabled_login_times": You can set the time range to prevent users to login (from monday to sunday).
- "exempt_players": Players who can bypass these restrictions (OPs can bypass restrictions always).
- "adjust_to_timezone": It's recommended to leave its values to 0. The only case of use is when all players are on the same timezone (allows negative values).
* Examples:
- If every player is 14 hours ahead of the server, you have to set the hours to 14 and minutes to 0. - If every player is 8 hours behind of the server, you have to set the hours to -8 and minutes to 0.
Commands (Server command or OPs)
===========================
- /reloadtimerestrictions: If you change the config file values, you only need to trigger this command without restarting the server.
- /enabletimerestrictions: Enables the plugin's functionalities.
- /disabletimerestrictions: Disables the plugin's functionalities.
- /checktimerestrictions: Checks current hour and at which time the restrictions will occur.