43 |
getCommand("eternalday").setExecutor(new EternalDayCommand(this)); |
getCommand("eternalday").setExecutor(new EternalDayCommand(this)); |
44 |
getCommand("getpos").setExecutor( new GetposCommand() ); |
getCommand("getpos").setExecutor( new GetposCommand() ); |
45 |
getCommand("msg").setExecutor( new MsgCommand( this ) ); |
getCommand("msg").setExecutor( new MsgCommand( this ) ); |
46 |
getCommand("tp").setExecutor( new TeleportCommand() ); |
// getCommand("tp").setExecutor( new TeleportCommand() ); |
47 |
|
|
48 |
getCommand("wall").setExecutor( new WallCommand() ); |
getCommand("wall").setExecutor( new WallCommand() ); |
49 |
getCommand("weather").setExecutor( new WeatherCommand() ); |
getCommand("weather").setExecutor( new WeatherCommand() ); |
73 |
getCommand("spawn").setExecutor( new SpawnCommand() ); |
getCommand("spawn").setExecutor( new SpawnCommand() ); |
74 |
|
|
75 |
getCommand("template").setExecutor( new TemplateCommand(this) ); |
getCommand("template").setExecutor( new TemplateCommand(this) ); |
76 |
|
getCommand("regenerate").setExecutor( new RegenerateCommand() ); |
77 |
|
|
78 |
|
|
79 |
LogintimeHandler logintimeHandler = new LogintimeHandler( this.getDataFolder() ); |
LogintimeHandler logintimeHandler = new LogintimeHandler( this.getDataFolder() ); |
80 |
|
|
85 |
MotdHandler motd = new MotdHandler(this); |
MotdHandler motd = new MotdHandler(this); |
86 |
getCommand("motd").setExecutor( motd ); |
getCommand("motd").setExecutor( motd ); |
87 |
pm.registerEvents( motd, this); |
pm.registerEvents( motd, this); |
88 |
|
|
89 |
|
WayPoint wp = new WayPoint(this); |
90 |
|
getCommand("waypoint").setExecutor( wp ); |
91 |
|
getCommand("setwaypoint").setExecutor( wp ); |
92 |
|
pm.registerEvents( wp, this); |
93 |
|
|
94 |
|
|
95 |
pm.registerEvents(logintimeHandler, this); |
pm.registerEvents(logintimeHandler, this); |
108 |
pm.registerEvents(chunks, this); |
pm.registerEvents(chunks, this); |
109 |
getCommand("stickychunk").setExecutor(chunks); |
getCommand("stickychunk").setExecutor(chunks); |
110 |
|
|
111 |
|
Mute mute = new Mute(this); |
112 |
|
pm.registerEvents(mute, this); |
113 |
|
getCommand("mute").setExecutor(mute); |
114 |
|
getCommand("unmute").setExecutor(mute); |
115 |
|
|
116 |
|
|
117 |
Runnable ddlInstaller = new Runnable() { |
Runnable ddlInstaller = new Runnable() { |