public class BukkitServerInterface extends ServerInterface
| Modifier and Type | Field and Description |
|---|---|
WorldEditPlugin |
plugin |
org.bukkit.Server |
server |
| Constructor and Description |
|---|
BukkitServerInterface(WorldEditPlugin plugin,
org.bukkit.Server server) |
| Modifier and Type | Method and Description |
|---|---|
BiomeTypes |
getBiomes()
Returns all available biomes.
|
List<LocalWorld> |
getWorlds() |
boolean |
isValidMobType(String type)
Checks if a mob type is valid.
|
void |
onCommandRegistration(List<Command> commands,
CommandsManager<LocalPlayer> manager) |
void |
reload()
Reload WorldEdit configuration.
|
int |
resolveItem(String name)
Resolves an item name to its ID.
|
int |
schedule(long delay,
long period,
Runnable task)
Schedules the given
task to be invoked once every period ticks
after an initial delay of delay ticks. |
void |
unregisterCommands() |
onCommandRegistrationpublic org.bukkit.Server server
public WorldEditPlugin plugin
public BukkitServerInterface(WorldEditPlugin plugin, org.bukkit.Server server)
public int resolveItem(String name)
ServerInterfaceresolveItem in class ServerInterfacename - The name to look uppublic boolean isValidMobType(String type)
ServerInterfaceisValidMobType in class ServerInterfacetype - The mob type name to checkpublic void reload()
ServerInterfacereload in class ServerInterfacepublic BiomeTypes getBiomes()
ServerInterfacegetBiomes in class ServerInterfacepublic int schedule(long delay,
long period,
Runnable task)
ServerInterfacetask to be invoked once every period ticks
after an initial delay of delay ticks.schedule in class ServerInterfacedelay - Delay in server ticks before executing first repeatperiod - Period in server ticks of the tasktask - Task to be executedpublic List<LocalWorld> getWorlds()
getWorlds in class ServerInterfacepublic void onCommandRegistration(List<Command> commands, CommandsManager<LocalPlayer> manager)
onCommandRegistration in class ServerInterfacepublic void unregisterCommands()
Copyright © 2010-2014. All Rights Reserved.