mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 13:16:45 +01:00
Now it extends PluginListener
This commit is contained in:
parent
44e172369f
commit
8f5073a447
@ -1,8 +1,8 @@
|
||||
public class vConsole {
|
||||
public class vConsole extends PluginListener {
|
||||
public boolean onConsoleCommand(String[] split) {
|
||||
String args = etc.combineSplit(1, split, "");
|
||||
//Return true if you don't want the server command to be parsed by the server.
|
||||
String server = Colors.LightGreen + "[Server]" + Colors.DarkPurple;
|
||||
String server = Colors.LightGreen + "[Server] " + Colors.DarkPurple;
|
||||
if(split[0].equalsIgnoreCase("stop")){
|
||||
vChat.gmsg(server + "Rebooting the server");
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user