public class WorldGuardWorldListener extends Object implements org.bukkit.event.Listener
| Constructor and Description |
|---|
WorldGuardWorldListener(WorldGuardPlugin plugin)
Construct the object;
|
| Modifier and Type | Method and Description |
|---|---|
void |
initWorld(org.bukkit.World world)
Initialize the settings for the specified world
|
void |
onChunkLoad(org.bukkit.event.world.ChunkLoadEvent event) |
void |
onWorldLoad(org.bukkit.event.world.WorldLoadEvent event) |
void |
registerEvents()
Register events.
|
public WorldGuardWorldListener(WorldGuardPlugin plugin)
plugin - The plugin instancepublic void registerEvents()
public void onChunkLoad(org.bukkit.event.world.ChunkLoadEvent event)
public void onWorldLoad(org.bukkit.event.world.WorldLoadEvent event)
public void initWorld(org.bukkit.World world)
world - The specified worldWorldConfiguration.alwaysRaining,
WorldConfiguration.disableWeather,
WorldConfiguration.alwaysThundering,
WorldConfiguration.disableThunderCopyright © 2015. All Rights Reserved.