diff --git a/main/src/main/java/me/blackvein/quests/QuestFactory.java b/main/src/main/java/me/blackvein/quests/QuestFactory.java index 06cbc3e7b..885683beb 100644 --- a/main/src/main/java/me/blackvein/quests/QuestFactory.java +++ b/main/src/main/java/me/blackvein/quests/QuestFactory.java @@ -1065,11 +1065,13 @@ public class QuestFactory implements ConversationAbandonedListener { data.load(questsFile); } catch (IOException e) { e.printStackTrace(); - ((Player) context.getForWhom()).sendMessage(ChatColor.RED + Lang.get("questErrorReadingFile")); + ((Player) context.getForWhom()).sendMessage(ChatColor.RED + Lang.get("questErrorReadingFile") + .replace("", questsFile.getName())); return; } catch (InvalidConfigurationException e) { e.printStackTrace(); - ((Player) context.getForWhom()).sendMessage(ChatColor.RED + Lang.get("questErrorReadingFile")); + ((Player) context.getForWhom()).sendMessage(ChatColor.RED + Lang.get("questErrorReadingFile") + .replace("", questsFile.getName())); return; } String quest = (String) context.getSessionData(CK.ED_QUEST_DELETE); diff --git a/main/src/main/java/me/blackvein/quests/Quester.java b/main/src/main/java/me/blackvein/quests/Quester.java index 91fcfdf45..5c2f70a4c 100644 --- a/main/src/main/java/me/blackvein/quests/Quester.java +++ b/main/src/main/java/me/blackvein/quests/Quester.java @@ -372,14 +372,15 @@ public class Quester { } } if (index != -1) { + final String title = Lang.get(getPlayer(), "journalTitle"); ItemStack stack = new ItemStack(Material.WRITTEN_BOOK, 1); ItemMeta meta = stack.getItemMeta(); - meta.setDisplayName(ChatColor.LIGHT_PURPLE + Lang.get(getPlayer(), "journalTitle")); + meta.setDisplayName(ChatColor.LIGHT_PURPLE + title); BookMeta book = (BookMeta) meta; - book.setTitle(ChatColor.LIGHT_PURPLE + Lang.get(getPlayer(), "journalTitle")); + book.setTitle(ChatColor.LIGHT_PURPLE + title); book.setAuthor(getPlayer().getName()); if (currentQuests.isEmpty()) { - book.addPage(ChatColor.DARK_RED + Lang.get(getPlayer(), "journalNoQuests")); + book.addPage(ChatColor.DARK_RED + Lang.get(getPlayer(), "journalNoQuests").replace("", title)); } else { int currentLength = 0; int currentLines = 0; @@ -3629,7 +3630,8 @@ public class Quester { } } } else { - getPlayer().sendMessage(ChatColor.RED + Lang.get(getPlayer(), "journalNoQuests")); + getPlayer().sendMessage(ChatColor.RED + Lang.get(getPlayer(), "journalNoQuests") + .replace("", Lang.get(getPlayer(), "journalTitle"))); } } }); diff --git a/main/src/main/java/me/blackvein/quests/actions/ActionFactory.java b/main/src/main/java/me/blackvein/quests/actions/ActionFactory.java index 163024c2b..903b1e927 100644 --- a/main/src/main/java/me/blackvein/quests/actions/ActionFactory.java +++ b/main/src/main/java/me/blackvein/quests/actions/ActionFactory.java @@ -1141,11 +1141,13 @@ public class ActionFactory implements ConversationAbandonedListener { data.load(actionsFile); } catch (IOException e) { e.printStackTrace(); - ((Player) context.getForWhom()).sendMessage(ChatColor.RED + Lang.get("eventEditorErrorReadingFile")); + ((Player) context.getForWhom()).sendMessage(ChatColor.RED + Lang.get("questErrorReadingFile") + .replace("", actionsFile.getName())); return; } catch (InvalidConfigurationException e) { e.printStackTrace(); - ((Player) context.getForWhom()).sendMessage(ChatColor.RED + Lang.get("eventEditorErrorReadingFile")); + ((Player) context.getForWhom()).sendMessage(ChatColor.RED + Lang.get("questErrorReadingFile") + .replace("", actionsFile.getName())); return; } String event = (String) context.getSessionData(CK.ED_EVENT_DELETE); @@ -1174,11 +1176,13 @@ public class ActionFactory implements ConversationAbandonedListener { data.load(actionsFile); } catch (IOException e) { e.printStackTrace(); - ((Player) context.getForWhom()).sendMessage(ChatColor.RED + Lang.get("eventEditorErrorReadingFile")); + ((Player) context.getForWhom()).sendMessage(ChatColor.RED + Lang.get("questErrorReadingFile") + .replace("", actionsFile.getName())); return; } catch (InvalidConfigurationException e) { e.printStackTrace(); - ((Player) context.getForWhom()).sendMessage(ChatColor.RED + Lang.get("eventEditorErrorReadingFile")); + ((Player) context.getForWhom()).sendMessage(ChatColor.RED + Lang.get("questErrorReadingFile") + .replace("", actionsFile.getName())); return; } String key = "actions"; diff --git a/main/src/main/java/me/blackvein/quests/convo/quests/prompts/RequirementsPrompt.java b/main/src/main/java/me/blackvein/quests/convo/quests/prompts/RequirementsPrompt.java index a67f1abca..2de2fe525 100644 --- a/main/src/main/java/me/blackvein/quests/convo/quests/prompts/RequirementsPrompt.java +++ b/main/src/main/java/me/blackvein/quests/convo/quests/prompts/RequirementsPrompt.java @@ -114,7 +114,7 @@ public class RequirementsPrompt extends QuestsEditorNumericPrompt { return ChatColor.GRAY + Lang.get("reqSetMoney"); } case 2: - return ChatColor.YELLOW + Lang.get("reqSetQuestPoints"); + return ChatColor.YELLOW + Lang.get("reqSetQuestPoints").replace("", Lang.get("questPoints")); case 3: return ChatColor.YELLOW + Lang.get("reqSetItem"); case 4: @@ -426,7 +426,7 @@ public class RequirementsPrompt extends QuestsEditorNumericPrompt { @Override public String getPromptText(ConversationContext context) { - return ChatColor.YELLOW + Lang.get("reqQuestPointsPrompt"); + return ChatColor.YELLOW + Lang.get("reqQuestPointsPrompt").replace("", Lang.get("questPoints")); } @Override diff --git a/main/src/main/java/me/blackvein/quests/convo/quests/prompts/RewardsPrompt.java b/main/src/main/java/me/blackvein/quests/convo/quests/prompts/RewardsPrompt.java index d5e9986e1..3596c60c2 100644 --- a/main/src/main/java/me/blackvein/quests/convo/quests/prompts/RewardsPrompt.java +++ b/main/src/main/java/me/blackvein/quests/convo/quests/prompts/RewardsPrompt.java @@ -120,7 +120,7 @@ public class RewardsPrompt extends QuestsEditorNumericPrompt { return ChatColor.GRAY + Lang.get("rewSetMoney"); } case 2: - return ChatColor.YELLOW + Lang.get("rewSetQuestPoints"); + return ChatColor.YELLOW + Lang.get("rewSetQuestPoints").replace("", Lang.get("questPoints")); case 3: return ChatColor.YELLOW + Lang.get("rewSetItems"); case 4: @@ -509,7 +509,7 @@ public class RewardsPrompt extends QuestsEditorNumericPrompt { @Override public String getPromptText(ConversationContext context) { - return ChatColor.YELLOW + Lang.get("rewQuestPointsPrompt"); + return ChatColor.YELLOW + Lang.get("rewQuestPointsPrompt").replace("", Lang.get("questPoints")); } @Override diff --git a/main/src/main/java/me/blackvein/quests/listeners/CmdExecutor.java b/main/src/main/java/me/blackvein/quests/listeners/CmdExecutor.java index f18a47a87..391ae5ca6 100644 --- a/main/src/main/java/me/blackvein/quests/listeners/CmdExecutor.java +++ b/main/src/main/java/me/blackvein/quests/listeners/CmdExecutor.java @@ -599,7 +599,7 @@ public class CmdExecutor implements CommandExecutor { } Quester quester = plugin.getQuester(target.getUniqueId()); cs.sendMessage(ChatColor.GOLD + "- " + target.getName() + " -"); - cs.sendMessage(ChatColor.YELLOW + Lang.get("questPointsDisplay") + " " + ChatColor.DARK_PURPLE + cs.sendMessage(ChatColor.YELLOW + Lang.get("questPoints") + " - " + ChatColor.DARK_PURPLE + quester.getQuestPoints()); if (quester.getCurrentQuests().isEmpty()) { cs.sendMessage(ChatColor.YELLOW + Lang.get("currentQuest") + " " + ChatColor.DARK_PURPLE+ Lang.get("none")); @@ -652,7 +652,8 @@ public class CmdExecutor implements CommandExecutor { } } } - player.sendMessage(ChatColor.YELLOW + Lang.get(player, "journalPutAway")); + player.sendMessage(ChatColor.YELLOW + Lang.get(player, "journalPutAway") + .replace("", Lang.get(player, "journalTitle"))); quester.hasJournal = false; } else if (player.getItemInHand() == null || player.getItemInHand().getType().equals(Material.AIR)) { ItemStack stack = new ItemStack(Material.WRITTEN_BOOK, 1); @@ -660,7 +661,8 @@ public class CmdExecutor implements CommandExecutor { meta.setDisplayName(ChatColor.LIGHT_PURPLE + Lang.get("journalTitle")); stack.setItemMeta(meta); player.setItemInHand(stack); - player.sendMessage(ChatColor.YELLOW + Lang.get(player, "journalTaken")); + player.sendMessage(ChatColor.YELLOW + Lang.get(player, "journalTaken") + .replace("", Lang.get(player, "journalTitle"))); quester.hasJournal = true; quester.updateJournal(); } else if (inv.firstEmpty() != -1) { @@ -679,7 +681,8 @@ public class CmdExecutor implements CommandExecutor { } } } else { - player.sendMessage(ChatColor.YELLOW + Lang.get(player, "journalNoRoom")); + player.sendMessage(ChatColor.YELLOW + Lang.get(player, "journalNoRoom") + .replace("", Lang.get(player, "journalTitle"))); } } } @@ -821,6 +824,7 @@ public class CmdExecutor implements CommandExecutor { } if (cs instanceof Player && cs.hasPermission("quests.journal")) { cs.sendMessage(ChatColor.YELLOW + "/quests " + Lang.get("COMMAND_JOURNAL_HELP") + .replace("", Lang.get("journalTitle")) .replace("", ChatColor.GOLD + (translateSubCommands ? Lang.get("COMMAND_JOURNAL") : "journal") + ChatColor.YELLOW)); } @@ -916,13 +920,13 @@ public class CmdExecutor implements CommandExecutor { } Quester quester = plugin.getQuester(target.getUniqueId()); quester.setQuestPoints(quester.getQuestPoints() + Math.abs(points)); - String msg1 = Lang.get("giveQuestPoints"); + String msg1 = Lang.get("giveQuestPoints").replace("", Lang.get("questPoints")); msg1 = msg1.replace("", ChatColor.GREEN + target.getName() + ChatColor.GOLD); msg1 = msg1.replace("", ChatColor.DARK_PURPLE + "" + points + ChatColor.GOLD); cs.sendMessage(ChatColor.GOLD + msg1); if (target.isOnline()) { Player p = (Player)target; - String msg2 = Lang.get(p, "questPointsGiven"); + String msg2 = Lang.get(p, "questPointsGiven").replace("", Lang.get("questPoints")); msg2 = msg2.replace("", ChatColor.GREEN + cs.getName() + ChatColor.GOLD); msg2 = msg2.replace("", ChatColor.DARK_PURPLE + "" + points + ChatColor.GOLD); p.sendMessage(ChatColor.GREEN + msg2); @@ -953,13 +957,13 @@ public class CmdExecutor implements CommandExecutor { } Quester quester = plugin.getQuester(target.getUniqueId()); quester.setQuestPoints(quester.getQuestPoints() - Math.abs(points)); - String msg1 = Lang.get("takeQuestPoints"); + String msg1 = Lang.get("takeQuestPoints").replace("", Lang.get("questPoints")); msg1 = msg1.replace("", ChatColor.GREEN + target.getName() + ChatColor.GOLD); msg1 = msg1.replace("", ChatColor.DARK_PURPLE + "" + points + ChatColor.GOLD); cs.sendMessage(ChatColor.GOLD + msg1); if (target.isOnline()) { Player p = (Player)target; - String msg2 = Lang.get(p, "questPointsTaken"); + String msg2 = Lang.get(p, "questPointsTaken").replace("", Lang.get("questPoints")); msg2 = msg2.replace("", ChatColor.GREEN + cs.getName() + ChatColor.GOLD); msg2 = msg2.replace("", ChatColor.DARK_PURPLE + "" + points + ChatColor.GOLD); p.sendMessage(ChatColor.GREEN + msg2); @@ -990,13 +994,13 @@ public class CmdExecutor implements CommandExecutor { } Quester quester = plugin.getQuester(target.getUniqueId()); quester.setQuestPoints(points); - String msg1 = Lang.get("setQuestPoints"); + String msg1 = Lang.get("setQuestPoints").replace("", Lang.get("questPoints")); msg1 = msg1.replace("", ChatColor.GREEN + target.getName() + ChatColor.GOLD); msg1 = msg1.replace("", ChatColor.DARK_PURPLE + "" + points + ChatColor.GOLD); cs.sendMessage(ChatColor.GOLD + msg1); if (target.isOnline()) { Player p = (Player)target; - String msg2 = Lang.get(p, "questPointsSet"); + String msg2 = Lang.get(p, "questPointsSet").replace("", Lang.get("questPoints")); msg2 = msg2.replace("", ChatColor.GREEN + cs.getName() + ChatColor.GOLD); msg2 = msg2.replace("", ChatColor.DARK_PURPLE + "" + points + ChatColor.GOLD); p.sendMessage(ChatColor.GREEN + msg2); @@ -1080,7 +1084,8 @@ public class CmdExecutor implements CommandExecutor { cs.sendMessage(ChatColor.RED + Lang.get("inputNum")); return; } - cs.sendMessage(ChatColor.YELLOW + Lang.get("settingAllQuestPoints")); + cs.sendMessage(ChatColor.YELLOW + Lang.get("settingAllQuestPoints") + .replace("", Lang.get("questPoints"))); for (Quester q : plugin.getQuesters()) { q.setQuestPoints(amount); } @@ -1127,7 +1132,7 @@ public class CmdExecutor implements CommandExecutor { } } cs.sendMessage(ChatColor.GREEN + Lang.get("done")); - String msg = Lang.get("allQuestPointsSet"); + String msg = Lang.get("allQuestPointsSet").replace("", Lang.get("questPoints")); msg = msg.replace("", ChatColor.AQUA + "" + amount + ChatColor.GOLD); plugin.getServer().broadcastMessage(ChatColor.YELLOW + "" + ChatColor.GOLD + msg); } else { @@ -1417,24 +1422,32 @@ public class CmdExecutor implements CommandExecutor { } if (cs.hasPermission("quests.admin.*") || cs.hasPermission("quests.admin.points")) { cs.sendMessage(ChatColor.YELLOW + "/questadmin " + ChatColor.RED - + Lang.get("COMMAND_QUESTADMIN_POINTS_HELP") .replace("", ChatColor.GOLD + + Lang.get("COMMAND_QUESTADMIN_POINTS_HELP") + .replace("", Lang.get("questPoints")) + .replace("", ChatColor.GOLD + (translateSubCommands ? Lang.get("COMMAND_QUESTADMIN_POINTS") : "points") + ChatColor.RED)); } if (cs.hasPermission("quests.admin.*") || cs.hasPermission("quests.admin.takepoints")) { cs.sendMessage(ChatColor.YELLOW + "/questadmin " + ChatColor.RED - + Lang.get("COMMAND_QUESTADMIN_TAKEPOINTS_HELP") .replace("", ChatColor.GOLD + + Lang.get("COMMAND_QUESTADMIN_TAKEPOINTS_HELP") + .replace("", Lang.get("questPoints")) + .replace("", ChatColor.GOLD + (translateSubCommands ? Lang.get("COMMAND_QUESTADMIN_TAKEPOINTS") : "takepoints") + ChatColor.RED)); } if (cs.hasPermission("quests.admin.*") || cs.hasPermission("quests.admin.givepoints")) { cs.sendMessage(ChatColor.YELLOW + "/questadmin " + ChatColor.RED - + Lang.get("COMMAND_QUESTADMIN_GIVEPOINTS_HELP").replace("", ChatColor.GOLD + + Lang.get("COMMAND_QUESTADMIN_GIVEPOINTS_HELP") + .replace("", Lang.get("questPoints")) + .replace("", ChatColor.GOLD + (translateSubCommands ? Lang.get("COMMAND_QUESTADMIN_GIVEPOINTS") : "givepoints") + ChatColor.RED)); } if (cs.hasPermission("quests.admin.*") || cs.hasPermission("quests.admin.pointsall")) { cs.sendMessage(ChatColor.YELLOW + "/questadmin " + ChatColor.RED - + Lang.get("COMMAND_QUESTADMIN_POINTSALL_HELP").replace("", ChatColor.GOLD + + Lang.get("COMMAND_QUESTADMIN_POINTSALL_HELP") + .replace("", Lang.get("questPoints")) + .replace("", ChatColor.GOLD + (translateSubCommands ? Lang.get("COMMAND_QUESTADMIN_POINTSALL") : "pointsall") + ChatColor.RED)); } if (cs.hasPermission("quests.admin.*") || cs.hasPermission("quests.admin.finish")) { diff --git a/main/src/main/java/me/blackvein/quests/listeners/PlayerListener.java b/main/src/main/java/me/blackvein/quests/listeners/PlayerListener.java index d07e48bf6..d84e15da9 100644 --- a/main/src/main/java/me/blackvein/quests/listeners/PlayerListener.java +++ b/main/src/main/java/me/blackvein/quests/listeners/PlayerListener.java @@ -185,7 +185,8 @@ public class PlayerListener implements Listener { } if (evt.getClickedBlock().getType().name().equals("LECTERN")) { evt.setCancelled(true); - evt.getPlayer().sendMessage(ChatColor.RED + Lang.get(evt.getPlayer(), "journalDenied")); + evt.getPlayer().sendMessage(ChatColor.RED + Lang.get(evt.getPlayer(), "journalDenied") + .replace("", Lang.get(evt.getPlayer(), "journalTitle"))); return; } } @@ -314,7 +315,8 @@ public class PlayerListener implements Listener { if (quester.getCurrentQuests().size() >= plugin.getSettings().getMaxQuests() && plugin.getSettings().getMaxQuests() > 0) { String msg = Lang.get(player, "questMaxAllowed"); - msg = msg.replace("", String.valueOf(plugin.getSettings().getMaxQuests())); + msg = msg.replace("", String + .valueOf(plugin.getSettings().getMaxQuests())); player.sendMessage(ChatColor.YELLOW + msg); } else { if (quester.getCompletedQuests().contains(q.getName())) { @@ -377,7 +379,8 @@ public class PlayerListener implements Listener { if (evt.getRightClicked().getType() == EntityType.ITEM_FRAME) { if (ItemUtil.isJournal(evt.getPlayer().getItemInHand())) { evt.setCancelled(true); - evt.getPlayer().sendMessage(ChatColor.RED + Lang.get(evt.getPlayer(), "journalDenied")); + evt.getPlayer().sendMessage(ChatColor.RED + Lang.get(evt.getPlayer(), "journalDenied") + .replace("", Lang.get(evt.getPlayer(), "journalTitle"))); } } } @@ -389,7 +392,8 @@ public class PlayerListener implements Listener { if (plugin.canUseQuests(player.getUniqueId())) { Quester quester = plugin.getQuester(player.getUniqueId()); for (Quest quest : plugin.getQuests()) { - if (quester.getCurrentQuests().containsKey(quest) && quester.getCurrentStage(quest).containsObjective("milkCow")) { + if (quester.getCurrentQuests().containsKey(quest) + && quester.getCurrentStage(quest).containsObjective("milkCow")) { quester.milkCow(quest); } @@ -493,7 +497,8 @@ public class PlayerListener implements Listener { .getData().toItemStack().getDurability()); Quester quester = plugin.getQuester(evt.getPlayer().getUniqueId()); for (Quest quest : plugin.getQuests()) { - if (quester.getCurrentQuests().containsKey(quest) && quester.getCurrentStage(quest).containsObjective("damageBlock")) { + if (quester.getCurrentQuests().containsKey(quest) + && quester.getCurrentStage(quest).containsObjective("damageBlock")) { quester.damageBlock(quest, blockItemStack); } @@ -569,7 +574,8 @@ public class PlayerListener implements Listener { } return null; }); - if (quester.getCurrentQuests().containsKey(quest) && quester.getCurrentStage(quest).containsObjective("cutBlock")) { + if (quester.getCurrentQuests().containsKey(quest) + && quester.getCurrentStage(quest).containsObjective("cutBlock")) { if (evt.getPlayer().getItemInHand().getType().equals(Material.SHEARS)) { quester.cutBlock(quest, blockItemStack); } @@ -613,7 +619,8 @@ public class PlayerListener implements Listener { if (plugin.canUseQuests(p.getUniqueId())) { Quester quester = plugin.getQuester(p.getUniqueId()); for (Quest quest : plugin.getQuests()) { - if (quester.getCurrentQuests().containsKey(quest) && quester.getCurrentStage(quest).containsObjective("tameMob")) { + if (quester.getCurrentQuests().containsKey(quest) + && quester.getCurrentStage(quest).containsObjective("tameMob")) { quester.tameMob(quest, evt.getEntityType()); } @@ -716,7 +723,8 @@ public class PlayerListener implements Listener { if (plugin.canUseQuests(evt.getEnchanter().getUniqueId())) { Quester quester = plugin.getQuester(evt.getEnchanter().getUniqueId()); for (Quest quest : plugin.getQuests()) { - if (quester.getCurrentQuests().containsKey(quest) && quester.getCurrentStage(quest).containsObjective("enchantItem")) { + if (quester.getCurrentQuests().containsKey(quest) + && quester.getCurrentStage(quest).containsObjective("enchantItem")) { for (Enchantment e : evt.getEnchantsToAdd().keySet()) { quester.enchantItem(quest, e, evt.getItem().getType()); } @@ -780,7 +788,8 @@ public class PlayerListener implements Listener { Quester quester = plugin.getQuester(damager.getUniqueId()); if (plugin.getDependencies().getCitizens() != null && CitizensAPI.getNPCRegistry().isNPC(target)) { for (Quest quest : plugin.getQuests()) { - if (quester.getCurrentQuests().containsKey(quest) && quester.getCurrentStage(quest).containsObjective("killNPC")) { + if (quester.getCurrentQuests().containsKey(quest) + && quester.getCurrentStage(quest).containsObjective("killNPC")) { quester.killNPC(quest, CitizensAPI.getNPCRegistry().getNPC(target)); } @@ -791,7 +800,8 @@ public class PlayerListener implements Listener { } } else { for (Quest quest : plugin.getQuests()) { - if (quester.getCurrentQuests().containsKey(quest) && quester.getCurrentStage(quest).containsObjective("killMob")) { + if (quester.getCurrentQuests().containsKey(quest) + && quester.getCurrentStage(quest).containsObjective("killMob")) { quester.killMob(quest, target.getLocation(), target.getType()); } @@ -889,7 +899,8 @@ public class PlayerListener implements Listener { } Quester quester = plugin.getQuester(damager.getUniqueId()); for (Quest quest : plugin.getQuests()) { - if (quester.getCurrentQuests().containsKey(quest) && quester.getCurrentStage(quest).containsObjective("killPlayer")) { + if (quester.getCurrentQuests().containsKey(quest) + && quester.getCurrentStage(quest).containsObjective("killPlayer")) { quester.killPlayer(quest, (Player)target); } @@ -907,7 +918,8 @@ public class PlayerListener implements Listener { if (plugin.canUseQuests(player.getUniqueId())) { Quester quester = plugin.getQuester(player.getUniqueId()); for (Quest quest : plugin.getQuests()) { - if (quester.getCurrentQuests().containsKey(quest) && quester.getCurrentStage(quest).containsObjective("catchFish") + if (quester.getCurrentQuests().containsKey(quest) + && quester.getCurrentStage(quest).containsObjective("catchFish") && evt.getState().equals(State.CAUGHT_FISH)) { quester.catchFish(quest); } diff --git a/main/src/main/resources/strings.yml b/main/src/main/resources/strings.yml index a98a23514..b7f7accd8 100644 --- a/main/src/main/resources/strings.yml +++ b/main/src/main/resources/strings.yml @@ -6,11 +6,11 @@ COMMAND_TAKE_USAGE: "Usage: /quests take [quest]" COMMAND_QUIT: "quit" COMMAND_QUIT_HELP: " [quest] - Quit a current quest" COMMAND_JOURNAL: "journal" -COMMAND_JOURNAL_HELP: " - View/Put away your Quest Journal" +COMMAND_JOURNAL_HELP: " - View or hide your " COMMAND_EDITOR: "editor" -COMMAND_EDITOR_HELP: " - Create/Edit Quests" +COMMAND_EDITOR_HELP: " - Create, edit or delete quests" COMMAND_EVENTS_EDITOR: "actions" -COMMAND_EVENTS_EDITOR_HELP: " - Create/Edit Actions" +COMMAND_EVENTS_EDITOR_HELP: " - Create, edit or delete actions" COMMAND_STATS: "stats" COMMAND_STATS_HELP: " - View quest statistics" COMMAND_TOP: "top" @@ -28,13 +28,13 @@ COMMAND_QUESTADMIN_GIVE_HELP: " [player] [quest] - Force a player to ta COMMAND_QUESTADMIN_QUIT: "quit" COMMAND_QUESTADMIN_QUIT_HELP: " [player] [quest] - Force a player to quit a quest" COMMAND_QUESTADMIN_POINTS: "points" -COMMAND_QUESTADMIN_POINTS_HELP: " [player] [amount] - Set a player's Quest Points" +COMMAND_QUESTADMIN_POINTS_HELP: " [player] [amount] - Set a player's " COMMAND_QUESTADMIN_TAKEPOINTS: "takepoints" -COMMAND_QUESTADMIN_TAKEPOINTS_HELP: " [player] [amount] - Take away a player's Quest Points" +COMMAND_QUESTADMIN_TAKEPOINTS_HELP: " [player] [amount] - Take away a player's " COMMAND_QUESTADMIN_GIVEPOINTS: "givepoints" -COMMAND_QUESTADMIN_GIVEPOINTS_HELP: " [player] [amount] - Add to a player's Quest Points" +COMMAND_QUESTADMIN_GIVEPOINTS_HELP: " [player] [amount] - Add to a player's " COMMAND_QUESTADMIN_POINTSALL: "pointsall" -COMMAND_QUESTADMIN_POINTSALL_HELP: " [amount] - Set ALL players' Quest Points" +COMMAND_QUESTADMIN_POINTSALL_HELP: " [amount] - Set ALL players' " COMMAND_QUESTADMIN_FINISH: "finish" COMMAND_QUESTADMIN_FINISH_HELP: " [player] [quest] - Force a player to complete a quest" COMMAND_QUESTADMIN_NEXTSTAGE: "nextstage" @@ -43,32 +43,32 @@ COMMAND_QUESTADMIN_SETSTAGE: "setstage" COMMAND_QUESTADMIN_SETSTAGE_HELP: " [player] [quest] [stage] - Set the current stage for a player" COMMAND_QUESTADMIN_SETSTAGE_USAGE: 'Usage: /questadmin setstage [player] [quest] [stage]' COMMAND_QUESTADMIN_RESET: "reset" -COMMAND_QUESTADMIN_RESET_HELP: " [player] - Clear all Quests data of a player" +COMMAND_QUESTADMIN_RESET_HELP: " [player] - Clear all questing data of a player" COMMAND_QUESTADMIN_REMOVE: "remove" COMMAND_QUESTADMIN_REMOVE_HELP: " [player] [quest] - Remove a completed quest from a player" COMMAND_QUESTADMIN_RELOAD: "reload" COMMAND_QUESTADMIN_RELOAD_HELP: " - Safely reload the plugin" -questEditorCreate: "Create new Quest" -questEditorEdit: "Edit a Quest" -questEditorDelete: "Delete a Quest" +questEditorCreate: "Create new quest" +questEditorEdit: "Edit a quest" +questEditorDelete: "Delete a quest" questEditorName: "Set name" questEditorAskMessage: "Set ask message" questEditorFinishMessage: "Set finish message" questEditorNPCStart: "Set NPC start" -questEditorBlockStart: "Set Block start" -questEditorInitialEvent: "Set initial Action" +questEditorBlockStart: "Set block start" +questEditorInitialEvent: "Set initial action" questEditorSetGUI: "Set GUI Item display" questEditorReqs: "Edit Requirements" questEditorPln: "Edit Planner" questEditorStages: "Edit Stages" questEditorRews: "Edit Rewards" questEditorOpts: "Edit Options" -questEditorEnterQuestName: "Enter Quest name, " +questEditorEnterQuestName: "Enter quest name, " questEditorEnterAskMessage: "Enter ask message, " questEditorEnterFinishMessage: "Enter finish message, " questEditorEnterNPCStart: "Enter NPC ID, , " questEditorEnterBlockStart: "Right-click on a block to use as a start point, , , " -questEditorEnterInitialEvent: "Enter an Action name, , " +questEditorEnterInitialEvent: "Enter an action name, , " questRequiredNoneSet: "Required, none set" questDungeonsCreate: "Players added to this group may perform quests together!" questDungeonsDisband: "The quest group was disbanded." @@ -86,29 +86,29 @@ questWGSetRegion: "Set Region start" questWGPrompt: "Enter WorldGuard region, , " questWGInvalidRegion: " is not a valid WorldGuard region!" questWGRegionCleared: "Quest region cleared." -questGUIError: "Error: That item is already being used as the GUI Display for the Quest ." +questGUIError: "Error: That item is already being used as the GUI Display for the quest ." questCurrentItem: "Current item:" questGUICleared: "Quest GUI Item Display cleared." -questDeleted: "Quest deleted! Quests and Actions have been reloaded." -questEditorNameExists: "A Quest with that name already exists!" -questEditorBeingEdited: "Someone is creating/editing a Quest with that name!" +questDeleted: "Quest deleted! Quest and action data has been reloaded." +questEditorNameExists: "A quest with that name already exists!" +questEditorBeingEdited: "Someone is creating/editing a quest with that name!" questEditorInvalidQuestName: "Name may not contain periods or commas!" questEditorInvalidEventName: "is not a valid action name!" questEditorInvalidNPC: "No NPC exists with that ID!" questEditorNoStartBlockSelected: "You must select a block first." questEditorPositiveAmount: "Amount must be a positive number." -questEditorQuestAsRequirement1: "The following Quests have" +questEditorQuestAsRequirement1: "The following quests have" questEditorQuestAsRequirement2: "as a requirement:" -questEditorQuestAsRequirement3: "You must modify these Quests so that they do not use it before deleting it." +questEditorQuestAsRequirement3: "You must modify these quests so that they do not use it before deleting it." questEditorQuestNotFound: "Quest not found!" -questEditorEventCleared: "Initial Action cleared." +questEditorEventCleared: "Initial action cleared." questEditorSave: "Finish and save" questEditorNeedAskMessage: "You must set an ask message!" questEditorNeedFinishMessage: "You must set a finish message!" -questEditorNeedStages: "Your Quest has no Stages!" +questEditorNeedStages: "Your quest has no stages!" questEditorSaved: "%bold%Quest saved! %reset%(You will need to perform %red% %reset% for it to appear in-game)" stageEditorEditStage: "Edit Stage" -stageEditorNewStage: "Add new Stage" +stageEditorNewStage: "Add new stage" stageEditorStages: "Stages" stageEditorStage: "Stage" stageEditorBlocks: "Blocks" @@ -142,25 +142,25 @@ stageEditorPlayers: "players" stageEditorEvents: "Actions" stageEditorStageEvents: "Stage Actions" stageEditorStartEvent: "Start Action" -stageEditorStartEventCleared: "Start Action cleared." +stageEditorStartEventCleared: "Start action cleared." stageEditorFinishEvent: "Finish Action" -stageEditorFinishEventCleared: "Finish Action cleared." +stageEditorFinishEventCleared: "Finish action cleared." stageEditorChatEvents: "Chat Action" stageEditorChatTrigger: "Chat Trigger" -stageEditorChatEventsCleared: "Chat Action cleared." +stageEditorChatEventsCleared: "Chat action cleared." stageEditorCommandEvents: "Command Action" stageEditorCommandTrigger: "Command Trigger" -stageEditorCommandEventsCleared: "Command Action cleared." +stageEditorCommandEventsCleared: "Command action cleared." stageEditorTriggeredBy: "Triggered by" stageEditorDeathEvent: "Death Action" -stageEditorDeathEventCleared: "Death Action cleared." +stageEditorDeathEventCleared: "Death action cleared." stageEditorDisconnectEvent: "Disconnect Action" -stageEditorDisconnectEventCleared: "Disconnect Action cleared." +stageEditorDisconnectEventCleared: "Disconnect action cleared." stageEditorDelayMessage: "Delay message" stageEditorDenizenScript: "Denizen script" stageEditorStartMessage: "Start message" stageEditorCompleteMessage: "Complete message" -stageEditorDelete: "Delete Stage" +stageEditorDelete: "Delete stage" stageEditorSetBlockNames: "Set block names" stageEditorSetBlockAmounts: "Set block amounts" stageEditorSetBlockDurability: "Set block durabilities" @@ -258,30 +258,29 @@ stageEditorDelayCleared: "Delay cleared." stageEditorDenizenCleared: "Denizen script cleared." stageEditorObjectiveCleared: "Objective cleared." stageEditorMessageCleared: "Message cleared." -stageEditorConfirmStageNote: "Any Stages after will be shifted back one spot" +stageEditorConfirmStageNote: "Any stages after will be shifted back one spot" stageEditorDeleteSucces: "Stage deleted successfully." stageEditorEnchantments: "Enchantments" stageEditorNPCNote: 'Note: You may specify the name of the NPC with ' stageEditorOptional: "Optional" stageEditorColors: "Sheep Colors" -eventEditorCreate: "Create new Action" -eventEditorEdit: "Edit an Action" -eventEditorDelete: "Delete an Action" -eventEditorNoneToEdit: "No Actions currently exist to be edited!" -eventEditorNoneToDelete: "No Actions currently exist to be deleted!" +eventEditorCreate: "Create new action" +eventEditorEdit: "Edit an action" +eventEditorDelete: "Delete an action" +eventEditorNoneToEdit: "No actions currently exist to be edited!" +eventEditorNoneToDelete: "No actions currently exist to be deleted!" eventEditorNotFound: "Action not found!" eventEditorExists: "Action already exists!" -eventEditorSomeone: "Someone is already creating or editing an Action with that name!" +eventEditorSomeone: "Someone is already creating or editing an action with that name!" eventEditorAlpha: "Name must be alphanumeric!" -eventEditorErrorReadingFile: "Error reading Actions file." eventEditorErrorSaving: "An error occurred while saving." -eventEditorDeleted: "Action deleted, Quests and Actions reloaded." -eventEditorSaved: "Action saved, Quests and Actions reloaded." +eventEditorDeleted: "Action deleted. Quest and action data reloaded." +eventEditorSaved: "Action saved. Quest and action data reloaded." eventEditorEnterEventName: "Enter Action name, " -eventEditorModifiedNote: 'Note: You have modified an Action that the following Quests use:' -eventEditorForcedToQuit: "If you save the Action, anyone who is actively doing any of these Quests will be forced to quit them." -eventEditorEventInUse: "The following Quests use the Action" -eventEditorMustModifyQuests: "You must modify these Quests first!" +eventEditorModifiedNote: 'Note: You have modified an action that the following quests use:' +eventEditorForcedToQuit: "If you save the action, anyone who is actively doing any of these quests will be forced to quit them." +eventEditorEventInUse: "The following quests use the action" +eventEditorMustModifyQuests: "You must modify these quests first!" eventEditorNotANumberList: "Input was not a list of numbers!" eventEditorGiveItemsTitle: "- Give Items -" eventEditorEffectsTitle: "- Sound Effects -" @@ -396,11 +395,11 @@ eventEditorSetTeleportPrompt: "Right-click on a block to teleport the player to, eventEditorCommandsNote: "Note: You may use to refer to the player's name." eventEditorSetCommandsPrompt: "Enter commands, , , " reqSetMoney: "Set money requirement" -reqSetQuestPoints: "Set Quest Points requirement" +reqSetQuestPoints: "Set requirement" reqSetItem: "Set item requirements" reqSetPerms: "Set permission requirements" -reqSetQuest: "Set Quest requirements" -reqSetQuestBlocks: "Set Quest blocks" +reqSetQuest: "Set quest requirements" +reqSetQuestBlocks: "Set quest blocks" reqSetMcMMO: "Set mcMMO Classic requirements" reqSetHeroes: "Set Heroes requirements" reqSetCustom: "Set custom requirements" @@ -409,9 +408,9 @@ reqSetSkillAmounts: "Set skill amounts" reqHeroesSetPrimary: "Set Primary Class" reqHeroesSetSecondary: "Set Secondary Class" reqMoneyPrompt: "Enter amount of , , " -reqQuestPointsPrompt: "Enter amount of Quest Points, , " +reqQuestPointsPrompt: "Enter amount of , , " reqQuestListTitle: "- Quests Available -" -reqQuestPrompt: "Enter a list of Quest names, , , " +reqQuestPrompt: "Enter a list of quest names, , , " reqRemoveItemsPrompt: "Enter a list of true/false values, , " reqPermissionsPrompt: "Enter permission requirements, , , " reqCustomPrompt: "Enter the name of a custom requirement to add, , " @@ -425,7 +424,7 @@ reqNoItemsSet: "No items set" reqNoValuesSet: "No values set" reqHeroesPrimaryDisplay: "Primary Class:" reqHeroesSecondaryDisplay: "Secondary Class:" -reqNotAQuestName: " is not a Quest name!" +reqNotAQuestName: " is not a quest name!" reqItemCleared: "Item requirements cleared." reqCustomAlreadyAdded: "That custom requirement has already been added!" reqCustomNotFound: "Custom requirement module not found." @@ -459,7 +458,7 @@ optUsePartiesPlugin: "Use Parties plugin" optShareProgressLevel: "Level of progress sharing" optRequireSameQuest: "Require same quest" rewSetMoney: "Set money reward" -rewSetQuestPoints: "Set Quest Points reward" +rewSetQuestPoints: "Set reward" rewSetItems: "Set item rewards" rewSetExperience: "Set experience reward" rewSetCommands: "Set command rewards" @@ -480,7 +479,7 @@ rewExperiencePrompt: "Enter amount of experience, , " rewCommandPrompt: "Enter command rewards (use '' to represent the player), , , " rewPermissionsPrompt: "Enter permission rewards, , , " rewPermissionsWorldPrompt: "Enter permission worlds, , , " -rewQuestPointsPrompt: "Enter amount of Quest Points, , " +rewQuestPointsPrompt: "Enter amount of , , " rewMcMMOPrompt: "Enter mcMMO Classic skills (or enter 'All' for all skills), , " rewHeroesClassesPrompt: "Enter Heroes classes, , " rewHeroesExperiencePrompt: "Enter experience amounts (numbers, decimals are allowed), , " @@ -538,8 +537,8 @@ questObjectivesTitle: "---()---" questCompleteTitle: '**QUEST COMPLETE: **' questRewardsTitle: "Rewards:" questFailed: "*QUEST FAILED*" -questMaxAllowed: "You may only have up to Quests." -questAlreadyOn: "You are already on that Quest!" +questMaxAllowed: "You may only have up to quests." +questAlreadyOn: "You are already on that quest!" questTooEarly: "You may not take again for another