|
@@ -24,6 +24,7 @@ public class vMinecraftSettings {
|
|
|
ignore = false,
|
|
|
colors = false,
|
|
|
nick = false,
|
|
|
+ freeze = false,
|
|
|
cmdFabulous = false,
|
|
|
cmdPromote = false,
|
|
|
cmdDemote = false,
|
|
@@ -43,6 +44,8 @@ public class vMinecraftSettings {
|
|
|
cmdEzModo = false;
|
|
|
//An array of players currently in ezmodo
|
|
|
static ArrayList<String> ezModo = new ArrayList<String>();
|
|
|
+ //An array of players currently frozen
|
|
|
+ static ArrayList<String> frozenplayers = new ArrayList<String>();
|
|
|
//An array of players currently toggled for admin chat
|
|
|
static ArrayList<String> adminChatList = new ArrayList<String>();
|
|
|
//An array of blocks that won't catch on fire
|
|
@@ -96,6 +99,7 @@ public class vMinecraftSettings {
|
|
|
writer.write("#Enables or Disables the following commands, give groups/users permissions to use these commands for them to work\r\n");
|
|
|
writer.write("/fabulous=true\r\n");
|
|
|
writer.write("/prefix=true\r\n");
|
|
|
+ writer.write("/freeze=true\r\n");
|
|
|
writer.write("/suffix=true\r\n");
|
|
|
writer.write("/ignore=true\r\n");
|
|
|
writer.write("/colors=true\r\n");
|
|
@@ -234,6 +238,8 @@ public class vMinecraftSettings {
|
|
|
public void removeAdminToggled(String playerName) {adminChatList.remove(adminChatList.indexOf(playerName));}
|
|
|
public void addEzModo(String playerName) {ezModo.add(playerName);}
|
|
|
public void addAdminToggled(String playerName) {adminChatList.add(playerName);}
|
|
|
+ public void addFrozen(String playerName) {frozenplayers.add(playerName);}
|
|
|
+ public void removeFrozen (String playerName) {frozenplayers.remove(frozenplayers.indexOf(playerName));}
|
|
|
public String ezModoList() {return ezModo.toString();}
|
|
|
|
|
|
//Random death message method
|