A plugin for Spigot minecraft server.
The prioritycommand command waits for the specified waiting ticks until the given command is executed. When another prioritycommand with the same prioritykey is executed within the waiting time and its priority is higher, that command will execute instead of the original scheduled command.
waitingTicks: 2
Option | Description |
---|---|
waitingTicks | Time in ticks to wait until executing the highest priority command |
Command | Alias | Usage | Description |
---|---|---|---|
/prioritycommand | /pc | <prioritykey> <priority> <command...> | Add a command to given prioritykey with given priority |
/prioritycommandcancel | /pcc | <prioritykey> | Cancel pending command execution for given priority key |
term | explanation |
---|---|
prioritykey | arbitrary string to temporarily identify a priority group |
priority | number which defines the priority, higher number = higher priority |