Skip to content

TubMC/GameRules-Spigot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GameRules [Spigot Edition]

A simple GameRules implementation that provides support for SpigotMC

This project depends upon CommandAPI!

Implementation Specific Methods

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