mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-09-15 01:15:35 +02:00
Cleanup of LoadProperties, changed around a few message strings.
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
package com.gmail.nossr50;
|
package com.gmail.nossr50;
|
||||||
|
|
||||||
|
import org.bukkit.ChatColor;
|
||||||
import org.bukkit.Material;
|
import org.bukkit.Material;
|
||||||
import org.bukkit.block.Block;
|
import org.bukkit.block.Block;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
@@ -56,7 +57,7 @@ public class Item {
|
|||||||
player.sendMessage(mcLocale.getString("Item.InjuredWait", new Object[] {Skills.calculateTimeLeft(PP.getRecentlyHurt(), 60)}));
|
player.sendMessage(mcLocale.getString("Item.InjuredWait", new Object[] {Skills.calculateTimeLeft(PP.getRecentlyHurt(), 60)}));
|
||||||
}
|
}
|
||||||
else if (is.getAmount() <= LoadProperties.feathersConsumedByChimaeraWing) {
|
else if (is.getAmount() <= LoadProperties.feathersConsumedByChimaeraWing) {
|
||||||
player.sendMessage(mcLocale.getString("Item.NeedFeathers"));
|
player.sendMessage(mcLocale.getString("Skills.NeedMore")+ " " + ChatColor.GRAY + m.prettyItemString(LoadProperties.chimaeraId));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -8,417 +8,506 @@ import org.bukkit.configuration.file.FileConfiguration;
|
|||||||
import com.gmail.nossr50.datatypes.HUDType;
|
import com.gmail.nossr50.datatypes.HUDType;
|
||||||
|
|
||||||
public class LoadProperties {
|
public class LoadProperties {
|
||||||
public static Boolean enableOnlyActivateWhenSneaking,
|
|
||||||
enableAbilityMessages, enableAbilities, showDisplayName, showFaces,
|
|
||||||
xplockEnable, xpbar, xpicon, partybar, xprateEnable, spoutEnabled,
|
|
||||||
donateMessage, chimaeraWingEnable, xpGainsMobSpawners,
|
|
||||||
mccEnable, mcmmoEnable, partyEnable, inviteEnable, acceptEnable,
|
|
||||||
inspectEnable, mcstatsEnable, addxpEnable, ptpEnable, mmoeditEnable, mcremoveEnable,
|
|
||||||
mcgodEnable, mcabilityEnable, mctopEnable,
|
|
||||||
addlevelsEnable, mcrefreshEnable, aEnable, pEnable, enableMotd,
|
|
||||||
enableCobbleToMossy, useMySQL, toolsLoseDurabilityFromAbilities,
|
|
||||||
pvpxp, miningrequirespickaxe, excavationRequiresShovel,
|
|
||||||
woodcuttingrequiresaxe, anvilmessages, mayDowngradeEnchants,
|
|
||||||
mayLoseEnchants, fishingDrops, aDisplayNames, pDisplayNames, enableSmoothToMossy,
|
|
||||||
enableDirtToGrass, statsTracking, eventCallback, herbalismHungerBonus,
|
|
||||||
repairArmor, repairTools, perLevelTools, wheatRegrowth;
|
|
||||||
|
|
||||||
public static String MySQLtablePrefix, MySQLuserName,
|
/*
|
||||||
MySQLserverName, MySQLdbName, MySQLdbPass, nWood, nStone,
|
* GENERAL SETTINGS
|
||||||
nIron, nGold, nDiamond, locale, nString, nLeather;
|
*/
|
||||||
|
|
||||||
public static int treeFellerThreshold, mjungle, mtameWolf, mtameOcelot,
|
public static String locale;
|
||||||
mfishing, xpbar_x, xpbar_y, xpicon_x, xpicon_y,
|
public static Boolean enableMotd, statsTracking, eventCallback;
|
||||||
chimaeraId, msandstone, mbase, moak, mbirch, mspruce, mmelon,
|
public static int saveInterval;
|
||||||
mcactus, mmushroom, mflower, msugar, mpumpkin, mwheat, mgold,
|
|
||||||
mdiamond, miron, mredstone, mlapis, mobsidian, mnetherrack,
|
|
||||||
mglowstone, mcoal, mstone, MySQLport, xpGainMultiplier,
|
|
||||||
superBreakerCooldown, blastMiningCooldown, greenTerraCooldown, gigaDrillBreakerCooldown,
|
|
||||||
treeFellerCooldown, berserkCooldown, serratedStrikeCooldown,
|
|
||||||
skullSplitterCooldown, abilityDurabilityLoss,
|
|
||||||
feathersConsumedByChimaeraWing, bonesConsumedByCOTW,
|
|
||||||
repairdiamondlevel, rWood, rStone, rIron, rGold, rDiamond, rString,
|
|
||||||
rLeather, downgradeRank1, downgradeRank2, downgradeRank3,
|
|
||||||
downgradeRank4, keepEnchantsRank1, keepEnchantsRank2,
|
|
||||||
keepEnchantsRank3, keepEnchantsRank4, mnetherwart,
|
|
||||||
mvines, mlilypad, mendstone, mmossstone,
|
|
||||||
levelCapAcrobatics, levelCapArchery, levelCapAxes, levelCapExcavation,
|
|
||||||
levelCapFishing, levelCapHerbalism, levelCapMining, levelCapRepair,
|
|
||||||
levelCapSwords, levelCapTaming, levelCapUnarmed, levelCapWoodcutting,
|
|
||||||
anvilID, saveInterval, fishingTier1, fishingTier2, fishingTier3, fishingTier4, fishingTier5,
|
|
||||||
repairStoneLevel, repairIronLevel, repairGoldLevel, arcaneRank1, arcaneRank2, arcaneRank3, arcaneRank4,
|
|
||||||
detonatorID, fishConsumedByCOTW, dAxe, dHoe, dShovel, dSword, dPickaxe, gAxe, gHoe, gShovel, gSword, gPickaxe,
|
|
||||||
iAxe, iHoe, iShovel, iSword, iPickaxe, wAxe, wHoe, wShovel, wSword, wPickaxe,
|
|
||||||
ptpCommandCooldown;
|
|
||||||
|
|
||||||
public static double xpbackground_r, xpbackground_g, xpbackground_b,
|
/* mySQL */
|
||||||
xpborder_r, xpborder_g, xpborder_b, fishing_r, fishing_g,
|
public static Boolean useMySQL;
|
||||||
fishing_b, acrobatics_r, acrobatics_g, acrobatics_b, archery_r,
|
public static String MySQLtablePrefix, MySQLuserName, MySQLserverName, MySQLdbName, MySQLdbPass;
|
||||||
archery_g, archery_b, axes_r, axes_g, axes_b, excavation_r,
|
public static int MySQLport;
|
||||||
excavation_g, excavation_b, herbalism_r, herbalism_g, herbalism_b,
|
|
||||||
mining_r, mining_g, mining_b, repair_r, repair_g, repair_b,
|
|
||||||
swords_r, swords_g, swords_b, taming_r, taming_g, taming_b,
|
|
||||||
unarmed_r, unarmed_g, unarmed_b, woodcutting_r, woodcutting_g,
|
|
||||||
woodcutting_b, pvpxprewardmodifier, tamingxpmodifier,
|
|
||||||
miningxpmodifier, repairxpmodifier, woodcuttingxpmodifier,
|
|
||||||
fishingxpmodifier, unarmedxpmodifier, herbalismxpmodifier,
|
|
||||||
excavationxpmodifier, archeryxpmodifier, swordsxpmodifier,
|
|
||||||
axesxpmodifier, acrobaticsxpmodifier, animalXP, creeperXP, skeletonXP, spiderXP, ghastXP, slimeXP,
|
|
||||||
zombieXP, pigzombieXP, endermanXP, cavespiderXP, silverfishXP, blazeXP, magmacubeXP, enderdragonXP;
|
|
||||||
|
|
||||||
public static HUDType defaulthud;
|
/* Commands */
|
||||||
protected static File configFile;
|
public static Boolean xplockEnable, xprateEnable, mccEnable, mcmmoEnable,
|
||||||
protected static File dataFolder;
|
partyEnable, inviteEnable, acceptEnable, inspectEnable,
|
||||||
protected final mcMMO plugin;
|
mcstatsEnable, addxpEnable, ptpEnable, mmoeditEnable,
|
||||||
protected static FileConfiguration config;
|
mcremoveEnable, mcgodEnable, mcabilityEnable, mctopEnable,
|
||||||
|
addlevelsEnable, mcrefreshEnable, aEnable, pEnable;
|
||||||
|
public static Boolean aDisplayNames, pDisplayNames;
|
||||||
|
public static int ptpCommandCooldown;
|
||||||
|
public static Boolean donateMessage;
|
||||||
|
|
||||||
public LoadProperties(mcMMO plugin) {
|
/* Tool Level Requirements */
|
||||||
this.plugin = plugin;
|
public static Boolean perLevelTools;
|
||||||
dataFolder = plugin.getDataFolder();
|
public static int sAxe, sHoe, sShovel, sSword, sPickaxe;
|
||||||
configFile = new File(dataFolder, File.separator + "config.yml");
|
public static int iAxe, iHoe, iShovel, iSword, iPickaxe;
|
||||||
config = plugin.getConfig();
|
public static int gAxe, gHoe, gShovel, gSword, gPickaxe;
|
||||||
}
|
public static int dAxe, dHoe, dShovel, dSword, dPickaxe;
|
||||||
|
|
||||||
public void load() {
|
/* Items */
|
||||||
// If not exist, copy from the jar
|
public static Boolean chimaeraWingEnable;
|
||||||
if (!configFile.exists()) {
|
public static int chimaeraId, feathersConsumedByChimaeraWing;
|
||||||
dataFolder.mkdir();
|
|
||||||
plugin.saveDefaultConfig();
|
|
||||||
}
|
|
||||||
addDefaults();
|
|
||||||
loadKeys();
|
|
||||||
}
|
|
||||||
|
|
||||||
private Boolean readBoolean(String root, Boolean def) {
|
/*
|
||||||
Boolean result = config.getBoolean(root, def);
|
* ABILITY SETTINGS
|
||||||
return result;
|
*/
|
||||||
}
|
|
||||||
|
|
||||||
private Double readDouble(String root, Double def) {
|
/* General Settings */
|
||||||
Double result = config.getDouble(root, def);
|
public static Boolean enableOnlyActivateWhenSneaking, enableAbilityMessages, enableAbilities;
|
||||||
return result;
|
|
||||||
}
|
|
||||||
|
|
||||||
private Integer readInteger(String root, Integer def) {
|
/* Durability Settings */
|
||||||
Integer result = config.getInt(root, def);
|
public static Boolean toolsLoseDurabilityFromAbilities;
|
||||||
return result;
|
public static int abilityDurabilityLoss;
|
||||||
}
|
|
||||||
|
|
||||||
public static String readString(String root, String def) {
|
/* Cooldowns */
|
||||||
String result = config.getString(root, def);
|
public static int superBreakerCooldown, blastMiningCooldown, greenTerraCooldown,
|
||||||
return result;
|
gigaDrillBreakerCooldown, treeFellerCooldown, berserkCooldown,
|
||||||
}
|
serratedStrikeCooldown, skullSplitterCooldown;
|
||||||
|
|
||||||
private static void saveConfig() {
|
/* Thresholds */
|
||||||
try {
|
public static int treeFellerThreshold;
|
||||||
config.save(configFile);
|
|
||||||
} catch (IOException e) {
|
|
||||||
e.printStackTrace();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private void addDefaults() {
|
/*
|
||||||
// Load from included config.yml
|
* SKILL SETTINGS
|
||||||
config.options().copyDefaults(true);
|
*/
|
||||||
saveConfig();
|
|
||||||
}
|
|
||||||
|
|
||||||
private void loadKeys() {
|
/* Tool Requirements */
|
||||||
plugin.getLogger().info("Loading mcMMO config.yml File...");
|
public static Boolean miningrequirespickaxe, excavationRequiresShovel, woodcuttingrequiresaxe;
|
||||||
|
|
||||||
// Setup default HUD
|
/* Excavation */
|
||||||
String temp = readString("Spout.HUD.Default", "STANDARD");
|
public static int mbase;
|
||||||
for (HUDType x : HUDType.values()) {
|
|
||||||
if (x.toString().equalsIgnoreCase(temp))
|
|
||||||
defaulthud = x;
|
|
||||||
}
|
|
||||||
|
|
||||||
enableAbilityMessages = readBoolean("Abilities.Messages", true);
|
/* Fishing */
|
||||||
enableAbilities = readBoolean("Abilities.Enabled", true);
|
public static Boolean fishingDrops;
|
||||||
|
public static int fishingTier1, fishingTier2, fishingTier3, fishingTier4, fishingTier5;
|
||||||
|
public static int mfishing;
|
||||||
|
|
||||||
donateMessage = readBoolean("Commands.mcmmo.Donate_Message", true);
|
/* Herbalism */
|
||||||
xpGainsMobSpawners = readBoolean("Experience.Gains.Mobspawners.Enabled", false);
|
public static Boolean herbalismHungerBonus, wheatRegrowth;
|
||||||
|
public static int mmelon, mcactus, mmushroom, mflower, msugar, mpumpkin, mwheat, mvines, mlilypad, mnetherwart;
|
||||||
|
public static Boolean enableCobbleToMossy, enableSmoothToMossy, enableDirtToGrass;
|
||||||
|
|
||||||
bonesConsumedByCOTW = readInteger("Skills.Taming.Call_Of_The_Wild.Bones_Required", 10);
|
/* Mining */
|
||||||
fishConsumedByCOTW = readInteger("Skills.Taming.Call_Of_The_Wild.Fish_Required", 10);
|
public static int msandstone, mgold, mdiamond, miron, mredstone, mlapis, mobsidian, mnetherrack, mglowstone, mcoal, mstone, mendstone, mmossstone;
|
||||||
|
public static int detonatorID;
|
||||||
|
|
||||||
xpbar = readBoolean("Spout.XP.Bar.Enabled", true);
|
/* Repair */
|
||||||
xpicon = readBoolean("Spout.XP.Icon.Enabled", true);
|
public static Boolean repairArmor, repairTools;
|
||||||
xpbar_x = readInteger("Spout.XP.Bar.X_POS", 95);
|
public static Boolean anvilmessages;
|
||||||
xpbar_y = readInteger("Spout.XP.Bar.Y_POS", 6);
|
public static int rWood, rStone, rIron, rGold, rDiamond, rString, rLeather;
|
||||||
xpicon_x = readInteger("Spout.XP.Icon.X_POS", 78);
|
public static int anvilID;
|
||||||
xpicon_y = readInteger("Spout.XP.Icon.Y_POS", 2);
|
public static int repairStoneLevel, repairIronLevel, repairGoldLevel, repairdiamondlevel;
|
||||||
|
|
||||||
showFaces = readBoolean("Spout.Party.HUD.Show_Faces", true);
|
/* Taming */
|
||||||
showDisplayName = readBoolean("Spout.Party.HUD.Show_Display_Name", false);
|
public static int mtameWolf, mtameOcelot;
|
||||||
partybar = readBoolean("Spout.Party.HUD.Enabled", true);
|
public static int bonesConsumedByCOTW, fishConsumedByCOTW;
|
||||||
|
|
||||||
acrobatics_r = readDouble("Spout.HUD.Retro.Colors.Acrobatics.RED", 0.3);
|
/* Woodcutting */
|
||||||
acrobatics_g = readDouble("Spout.HUD.Retro.Colors.Acrobatics.GREEN", 0.3);
|
public static int moak, mbirch, mspruce, mjungle;
|
||||||
acrobatics_b = readDouble("Spout.HUD.Retro.Colors.Acrobatics.BLUE", 0.75);
|
|
||||||
archery_r = readDouble("Spout.HUD.Retro.Colors.Archery.RED", 0.3);
|
|
||||||
archery_g = readDouble("Spout.HUD.Retro.Colors.Archery.GREEN", 0.3);
|
|
||||||
archery_b = readDouble("Spout.HUD.Retro.Colors.Archery.BLUE", 0.75);
|
|
||||||
axes_r = readDouble("Spout.HUD.Retro.Colors.Axes.RED", 0.3);
|
|
||||||
axes_g = readDouble("Spout.HUD.Retro.Colors.Axes.GREEN", 0.3);
|
|
||||||
axes_b = readDouble("Spout.HUD.Retro.Colors.Axes.BLUE", 0.75);
|
|
||||||
excavation_r = readDouble("Spout.HUD.Retro.Colors.Excavation.RED", 0.3);
|
|
||||||
excavation_g = readDouble("Spout.HUD.Retro.Colors.Excavation.GREEN", 0.3);
|
|
||||||
excavation_b = readDouble("Spout.HUD.Retro.Colors.Excavation.BLUE", 0.75);
|
|
||||||
herbalism_r = readDouble("Spout.HUD.Retro.Colors.Herbalism.RED", 0.3);
|
|
||||||
herbalism_g = readDouble("Spout.HUD.Retro.Colors.Herbalism.GREEN", 0.3);
|
|
||||||
herbalism_b = readDouble("Spout.HUD.Retro.Colors.Herbalism.BLUE", 0.75);
|
|
||||||
mining_r = readDouble("Spout.HUD.Retro.Colors.Mining.RED", 0.3);
|
|
||||||
mining_g = readDouble("Spout.HUD.Retro.Colors.Mining.GREEN", 0.3);
|
|
||||||
mining_b = readDouble("Spout.HUD.Retro.Colors.Mining.BLUE", 0.75);
|
|
||||||
repair_r = readDouble("Spout.HUD.Retro.Colors.Repair.RED", 0.3);
|
|
||||||
repair_g = readDouble("Spout.HUD.Retro.Colors.Repair.GREEN", 0.3);
|
|
||||||
repair_b = readDouble("Spout.HUD.Retro.Colors.Repair.BLUE", 0.75);
|
|
||||||
swords_r = readDouble("Spout.HUD.Retro.Colors.Swords.RED", 0.3);
|
|
||||||
swords_g = readDouble("Spout.HUD.Retro.Colors.Swords.GREEN", 0.3);
|
|
||||||
swords_b = readDouble("Spout.HUD.Retro.Colors.Swords.BLUE", 0.75);
|
|
||||||
taming_r = readDouble("Spout.HUD.Retro.Colors.Taming.RED", 0.3);
|
|
||||||
taming_g = readDouble("Spout.HUD.Retro.Colors.Taming.GREEN", 0.3);
|
|
||||||
taming_b = readDouble("Spout.HUD.Retro.Colors.Taming.BLUE", 0.75);
|
|
||||||
unarmed_r = readDouble("Spout.HUD.Retro.Colors.Unarmed.RED", 0.3);
|
|
||||||
unarmed_g = readDouble("Spout.HUD.Retro.Colors.Unarmed.GREEN", 0.3);
|
|
||||||
unarmed_b = readDouble("Spout.HUD.Retro.Colors.Unarmed.BLUE", 0.75);
|
|
||||||
woodcutting_r = readDouble("Spout.HUD.Retro.Colors.Woodcutting.RED", 0.3);
|
|
||||||
woodcutting_g = readDouble("Spout.HUD.Retro.Colors.Woodcutting.GREEN", 0.3);
|
|
||||||
woodcutting_b = readDouble("Spout.HUD.Retro.Colors.Woodcutting.BLUE", 0.75);
|
|
||||||
fishing_r = readDouble("Spout.HUD.Retro.Colors.Fishing.RED", 0.3);
|
|
||||||
fishing_g = readDouble("Spout.HUD.Retro.Colors.Fishing.GREEN", 0.3);
|
|
||||||
fishing_b = readDouble("Spout.HUD.Retro.Colors.Fishing.BLUE", 0.75);
|
|
||||||
|
|
||||||
xpborder_r = readDouble("Spout.HUD.Retro.Colors.Border.RED", 0.0);
|
/* Arcane Forging */
|
||||||
xpborder_g = readDouble("Spout.HUD.Retro.Colors.Border.GREEN", 0.0);
|
public static Boolean mayDowngradeEnchants, mayLoseEnchants;
|
||||||
xpborder_b = readDouble("Spout.HUD.Retro.Colors.Border.BLUE", 0.0);
|
public static int arcaneRank1, arcaneRank2, arcaneRank3, arcaneRank4;
|
||||||
xpbackground_r = readDouble("Spout.HUD.Retro.Colors.Background.RED", 0.75);
|
public static int downgradeRank1, downgradeRank2, downgradeRank3, downgradeRank4;
|
||||||
xpbackground_g = readDouble("Spout.HUD.Retro.Colors.Background.GREEN", 0.75);
|
public static int keepEnchantsRank1, keepEnchantsRank2, keepEnchantsRank3, keepEnchantsRank4;
|
||||||
xpbackground_b = readDouble("Spout.HUD.Retro.Colors.Background.BLUE", 0.75);
|
|
||||||
|
|
||||||
mbase = readInteger("Experience.Excavation.Base", 40);
|
/* Level Caps */
|
||||||
|
public static int levelCapAcrobatics, levelCapArchery, levelCapAxes, levelCapExcavation,
|
||||||
|
levelCapFishing, levelCapHerbalism, levelCapMining, levelCapRepair,
|
||||||
|
levelCapSwords, levelCapTaming, levelCapUnarmed, levelCapWoodcutting;
|
||||||
|
|
||||||
msugar = readInteger("Experience.Herbalism.Sugar_Cane", 30);
|
/*
|
||||||
mwheat = readInteger("Experience.Herbalism.Wheat", 50);
|
* XP SETTINGS
|
||||||
mcactus = readInteger("Experience.Herbalism.Cactus", 30);
|
*/
|
||||||
mpumpkin = readInteger("Experience.Herbalism.Pumpkin", 20);
|
|
||||||
mflower = readInteger("Experience.Herbalism.Flowers", 100);
|
|
||||||
mmushroom = readInteger("Experience.Herbalism.Mushrooms", 150);
|
|
||||||
mmelon = readInteger("Experience.Herbalism.Melon", 20);
|
|
||||||
mnetherwart = readInteger("Experience.Herbalism.Nether_Wart", 50);
|
|
||||||
mlilypad = readInteger("Experience.Herbalism.Lily_Pads", 100);
|
|
||||||
mvines = readInteger("Experience.Herbalism.Vines", 10);
|
|
||||||
herbalismHungerBonus = readBoolean("Skills.Herbalism.Hunger_Bonus", true);
|
|
||||||
wheatRegrowth = readBoolean("Skills.Herbalism.Instant_Wheat_Regrowth", true);
|
|
||||||
|
|
||||||
moak = readInteger("Experience.Woodcutting.Oak", 70);
|
public static Boolean xpGainsMobSpawners, pvpxp;
|
||||||
mbirch = readInteger("Experience.Woodcutting.Birch", 90);
|
public static int xpGainMultiplier;
|
||||||
mspruce = readInteger("Experience.Woodcutting.Spruce", 80);
|
|
||||||
mjungle = readInteger("Experience.Woodcutting.Jungle", 100);
|
|
||||||
|
|
||||||
mgold = readInteger("Experience.Mining.Gold", 250);
|
/* Combat XP Multipliers */
|
||||||
mdiamond = readInteger("Experience.Mining.Diamond", 750);
|
public static double pvpxprewardmodifier;
|
||||||
miron = readInteger("Experience.Mining.Iron", 250);
|
public static double animalXP, creeperXP, skeletonXP, spiderXP, ghastXP, slimeXP,
|
||||||
mredstone = readInteger("Experience.Mining.Redstone", 150);
|
zombieXP, pigzombieXP, endermanXP, cavespiderXP, silverfishXP,
|
||||||
mlapis = readInteger("Experience.Mining.Lapis", 400);
|
blazeXP, magmacubeXP, enderdragonXP;
|
||||||
mobsidian = readInteger("Experience.Mining.Obsidian", 150);
|
|
||||||
mnetherrack = readInteger("Experience.Mining.Netherrack", 30);
|
|
||||||
mglowstone = readInteger("Experience.Mining.Glowstone", 30);
|
|
||||||
mcoal = readInteger("Experience.Mining.Coal", 100);
|
|
||||||
mstone = readInteger("Experience.Mining.Stone", 30);
|
|
||||||
msandstone = readInteger("Experience.Mining.Sandstone", 30);
|
|
||||||
mendstone = readInteger("Experience.Mining.End_Stone", 150);
|
|
||||||
mmossstone = readInteger("Experience.Mining.Moss_Stone", 30);
|
|
||||||
|
|
||||||
mtameWolf = readInteger("Experience.Taming.Animal_Taming.Wolf", 250);
|
|
||||||
mtameOcelot = readInteger("Experience.Taming.Animal_Taming.Ocelot", 500);
|
|
||||||
|
|
||||||
mfishing = readInteger("Experience.Fishing.Base", 800);
|
/* XP Formula Multiplier */
|
||||||
|
public static double tamingxpmodifier, miningxpmodifier, repairxpmodifier, woodcuttingxpmodifier,
|
||||||
|
fishingxpmodifier, unarmedxpmodifier, herbalismxpmodifier, excavationxpmodifier,
|
||||||
|
archeryxpmodifier, swordsxpmodifier, axesxpmodifier, acrobaticsxpmodifier;
|
||||||
|
|
||||||
enableOnlyActivateWhenSneaking = readBoolean("Abilities.Activation.Only_Activate_When_Sneaking", false);
|
/*
|
||||||
|
* SPOUT SETTINGS
|
||||||
|
*/
|
||||||
|
|
||||||
greenTerraCooldown = readInteger("Abilities.Cooldowns.Green_Terra", 240);
|
public static Boolean spoutEnabled;
|
||||||
superBreakerCooldown = readInteger("Abilities.Cooldowns.Super_Breaker", 240);
|
|
||||||
gigaDrillBreakerCooldown = readInteger("Abilities.Cooldowns.Giga_Drill_Breaker", 240);
|
|
||||||
treeFellerThreshold = readInteger("Abilities.Limits.Tree_Feller_Threshold", 500);
|
|
||||||
treeFellerCooldown = readInteger("Abilities.Cooldowns.Tree_Feller", 240);
|
|
||||||
berserkCooldown = readInteger("Abilities.Cooldowns.Berserk", 240);
|
|
||||||
serratedStrikeCooldown = readInteger("Abilities.Cooldowns.Serrated_Strikes", 240);
|
|
||||||
skullSplitterCooldown = readInteger("Abilities.Cooldowns.Skull_Splitter", 240);
|
|
||||||
blastMiningCooldown = readInteger("Abilities.Cooldowns.Blast_Mining", 60);
|
|
||||||
|
|
||||||
MySQLserverName = readString("MySQL.Server.Address", "localhost");
|
/* Spout Party HUD */
|
||||||
if (readString("MySQL.Database.User.Password", null) != null)
|
public static Boolean showDisplayName, showFaces, partybar;
|
||||||
MySQLdbPass = readString("MySQL.Database.User.Password", null);
|
|
||||||
else
|
|
||||||
MySQLdbPass = "";
|
|
||||||
|
|
||||||
MySQLdbName = readString("MySQL.Database.Name", "DatabaseName");
|
/* Spout XP Bar */
|
||||||
MySQLuserName = readString("MySQL.Database.User.Name", "UserName");
|
public static Boolean xpbar, xpicon;
|
||||||
MySQLtablePrefix = readString("MySQL.Database.TablePrefix", "mcmmo_");
|
public static int xpbar_x, xpbar_y, xpicon_x, xpicon_y;
|
||||||
MySQLport = readInteger("MySQL.Server.Port", 3306);
|
|
||||||
useMySQL = readBoolean("MySQL.Enabled", false);
|
|
||||||
|
|
||||||
locale = readString("General.Locale", "en_us");
|
/* Spout HUD Colors */
|
||||||
enableMotd = readBoolean("General.MOTD.Enabled", true);
|
public static double xpbackground_r, xpbackground_g, xpbackground_b;
|
||||||
saveInterval = readInteger("General.Save_Interval", 10);
|
public static double xpborder_r, xpborder_g, xpborder_b;
|
||||||
statsTracking = readBoolean("General.Stats_Tracking", true);
|
public static double fishing_r, fishing_g, fishing_b;
|
||||||
eventCallback = readBoolean("General.Event_Callback", true);
|
public static double acrobatics_r, acrobatics_g, acrobatics_b;
|
||||||
perLevelTools = readBoolean("General.Per_Level_Tools", false);
|
public static double archery_r, archery_g, archery_b;
|
||||||
|
public static double axes_r, axes_g, axes_b;
|
||||||
|
public static double excavation_r, excavation_g, excavation_b;
|
||||||
|
public static double herbalism_r, herbalism_g, herbalism_b;
|
||||||
|
public static double mining_r, mining_g, mining_b;
|
||||||
|
public static double repair_r, repair_g, repair_b;
|
||||||
|
public static double swords_r, swords_g, swords_b;
|
||||||
|
public static double taming_r, taming_g, taming_b;
|
||||||
|
public static double unarmed_r, unarmed_g, unarmed_b;
|
||||||
|
public static double woodcutting_r, woodcutting_g, woodcutting_b;
|
||||||
|
|
||||||
enableCobbleToMossy = readBoolean("Skills.Herbalism.Green_Thumb.Cobble_To_Mossy", true);
|
/*
|
||||||
enableSmoothToMossy = readBoolean("Skills.Herbalism.Green_Thumb.SmoothBrick_To_MossyBrick", true);
|
* CONFIG LOADING
|
||||||
enableDirtToGrass = readBoolean("Skills.Herbalism.Green_Thumb.Dirt_To_Grass", true);
|
*/
|
||||||
|
|
||||||
xpGainMultiplier = readInteger("Experience.Gains.Multiplier.Global", 1);
|
public static HUDType defaulthud;
|
||||||
toolsLoseDurabilityFromAbilities = readBoolean("Abilities.Tools.Durability_Loss_Enabled", true);
|
protected static File configFile;
|
||||||
abilityDurabilityLoss = readInteger("Abilities.Tools.Durability_Loss", 2);
|
protected static File dataFolder;
|
||||||
|
protected final mcMMO plugin;
|
||||||
|
protected static FileConfiguration config;
|
||||||
|
|
||||||
feathersConsumedByChimaeraWing = readInteger("Items.Chimaera_Wing.Feather_Cost", 10);
|
public LoadProperties(mcMMO plugin) {
|
||||||
chimaeraId = readInteger("Items.Chimaera_Wing.Item_ID", 288);
|
this.plugin = plugin;
|
||||||
chimaeraWingEnable = readBoolean("Items.Chimaera_Wing.Enabled", true);
|
dataFolder = plugin.getDataFolder();
|
||||||
dAxe = readInteger("Items.Diamond.Axe", 750);
|
configFile = new File(dataFolder, File.separator + "config.yml");
|
||||||
dHoe = readInteger("Items.Diamond.Hoe", 750);
|
config = plugin.getConfig();
|
||||||
dShovel = readInteger("Items.Diamond.Shovel", 750);
|
}
|
||||||
dSword = readInteger("Items.Diamond.Sword", 750);
|
|
||||||
dPickaxe = readInteger("Items.Diamond.Pickaxe", 750);
|
|
||||||
gAxe = readInteger("Items.Gold.Axe", 500);
|
|
||||||
gHoe = readInteger("Items.Gold.Hoe", 500);
|
|
||||||
gShovel = readInteger("Items.Gold.Shovel", 500);
|
|
||||||
gSword = readInteger("Items.Gold.Sword", 500);
|
|
||||||
gPickaxe = readInteger("Items.Gold.Pickaxe", 500);
|
|
||||||
iAxe = readInteger("Items.Iron.Axe", 250);
|
|
||||||
iHoe = readInteger("Items.Iron.Hoe", 250);
|
|
||||||
iShovel = readInteger("Items.Iron.Shovel", 250);
|
|
||||||
iSword = readInteger("Items.Iron.Sword", 250);
|
|
||||||
iPickaxe = readInteger("Items.Iron.Pickaxe", 250);
|
|
||||||
wAxe = readInteger("Items.Wood.Axe", 0);
|
|
||||||
wHoe = readInteger("Items.Wood.Hoe", 0);
|
|
||||||
wShovel = readInteger("Items.Wood.Shovel", 0);
|
|
||||||
wSword = readInteger("Items.Wood.Sword", 0);
|
|
||||||
wPickaxe = readInteger("Items.Wood.Pickaxe", 0);
|
|
||||||
|
|
||||||
pvpxp = readBoolean("Experience.PVP.Rewards", true);
|
/**
|
||||||
pvpxprewardmodifier = readDouble("Experience.Gains.Multiplier.PVP", 1.0);
|
* Load this config file.
|
||||||
|
*/
|
||||||
|
public void load() {
|
||||||
|
|
||||||
miningrequirespickaxe = readBoolean("Skills.Mining.Requires_Pickaxe", true);
|
// If it doesn't exist, copy it from the .jar
|
||||||
excavationRequiresShovel = readBoolean("Skills.Excavation.Requires_Shovel", true);
|
if (!configFile.exists()) {
|
||||||
woodcuttingrequiresaxe = readBoolean("Skills.Woodcutting.Requires_Axe", true);
|
dataFolder.mkdir();
|
||||||
repairArmor = readBoolean("Skills.Repair.Can_Repair_Armor", true);
|
plugin.saveDefaultConfig();
|
||||||
repairTools = readBoolean("Skills.Repair.Can_Repair_Tools", true);
|
}
|
||||||
repairdiamondlevel = readInteger("Skills.Repair.Diamond.Level_Required", 50);
|
|
||||||
repairIronLevel = readInteger("Skills.Repair.Iron.Level_Required", 0);
|
|
||||||
repairGoldLevel = readInteger("Skills.Repair.Gold.Level_Required", 0);
|
|
||||||
repairStoneLevel = readInteger("Skills.Repair.Stone.Level_Required", 0);
|
|
||||||
|
|
||||||
tamingxpmodifier = readDouble("Experience.Formula.Multiplier.Taming", 1.0);
|
addDefaults();
|
||||||
miningxpmodifier = readDouble("Experience.Formula.Multiplier.Mining", 1.0);
|
loadKeys();
|
||||||
repairxpmodifier = readDouble("Experience.Formula.Multiplier.Repair", 1.0);
|
}
|
||||||
woodcuttingxpmodifier = readDouble("Experience.Formula.Multiplier.Woodcutting", 1.0);
|
|
||||||
unarmedxpmodifier = readDouble("Experience.Formula.Multiplier.Unarmed", 1.0);
|
|
||||||
herbalismxpmodifier = readDouble("Experience.Formula.Multiplier.Herbalism", 1.0);
|
|
||||||
excavationxpmodifier = readDouble("Experience.Formula.Multiplier.Excavation", 1.0);
|
|
||||||
archeryxpmodifier = readDouble("Experience.Formula.Multiplier.Archery", 1.0);
|
|
||||||
swordsxpmodifier = readDouble("Experience.Formula.Multiplier.Swords", 1.0);
|
|
||||||
axesxpmodifier = readDouble("Experience.Formula.Multiplier.Axes", 1.0);
|
|
||||||
acrobaticsxpmodifier = readDouble("Experience.Formula.Multiplier.Acrobatics", 1.0);
|
|
||||||
fishingxpmodifier = readDouble("Experience.Forumla.Multiplier.Fishing", 1.0);
|
|
||||||
|
|
||||||
anvilmessages = readBoolean("Skills.Repair.Anvil_Messages", true);
|
/**
|
||||||
anvilID = readInteger("Skills.Repair.Anvil_ID", 42);
|
* Save this config file.
|
||||||
|
*/
|
||||||
|
private static void saveConfig() {
|
||||||
|
try {
|
||||||
|
config.save(configFile);
|
||||||
|
}
|
||||||
|
catch (IOException e) {
|
||||||
|
e.printStackTrace();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
rGold = readInteger("Skills.Repair.Gold.ID", 266);
|
/**
|
||||||
nGold = readString("Skills.Repair.Gold.Name", "Gold Bars");
|
* Add the defaults to this config file.
|
||||||
rStone = readInteger("Skills.Repair.Stone.ID", 4);
|
*/
|
||||||
nStone = readString("Skills.Repair.Stone.Name", "Cobblestone");
|
private void addDefaults() {
|
||||||
rWood = readInteger("Skills.Repair.Wood.ID", 5);
|
|
||||||
nWood = readString("Skills.Repair.Wood.Name", "Wood Planks");
|
|
||||||
rDiamond = readInteger("Skills.Repair.Diamond.ID", 264);
|
|
||||||
nDiamond = readString("Skills.Repair.Diamond.Name", "Diamond");
|
|
||||||
rIron = readInteger("Skills.Repair.Iron.ID", 265);
|
|
||||||
nIron = readString("Skills.Repair.Iron.Name", "Iron Bars");
|
|
||||||
rString = readInteger("Skills.Repair.String.ID", 287);
|
|
||||||
nString = readString("Skills.Repair.String.Name", "String");
|
|
||||||
rLeather = readInteger("Skills.Repair.Leather.ID", 334);
|
|
||||||
nLeather = readString("Skills.Repair.Leather.Name", "Leather");
|
|
||||||
|
|
||||||
levelCapAcrobatics = readInteger("Skills.Acrobatics.Level_Cap", 0);
|
|
||||||
levelCapArchery = readInteger("Skills.Archery.Level_Cap", 0);
|
|
||||||
levelCapAxes = readInteger("Skills.Axes.Level_Cap", 0);
|
|
||||||
levelCapExcavation = readInteger("Skills.Excavation.Level_Cap", 0);
|
|
||||||
levelCapFishing = readInteger("Skills.Fishing.Level_Cap", 0);
|
|
||||||
levelCapHerbalism = readInteger("Skills.Herbalism.Level_Cap", 0);
|
|
||||||
levelCapMining = readInteger("Skills.Mining.Level_Cap", 0);
|
|
||||||
levelCapRepair = readInteger("Skills.Repair.Level_Cap", 0);
|
|
||||||
levelCapSwords = readInteger("Skills.Swords.Level_Cap", 0);
|
|
||||||
levelCapTaming = readInteger("Skills.Taming.Level_Cap", 0);
|
|
||||||
levelCapUnarmed = readInteger("Skills.Unarmed.Level_Cap", 0);
|
|
||||||
levelCapWoodcutting = readInteger("Skills.Woodcutting.Level_Cap", 0);
|
|
||||||
|
|
||||||
mayDowngradeEnchants = readBoolean("Arcane_Forging.Downgrades.Enabled", true);
|
// Load from included config.yml
|
||||||
downgradeRank1 = readInteger("Arcane_Forging.Downgrades.Chance.Rank_1", 75);
|
config.options().copyDefaults(true);
|
||||||
downgradeRank2 = readInteger("Arcane_Forging.Downgrades.Chance.Rank_2", 50);
|
saveConfig();
|
||||||
downgradeRank3 = readInteger("Arcane_Forging.Downgrades.Chance.Rank_3", 25);
|
}
|
||||||
downgradeRank4 = readInteger("Arcane_Forging.Downgrades.Chance.Rank_4", 15);
|
|
||||||
mayLoseEnchants = readBoolean("Arcane_Forging.May_Lose_Enchants", true);
|
|
||||||
keepEnchantsRank1 = readInteger("Arcane_Forging.Keep_Enchants.Chance.Rank_1", 10);
|
|
||||||
keepEnchantsRank2 = readInteger("Arcane_Forging.Keep_Enchants.Chance.Rank_2", 20);
|
|
||||||
keepEnchantsRank3 = readInteger("Arcane_Forging.Keep_Enchants.Chance.Rank_3", 30);
|
|
||||||
keepEnchantsRank4 = readInteger("Arcane_Forging.Keep_Enchants.Chance.Rank_4", 40);
|
|
||||||
arcaneRank1 = readInteger("Arcane_Forging.Rank_Levels.Rank_1", 100);
|
|
||||||
arcaneRank2 = readInteger("Arcane_Forging.Rank_Levels.Rank_2", 250);
|
|
||||||
arcaneRank3 = readInteger("Arcane_Forging.Rank_Levels.Rank_3", 500);
|
|
||||||
arcaneRank4 = readInteger("Arcane_Forging.Rank_Levels.Rank_4", 750);
|
|
||||||
|
|
||||||
fishingDrops = readBoolean("Fishing.Drops_Enabled", true);
|
/**
|
||||||
fishingTier1 = readInteger("Fishing.Tier_Levels.Tier1", 0);
|
* Load the keys from this config file.
|
||||||
fishingTier2 = readInteger("Fishing.Tier_Levels.Tier2", 200);
|
*/
|
||||||
fishingTier3 = readInteger("Fishing.Tier_Levels.Tier3", 400);
|
private void loadKeys() {
|
||||||
fishingTier4 = readInteger("Fishing.Tier_Levels.Tier4", 600);
|
plugin.getLogger().info("Loading mcMMO config.yml File...");
|
||||||
fishingTier5 = readInteger("Fishing.Tier_Levels.Tier5", 800);
|
|
||||||
|
|
||||||
xplockEnable = readBoolean("Commands.xplock.Enabled", true);
|
// Setup default HUD
|
||||||
xprateEnable = readBoolean("Commands.xprate.Enabled", true);
|
String temp = config.getString("Spout.HUD.Default", "STANDARD");
|
||||||
mctopEnable = readBoolean("Commands.mctop.Enabled", true);
|
for (HUDType x : HUDType.values()) {
|
||||||
addxpEnable = readBoolean("Commands.addxp.Enabled", true);
|
if (x.toString().equalsIgnoreCase(temp)) {
|
||||||
addlevelsEnable = readBoolean("Commands.addlevels.Enabled", true);
|
defaulthud = x;
|
||||||
mcabilityEnable = readBoolean("Commands.mcability.Enabled", true);
|
}
|
||||||
mcrefreshEnable = readBoolean("Commands.mcrefresh.Enabled", true);
|
}
|
||||||
mcmmoEnable = readBoolean("Commands.mcmmo.Enabled", true);
|
|
||||||
mccEnable = readBoolean("Commands.mcc.Enabled", true);
|
enableAbilityMessages = config.getBoolean("Abilities.Messages", true);
|
||||||
mcgodEnable = readBoolean("Commands.mcgod.Enabled", true);
|
enableAbilities = config.getBoolean("Abilities.Enabled", true);
|
||||||
mcstatsEnable = readBoolean("Commands.mcstats.Enabled", true);
|
|
||||||
mmoeditEnable = readBoolean("Commands.mmoedit.Enabled", true);
|
donateMessage = config.getBoolean("Commands.mcmmo.Donate_Message", true);
|
||||||
mcremoveEnable = readBoolean("Commands.mcremove.Enable", true);
|
xpGainsMobSpawners = config.getBoolean("Experience.Gains.Mobspawners.Enabled", false);
|
||||||
ptpEnable = readBoolean("Commands.ptp.Enabled", true);
|
|
||||||
partyEnable = readBoolean("Commands.party.Enabled", true);
|
bonesConsumedByCOTW = config.getInt("Skills.Taming.Call_Of_The_Wild.Bones_Required", 10);
|
||||||
inspectEnable = readBoolean("Commands.inspect.Enabled", true);
|
fishConsumedByCOTW = config.getInt("Skills.Taming.Call_Of_The_Wild.Fish_Required", 10);
|
||||||
inviteEnable = readBoolean("Commands.invite.Enabled", true);
|
|
||||||
acceptEnable = readBoolean("Commands.accept.Enabled", true);
|
xpbar = config.getBoolean("Spout.XP.Bar.Enabled", true);
|
||||||
aEnable = readBoolean("Commands.a.Enabled", true);
|
xpicon = config.getBoolean("Spout.XP.Icon.Enabled", true);
|
||||||
pEnable = readBoolean("Commands.p.Enabled", true);
|
xpbar_x = config.getInt("Spout.XP.Bar.X_POS", 95);
|
||||||
|
xpbar_y = config.getInt("Spout.XP.Bar.Y_POS", 6);
|
||||||
aDisplayNames = readBoolean("Commands.a.Display_Names", true);
|
xpicon_x = config.getInt("Spout.XP.Icon.X_POS", 78);
|
||||||
pDisplayNames = readBoolean("Commands.p.Display_Names", true);
|
xpicon_y = config.getInt("Spout.XP.Icon.Y_POS", 2);
|
||||||
|
|
||||||
ptpCommandCooldown = readInteger("Commands.ptp.Cooldown", 30);
|
showFaces = config.getBoolean("Spout.Party.HUD.Show_Faces", true);
|
||||||
|
showDisplayName = config.getBoolean("Spout.Party.HUD.Show_Display_Name", false);
|
||||||
animalXP = readDouble("Experience.Combat.Multiplier.Animals", 1.0);
|
partybar = config.getBoolean("Spout.Party.HUD.Enabled", true);
|
||||||
creeperXP = readDouble("Experience.Combat.Multiplier.Creeper", 4.0);
|
|
||||||
skeletonXP = readDouble("Experience.Combat.Multiplier.Skeleton", 2.0);
|
acrobatics_r = config.getDouble("Spout.HUD.Retro.Colors.Acrobatics.RED", 0.3);
|
||||||
spiderXP = readDouble("Experience.Combat.Multiplier.Spider", 3.0);
|
acrobatics_g = config.getDouble("Spout.HUD.Retro.Colors.Acrobatics.GREEN", 0.3);
|
||||||
ghastXP = readDouble("Experience.Combat.Multiplier.Ghast", 3.0);
|
acrobatics_b = config.getDouble("Spout.HUD.Retro.Colors.Acrobatics.BLUE", 0.75);
|
||||||
slimeXP = readDouble("Experience.Combat.Multiplier.Slime", 2.0);
|
archery_r = config.getDouble("Spout.HUD.Retro.Colors.Archery.RED", 0.3);
|
||||||
zombieXP = readDouble("Experience.Combat.Multiplier.Zombie", 2.0);
|
archery_g = config.getDouble("Spout.HUD.Retro.Colors.Archery.GREEN", 0.3);
|
||||||
pigzombieXP = readDouble("Experience.Combat.Multiplier.Pig_Zombie", 3.0);
|
archery_b = config.getDouble("Spout.HUD.Retro.Colors.Archery.BLUE", 0.75);
|
||||||
endermanXP = readDouble("Experience.Combat.Multiplier.Enderman", 2.0);
|
axes_r = config.getDouble("Spout.HUD.Retro.Colors.Axes.RED", 0.3);
|
||||||
cavespiderXP = readDouble("Experience.Combat.Multiplier.Cave_Spider", 3.0);
|
axes_g = config.getDouble("Spout.HUD.Retro.Colors.Axes.GREEN", 0.3);
|
||||||
silverfishXP = readDouble("Experience.Combat.Multiplier.Silverfish", 3.0);
|
axes_b = config.getDouble("Spout.HUD.Retro.Colors.Axes.BLUE", 0.75);
|
||||||
blazeXP = readDouble("Experience.Combat.Multiplier.Blaze", 3.0);
|
excavation_r = config.getDouble("Spout.HUD.Retro.Colors.Excavation.RED", 0.3);
|
||||||
magmacubeXP = readDouble("Experience.Combat.Multiplier.Magma_Cube", 2.0);
|
excavation_g = config.getDouble("Spout.HUD.Retro.Colors.Excavation.GREEN", 0.3);
|
||||||
enderdragonXP = readDouble("Experience.Combat.Multiplier.Ender_Dragon", 8.0);
|
excavation_b = config.getDouble("Spout.HUD.Retro.Colors.Excavation.BLUE", 0.75);
|
||||||
|
herbalism_r = config.getDouble("Spout.HUD.Retro.Colors.Herbalism.RED", 0.3);
|
||||||
detonatorID = readInteger("Skills.Mining.Detonator_ID", 259);
|
herbalism_g = config.getDouble("Spout.HUD.Retro.Colors.Herbalism.GREEN", 0.3);
|
||||||
}
|
herbalism_b = config.getDouble("Spout.HUD.Retro.Colors.Herbalism.BLUE", 0.75);
|
||||||
|
mining_r = config.getDouble("Spout.HUD.Retro.Colors.Mining.RED", 0.3);
|
||||||
|
mining_g = config.getDouble("Spout.HUD.Retro.Colors.Mining.GREEN", 0.3);
|
||||||
|
mining_b = config.getDouble("Spout.HUD.Retro.Colors.Mining.BLUE", 0.75);
|
||||||
|
repair_r = config.getDouble("Spout.HUD.Retro.Colors.Repair.RED", 0.3);
|
||||||
|
repair_g = config.getDouble("Spout.HUD.Retro.Colors.Repair.GREEN", 0.3);
|
||||||
|
repair_b = config.getDouble("Spout.HUD.Retro.Colors.Repair.BLUE", 0.75);
|
||||||
|
swords_r = config.getDouble("Spout.HUD.Retro.Colors.Swords.RED", 0.3);
|
||||||
|
swords_g = config.getDouble("Spout.HUD.Retro.Colors.Swords.GREEN", 0.3);
|
||||||
|
swords_b = config.getDouble("Spout.HUD.Retro.Colors.Swords.BLUE", 0.75);
|
||||||
|
taming_r = config.getDouble("Spout.HUD.Retro.Colors.Taming.RED", 0.3);
|
||||||
|
taming_g = config.getDouble("Spout.HUD.Retro.Colors.Taming.GREEN", 0.3);
|
||||||
|
taming_b = config.getDouble("Spout.HUD.Retro.Colors.Taming.BLUE", 0.75);
|
||||||
|
unarmed_r = config.getDouble("Spout.HUD.Retro.Colors.Unarmed.RED", 0.3);
|
||||||
|
unarmed_g = config.getDouble("Spout.HUD.Retro.Colors.Unarmed.GREEN", 0.3);
|
||||||
|
unarmed_b = config.getDouble("Spout.HUD.Retro.Colors.Unarmed.BLUE", 0.75);
|
||||||
|
woodcutting_r = config.getDouble("Spout.HUD.Retro.Colors.Woodcutting.RED", 0.3);
|
||||||
|
woodcutting_g = config.getDouble("Spout.HUD.Retro.Colors.Woodcutting.GREEN", 0.3);
|
||||||
|
woodcutting_b = config.getDouble("Spout.HUD.Retro.Colors.Woodcutting.BLUE", 0.75);
|
||||||
|
fishing_r = config.getDouble("Spout.HUD.Retro.Colors.Fishing.RED", 0.3);
|
||||||
|
fishing_g = config.getDouble("Spout.HUD.Retro.Colors.Fishing.GREEN", 0.3);
|
||||||
|
fishing_b = config.getDouble("Spout.HUD.Retro.Colors.Fishing.BLUE", 0.75);
|
||||||
|
|
||||||
|
xpborder_r = config.getDouble("Spout.HUD.Retro.Colors.Border.RED", 0.0);
|
||||||
|
xpborder_g = config.getDouble("Spout.HUD.Retro.Colors.Border.GREEN", 0.0);
|
||||||
|
xpborder_b = config.getDouble("Spout.HUD.Retro.Colors.Border.BLUE", 0.0);
|
||||||
|
xpbackground_r = config.getDouble("Spout.HUD.Retro.Colors.Background.RED", 0.75);
|
||||||
|
xpbackground_g = config.getDouble("Spout.HUD.Retro.Colors.Background.GREEN", 0.75);
|
||||||
|
xpbackground_b = config.getDouble("Spout.HUD.Retro.Colors.Background.BLUE", 0.75);
|
||||||
|
|
||||||
|
mbase = config.getInt("Experience.Excavation.Base", 40);
|
||||||
|
|
||||||
|
msugar = config.getInt("Experience.Herbalism.Sugar_Cane", 30);
|
||||||
|
mwheat = config.getInt("Experience.Herbalism.Wheat", 50);
|
||||||
|
mcactus = config.getInt("Experience.Herbalism.Cactus", 30);
|
||||||
|
mpumpkin = config.getInt("Experience.Herbalism.Pumpkin", 20);
|
||||||
|
mflower = config.getInt("Experience.Herbalism.Flowers", 100);
|
||||||
|
mmushroom = config.getInt("Experience.Herbalism.Mushrooms", 150);
|
||||||
|
mmelon = config.getInt("Experience.Herbalism.Melon", 20);
|
||||||
|
mnetherwart = config.getInt("Experience.Herbalism.Nether_Wart", 50);
|
||||||
|
mlilypad = config.getInt("Experience.Herbalism.Lily_Pads", 100);
|
||||||
|
mvines = config.getInt("Experience.Herbalism.Vines", 10);
|
||||||
|
herbalismHungerBonus = config.getBoolean("Skills.Herbalism.Hunger_Bonus", true);
|
||||||
|
wheatRegrowth = config.getBoolean("Skills.Herbalism.Instant_Wheat_Regrowth", true);
|
||||||
|
|
||||||
|
moak = config.getInt("Experience.Woodcutting.Oak", 70);
|
||||||
|
mbirch = config.getInt("Experience.Woodcutting.Birch", 90);
|
||||||
|
mspruce = config.getInt("Experience.Woodcutting.Spruce", 80);
|
||||||
|
mjungle = config.getInt("Experience.Woodcutting.Jungle", 100);
|
||||||
|
|
||||||
|
mgold = config.getInt("Experience.Mining.Gold", 250);
|
||||||
|
mdiamond = config.getInt("Experience.Mining.Diamond", 750);
|
||||||
|
miron = config.getInt("Experience.Mining.Iron", 250);
|
||||||
|
mredstone = config.getInt("Experience.Mining.Redstone", 150);
|
||||||
|
mlapis = config.getInt("Experience.Mining.Lapis", 400);
|
||||||
|
mobsidian = config.getInt("Experience.Mining.Obsidian", 150);
|
||||||
|
mnetherrack = config.getInt("Experience.Mining.Netherrack", 30);
|
||||||
|
mglowstone = config.getInt("Experience.Mining.Glowstone", 30);
|
||||||
|
mcoal = config.getInt("Experience.Mining.Coal", 100);
|
||||||
|
mstone = config.getInt("Experience.Mining.Stone", 30);
|
||||||
|
msandstone = config.getInt("Experience.Mining.Sandstone", 30);
|
||||||
|
mendstone = config.getInt("Experience.Mining.End_Stone", 150);
|
||||||
|
mmossstone = config.getInt("Experience.Mining.Moss_Stone", 30);
|
||||||
|
|
||||||
|
mtameWolf = config.getInt("Experience.Taming.Animal_Taming.Wolf", 250);
|
||||||
|
mtameOcelot = config.getInt("Experience.Taming.Animal_Taming.Ocelot", 500);
|
||||||
|
|
||||||
|
mfishing = config.getInt("Experience.Fishing.Base", 800);
|
||||||
|
|
||||||
|
enableOnlyActivateWhenSneaking = config.getBoolean("Abilities.Activation.Only_Activate_When_Sneaking", false);
|
||||||
|
|
||||||
|
greenTerraCooldown = config.getInt("Abilities.Cooldowns.Green_Terra", 240);
|
||||||
|
superBreakerCooldown = config.getInt("Abilities.Cooldowns.Super_Breaker", 240);
|
||||||
|
gigaDrillBreakerCooldown = config.getInt("Abilities.Cooldowns.Giga_Drill_Breaker", 240);
|
||||||
|
treeFellerThreshold = config.getInt("Abilities.Limits.Tree_Feller_Threshold", 500);
|
||||||
|
treeFellerCooldown = config.getInt("Abilities.Cooldowns.Tree_Feller", 240);
|
||||||
|
berserkCooldown = config.getInt("Abilities.Cooldowns.Berserk", 240);
|
||||||
|
serratedStrikeCooldown = config.getInt("Abilities.Cooldowns.Serrated_Strikes", 240);
|
||||||
|
skullSplitterCooldown = config.getInt("Abilities.Cooldowns.Skull_Splitter", 240);
|
||||||
|
blastMiningCooldown = config.getInt("Abilities.Cooldowns.Blast_Mining", 60);
|
||||||
|
|
||||||
|
MySQLserverName = config.getString("MySQL.Server.Address", "localhost");
|
||||||
|
|
||||||
|
if (config.getString("MySQL.Database.User_Password", null) != null) {
|
||||||
|
MySQLdbPass = config.getString("MySQL.Database.User_Password", null);
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
MySQLdbPass = "";
|
||||||
|
}
|
||||||
|
|
||||||
|
MySQLdbName = config.getString("MySQL.Database.Name", "DatabaseName");
|
||||||
|
MySQLuserName = config.getString("MySQL.Database.User_Name", "UserName");
|
||||||
|
MySQLtablePrefix = config.getString("MySQL.Database.TablePrefix", "mcmmo_");
|
||||||
|
MySQLport = config.getInt("MySQL.Server.Port", 3306);
|
||||||
|
useMySQL = config.getBoolean("MySQL.Enabled", false);
|
||||||
|
|
||||||
|
locale = config.getString("General.Locale", "en_us");
|
||||||
|
enableMotd = config.getBoolean("General.MOTD_Enabled", true);
|
||||||
|
saveInterval = config.getInt("General.Save_Interval", 10);
|
||||||
|
statsTracking = config.getBoolean("General.Stats_Tracking", true);
|
||||||
|
eventCallback = config.getBoolean("General.Event_Callback", true);
|
||||||
|
perLevelTools = config.getBoolean("General.Per_Level_Tools", false);
|
||||||
|
|
||||||
|
enableCobbleToMossy = config.getBoolean("Skills.Herbalism.Green_Thumb.Cobble_To_Mossy", true);
|
||||||
|
enableSmoothToMossy = config.getBoolean("Skills.Herbalism.Green_Thumb.SmoothBrick_To_MossyBrick", true);
|
||||||
|
enableDirtToGrass = config.getBoolean("Skills.Herbalism.Green_Thumb.Dirt_To_Grass", true);
|
||||||
|
|
||||||
|
xpGainMultiplier = config.getInt("Experience.Gains.Multiplier.Global", 1);
|
||||||
|
toolsLoseDurabilityFromAbilities = config.getBoolean("Abilities.Tools.Durability_Loss_Enabled", true);
|
||||||
|
abilityDurabilityLoss = config.getInt("Abilities.Tools.Durability_Loss", 2);
|
||||||
|
|
||||||
|
feathersConsumedByChimaeraWing = config.getInt("Items.Chimaera_Wing.Feather_Cost", 10);
|
||||||
|
chimaeraId = config.getInt("Items.Chimaera_Wing.Item_ID", 288);
|
||||||
|
chimaeraWingEnable = config.getBoolean("Items.Chimaera_Wing.Enabled", true);
|
||||||
|
dAxe = config.getInt("Items.Diamond.Axe", 750);
|
||||||
|
dHoe = config.getInt("Items.Diamond.Hoe", 750);
|
||||||
|
dShovel = config.getInt("Items.Diamond.Shovel", 750);
|
||||||
|
dSword = config.getInt("Items.Diamond.Sword", 750);
|
||||||
|
dPickaxe = config.getInt("Items.Diamond.Pickaxe", 750);
|
||||||
|
gAxe = config.getInt("Items.Gold.Axe", 500);
|
||||||
|
gHoe = config.getInt("Items.Gold.Hoe", 500);
|
||||||
|
gShovel = config.getInt("Items.Gold.Shovel", 500);
|
||||||
|
gSword = config.getInt("Items.Gold.Sword", 500);
|
||||||
|
gPickaxe = config.getInt("Items.Gold.Pickaxe", 500);
|
||||||
|
iAxe = config.getInt("Items.Iron.Axe", 250);
|
||||||
|
iHoe = config.getInt("Items.Iron.Hoe", 250);
|
||||||
|
iShovel = config.getInt("Items.Iron.Shovel", 250);
|
||||||
|
iSword = config.getInt("Items.Iron.Sword", 250);
|
||||||
|
iPickaxe = config.getInt("Items.Iron.Pickaxe", 250);
|
||||||
|
sAxe = config.getInt("Items.Stone.Axe", 0);
|
||||||
|
sHoe = config.getInt("Items.Stone.Hoe", 0);
|
||||||
|
sShovel = config.getInt("Items.Stone.Shovel", 0);
|
||||||
|
sSword = config.getInt("Items.Stone.Sword", 0);
|
||||||
|
sPickaxe = config.getInt("Items.Stone.Pickaxe", 0);
|
||||||
|
|
||||||
|
pvpxp = config.getBoolean("Experience.PVP.Rewards", true);
|
||||||
|
pvpxprewardmodifier = config.getDouble("Experience.Gains.Multiplier.PVP", 1.0);
|
||||||
|
|
||||||
|
miningrequirespickaxe = config.getBoolean("Skills.Mining.Requires_Pickaxe", true);
|
||||||
|
excavationRequiresShovel = config.getBoolean("Skills.Excavation.Requires_Shovel", true);
|
||||||
|
woodcuttingrequiresaxe = config.getBoolean("Skills.Woodcutting.Requires_Axe", true);
|
||||||
|
repairArmor = config.getBoolean("Skills.Repair.Can_Repair_Armor", true);
|
||||||
|
repairTools = config.getBoolean("Skills.Repair.Can_Repair_Tools", true);
|
||||||
|
repairdiamondlevel = config.getInt("Skills.Repair.Diamond.Level_Required", 50);
|
||||||
|
repairIronLevel = config.getInt("Skills.Repair.Iron.Level_Required", 0);
|
||||||
|
repairGoldLevel = config.getInt("Skills.Repair.Gold.Level_Required", 0);
|
||||||
|
repairStoneLevel = config.getInt("Skills.Repair.Stone.Level_Required", 0);
|
||||||
|
|
||||||
|
tamingxpmodifier = config.getDouble("Experience.Formula.Multiplier.Taming", 1.0);
|
||||||
|
miningxpmodifier = config.getDouble("Experience.Formula.Multiplier.Mining", 1.0);
|
||||||
|
repairxpmodifier = config.getDouble("Experience.Formula.Multiplier.Repair", 1.0);
|
||||||
|
woodcuttingxpmodifier = config.getDouble("Experience.Formula.Multiplier.Woodcutting", 1.0);
|
||||||
|
unarmedxpmodifier = config.getDouble("Experience.Formula.Multiplier.Unarmed", 1.0);
|
||||||
|
herbalismxpmodifier = config.getDouble("Experience.Formula.Multiplier.Herbalism", 1.0);
|
||||||
|
excavationxpmodifier = config.getDouble("Experience.Formula.Multiplier.Excavation", 1.0);
|
||||||
|
archeryxpmodifier = config.getDouble("Experience.Formula.Multiplier.Archery", 1.0);
|
||||||
|
swordsxpmodifier = config.getDouble("Experience.Formula.Multiplier.Swords", 1.0);
|
||||||
|
axesxpmodifier = config.getDouble("Experience.Formula.Multiplier.Axes", 1.0);
|
||||||
|
acrobaticsxpmodifier = config.getDouble("Experience.Formula.Multiplier.Acrobatics", 1.0);
|
||||||
|
fishingxpmodifier = config.getDouble("Experience.Forumla.Multiplier.Fishing", 1.0);
|
||||||
|
|
||||||
|
anvilmessages = config.getBoolean("Skills.Repair.Anvil_Messages", true);
|
||||||
|
anvilID = config.getInt("Skills.Repair.Anvil_ID", 42);
|
||||||
|
|
||||||
|
rGold = config.getInt("Skills.Repair.Gold.ID", 266);
|
||||||
|
rStone = config.getInt("Skills.Repair.Stone.ID", 4);
|
||||||
|
rWood = config.getInt("Skills.Repair.Wood.ID", 5);
|
||||||
|
rDiamond = config.getInt("Skills.Repair.Diamond.ID", 264);
|
||||||
|
rIron = config.getInt("Skills.Repair.Iron.ID", 265);
|
||||||
|
rString = config.getInt("Skills.Repair.String.ID", 287);
|
||||||
|
rLeather = config.getInt("Skills.Repair.Leather.ID", 334);
|
||||||
|
|
||||||
|
levelCapAcrobatics = config.getInt("Skills.Acrobatics.Level_Cap", 0);
|
||||||
|
levelCapArchery = config.getInt("Skills.Archery.Level_Cap", 0);
|
||||||
|
levelCapAxes = config.getInt("Skills.Axes.Level_Cap", 0);
|
||||||
|
levelCapExcavation = config.getInt("Skills.Excavation.Level_Cap", 0);
|
||||||
|
levelCapFishing = config.getInt("Skills.Fishing.Level_Cap", 0);
|
||||||
|
levelCapHerbalism = config.getInt("Skills.Herbalism.Level_Cap", 0);
|
||||||
|
levelCapMining = config.getInt("Skills.Mining.Level_Cap", 0);
|
||||||
|
levelCapRepair = config.getInt("Skills.Repair.Level_Cap", 0);
|
||||||
|
levelCapSwords = config.getInt("Skills.Swords.Level_Cap", 0);
|
||||||
|
levelCapTaming = config.getInt("Skills.Taming.Level_Cap", 0);
|
||||||
|
levelCapUnarmed = config.getInt("Skills.Unarmed.Level_Cap", 0);
|
||||||
|
levelCapWoodcutting = config.getInt("Skills.Woodcutting.Level_Cap", 0);
|
||||||
|
|
||||||
|
mayDowngradeEnchants = config.getBoolean("Arcane_Forging.Downgrades.Enabled", true);
|
||||||
|
downgradeRank1 = config.getInt("Arcane_Forging.Downgrades.Chance.Rank_1", 75);
|
||||||
|
downgradeRank2 = config.getInt("Arcane_Forging.Downgrades.Chance.Rank_2", 50);
|
||||||
|
downgradeRank3 = config.getInt("Arcane_Forging.Downgrades.Chance.Rank_3", 25);
|
||||||
|
downgradeRank4 = config.getInt("Arcane_Forging.Downgrades.Chance.Rank_4", 15);
|
||||||
|
mayLoseEnchants = config.getBoolean("Arcane_Forging.May_Lose_Enchants", true);
|
||||||
|
keepEnchantsRank1 = config.getInt("Arcane_Forging.Keep_Enchants.Chance.Rank_1", 10);
|
||||||
|
keepEnchantsRank2 = config.getInt("Arcane_Forging.Keep_Enchants.Chance.Rank_2", 20);
|
||||||
|
keepEnchantsRank3 = config.getInt("Arcane_Forging.Keep_Enchants.Chance.Rank_3", 30);
|
||||||
|
keepEnchantsRank4 = config.getInt("Arcane_Forging.Keep_Enchants.Chance.Rank_4", 40);
|
||||||
|
arcaneRank1 = config.getInt("Arcane_Forging.Rank_Levels.Rank_1", 100);
|
||||||
|
arcaneRank2 = config.getInt("Arcane_Forging.Rank_Levels.Rank_2", 250);
|
||||||
|
arcaneRank3 = config.getInt("Arcane_Forging.Rank_Levels.Rank_3", 500);
|
||||||
|
arcaneRank4 = config.getInt("Arcane_Forging.Rank_Levels.Rank_4", 750);
|
||||||
|
|
||||||
|
fishingDrops = config.getBoolean("Fishing.Drops_Enabled", true);
|
||||||
|
fishingTier1 = config.getInt("Fishing.Tier_Levels.Tier1", 0);
|
||||||
|
fishingTier2 = config.getInt("Fishing.Tier_Levels.Tier2", 200);
|
||||||
|
fishingTier3 = config.getInt("Fishing.Tier_Levels.Tier3", 400);
|
||||||
|
fishingTier4 = config.getInt("Fishing.Tier_Levels.Tier4", 600);
|
||||||
|
fishingTier5 = config.getInt("Fishing.Tier_Levels.Tier5", 800);
|
||||||
|
|
||||||
|
xplockEnable = config.getBoolean("Commands.xplock.Enabled", true);
|
||||||
|
xprateEnable = config.getBoolean("Commands.xprate.Enabled", true);
|
||||||
|
mctopEnable = config.getBoolean("Commands.mctop.Enabled", true);
|
||||||
|
addxpEnable = config.getBoolean("Commands.addxp.Enabled", true);
|
||||||
|
addlevelsEnable = config.getBoolean("Commands.addlevels.Enabled", true);
|
||||||
|
mcabilityEnable = config.getBoolean("Commands.mcability.Enabled", true);
|
||||||
|
mcrefreshEnable = config.getBoolean("Commands.mcrefresh.Enabled", true);
|
||||||
|
mcmmoEnable = config.getBoolean("Commands.mcmmo.Enabled", true);
|
||||||
|
mccEnable = config.getBoolean("Commands.mcc.Enabled", true);
|
||||||
|
mcgodEnable = config.getBoolean("Commands.mcgod.Enabled", true);
|
||||||
|
mcstatsEnable = config.getBoolean("Commands.mcstats.Enabled", true);
|
||||||
|
mmoeditEnable = config.getBoolean("Commands.mmoedit.Enabled", true);
|
||||||
|
mcremoveEnable = config.getBoolean("Commands.mcremove.Enable", true);
|
||||||
|
ptpEnable = config.getBoolean("Commands.ptp.Enabled", true);
|
||||||
|
partyEnable = config.getBoolean("Commands.party.Enabled", true);
|
||||||
|
inspectEnable = config.getBoolean("Commands.inspect.Enabled", true);
|
||||||
|
inviteEnable = config.getBoolean("Commands.invite.Enabled", true);
|
||||||
|
acceptEnable = config.getBoolean("Commands.accept.Enabled", true);
|
||||||
|
aEnable = config.getBoolean("Commands.a.Enabled", true);
|
||||||
|
pEnable = config.getBoolean("Commands.p.Enabled", true);
|
||||||
|
|
||||||
|
aDisplayNames = config.getBoolean("Commands.a.Display_Names", true);
|
||||||
|
pDisplayNames = config.getBoolean("Commands.p.Display_Names", true);
|
||||||
|
|
||||||
|
ptpCommandCooldown = config.getInt("Commands.ptp.Cooldown", 30);
|
||||||
|
|
||||||
|
animalXP = config.getDouble("Experience.Combat.Multiplier.Animals", 1.0);
|
||||||
|
creeperXP = config.getDouble("Experience.Combat.Multiplier.Creeper", 4.0);
|
||||||
|
skeletonXP = config.getDouble("Experience.Combat.Multiplier.Skeleton", 2.0);
|
||||||
|
spiderXP = config.getDouble("Experience.Combat.Multiplier.Spider", 3.0);
|
||||||
|
ghastXP = config.getDouble("Experience.Combat.Multiplier.Ghast", 3.0);
|
||||||
|
slimeXP = config.getDouble("Experience.Combat.Multiplier.Slime", 2.0);
|
||||||
|
zombieXP = config.getDouble("Experience.Combat.Multiplier.Zombie", 2.0);
|
||||||
|
pigzombieXP = config.getDouble("Experience.Combat.Multiplier.Pig_Zombie", 3.0);
|
||||||
|
endermanXP = config.getDouble("Experience.Combat.Multiplier.Enderman", 2.0);
|
||||||
|
cavespiderXP = config.getDouble("Experience.Combat.Multiplier.Cave_Spider", 3.0);
|
||||||
|
silverfishXP = config.getDouble("Experience.Combat.Multiplier.Silverfish", 3.0);
|
||||||
|
blazeXP = config.getDouble("Experience.Combat.Multiplier.Blaze", 3.0);
|
||||||
|
magmacubeXP = config.getDouble("Experience.Combat.Multiplier.Magma_Cube", 2.0);
|
||||||
|
enderdragonXP = config.getDouble("Experience.Combat.Multiplier.Ender_Dragon", 8.0);
|
||||||
|
|
||||||
|
detonatorID = config.getInt("Skills.Mining.Detonator_ID", 259);
|
||||||
|
}
|
||||||
}
|
}
|
@@ -2,6 +2,7 @@ package com.gmail.nossr50;
|
|||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.Location;
|
import org.bukkit.Location;
|
||||||
|
import org.bukkit.Material;
|
||||||
import org.bukkit.block.Block;
|
import org.bukkit.block.Block;
|
||||||
import org.bukkit.entity.LivingEntity;
|
import org.bukkit.entity.LivingEntity;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
@@ -32,6 +33,31 @@ public class m {
|
|||||||
return capitalized;
|
return capitalized;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets a nicely formatted string version of an item name from a given item ID.
|
||||||
|
*
|
||||||
|
* @param itemID The ID of the item to convert to string.
|
||||||
|
* @return the nicely formatting string
|
||||||
|
*/
|
||||||
|
public static String prettyItemString(int itemID) {
|
||||||
|
String baseString = Material.getMaterial(itemID).toString();
|
||||||
|
String[] substrings = baseString.split("_");
|
||||||
|
String prettyString = "";
|
||||||
|
int size = 1;
|
||||||
|
|
||||||
|
for (String s : substrings) {
|
||||||
|
prettyString = prettyString.concat(m.getCapitalized(s));
|
||||||
|
|
||||||
|
if (size < substrings.length) {
|
||||||
|
prettyString = prettyString.concat(" ");
|
||||||
|
}
|
||||||
|
|
||||||
|
size++;
|
||||||
|
}
|
||||||
|
|
||||||
|
return prettyString;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the int represented by this string.
|
* Gets the int represented by this string.
|
||||||
*
|
*
|
||||||
|
@@ -12,6 +12,7 @@ import org.bukkit.inventory.PlayerInventory;
|
|||||||
|
|
||||||
import com.gmail.nossr50.ItemChecks;
|
import com.gmail.nossr50.ItemChecks;
|
||||||
import com.gmail.nossr50.Users;
|
import com.gmail.nossr50.Users;
|
||||||
|
import com.gmail.nossr50.m;
|
||||||
import com.gmail.nossr50.mcPermissions;
|
import com.gmail.nossr50.mcPermissions;
|
||||||
import com.gmail.nossr50.config.LoadProperties;
|
import com.gmail.nossr50.config.LoadProperties;
|
||||||
import com.gmail.nossr50.spout.SpoutStuff;
|
import com.gmail.nossr50.spout.SpoutStuff;
|
||||||
@@ -359,7 +360,7 @@ public class Repair {
|
|||||||
player.sendMessage(mcLocale.getString("Skills.AdeptDiamond"));
|
player.sendMessage(mcLocale.getString("Skills.AdeptDiamond"));
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
player.sendMessage(mcLocale.getString("Skills.NeedMore") + " " + ChatColor.BLUE + LoadProperties.nDiamond);
|
player.sendMessage(mcLocale.getString("Skills.NeedMore") + " " + ChatColor.BLUE + m.prettyItemString(LoadProperties.rDiamond));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (ItemChecks.isIronTool(is) || ItemChecks.isIronArmor(is)) {
|
else if (ItemChecks.isIronTool(is) || ItemChecks.isIronArmor(is)) {
|
||||||
@@ -367,7 +368,7 @@ public class Repair {
|
|||||||
player.sendMessage(mcLocale.getString("Skills.AdeptIron"));
|
player.sendMessage(mcLocale.getString("Skills.AdeptIron"));
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
player.sendMessage(mcLocale.getString("Skills.NeedMore")+ " " + ChatColor.GRAY + LoadProperties.nIron);
|
player.sendMessage(mcLocale.getString("Skills.NeedMore")+ " " + ChatColor.GRAY + m.prettyItemString(LoadProperties.rIron));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (ItemChecks.isGoldTool(is) || ItemChecks.isGoldArmor(is)) {
|
else if (ItemChecks.isGoldTool(is) || ItemChecks.isGoldArmor(is)) {
|
||||||
@@ -375,7 +376,7 @@ public class Repair {
|
|||||||
player.sendMessage(mcLocale.getString("Skills.AdeptGold"));
|
player.sendMessage(mcLocale.getString("Skills.AdeptGold"));
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
player.sendMessage(mcLocale.getString("Skills.NeedMore") + " " + ChatColor.GOLD + LoadProperties.nGold);
|
player.sendMessage(mcLocale.getString("Skills.NeedMore") + " " + ChatColor.GOLD + m.prettyItemString(LoadProperties.rGold));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (ItemChecks.isStoneTool(is)) {
|
else if (ItemChecks.isStoneTool(is)) {
|
||||||
@@ -383,17 +384,17 @@ public class Repair {
|
|||||||
player.sendMessage(mcLocale.getString("Skills.AdeptStone"));
|
player.sendMessage(mcLocale.getString("Skills.AdeptStone"));
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
player.sendMessage(mcLocale.getString("Skills.NeedMore") + " " + ChatColor.GRAY + LoadProperties.nStone);
|
player.sendMessage(mcLocale.getString("Skills.NeedMore") + " " + ChatColor.GRAY + m.prettyItemString(LoadProperties.rStone));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (ItemChecks.isWoodTool(is)) {
|
else if (ItemChecks.isWoodTool(is)) {
|
||||||
player.sendMessage(mcLocale.getString("Skills.NeedMore") + " " + ChatColor.DARK_GREEN + LoadProperties.nWood);
|
player.sendMessage(mcLocale.getString("Skills.NeedMore") + " " + ChatColor.DARK_GREEN + m.prettyItemString(LoadProperties.rWood));
|
||||||
}
|
}
|
||||||
else if (ItemChecks.isLeatherArmor(is)) {
|
else if (ItemChecks.isLeatherArmor(is)) {
|
||||||
player.sendMessage(mcLocale.getString("Skills.NeedMore") + " " + ChatColor.YELLOW + LoadProperties.nLeather);
|
player.sendMessage(mcLocale.getString("Skills.NeedMore") + " " + ChatColor.YELLOW + m.prettyItemString(LoadProperties.rLeather));
|
||||||
}
|
}
|
||||||
else if (is.getType().equals(Material.BOW)) {
|
else if (is.getType().equals(Material.BOW)) {
|
||||||
player.sendMessage(mcLocale.getString("Skills.NeedMore") + " " + ChatColor.YELLOW + LoadProperties.nString);
|
player.sendMessage(mcLocale.getString("Skills.NeedMore") + " " + ChatColor.YELLOW + m.prettyItemString(LoadProperties.rString));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1,5 +1,6 @@
|
|||||||
package com.gmail.nossr50.skills;
|
package com.gmail.nossr50.skills;
|
||||||
|
|
||||||
|
import org.bukkit.ChatColor;
|
||||||
import org.bukkit.Material;
|
import org.bukkit.Material;
|
||||||
import org.bukkit.entity.AnimalTamer;
|
import org.bukkit.entity.AnimalTamer;
|
||||||
import org.bukkit.entity.Entity;
|
import org.bukkit.entity.Entity;
|
||||||
@@ -14,6 +15,7 @@ import org.bukkit.inventory.ItemStack;
|
|||||||
import org.bukkit.metadata.FixedMetadataValue;
|
import org.bukkit.metadata.FixedMetadataValue;
|
||||||
|
|
||||||
import com.gmail.nossr50.Users;
|
import com.gmail.nossr50.Users;
|
||||||
|
import com.gmail.nossr50.m;
|
||||||
import com.gmail.nossr50.mcMMO;
|
import com.gmail.nossr50.mcMMO;
|
||||||
import com.gmail.nossr50.config.LoadProperties;
|
import com.gmail.nossr50.config.LoadProperties;
|
||||||
import com.gmail.nossr50.datatypes.PlayerProfile;
|
import com.gmail.nossr50.datatypes.PlayerProfile;
|
||||||
@@ -207,18 +209,23 @@ public class Taming {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (item.getType().equals(summonItem) && item.getAmount() >= summonAmount) {
|
if (item.getType().equals(summonItem) && item.getAmount() >= summonAmount) {
|
||||||
for (Entity x : player.getNearbyEntities(40, 40, 40)) {
|
if (item.getAmount() >= summonAmount) {
|
||||||
if (x.getType().equals(type)) {
|
for (Entity x : player.getNearbyEntities(40, 40, 40)) {
|
||||||
player.sendMessage(mcLocale.getString("m.TamingSummonFailed"));
|
if (x.getType().equals(type)) {
|
||||||
return;
|
player.sendMessage(mcLocale.getString("m.TamingSummonFailed"));
|
||||||
|
return;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
LivingEntity entity = player.getWorld().spawnCreature(player.getLocation(), type);
|
||||||
LivingEntity entity = player.getWorld().spawnCreature(player.getLocation(), type);
|
entity.setMetadata("mcmmoSummoned", new FixedMetadataValue(plugin, true));
|
||||||
entity.setMetadata("mcmmoSummoned", new FixedMetadataValue(plugin, true));
|
((Tameable) entity).setOwner(player);
|
||||||
((Tameable) entity).setOwner(player);
|
|
||||||
|
|
||||||
player.setItemInHand(new ItemStack(summonItem, item.getAmount() - summonAmount));
|
player.setItemInHand(new ItemStack(summonItem, item.getAmount() - summonAmount));
|
||||||
player.sendMessage(mcLocale.getString("m.TamingSummon"));
|
player.sendMessage(mcLocale.getString("m.TamingSummon"));
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
player.sendMessage(mcLocale.getString("Skills.NeedMore")+ " " + ChatColor.GRAY + m.prettyItemString(summonItem.getId()));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -132,7 +132,7 @@ public class SpoutStuff
|
|||||||
|
|
||||||
public static void setupSpoutConfigs()
|
public static void setupSpoutConfigs()
|
||||||
{
|
{
|
||||||
String temp = LoadProperties.readString("Spout.Menu.Key", "KEY_M");
|
String temp = plugin.getConfig().getString("Spout.Menu.Key", "KEY_M");
|
||||||
|
|
||||||
for(Keyboard x : Keyboard.values())
|
for(Keyboard x : Keyboard.values())
|
||||||
{
|
{
|
||||||
|
@@ -9,8 +9,7 @@
|
|||||||
###
|
###
|
||||||
General:
|
General:
|
||||||
Locale: en_us
|
Locale: en_us
|
||||||
MOTD:
|
MOTD_Enabled: true
|
||||||
Enabled: true
|
|
||||||
#Amount of time (in minutes) to wait between saves of player information
|
#Amount of time (in minutes) to wait between saves of player information
|
||||||
Save_Interval: 10
|
Save_Interval: 10
|
||||||
#Allow mcMMO to report on basic anonymous usage
|
#Allow mcMMO to report on basic anonymous usage
|
||||||
@@ -18,15 +17,15 @@ General:
|
|||||||
#Allow mcMMO to inform other plugins of damage being dealt
|
#Allow mcMMO to inform other plugins of damage being dealt
|
||||||
Event_Callback: true
|
Event_Callback: true
|
||||||
Per_Level_Tools: false
|
Per_Level_Tools: false
|
||||||
|
|
||||||
#
|
#
|
||||||
# Settings for using a mySQL database
|
# Settings for using a mySQL database
|
||||||
###
|
###
|
||||||
MySQL:
|
MySQL:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
Database:
|
Database:
|
||||||
User:
|
User_Name: UserName
|
||||||
Name: UserName
|
User_Password: UserPassword
|
||||||
Password: UserPassword
|
|
||||||
Name: DataBaseName
|
Name: DataBaseName
|
||||||
TablePrefix: mcmmo_
|
TablePrefix: mcmmo_
|
||||||
Server:
|
Server:
|
||||||
@@ -59,7 +58,7 @@ Items:
|
|||||||
Shovel: 250
|
Shovel: 250
|
||||||
Sword: 250
|
Sword: 250
|
||||||
Pickaxe: 250
|
Pickaxe: 250
|
||||||
Wood:
|
Stone:
|
||||||
Axe: 0
|
Axe: 0
|
||||||
Hoe: 0
|
Hoe: 0
|
||||||
Shovel: 0
|
Shovel: 0
|
||||||
@@ -159,28 +158,21 @@ Skills:
|
|||||||
Can_Repair_Armor: true
|
Can_Repair_Armor: true
|
||||||
Can_Repair_Tools: true
|
Can_Repair_Tools: true
|
||||||
Leather:
|
Leather:
|
||||||
Name: Leather
|
|
||||||
ID: 334
|
ID: 334
|
||||||
String:
|
String:
|
||||||
Name: String
|
|
||||||
ID: 287
|
ID: 287
|
||||||
Stone:
|
Stone:
|
||||||
Name: Cobblestone
|
|
||||||
Level_Required: 0
|
Level_Required: 0
|
||||||
ID: 4
|
ID: 4
|
||||||
Wood:
|
Wood:
|
||||||
Name: Wood Planks
|
|
||||||
ID: 5
|
ID: 5
|
||||||
Gold:
|
Gold:
|
||||||
Name: Gold Bars
|
|
||||||
Level_Required: 0
|
Level_Required: 0
|
||||||
ID: 266
|
ID: 266
|
||||||
Iron:
|
Iron:
|
||||||
Name: Iron Bars
|
|
||||||
Level_Required: 0
|
Level_Required: 0
|
||||||
ID: 265
|
ID: 265
|
||||||
Diamond:
|
Diamond:
|
||||||
Name: Diamond
|
|
||||||
Level_Required: 50
|
Level_Required: 50
|
||||||
ID: 264
|
ID: 264
|
||||||
Swords:
|
Swords:
|
||||||
|
@@ -12,7 +12,6 @@ Combat.ArrowDeflect=[[AQUA]]**PFEIL ABGELENKT**
|
|||||||
Item.ChimaeraWingFail=[[AQUA]]**CHIMAERA FLUEGEL fehlgeschlagen\!**
|
Item.ChimaeraWingFail=[[AQUA]]**CHIMAERA FLUEGEL fehlgeschlagen\!**
|
||||||
Item.ChimaeraWingPass=[[AQUA]]**CHIMAERA FLUEGEL**
|
Item.ChimaeraWingPass=[[AQUA]]**CHIMAERA FLUEGEL**
|
||||||
Item.InjuredWait=[[AQUA]]du wurdest kurz zuvor verletzt und musst mit der Benutzung warten. [[YELLOW]]({0}s)
|
Item.InjuredWait=[[AQUA]]du wurdest kurz zuvor verletzt und musst mit der Benutzung warten. [[YELLOW]]({0}s)
|
||||||
Item.NeedFeathers=[[AQUA]]Du brauchst mehr Federn..
|
|
||||||
m.mccPartyCommands=[[AQUA]]_______ [[YELLOW]]GRUPPEN BEFEHLE [[AQUA]]_______
|
m.mccPartyCommands=[[AQUA]]_______ [[YELLOW]]GRUPPEN BEFEHLE [[AQUA]]_______
|
||||||
m.mccParty=[party name] [[YELLOW]]- Erstellen/beitreten einer Gruppe
|
m.mccParty=[party name] [[YELLOW]]- Erstellen/beitreten einer Gruppe
|
||||||
m.mccPartyQ=[[[YELLOW]]- Verlasse aktuelle Gruppe
|
m.mccPartyQ=[[[YELLOW]]- Verlasse aktuelle Gruppe
|
||||||
|
@@ -12,7 +12,6 @@ Combat.ArrowDeflect=[[WHITE]]**ARROW DEFLECT**
|
|||||||
Item.ChimaeraWingFail=**CHIMAERA WING FAILED\!**
|
Item.ChimaeraWingFail=**CHIMAERA WING FAILED\!**
|
||||||
Item.ChimaeraWingPass=**CHIMAERA WING**
|
Item.ChimaeraWingPass=**CHIMAERA WING**
|
||||||
Item.InjuredWait=You were injured recently and must wait to use this. [[YELLOW]]({0}s)
|
Item.InjuredWait=You were injured recently and must wait to use this. [[YELLOW]]({0}s)
|
||||||
Item.NeedFeathers=[[GRAY]]You need more feathers..
|
|
||||||
m.mccPartyCommands=[[GREEN]]--PARTY COMMANDS--
|
m.mccPartyCommands=[[GREEN]]--PARTY COMMANDS--
|
||||||
m.mccParty=[party name] [[RED]]- Create/Join designated party
|
m.mccParty=[party name] [[RED]]- Create/Join designated party
|
||||||
m.mccPartyQ=[[RED]]- Leave your current party
|
m.mccPartyQ=[[RED]]- Leave your current party
|
||||||
|
@@ -12,7 +12,6 @@ Combat.ArrowDeflect=[[WHITE]]**FLECHA DESVIADA**
|
|||||||
Item.ChimaeraWingFail=**FLECHA QUIMERA FALLADA\!**
|
Item.ChimaeraWingFail=**FLECHA QUIMERA FALLADA\!**
|
||||||
Item.ChimaeraWingPass=**FLECHA QUIMERA**
|
Item.ChimaeraWingPass=**FLECHA QUIMERA**
|
||||||
Item.InjuredWait=Has sido herido recientemente y tienes que esperar para usar esto. [[YELLOW]]({0}s)
|
Item.InjuredWait=Has sido herido recientemente y tienes que esperar para usar esto. [[YELLOW]]({0}s)
|
||||||
Item.NeedFeathers=[[GRAY]]Necesitas mas plumas.
|
|
||||||
m.mccPartyCommands=[[GREEN]]--COMANDOS DE FIESTA--
|
m.mccPartyCommands=[[GREEN]]--COMANDOS DE FIESTA--
|
||||||
m.mccParty=[party name] [[RED]]- Crea/Entra a una fiesta especifica
|
m.mccParty=[party name] [[RED]]- Crea/Entra a una fiesta especifica
|
||||||
m.mccPartyQ=[[RED]]- Abandona tu fiesta actual
|
m.mccPartyQ=[[RED]]- Abandona tu fiesta actual
|
||||||
|
@@ -12,7 +12,6 @@ Combat.ArrowDeflect=[[WHITE]]**NUOLI TORJUTTU**
|
|||||||
Item.ChimaeraWingFail=**KHIMAIRAN SIIVEN K<>YTT<54> EP<45>ONNISTUI\!**
|
Item.ChimaeraWingFail=**KHIMAIRAN SIIVEN K<>YTT<54> EP<45>ONNISTUI\!**
|
||||||
Item.ChimaeraWingPass=**KHIMAIRAN SIIPI**
|
Item.ChimaeraWingPass=**KHIMAIRAN SIIPI**
|
||||||
Item.InjuredWait=Sinua on haavoitettu <20>skett<74>in joten joudut odottaa t<>m<EFBFBD>n k<>ytt<74><74>. [[YELLOW]]({0}s)
|
Item.InjuredWait=Sinua on haavoitettu <20>skett<74>in joten joudut odottaa t<>m<EFBFBD>n k<>ytt<74><74>. [[YELLOW]]({0}s)
|
||||||
Item.NeedFeathers=[[GRAY]]Tarvitset lis<69><73> sulkia..
|
|
||||||
m.mccPartyCommands=[[GREEN]]--RYHM<48>KOMENNOT--
|
m.mccPartyCommands=[[GREEN]]--RYHM<48>KOMENNOT--
|
||||||
m.mccParty=[party name] [[RED]]- Luo/liity nimettyyn ryhm<68><6D>n
|
m.mccParty=[party name] [[RED]]- Luo/liity nimettyyn ryhm<68><6D>n
|
||||||
m.mccPartyQ=[[RED]]- L<>hde ryhm<68>st<73>
|
m.mccPartyQ=[[RED]]- L<>hde ryhm<68>st<73>
|
||||||
|
@@ -12,7 +12,6 @@ Combat.ArrowDeflect=[[WHITE]]**FL
|
|||||||
Item.ChimaeraWingFail=**CHIMAERA WING a <20>chou<6F> \!**
|
Item.ChimaeraWingFail=**CHIMAERA WING a <20>chou<6F> \!**
|
||||||
Item.ChimaeraWingPass=**CHIMAERA WING**
|
Item.ChimaeraWingPass=**CHIMAERA WING**
|
||||||
Item.InjuredWait=Vous avez <20>t<EFBFBD> bless<73> r<>cemment et vous devez attendre pour utiliser <20>a. [[YELLOW]]({0}s)
|
Item.InjuredWait=Vous avez <20>t<EFBFBD> bless<73> r<>cemment et vous devez attendre pour utiliser <20>a. [[YELLOW]]({0}s)
|
||||||
Item.NeedFeathers=[[GRAY]]Vous avez besoin de plus de plumes..
|
|
||||||
m.mccPartyCommands=[[GREEN]]--COMMANDES GROUPE--
|
m.mccPartyCommands=[[GREEN]]--COMMANDES GROUPE--
|
||||||
m.mccParty=[party name] [[RED]]- Cr<43>er / Rejoindre un groupe
|
m.mccParty=[party name] [[RED]]- Cr<43>er / Rejoindre un groupe
|
||||||
m.mccPartyQ=[[RED]]- Vous quitter la partie en cours
|
m.mccPartyQ=[[RED]]- Vous quitter la partie en cours
|
||||||
|
@@ -18,7 +18,6 @@ Combat.ArrowDeflect=[[WHITE]]**PIJL AFWIJKING**
|
|||||||
Item.ChimaeraWingFail=**CHIMAERA WING MISLUKT\!**
|
Item.ChimaeraWingFail=**CHIMAERA WING MISLUKT\!**
|
||||||
Item.ChimaeraWingPass=**CHIMAERA WING**
|
Item.ChimaeraWingPass=**CHIMAERA WING**
|
||||||
Item.InjuredWait=Je bent gewond en moet wachten. [[YELLOW]]({0}s)
|
Item.InjuredWait=Je bent gewond en moet wachten. [[YELLOW]]({0}s)
|
||||||
Item.NeedFeathers=[[GRAY]]Je hebt meer veren nodig..
|
|
||||||
m.mccPartyCommands=[[GREEN]]--PARTY COMMANDOS--
|
m.mccPartyCommands=[[GREEN]]--PARTY COMMANDOS--
|
||||||
m.mccParty=[party name] [[RED]]- Maak/Join getypte party
|
m.mccParty=[party name] [[RED]]- Maak/Join getypte party
|
||||||
m.mccPartyQ=[[RED]]- Verlaat je huidige party
|
m.mccPartyQ=[[RED]]- Verlaat je huidige party
|
||||||
|
@@ -12,7 +12,6 @@ Combat.ArrowDeflect=[[WHITE]]**ODBICIE STRZALY**
|
|||||||
Item.ChimaeraWingFail=**UZYCIE SKRZYDLA CHIMERY NIE POWIODLO SIE\!**
|
Item.ChimaeraWingFail=**UZYCIE SKRZYDLA CHIMERY NIE POWIODLO SIE\!**
|
||||||
Item.ChimaeraWingPass=**UZYLES SKRZYDLA CHIMERY**
|
Item.ChimaeraWingPass=**UZYLES SKRZYDLA CHIMERY**
|
||||||
Item.InjuredWait=Zostales ranny. Musisz poczekac [[YELLOW]]{0}[[WHITE]] sekund przed uzyciem.
|
Item.InjuredWait=Zostales ranny. Musisz poczekac [[YELLOW]]{0}[[WHITE]] sekund przed uzyciem.
|
||||||
Item.NeedFeathers=[[GRAY]]Potrzebujesz wiecej pior.
|
|
||||||
m.mccPartyCommands=[[GREEN]]--KOMENDY DRUZYNOWE--
|
m.mccPartyCommands=[[GREEN]]--KOMENDY DRUZYNOWE--
|
||||||
m.mccParty=[party name] [[RED]]- Tworzy lub dolacza do danej druzyny.
|
m.mccParty=[party name] [[RED]]- Tworzy lub dolacza do danej druzyny.
|
||||||
m.mccPartyQ=[[RED]]- Pozwala opuscic druzyne.
|
m.mccPartyQ=[[RED]]- Pozwala opuscic druzyne.
|
||||||
|
@@ -12,7 +12,6 @@ Combat.ArrowDeflect=[[WHITE]]*DESVIOU A FLECHA*
|
|||||||
Item.ChimaeraWingFail=*ASA QUIMERA FALHOU\!*
|
Item.ChimaeraWingFail=*ASA QUIMERA FALHOU\!*
|
||||||
Item.ChimaeraWingPass=*ASA QUIMERA*
|
Item.ChimaeraWingPass=*ASA QUIMERA*
|
||||||
Item.InjuredWait=Voc<EFBFBD> foi ferido recentemente e tem que esperar para usar isto. [[YELLOW]]({0}s)
|
Item.InjuredWait=Voc<EFBFBD> foi ferido recentemente e tem que esperar para usar isto. [[YELLOW]]({0}s)
|
||||||
Item.NeedFeathers=[[GRAY]]Voc<6F> precisa de mais penas...
|
|
||||||
m.mccPartyCommands=[[GREEN]]--COMANDOS DE EQUIPES--
|
m.mccPartyCommands=[[GREEN]]--COMANDOS DE EQUIPES--
|
||||||
m.mccParty=[party name] [[RED]]- Criar/Juntar-se a uma equipe
|
m.mccParty=[party name] [[RED]]- Criar/Juntar-se a uma equipe
|
||||||
m.mccPartyQ=[[RED]]- Sair da equipe atual
|
m.mccPartyQ=[[RED]]- Sair da equipe atual
|
||||||
|
@@ -13,7 +13,6 @@ Combat.ArrowDeflect=[[WHITE]]**
|
|||||||
Item.ChimaeraWingFail=**<2A><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\!**
|
Item.ChimaeraWingFail=**<2A><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\!**
|
||||||
Item.ChimaeraWingPass=**<2A><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>...**
|
Item.ChimaeraWingPass=**<2A><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>...**
|
||||||
Item.InjuredWait=<EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>. [[YELLOW]]({0}s)
|
Item.InjuredWait=<EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>. [[YELLOW]]({0}s)
|
||||||
Item.NeedFeathers=[[GRAY]]<5D><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>..
|
|
||||||
m.mccPartyCommands=[[GREEN]]--<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>--
|
m.mccPartyCommands=[[GREEN]]--<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>--
|
||||||
m.mccParty=[party name] [[RED]]- <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
m.mccParty=[party name] [[RED]]- <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||||
m.mccPartyQ=[[RED]]- <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
m.mccPartyQ=[[RED]]- <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||||
|
Reference in New Issue
Block a user