22 |
import dk.thoerup.bukkit.hoeruputils.web.WebUser; |
import dk.thoerup.bukkit.hoeruputils.web.WebUser; |
23 |
import dk.thoerup.bukkit.hoeruputils.web.WebUserCommand; |
import dk.thoerup.bukkit.hoeruputils.web.WebUserCommand; |
24 |
|
|
25 |
|
@SuppressWarnings("restriction") |
26 |
public class HoerupUtilsPlugin extends JavaPlugin { |
public class HoerupUtilsPlugin extends JavaPlugin { |
27 |
|
|
28 |
@Override |
@Override |
32 |
} |
} |
33 |
} |
} |
34 |
|
|
35 |
MessageWrapper messageWrapper; |
MessageWrapper messageWrapper; |
36 |
HttpServer server = null; |
HttpServer server = null; |
37 |
|
|
38 |
|
|
44 |
getCommand("eternalday").setExecutor(new EternalDayCommand(this)); |
getCommand("eternalday").setExecutor(new EternalDayCommand(this)); |
45 |
getCommand("getpos").setExecutor( new GetposCommand() ); |
getCommand("getpos").setExecutor( new GetposCommand() ); |
46 |
getCommand("msg").setExecutor( new MsgCommand( this ) ); |
getCommand("msg").setExecutor( new MsgCommand( this ) ); |
47 |
getCommand("tp").setExecutor( new TeleportCommand() ); |
// getCommand("tp").setExecutor( new TeleportCommand() ); |
48 |
|
|
49 |
getCommand("wall").setExecutor( new WallCommand() ); |
getCommand("wall").setExecutor( new WallCommand() ); |
50 |
getCommand("weather").setExecutor( new WeatherCommand() ); |
getCommand("weather").setExecutor( new WeatherCommand() ); |
66 |
getCommand("replay").setExecutor( generalContractor ); |
getCommand("replay").setExecutor( generalContractor ); |
67 |
getCommand("levelarea").setExecutor( generalContractor ); |
getCommand("levelarea").setExecutor( generalContractor ); |
68 |
getCommand("fillarea").setExecutor( generalContractor ); |
getCommand("fillarea").setExecutor( generalContractor ); |
69 |
|
getCommand("levelandfillarea").setExecutor( generalContractor ); |
70 |
|
|
71 |
getCommand("slopearea").setExecutor( generalContractor ); |
getCommand("slopearea").setExecutor( generalContractor ); |
72 |
getCommand("setsurface").setExecutor( generalContractor ); |
getCommand("setsurface").setExecutor( generalContractor ); |
73 |
getCommand("platform").setExecutor( generalContractor ); |
getCommand("platform").setExecutor( generalContractor ); |
76 |
getCommand("spawn").setExecutor( new SpawnCommand() ); |
getCommand("spawn").setExecutor( new SpawnCommand() ); |
77 |
|
|
78 |
getCommand("template").setExecutor( new TemplateCommand(this) ); |
getCommand("template").setExecutor( new TemplateCommand(this) ); |
79 |
|
getCommand("regenerate").setExecutor( new RegenerateCommand() ); |
80 |
|
|
81 |
|
|
82 |
LogintimeHandler logintimeHandler = new LogintimeHandler( this.getDataFolder() ); |
LogintimeHandler logintimeHandler = new LogintimeHandler( this.getDataFolder() ); |
83 |
|
|