|
@@ -67,30 +67,44 @@ public class vMinecraftSettings {
|
|
writer.write("#This plugin is modular\r\n");
|
|
writer.write("#This plugin is modular\r\n");
|
|
writer.write("#Turn any features you don't want to false and they won't be running\r\n");
|
|
writer.write("#Turn any features you don't want to false and they won't be running\r\n");
|
|
writer.write("#If you edit this file and save it, then use /reload it will reload the settings\r\n");
|
|
writer.write("#If you edit this file and save it, then use /reload it will reload the settings\r\n");
|
|
- writer.write("greentext=true\r\n");
|
|
|
|
- writer.write("quakeColors=true\r\n");
|
|
|
|
- writer.write("cmdTphere=true\r\n");
|
|
|
|
- writer.write("cmdFabulous=true\r\n");
|
|
|
|
- writer.write("cmdWhoIs=true\r\n");
|
|
|
|
- writer.write("cmdWho=true\r\n");
|
|
|
|
- writer.write("cmdPromote=true\r\n");
|
|
|
|
- writer.write("cmdDemote=true\r\n");
|
|
|
|
- writer.write("cmdMasstp=true\r\n");
|
|
|
|
- writer.write("cmdSay=true\r\n");
|
|
|
|
- writer.write("cmdTp=true\r\n");
|
|
|
|
- writer.write("cmdRules=true\r\n");
|
|
|
|
- writer.write("cmdSuicide=true\r\n");
|
|
|
|
- writer.write("cmdAdminToggle=true\r\n");
|
|
|
|
- writer.write("globalmessages=true\r\n");
|
|
|
|
- writer.write("FFF=true\r\n");
|
|
|
|
- writer.write("adminchat=true\r\n");
|
|
|
|
- writer.write("cmdEzModo=true\r\n");
|
|
|
|
|
|
+ writer.write("#Chat Options\r\n");
|
|
|
|
+ writer.write("#Allows the use of color codes following ^ symbol\r\n");
|
|
|
|
+ writer.write("ColoredChat=true\r\n");
|
|
|
|
+ writer.write("#Text following a > will be colored green to mimic quoting of popular internet message boards\r\n");
|
|
|
|
+ writer.write("QuotesAreGreen=true\r\n");
|
|
|
|
+ writer.write("#Turns any chat message starting with FFF automagically blood red\r\n");
|
|
|
|
+ writer.write("FFF=true\r\n");
|
|
|
|
+ writer.write("#Admin Settings\r\n");
|
|
|
|
+ writer.write("#Enables or disables the admin only chat\r\n");
|
|
|
|
+ writer.write("adminchat=true\r\n");
|
|
|
|
+ writer.write("#Lets non admins use admin chat if they have the /adminchat command permission\r\n");
|
|
|
|
+ writer.write("/adminchat=true\r\n");
|
|
|
|
+ writer.write("#Enables overriding of regular /tp and /tphere to make it so you can only teleport to players with lower permissions, and only bring players of lower permissions to you\r\n");
|
|
|
|
+ writer.write("/tp=true\r\n");
|
|
|
|
+ writer.write("/tphere=true\r\n");
|
|
|
|
+ writer.write("#Mass Tp uses the same concept, anyone with this command only brings those with lower permissions to themselves\r\n");
|
|
|
|
+ writer.write("/masstp=true\r\n");
|
|
|
|
+ writer.write("#Server Settings\r\n");
|
|
|
|
+ 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("/whois=true\r\n");
|
|
|
|
+ writer.write("/who=true\r\n");
|
|
|
|
+ writer.write("/promote=true\r\n");
|
|
|
|
+ writer.write("/demote=true\r\n");
|
|
|
|
+ writer.write("/say=true\r\n");
|
|
|
|
+ writer.write("/rules=true\r\n");
|
|
|
|
+ writer.write("/suicide=true\r\n");
|
|
|
|
+ writer.write("/ezmodo=true\r\n");
|
|
|
|
+ writer.write("#Global Messages\r\n");
|
|
|
|
+ writer.write("#Enable or Disable sending announcements about sensitive commands to the entire server\r\n");
|
|
|
|
+ writer.write("globalmessages=true\r\n");
|
|
writer.write("#Adding player names to this list will have them start off in ezmodo\r\n");
|
|
writer.write("#Adding player names to this list will have them start off in ezmodo\r\n");
|
|
writer.write("ezModo=\r\n");
|
|
writer.write("ezModo=\r\n");
|
|
|
|
+ writer.write("Stop fire from spreading\r\n");
|
|
writer.write("stopFire=false\r\n");
|
|
writer.write("stopFire=false\r\n");
|
|
- writer.write("stopTnt=false\r\n");
|
|
|
|
|
|
+ writer.write("#Write the rules to be shown when /rules is used here, it works just like the MOTD does\r\n");
|
|
writer.write("rules=Rules@#1: No griefing@#2: No griefing\r\n");
|
|
writer.write("rules=Rules@#1: No griefing@#2: No griefing\r\n");
|
|
- writer.write("#Death messages, seperate them by comma. All death messages start with the player name and a space.\r\n");
|
|
|
|
|
|
+ writer.write("#The Random Death messages, seperate them by comma. All death messages start with the player name and a space.\r\n");
|
|
writer.write("deathMessages=is no more,died horribly,went peacefully\r\n");
|
|
writer.write("deathMessages=is no more,died horribly,went peacefully\r\n");
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
log.log(Level.SEVERE, "Exception while creating " + location, e);
|
|
log.log(Level.SEVERE, "Exception while creating " + location, e);
|
|
@@ -115,26 +129,25 @@ public class vMinecraftSettings {
|
|
|
|
|
|
try {
|
|
try {
|
|
adminChat = properties.getBoolean("adminchat",true);
|
|
adminChat = properties.getBoolean("adminchat",true);
|
|
- greentext = properties.getBoolean("greentext",true);
|
|
|
|
|
|
+ greentext = properties.getBoolean("QuotesAreGreen",true);
|
|
FFF = properties.getBoolean("FFF",true);
|
|
FFF = properties.getBoolean("FFF",true);
|
|
- quakeColors = properties.getBoolean("quakeColors",true);
|
|
|
|
- cmdFabulous = properties.getBoolean("cmdFabulous",true);
|
|
|
|
- cmdPromote = properties.getBoolean("cmdPromote",true);
|
|
|
|
- cmdDemote = properties.getBoolean("cmdDemote",true);
|
|
|
|
- cmdWhoIs = properties.getBoolean("cmdWhoIs",true);
|
|
|
|
- cmdWho = properties.getBoolean("cmdWho",true);
|
|
|
|
- cmdRules = properties.getBoolean("cmdRules",true);
|
|
|
|
- cmdTp = properties.getBoolean("cmdTp",true);
|
|
|
|
- cmdMasstp = properties.getBoolean("cmdMasstp",true);
|
|
|
|
- cmdTphere = properties.getBoolean("cmdTphere",true);
|
|
|
|
- cmdSuicide = properties.getBoolean("cmdSuicide", true);
|
|
|
|
- cmdHeal = properties.getBoolean("cmdHeal",true);
|
|
|
|
- cmdAdminToggle = properties.getBoolean("cmdAdminToggle", true);
|
|
|
|
|
|
+ quakeColors = properties.getBoolean("ColoredChat",true);
|
|
|
|
+ cmdFabulous = properties.getBoolean("/fabulous",true);
|
|
|
|
+ cmdPromote = properties.getBoolean("/promote",true);
|
|
|
|
+ cmdDemote = properties.getBoolean("/demote",true);
|
|
|
|
+ cmdWhoIs = properties.getBoolean("/whois",true);
|
|
|
|
+ cmdWho = properties.getBoolean("/who",true);
|
|
|
|
+ cmdRules = properties.getBoolean("/rules",true);
|
|
|
|
+ cmdTp = properties.getBoolean("/tp",true);
|
|
|
|
+ cmdMasstp = properties.getBoolean("/masstp",true);
|
|
|
|
+ cmdTphere = properties.getBoolean("/tphere",true);
|
|
|
|
+ cmdSuicide = properties.getBoolean("/suicide", true);
|
|
|
|
+ cmdHeal = properties.getBoolean("/heal",true);
|
|
|
|
+ cmdAdminToggle = properties.getBoolean("/adminchat", true);
|
|
globalmessages = properties.getBoolean("globalmessages",true);
|
|
globalmessages = properties.getBoolean("globalmessages",true);
|
|
- cmdSay = properties.getBoolean("cmdSay",true);
|
|
|
|
- cmdEzModo = properties.getBoolean("cmdEzModo",true);
|
|
|
|
|
|
+ cmdSay = properties.getBoolean("/say",true);
|
|
|
|
+ cmdEzModo = properties.getBoolean("/ezmodo",true);
|
|
stopFire = properties.getBoolean("stopFire",true);
|
|
stopFire = properties.getBoolean("stopFire",true);
|
|
- stopTnt = properties.getBoolean("stopTNT",true);
|
|
|
|
rules = properties.getString("rules", "").split("@");
|
|
rules = properties.getString("rules", "").split("@");
|
|
deathMessages = properties.getString("deathmessages", "").split(",");
|
|
deathMessages = properties.getString("deathmessages", "").split(",");
|
|
String[] tempEz = properties.getString("ezModo").split(",");
|
|
String[] tempEz = properties.getString("ezModo").split(",");
|