Skip to content

Execute only the highest priority command of a set of commands within a given timeframe

License

Notifications You must be signed in to change notification settings

Janmm14/PriorityCommand

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PriorityCommand Build Status

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.

Config

waitingTicks: 2
Option Description
waitingTicks Time in ticks to wait until executing the highest priority command

Commands

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

Download

https://ci.janmm14.de/job/public~mcjava~prioritycommand/

About

Execute only the highest priority command of a set of commands within a given timeframe

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages