Sueta

TimeLockX

1.0

The ultimate solution for locking time on your server!

·Plugin


TimeLockX is a plugin that not only makes it simple, but also efficient to lock time on your Minecraft server.

If you have any bugs, questions, issues and suggestions, feel free to PM me (@Skillux) or post in the discussion tab, and I will try my hardest to reply.

  • Set and lock time.
  • Lock time in ticks.
  • Easy to use and setup.
  • Highly efficient.
  • Fully customizable messages.
  • Multiple world support.
  • Permissions.
  • Reload command.

Future Features:

  • GUI.

Config
# {+}-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-{+}
#                                                              
#                             TimeLockX v1.0                    
#                                                              
#                             Author: Skillux                     
#                                                              
# {+}-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-{+}


# {+}=--=-=-=-=-=-=-=-=-=-=-=[ Placeholders ]=-=-=-=-=-=-=-=-=-=-=-=-={+}

# %time% : Represents the TimeLock mode/tick being set (Day/Night/Ticks).


# {+}-=-=-=-=-=-=-=-=-=-=-=-=-=[ Messages ]=-=-=-=-=-=-=-=-=-=-=-=-=-={+}

# Customize the message that appears when you reload the config (/timelock reload):
Reload-Message: '&8[&6TimeLockX&8] &aThe config file has been reloaded!'


# Customize the message that appears when a player runs the command (/timelock) without permission:
No-Permission: '&8[&6TimeLockX&8] &4You do not have permission to use this command!'

# Customize the message that appears when a player tries to lock time to an invalid number.
Invalid-Ticks: '&8[&6TimeLockX&8] &cYou have entered an invalid number. Please enter a number between &60 - 24000&c.'

# Customize the message that appears when a WeatherLock mode is already selected:
Already-Enabled: '&8[&6TimeLockX&8] &cThis TimeLock mode is already enabled in this world!'


# Customize the message that appears when TimeLock is toggled off in the player's current world"
Turned-Off: '&8[&6TimeLockX&8] &7TimeLock has been toggled &coff&7. The time cycle is back to normal.'


# Customize the message that appears when a TimeLock mode is selected in a player's current world:
TimeLock-Set: '&8[&6TimeLockX&8] &7Successfully locked the time to &6%time%&7 in your current world. Use the command &e/timelock off &7to return the normal time cycle.'


# Customize the message that appears when the command is used incorrectly:
Invalid-Usage: '&8[&6TimeLockX&8] &cInvalid Usage. Use the command &6/timelock &cfor help.'


# Customize the message that appears when a player attempts to toggle off WeatherLock without having any mode selected.
No-Selected-Mode: '&8[&6TimeLockX&8] &cYou do not have any TimeLock modes selected to turn off. Use the command &6/timelock &cfor help.'



# {+}-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-{+}
#                                                              
#                              Any Questions?                     
#                                                              
#                      Message me on Spigot: @Skillux             
#                                                              
# {+}-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-{+}

  • /timelock - Displays the help section/commands of the plugin.
  • /timelock day - Sets and locks the time in your current world to day.
  • /timelock night - Sets and locks the time in your current world to night.
  • /timelock <ticks> - Sets and locks time in your current world to a custom value in ticks (0 - 24000).
  • /timelock off - Returns the time cycle to normal.
  • /timelock reload - Reloads the config file of the plugin.

  • timelockx.admin - Gives access to all TimeLockX commands.

Coming Soon!

Need another plugin to lock weather on your server? Check out my other plugin WeatherLockX .

Similar projects

Plugin →