public class GameAPI
extends org.bukkit.plugin.java.JavaPlugin
| Modifier and Type | Field and Description |
|---|---|
java.util.List<com.alexlew.gameapi.util.Registration> |
expressions |
static java.lang.Boolean |
manageAutomatically |
| Constructor and Description |
|---|
GameAPI() |
| Modifier and Type | Method and Description |
|---|---|
static void |
error(java.lang.String error) |
ch.njol.skript.SkriptAddon |
getAddonInstance() |
static GameAPI |
getInstance() |
static void |
info(java.lang.String info) |
void |
loadGames()
Load all games saved or added
|
void |
onDisable() |
void |
onEnable() |
void |
saveAsYaml(Game game)
Save your minis games as yaml file
|
getCommand, getConfig, getDataFolder, getDefaultWorldGenerator, getDescription, getLogger, getPlugin, getPluginLoader, getProvidingPlugin, getResource, getServer, isEnabled, isNaggable, onCommand, onLoad, onTabComplete, reloadConfig, saveConfig, saveDefaultConfig, saveResource, setNaggable, toStringpublic static java.lang.Boolean manageAutomatically
public java.util.List<com.alexlew.gameapi.util.Registration> expressions
public static void error(java.lang.String error)
public static void info(java.lang.String info)
public static GameAPI getInstance()
public ch.njol.skript.SkriptAddon getAddonInstance()
public void onEnable()
onEnable in interface org.bukkit.plugin.PluginonEnable in class org.bukkit.plugin.java.JavaPluginpublic void onDisable()
onDisable in interface org.bukkit.plugin.PluginonDisable in class org.bukkit.plugin.java.JavaPluginpublic void saveAsYaml(Game game)
game - The mini game you want to save@Async public void loadGames()