MoreItems
MoreItems is a custom items plugin which will enhance your Role-Playing server to the max! The possibilities are endless. It is designed for server who want to add extra special items into the game. Be it items with special powers, RPG items, or just random every day items! If you are looking for a custom items plugin and you can't find any that are updated look no further. MoreItems has all you would want and more!
If you plan to use powers I suggest using Magicspells. It is a very good plugin for spells.
MoreItems! Enhance your server's RPG experience!
Features
- Endless possibilities!
- Create items with custom lore, names, material, itemflags, damage, armor and much more!
- Built in Recipe Manager meaning you can make recipes for the cool items you make. The ingredients can be MoreItems items too!
- Custom powers with cooldowns!
- Works for armor, swords and bows. You can give extra damage and powers to everything!
- You can enchant your items too!
- Custom mob and block drops! MythicMobs supported!
- Automatic Updating! You do NOT need to give the item to players after updating it!
- Custom join items!
- RPGInventory support! Check the plugin out!
- Import your items from RPGItems!
- Supports 1.8.x!
Commands
- /mi - Main command of MoreItems
- /mi create <Item Identifier> - Create an item. The item identifier is the name which you will identify the item as.
- /mi give <OPTIONAL: Item Identifier> <OPTIONAL: player> - Give yourself or a player an item. Write without any args to bring forth a GUI.
- /mi name <Item Identifier> <Name> - Set an item's name.
- /mi material <Item Identifier> <Material> - Set an item's material.
- /mi lore <Item Identifier> <Line> <OPTIONAL: Lore> - Set the description for an item. Write no lore for an empty line.
- /mi delline <Item Identifier><Line> - Delete a line in the lore.
- /mi durability <Item Identifier> <Durability/infinite> - Set the durability of an item. Write infite to get unbreakable (only if using Spigot)
- /mi enchant <OPTIONAL: Item Identifier> <Enchantment> <Level> - Add an enchantment to an item. Write without any args to bring forth a GUI.
- /mi additemflag <OPTIONAL: Item Identifier> <ItemFlag> - Add an itemflag. Write without any args to bring forth a GUI.
- /mi removeitemflag <Item Identifier> <ItemFlag> - Remove and itemflag
- /mi damage <Item Identifier> <minimum damage> <maximum damage> - Sets the damage range of an item. Set both minimum and maximum for an absolute damage.
- /mi armor <Item Identifier> <Armor> - Set an armor piece's armor rating. This is in percentage so if you write 20 it'll shield 20% of all damage. If more items are worn then the percentage will stack. For example a chest with 20% and a helmet with 10% will give 30% damage reduction.
- /mi list - List all MoreItems items
- /mi addpower <Item Identifier> <EventType> <Power> <Args> - Add a power
- /mi removepower <Item Identifier> <Power> - Remove a power
- /mi recipe <Item Identifier> <Shaped/Furnace> - Shaped: Will open the an inventory where you can place items in a 9x9 grid to the left hand side. When you move out of the window the crafting recipe will be set. Furnace: Will open a furnace inventory where you can place an item to be smelted for the item to pop out.
- /mi removerecipe <Item Identifier> - Quickly remove a recipe if you made a mistake. You might need to reload the server.
- /mi removeitem <Item Identifier> - Delete an item forever!
- /mi adddrops <Item Identifier> <Entity> <Chance> - Make the entity drop your item a percentage amount of time!
- /mi removedrops <Item Identifier> <Entity> - Remove the drop from the specified entity
- /mi addblockdrops <Item Identifier> <Block> <Chance> - Make an item drop from a block!
- /mi removeblockdrops <Item Identifier> <Block> - Remove an item from the block drop list
- /mi requirepermission <Item Identifier> <true/false> - Default is set to false. If you set this to true then your item can only be used if the player has the permission moreitems.use.<Item Identifier>
- /mi setlevel <Item Identifier> <Level> - Set the minimum required experience level to use this item!
- /mi addattribute <Item Identifier> <Attribute> <Args> - Add an attribute
- /mi removeattribute <Item Identifier> <Attribute> - Remove an attribute
- /mi setcolor <Item Identifier> <HEX value> - Set an item's colour. Find the colours here under Color Code
- /mi import - Import all items from RPGItems
- /mi show - Shows the Item Identifier of the item you're holding
- /mi displaydescription <Item Identifier> <true/false> - Set an item to display it's powers and attributes or not!
Permissions
- MoreItems.use - The ability to create MoreItems
- MoreItems.use.<Item Identifier> - If itemsRequirePermission is set to true or the item is said to require permission then this is the permission node for it.
Config
You can either create items via commands or you can do it in bulk via the items.yml. An example of an item from the items.yml would be:
shovel: Material: IRON_SPADE Name: '&cShovel Of Doom' minDamage: 12 maxDamage: 22 Powers: - PotionEffect_HOLD-SPEED_200_1 - PotionEffect_HOLD-JUMP_100_3 Lore: - Its a shovel mate ItemFlags: - HIDE_ATTRIBUTES
This is the config.yml:
timerInterval: 1 #This is how often the plugin should check for the hold event type. displayPowersInDescription: true #If you want powers to not be displayed in the lore then write false displayCooldown: true #If you want cooldowns to be displayed to the user. This might be a good idea to turn off if there are more powers on one item itemsRequirePermission: false #If all items require permission. If this is set to true then the node is moreitems.use.<Item Identifier> joinItems: #A list of items that the player will receive when joining for the first time ever. - someItem
Powers, EventTypes & Attributes
Click Here to see a list of powers, event types and miscellaneous'
Tutorials
Creating items via the in-game commands might become tedious if you want a lot of similiar items, so use the config for that. If you're creating individual items, I'd suggest using the in-game commands.
- Click Here to see a short tutorial about creating a basic item via in-game commands!
- Click Here to see a tutorial about creating items via the config.
API
Click here to see how to use the API side of MoreItems. With this you can create custom powers and custom items via Java.
Milestones
- 100 Downloads - Thank you for 100 downloads within the first week too! Appreciate the support.
- 500 Downloads - 500 downloads in the first week. I can't believe it haha! Thank you very much.
- 1000 Downloads - Wow, thank you very much!
Donate
If you wish to donate you can do so Here. Thanks in advance!
If you have any questions feel free to ask.
I ran into a few issues when trying to create items using the config instead of in-game commands. To make sure that I was following the right syntax, I created 2-3 of the items with commands so that they would show up in the items.yml. Then from there I went ahead and copy/pasted them and edited them as to not be the same as the first 2-3 created. *Before anyone asks YES I did make sure that things were literally the same between items*
Even though the items I created follow the EXACT same syntax as the ones created with commands the plugin shoots an error and won't function. I tried fixing/editing almost everything about the items.yml that I thought could be the cause to no avail. I also tried making a version of an item made through the config with the same name/id/lore/attributes/damage with commands and then compared them to see that they were the same. I read your tutorial on creating items with the items.yml and see no reason why my items aren't showing up.
craftbukkit version is git-bukkit-b103841 (MC: 1.9.2) (Implementing API version 1.9.2-R0.1 SNAPSHORT) Moreitems version 2.0.2-FIXED
It does shoot an error to the server when trying to startup but i believe its just due to it not being able to recognise the items.yml. If you would like to see the error i can post it. Thanks for your time broooo
Hi guys..
I have little problem with armor... I set diamond armor with 6%,6%,10%,6% and leather armor with 10%,10%,10%,10%. but diamond armor is still better than leather... I tried use own items, from plugin, but armor havn't any effect...
Dagger with 4-5dmg took 2-2,5 heart with leather armor (4x 10%)... It is same with mobs... Armor settings from plugin havn't any effect on them... Isn't it bug?
Spigot: 1.8.7
Hi khave, I really love this plugin but I've got a few questions.
Is there anyway to set custom item files instead of it being all in one file? I've already added 135 items and it can be a pain to sort though one single file.
Also as other people have stated the attack speed doesn't seem to be working properly or at all, assuming I'm using it correctly.
Lastly is there a way to set a min and max range? I've noticed that with range it will only with within the default range or at the set range, nothing in between.
So if I have a longsword with a range of 6 it will hit at the distance of 6, but not 5 or 4, then the default range of 3~
Something I just found out, if any custom enchantments are added to the weapon or armor it completely removes all the information stored in the weapon and just becomes the basic item with the added custom enchantment. Is there anywhere to add custom enchantments to the weapons, I'm currently using Custom Enchantments by Taiterio.
For example; I have a sword with 100 damage, then I add the custom enchant Headless (Causes heads to drop) it removes the 100 damage and goes to the base damage of the sword. All the lore and name is still there, just no effects.
@khave:
Admin , Attr - - -> speed , It is not working , Fix now please.
Could you update it to 1.9 please
@nashoxx
Could you tell me your Spigot version, MoreItems version and post the console log in a pastebin?
Okay I give up. This plugin is completely broken. The items.yml doesn't reload. It goes blank, the editions you make to an item don't appear in the items.yml; errors at every command.... I'll just use another thing.
18.04 12:29:22 [Server] WARN [MoreItems] Task #28 for MoreItems v2.0.2 generated an exception 18.04 12:29:22 [Server] INFO java.lang.IllegalArgumentException: effect type cannot be null 18.04 12:29:22 [Server] INFO at org.apache.commons.lang.Validate.notNull(Validate.java:192) [Spigot.jar:git-Spigot-db6de12-18fbb24] 18.04 12:29:22 [Server] INFO at org.bukkit.potion.PotionEffect.<init>(PotionEffect.java:42) [Spigot.jar:git-Spigot-db6de12-18fbb24] 18.04 12:29:22 [Server] INFO at org.bukkit.potion.PotionEffect.<init>(PotionEffect.java:60) [Spigot.jar:git-Spigot-db6de12-18fbb24] 18.04 12:29:22 [Server] INFO at org.bukkit.potion.PotionEffect.<init>(PotionEffect.java:72) [Spigot.jar:git-Spigot-db6de12-18fbb24] 18.04 12:29:23 [Server] INFO at me.khave.moreitems.Item.Powers.PotionEffectSelf.potionEffectSelf(PotionEffectSelf.java:128) [?:?] 18.04 12:29:23 [Server] INFO at me.khave.moreitems.Item.Powers.PotionEffectSelf.powerEffectHold(PotionEffectSelf.java:102) [?:?] 18.04 12:29:23 [Server] INFO at me.khave.moreitems.Item.Powers.PowerManager.powerHold(PowerManager.java:153) [?:?] 18.04 12:29:23 [Server] INFO at me.khave.moreitems.MoreItems$1.run(MoreItems.java:86) [?:?] 18.04 12:29:23 [Server] INFO at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:71) [Spigot.jar:git-Spigot-db6de12-18fbb24] 18.04 12:29:23 [Server] INFO at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350) [Spigot.jar:git-Spigot-db6de12-18fbb24] 18.04 12:29:23 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:723) [Spigot.jar:git-Spigot-db6de12-18fbb24] 18.04 12:29:23 [Server] INFO at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [Spigot.jar:git-Spigot-db6de12-18fbb24] 18.04 12:29:23 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [Spigot.jar:git-Spigot-db6de12-18fbb24] 18.04 12:29:23 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [Spigot.jar:git-Spigot-db6de12-18fbb24] 18.04 12:29:23 [Server] INFO at java.lang.Thread.run(Unknown Source) [?:1.8.0_71] 18.04 12:29:23 [Server] WARN java.lang.NumberFormatException: For input string: "VISION" 18.04 12:29:23 [Server] WARN at java.lang.NumberFormatException.forInputString(Unknown Source) 18.04 12:29:23 [Server] WARN at java.lang.Integer.parseInt(Unknown Source) 18.04 12:29:23 [Server] WARN at java.lang.Integer.parseInt(Unknown Source) 18.04 12:29:23 [Server] WARN at me.khave.moreitems.Managers.Utils.getInt(Utils.java:164) 18.04 12:29:23 [Server] WARN at me.khave.moreitems.Item.Powers.PotionEffectSelf.potionEffectSelf(PotionEffectSelf.java:128) 18.04 12:29:23 [Server] WARN at me.khave.moreitems.Item.Powers.PotionEffectSelf.powerEffectHold(PotionEffectSelf.java:102) 18.04 12:29:23 [Server] WARN at me.khave.moreitems.Item.Powers.PowerManager.powerHold(PowerManager.java:153) 18.04 12:29:23 [Server] WARN at me.khave.moreitems.MoreItems$1.run(MoreItems.java:86) 18.04 12:29:23 [Server] WARN at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:71) 18.04 12:29:23 [Server] WARN at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350) 18.04 12:29:23 [Server] WARN at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:723) 18.04 12:29:23 [Server] WARN at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) 18.04 12:29:23 [Server] WARN at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) 18.04 12:29:23 [Server] WARN at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) 18.04 12:29:23 [Server] WARN at java.lang.Thread.run(Unknown Source) 18.04 12:29:23 [Server] WARN [MoreItems] Task #28 for MoreItems v2.0.2 generated an exception 18.04 12:29:23 [Server] INFO java.lang.IllegalArgumentException: effect type cannot be null 18.04 12:29:23 [Server] INFO at org.apache.commons.lang.Validate.notNull(Validate.java:192) [Spigot.jar:git-Spigot-db6de12-18fbb24] 18.04 12:29:23 [Server] INFO at org.bukkit.potion.PotionEffect.<init>(PotionEffect.java:42) [Spigot.jar:git-Spigot-db6de12-18fbb24] 18.04 12:29:23 [Server] INFO at org.bukkit.potion.PotionEffect.<init>(PotionEffect.java:60) [Spigot.jar:git-Spigot-db6de12-18fbb24] 18.04 12:29:23 [Server] INFO at org.bukkit.potion.PotionEffect.<init>(PotionEffect.java:72) [Spigot.jar:git-Spigot-db6de12-18fbb24] 18.04 12:29:23 [Server] INFO at me.khave.moreitems.Item.Powers.PotionEffectSelf.potionEffectSelf(PotionEffectSelf.java:128) [?:?] 18.04 12:29:23 [Server] INFO at me.khave.moreitems.Item.Powers.PotionEffectSelf.powerEffectHold(PotionEffectSelf.java:102) [?:?] 18.04 12:29:23 [Server] INFO at me.khave.moreitems.Item.Powers.PowerManager.powerHold(PowerManager.java:153) [?:?] 18.04 12:29:23 [Server] INFO at me.khave.moreitems.MoreItems$1.run(MoreItems.java:86) [?:?] 18.04 12:29:23 [Server] INFO at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:71) [Spigot.jar:git-Spigot-db6de12-18fbb24] 18.04 12:29:23 [Server] INFO at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350) [Spigot.jar:git-Spigot-db6de12-18fbb24] 18.04 12:29:23 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:723) [Spigot.jar:git-Spigot-db6de12-18fbb24] 18.04 12:29:23 [Server] INFO at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [Spigot.jar:git-Spigot-db6de12-18fbb24] 18.04 12:29:23 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [Spigot.jar:git-Spigot-db6de12-18fbb24] 18.04 12:29:23 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [Spigot.jar:git-Spigot-db6de12-18fbb24] 18.04 12:29:23 [Server] INFO at java.lang.Thread.run(Unknown Source) [?:1.8.0_71]
18.04 11:39:41 [Server] INFO at me.khave.moreitems.Managers.FileManager.saveItem(FileManager.java:76) [?:?] 18.04 11:39:41 [Server] INFO at me.khave.moreitems.Managers.FileManager.saveItems(FileManager.java:213) [?:?] 18.04 11:39:41 [Server] INFO at me.khave.moreitems.MoreItems.onDisable(MoreItems.java:105) [?:?] 18.04 11:39:41 [Server] INFO at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:323) [Spigot.jar:git-Spigot-db6de12-18fbb24] 18.04 11:39:41 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:364) [Spigot.jar:git-Spigot-db6de12-18fbb24] 18.04 11:39:41 [Server] INFO at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:424) [Spigot.jar:git-Spigot-db6de12-18fbb24] 18.04 11:39:41 [Server] INFO at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:417) [Spigot.jar:git-Spigot-db6de12-18fbb24] 18.04 11:39:41 [Server] INFO at org.bukkit.craftbukkit.v1_8_R3.CraftServer.disablePlugins(CraftServer.java:336) [Spigot.jar:git-Spigot-db6de12-18fbb24] 18.04 11:39:41 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.stop(MinecraftServer.java:460) [Spigot.jar:git-Spigot-db6de12-18fbb24] 18.04 11:39:41 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:593) [Spigot.jar:git-Spigot-db6de12-18fbb24] 18.04 11:39:41 [Server] INFO at java.lang.Thread.run(Unknown Source) [?:1.8.0_71]
how to add enchant now?cant use '_'
bug: if have weapon1 and weapon2 then you modify weapon1's material,weapon2 will follow modify together
@khave
Awesome, I'm glad that it helped. Also I plan on adding a lot of items to my server once I get everything worked out the way that I want and is there any way that I can create separate YML files for each type? Like itemsWeapons.yml itemsArmor.yml itemsTools.tml? Also I tested the potion effects and it works like a charm, thanks a ton!
@Coltain13
Hello. Thank you for the error log. It helped me fix the bug. A new version should be out soon, it just needs to get accepted.
The potion effect powers have been renamed and will be updated (sorry for the inconvenience):
PotionSelf and PotionTarget are the new names.
Addmin should will add Powers - - > Console.
Is it possible to completely replace block drops? I'd like Iron Ore to drop my new iron ore item instead of BOTH my custom iron ore and the vanilla iron ore.
I'd greatly enjoy this as a feature.
I like others have been having issues when closing. Here is the error[s] that I get on closing and thus not saving. Although I did get one to save I'm not really sure how and I'm unable to create them via the items.yml
Closing/Saving Error
I was also unable to get the potion effects to work, I do love this plugin though, it's amazing and once the issue with the exit saving gets worked out it'll be even better.
2 issues I am having, items do not stay saved after the server is reset. (kinda big deal) I know others are having this issue so its not just me. Second is that the potioneffecttarget and potioneffectself powers are not being recognized as existing. Thanks for working on this again, so many plugins have died recently.
@khave:
Addmin , I can't use attr speed , It is not working , Fix now admin, Thank you ^^
Bug:
Khave, I'm going to be real here. YOU MADE THE BEST PLUGIN IN THE WORLD KEEP UP THE GREAT WORK I LOVE YOU YOUR AMAZING!!!!!! <3 <3 <3
Sorry for not responding to what everyone is saying but I do read it all. Thank you for the support. All bugs that have been mentioned will be fixed in the next version. This includes things like consume power not working, setcolor not working etc.