46 |
HomeCommand home = new HomeCommand(this); |
HomeCommand home = new HomeCommand(this); |
47 |
getCommand("home").setExecutor( home ); |
getCommand("home").setExecutor( home ); |
48 |
getCommand("sethome").setExecutor( home ); |
getCommand("sethome").setExecutor( home ); |
49 |
|
getCommand("ophome").setExecutor( home ); |
50 |
|
|
51 |
DiverCommand diver = new DiverCommand(this ); |
DiverCommand diver = new DiverCommand(this ); |
52 |
getCommand("diver").setExecutor( diver ); |
getCommand("diver").setExecutor( diver ); |
60 |
getCommand("platform").setExecutor( generalContractor ); |
getCommand("platform").setExecutor( generalContractor ); |
61 |
getCommand("cylinder").setExecutor( generalContractor ); |
getCommand("cylinder").setExecutor( generalContractor ); |
62 |
getCommand("createcave").setExecutor( generalContractor ); |
getCommand("createcave").setExecutor( generalContractor ); |
63 |
|
getCommand("spawn").setExecutor( new SpawnCommand() ); |
64 |
|
|
65 |
getCommand("template").setExecutor( new TemplateCommand(this) ); |
getCommand("template").setExecutor( new TemplateCommand(this) ); |
66 |
|
|
70 |
PluginManager pm = getServer().getPluginManager(); |
PluginManager pm = getServer().getPluginManager(); |
71 |
|
|
72 |
|
|
73 |
|
MotdHandler motd = new MotdHandler(this); |
74 |
|
getCommand("motd").setExecutor( motd ); |
75 |
|
pm.registerEvents( motd, this); |
76 |
|
|
77 |
|
|
78 |
pm.registerEvents(logintimeHandler, this); |
pm.registerEvents(logintimeHandler, this); |
79 |
pm.registerEvents(logintimeHandler, this); |
pm.registerEvents(logintimeHandler, this); |
80 |
|
|