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 ); |
53 |
|
|
54 |
|
getCommand("opkill").setExecutor( new OpkillCommand() ); |
55 |
|
|
56 |
GeneralContractorCommands generalContractor = new GeneralContractorCommands(); |
GeneralContractorCommands generalContractor = new GeneralContractorCommands(); |
57 |
getCommand("replay").setExecutor( generalContractor ); |
getCommand("replay").setExecutor( generalContractor ); |
62 |
getCommand("platform").setExecutor( generalContractor ); |
getCommand("platform").setExecutor( generalContractor ); |
63 |
getCommand("cylinder").setExecutor( generalContractor ); |
getCommand("cylinder").setExecutor( generalContractor ); |
64 |
getCommand("createcave").setExecutor( generalContractor ); |
getCommand("createcave").setExecutor( generalContractor ); |
65 |
|
getCommand("spawn").setExecutor( new SpawnCommand() ); |
66 |
|
|
67 |
getCommand("template").setExecutor( new TemplateCommand(this) ); |
getCommand("template").setExecutor( new TemplateCommand(this) ); |
68 |
|
|
72 |
PluginManager pm = getServer().getPluginManager(); |
PluginManager pm = getServer().getPluginManager(); |
73 |
|
|
74 |
|
|
75 |
|
MotdHandler motd = new MotdHandler(this); |
76 |
|
getCommand("motd").setExecutor( motd ); |
77 |
|
pm.registerEvents( motd, this); |
78 |
|
|
79 |
|
|
80 |
pm.registerEvents(logintimeHandler, this); |
pm.registerEvents(logintimeHandler, this); |
81 |
pm.registerEvents(logintimeHandler, this); |
pm.registerEvents(logintimeHandler, this); |
82 |
|
|
84 |
pm.registerEvents(diver, this); |
pm.registerEvents(diver, this); |
85 |
|
|
86 |
pm.registerEvents(new EndermanStopper(), this); |
pm.registerEvents(new EndermanStopper(), this); |
87 |
|
|
88 |
|
Jail jail = new Jail(this); |
89 |
|
pm.registerEvents(jail, this); |
90 |
|
getCommand("jail").setExecutor( jail ); |
91 |
|
|
92 |
|
|
93 |
|
|