Skip to content

titivermeesch/CommandTimer

Repository files navigation

CommandTimer

bStats Players bStats Servers Spiget Version

CommandTimer is a Spigot plugin that allows you to schedule different commands at specific interval/times depending on various conditions.

Installation

  • You can build the plugin with Gradle (shadowJar) or download the latest version
  • Put the jar file in your plugins folder and reload/restart
  • You will now see a CommandTimer folder
    • timers hold all the configuration files for your specific setup
    • extensions has all the external extensions that add more functions to CommandTimer

Commands

  • /cmt will open the main menu where everything can be managed
  • /cmt help will open the help menu
  • /cmt activate <task> will enable/activate the specified task (equals the activate button in GUI)
  • /cmt deactivate <task> will disable/deactivate the specified task (equals the deactivate button in GUI)
  • /cmt execute <task> will directly execute a task without taking into account timers and intervals
  • /cmt time will show the Minecraft time of the world you are in

Permissions

commandtimer.use gives access to every feature of the plugin

Extensions

Extensions come in form of a jar file. These extensions will hook into the CommandTimer API and will bring more conditions to use in your timers.

Stats

stats

For Developers

Color schemas

  • GUI panes should be in dark blue color
  • GUI titles should be in dark blue (%9%l)
  • Item titles and subtitles should be in aqua (%b)
  • Item lore should be in gray (&7)
  • Edit lore should be in green (&a)
  • Delete lore should be in red (%4)
  • Configuration values in lore should always be yellow (%e)

Item positions

  • The back button should always be on the bottom right