42 |
getCommand("diver").setExecutor( diver ); |
getCommand("diver").setExecutor( diver ); |
43 |
|
|
44 |
GeneralContractorCommands generalContractor = new GeneralContractorCommands(); |
GeneralContractorCommands generalContractor = new GeneralContractorCommands(); |
45 |
|
getCommand("replay").setExecutor( generalContractor ); |
46 |
getCommand("levelarea").setExecutor( generalContractor ); |
getCommand("levelarea").setExecutor( generalContractor ); |
47 |
getCommand("fillarea").setExecutor( generalContractor ); |
getCommand("fillarea").setExecutor( generalContractor ); |
48 |
getCommand("slopearea").setExecutor( generalContractor ); |
getCommand("slopearea").setExecutor( generalContractor ); |
73 |
if ( api != null) { |
if ( api != null) { |
74 |
StatusListener status = new StatusListener(this, getServer(), logintimeHandler.getConfig(), home.getConfig() ); |
StatusListener status = new StatusListener(this, getServer(), logintimeHandler.getConfig(), home.getConfig() ); |
75 |
//api.setRequestController("webstatus", status ); |
//api.setRequestController("webstatus", status ); |
76 |
ApiManager.getInstance().registerController( status ); |
//ApiManager.getInstance().registerController( status ); |
77 |
} else { |
} else { |
78 |
System.out.println("Could not find ApiBukkit"); |
System.out.println("Could not find ApiBukkit"); |
79 |
} |
} |