From da8a6a2c1aaf8943de17cd66ecff875cdf48401a Mon Sep 17 00:00:00 2001 From: Indyuce Date: Mon, 21 Dec 2020 23:29:00 +0100 Subject: [PATCH] Cleanup --- .../Indyuce/mmoitems/command/PluginHelp.java | 10 ++++++---- src/main/resources/config.yml | 17 ++++++++++++++++- 2 files changed, 22 insertions(+), 5 deletions(-) diff --git a/src/main/java/net/Indyuce/mmoitems/command/PluginHelp.java b/src/main/java/net/Indyuce/mmoitems/command/PluginHelp.java index eac95794..bb7a3787 100644 --- a/src/main/java/net/Indyuce/mmoitems/command/PluginHelp.java +++ b/src/main/java/net/Indyuce/mmoitems/command/PluginHelp.java @@ -65,7 +65,7 @@ public class PluginHelp { SPACE(""), HELP("mi help ", "Shows the help page."), - GIVE("mi (player) (min-max) (unident-chance) (drop-chance)", + GIVE("mi give (player) (min-max) (unident-chance) (drop-chance)", "&a/mi (player) (min-max) (unidentification-chance) (drop-chance)\\n&fGives an item to a player.\\nSupports drop chance, unidentification chance & random amounts."), GIVEALL("mi giveall ", "Gives an item to all online players on the server."), BROWSE("mi browse (type)", "Allows you to browse through all the items you created."), @@ -74,9 +74,11 @@ public class PluginHelp { DROP("mi drop ...", "&a/mi drop <[min]-[max]> \\n&fDrops an item at the target location."), HEAL("mi heal", "Heals you & remove negative potion effects."), - IDENTIFY("mi identifify", "Identifies the item you are holding."), - UNIDENTIFY("mi unidentifify", "Unidentifies the item you are holding."), - INFO("mi info (player)", "Displays information about the specified player."), + IDENTIFY("mi item identifify", "Identifies the item you are holding."), + UNIDENTIFY("mi item unidentifify", "Unidentifies the item you are holding."), + REPAIR("mi item repair", "Repairs the item you are holding."), + DECONSTRUCT("mi item deconstruct", "Deconstructs the item you are holding."), + INFO("mi debug info (player)", "Displays information about the specified player."), LIST("mi list", "Some useful things when editing items."), RELOAD("mi reload (adv-recipes/stations)", "Reloads a specific/every plugin system."), CREATE("mi create ", "Creates a new item."), diff --git a/src/main/resources/config.yml b/src/main/resources/config.yml index cc8c8050..b76391c9 100644 --- a/src/main/resources/config.yml +++ b/src/main/resources/config.yml @@ -64,6 +64,7 @@ default: item-glow: true item-upgrading: + # Display name suffix for upgraded items. name-suffix: '&f &e(+#lvl#)' @@ -83,21 +84,27 @@ item-upgrading: display-stat-changes: false soulbound: + # Edit soulbound damage when players try to use # items which are not bound to themselves. damage: base: 1 per-lvl: 1 + # Whether or not soulbound items should be # kept when a player dies. keep-on-death: true + # Whether or not soulbound item can be # dropped by the player can-drop: true + auto-bind: + # The default Soulbind level to apply # when automatically soulbinding level: 1 + # Here you can disable individual events for when # Items should automatically soulbind to the player # (Requires the 'Auto-Bind' stat to be true) @@ -205,11 +212,13 @@ game-indicators: #format: '&a&l❤ #' recipes: + # Allows you to use stack amounts for recipe ingredients. # This will enable a custom crafting system which # can cause lots of trouble. If you don't need specific # ingredient amounts then DO NOT enable this! recipe-amounts: false + # Enables the vanilla recipe book for MMOItem recipes! # THIS IS NOT COMPATIBLE WITH RECIPE AMOUNTS! use-recipe-book: true @@ -244,28 +253,32 @@ permissions: # Disables non MMOItems from being crafted in the vanilla workbench. # Add [] if the list is empty. -disable-vanilla-recipes: [ ] +disable-vanilla-recipes: [] # - DIAMOND_PICKAXE # - IRON_BLOCK # Options for the Item Revision System item-revision: + # This is the value to set the Item Level to when # items are updated by the revision system. # This can be set to -1 to use the items previous level. # Please note, that this value has no effect if # ´reroll-when-updated´ is set to true. default-item-level: -1 + # Whether or not the current tier of the item should # be carried over. # Please note, that this value has no effect if # ´reroll-when-updated´ is set to true. keep-tiers: true + # Whether the updated items should reroll stats # according to the players current level or if # they should keep the level and tier from when # the item was first generated. reroll-when-updated: false + # Whether or not specific stats should be kept # when an item is updated to latest revision. keep-data: @@ -273,10 +286,12 @@ item-revision: lore: false # Warning, this prevents stats in the lore from updating visually! enchantments: true soulbound: true + # Modifications are Gemstones and Upgrades # Please note that some stats will be unable to update # to the latest changes if you enable these. modifications: false + # Here you can disable individual events for when # Items should update when a higher revision ID is found disable-on: