A simple GameRules implementation that provides support for SpigotMC
This project depends upon CommandAPI!
The following methods are added to all Gamerule's in this implementation:
Name | Parameters | Return Type | Function |
---|---|---|---|
isVanilla | boolean | If the Gamerule comes from vanilla | |
toSpigot | GameRule | Converts the GameRule into it's Spigot counterpart |
The following methods are added to all GameruleType's in this implementation:
Name | Parameters | Return Type | Function |
---|---|---|---|
getSpigotCommandAPIArgument | Argument | Returns the Argument used to parse and validate the value provided in /gamerule |