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.
@DoloStar
There is already a language.yml file where thing such as event types, powers, miscellaneouses, cooldowns etc. can be set.
Hey,will you make a language.yml to custom all command, misc and power display? Because I think there will be other languages use this plugin.
@DoloStar
Custom fire/poison duration can be accomplished with /mi addpower <ItemIdentifier> <EventType> fire <duration in ticks> and /mi addpower <ItemIdentifier> <EventType> potioneffect poison <duration in ticks> <amplifier>. The others are good ideas and will be looked at, thank you. The bug for throw has been fixed in upcoming version. Thanks for pointing out!
@linghun91
It should work. 20 attack speed is the default. The attackspeed will not work if the mob/player dies in one hit. The attack speed is seperate for each player.
attackspeed no work
I found a bug; Cooldown for throw affected attack, for example:"throw 6 10 100" the cooldown is 10 not 100,same damage. I dont know just this power have this bug or have other
So cool for Update! I have some new ideas:D Can you set it can custom poison/fire Duration,damage per second and can set decrease Number of damage? And you can add experience bonus when you kill designated monster,also damage bonus(Designated monster). And can you add Sunder(Ignore armor) and Stun in Miscellaneous?
@moritz3000
If it is the same bug as OficialSaciDepatinete it will be fixed in the next version.
@OficialSaciDePatinete
Thank you for pointing out! A quick reload/restart will fix this problem, but the bug has been fixed in the upcoming version.
@DoloStar
The power Command gives the player OP while using the command, so do not worry. All these things you've mentioned are bugs and will be looked at. Thanks for pointing out!
Can you set Command(Power) can ignoring that command permissions? And when i use [/mi lore xx 1 xxx] its ok,but if i want change lore,it will add text to next line not change text of line 1 And can you hide Damage when set 0?
Khave, i use Spigot 1.8 and get the following error when I try to add power to an item: Unexpected exception while parsing console command "mi addpower Test Throw" org.bukkit.command.CommandException: Unhandled exception executing command 'mi' in plugin MoreItems v0.5.3 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) [Spigot_1.8.jar:git-Spigot-29dbaa7-262c777] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) [Spigot_1.8.jar:git-Spigot-29dbaa7-262c777] at org.bukkit.craftbukkit.v1_8_R1.CraftServer.dispatchCommand(CraftServer.java:642) [Spigot_1.8.jar:git-Spigot-29dbaa7-262c777] at org.bukkit.craftbukkit.v1_8_R1.CraftServer.dispatchServerCommand(CraftServer.java:628) [Spigot_1.8.jar:git-Spigot-29dbaa7-262c777] at net.minecraft.server.v1_8_R1.DedicatedServer.aM(DedicatedServer.java:353) [Spigot_1.8.jar:git-Spigot-29dbaa7-262c777] at net.minecraft.server.v1_8_R1.DedicatedServer.z(DedicatedServer.java:317) [Spigot_1.8.jar:git-Spigot-29dbaa7-262c777] at net.minecraft.server.v1_8_R1.MinecraftServer.y(MinecraftServer.java:623) [Spigot_1.8.jar:git-Spigot-29dbaa7-262c777] at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:526) [Spigot_1.8.jar:git-Spigot-29dbaa7-262c777] at java.lang.Thread.run(Unknown Source) [?:1.8.0_60] Caused by: java.lang.ExceptionInInitializerError at me.khave.moreitems.Commands.AddPower.onCommand(AddPower.java:38) [?:?] at me.khave.moreitems.Managers.CommandManager.onCommand(CommandManager.java:84) [?:?] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [Spigot_1.8.jar:git-Spigot-29dbaa7-262c777] ... 8 more Caused by: java.lang.NullPointerException at org.bukkit.ChatColor.translateAlternateColorCodes(ChatColor.java:210) [Spigot_1.8.jar:git-Spigot-29dbaa7-262c777] at me.khave.moreitems.Managers.LanguageConfigManager.getMessage(LanguageConfigManager.java:63) [?:?] at me.khave.moreitems.Commands.EventType.<clinit>(EventType.java:11) [?:?] at me.khave.moreitems.Commands.AddPower.onCommand(AddPower.java:38) [?:?] at me.khave.moreitems.Managers.CommandManager.onCommand(CommandManager.java:84) [?:?] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [Spigot_1.8.jar:git-Spigot-29dbaa7-262c777] ... 8 more
I don't know what i have done wrong but even the newest version shows me the same internal error. Pls help me :D
@DoloStar
Life recovery rate can be accomplished with a potioneffect of regeneration. The others are good ideas. I will look into it. Thank you for the suggestions!
Really looking forward to the next version! But I have a question,will you add some lores? For example: Dodge,Block,Life recovery rate,Rebound chance(because thorns enchant always trigger effect) And Can you make it can set trigger chance when use Hold(EventTypes)
@linghun91
This bug has been fixed in the latest verion (B: v0.5.3). MySQL might be added, but it is not a priority. Simply copying the items.yml file to your other server will make it work. Attack speed should work. If you have any errors on it, please post them.
@DoloStar
A backstab and attack range has been added for the next update. Look forward to it!
Can you make backstab effect and make it can set Attack distance? I like thic plugin,so cool!
i can make a this plugin video
can you support mysql
have a bug
attackspeed notwork
[05:26:28] [Server thread/INFO]: linghun91 issued server command: /mi setlevel 圣剑 1 [05:26:28] [Server thread/ERROR]: null org.bukkit.command.CommandException: Unhandled exception executing command 'mi' in plugin MoreItems v0.5.2 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) [craftbukkit.jar:git-PaperSpigot-25a137f-53fac9f] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) [craftbukkit.jar:git-PaperSpigot-25a137f-53fac9f] at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:641) [craftbukkit.jar:git-PaperSpigot-25a137f-53fac9f] at net.minecraft.server.v1_8_R3.PlayerConnection.handleCommand(PlayerConnection.java:1165) [craftbukkit.jar:git-PaperSpigot-25a137f-53fac9f] at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:1000) [craftbukkit.jar:git-PaperSpigot-25a137f-53fac9f] at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:45) [craftbukkit.jar:git-PaperSpigot-25a137f-53fac9f] at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:1) [craftbukkit.jar:git-PaperSpigot-25a137f-53fac9f] at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [craftbukkit.jar:git-PaperSpigot-25a137f-53fac9f] at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.7.0_80] at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.7.0_80] at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [craftbukkit.jar:git-PaperSpigot-25a137f-53fac9f] at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:771) [craftbukkit.jar:git-PaperSpigot-25a137f-53fac9f] at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:378) [craftbukkit.jar:git-PaperSpigot-25a137f-53fac9f] at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:710) [craftbukkit.jar:git-PaperSpigot-25a137f-53fac9f] at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:613) [craftbukkit.jar:git-PaperSpigot-25a137f-53fac9f] at java.lang.Thread.run(Unknown Source) [?:1.7.0_80] Caused by: java.lang.NullPointerException at net.md_5.bungee.api.ChatColor.translateAlternateColorCodes(ChatColor.java:169) [craftbukkit.jar:git-PaperSpigot-25a137f-53fac9f] at me.khave.moreitems.Managers.LanguageConfigManager.getMessage(LanguageConfigManager.java:63) [?:?] at me.khave.moreitems.Managers.ItemManager.setupItem(ItemManager.java:70) [?:?] at me.khave.moreitems.Managers.ItemManager.giveItemAtInt(ItemManager.java:808) [?:?] at me.khave.moreitems.Managers.ItemManager.updateItemForPlayer(ItemManager.java:853) [?:?] at me.khave.moreitems.Managers.ItemManager.updateItemForPlayers(ItemManager.java:862) [?:?] at me.khave.moreitems.Managers.ItemManager.setLevel(ItemManager.java:247) [?:?] at me.khave.moreitems.Commands.SetLevel.onCommand(SetLevel.java:35) [?:?] at me.khave.moreitems.Managers.CommandManager.onCommand(CommandManager.java:84) [?:?] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [craftbukkit.jar:git-PaperSpigot-25a137f-53fac9f] ... 15 more
@moritz3000
Thank you. I see the problem. It's a Bukkit compatability problem. Thank you for pointing it out! Check back for a new version soon.
I have the same Problem with adding powers to Items(same message "A internal error..." even in the newest version).The error also appears when i try to ust /mi list and having an item with powers in my item.yml
My server logs might help:
[15:51:17] [Server thread/INFO]: moritz300 issued server command: /mi addpower sword hold potioneffect speed 200 2 [15:51:17] [Server thread/ERROR]: null org.bukkit.command.CommandException: Unhandled exception executing command 'mi' in plugin MoreItems v0.5.2 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) [craftbukkit_server.jar:git-Bukkit-53fac9f] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:140) [craftbukkit_server.jar:git-Bukkit-53fac9f] at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:620) [craftbukkit_server.jar:git-Bukkit-53fac9f] at net.minecraft.server.v1_8_R3.PlayerConnection.handleCommand(PlayerConnection.java:1106) [craftbukkit_server.jar:git-Bukkit-53fac9f] at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:966) [craftbukkit_server.jar:git-Bukkit-53fac9f] at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(SourceFile:37) [craftbukkit_server.jar:git-Bukkit-53fac9f] at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(SourceFile:9) [craftbukkit_server.jar:git-Bukkit-53fac9f] at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [craftbukkit_server.jar:git-Bukkit-53fac9f] at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.7.0_79] at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.7.0_79] at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [craftbukkit_server.jar:git-Bukkit-53fac9f] at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:672) [craftbukkit_server.jar:git-Bukkit-53fac9f] at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:335) [craftbukkit_server.jar:git-Bukkit-53fac9f] at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:628) [craftbukkit_server.jar:git-Bukkit-53fac9f] at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:536) [craftbukkit_server.jar:git-Bukkit-53fac9f] at java.lang.Thread.run(Unknown Source) [?:1.7.0_79] Caused by: java.lang.NoClassDefFoundError: net/md_5/bungee/api/ChatColor at me.khave.moreitems.Managers.LanguageConfigManager.getMessage(LanguageConfigManager.java:63) [?:?] at me.khave.moreitems.Commands.EventType.<clinit>(EventType.java:11) [?:?] at me.khave.moreitems.Commands.AddPower.onCommand(AddPower.java:38) [?:?] at me.khave.moreitems.Managers.CommandManager.onCommand(CommandManager.java:84) [?:?] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [craftbukkit_server.jar:git-Bukkit-53fac9f] ... 15 more Caused by: java.lang.ClassNotFoundException: net.md_5.bungee.api.ChatColor at java.net.URLClassLoader$1.run(Unknown Source) [?:1.7.0_79] at java.net.URLClassLoader$1.run(Unknown Source) [?:1.7.0_79] at java.security.AccessController.doPrivileged(Native Method) [?:1.7.0_79] at java.net.URLClassLoader.findClass(Unknown Source) [?:1.7.0_79] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:77) [craftbukkit_server.jar:git-Bukkit-53fac9f] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:62) [craftbukkit_server.jar:git-Bukkit-53fac9f] at java.lang.ClassLoader.loadClass(Unknown Source) [?:1.7.0_79] at java.lang.ClassLoader.loadClass(Unknown Source) [?:1.7.0_79] at me.khave.moreitems.Managers.LanguageConfigManager.getMessage(LanguageConfigManager.java:63) [?:?] at me.khave.moreitems.Commands.EventType.<clinit>(EventType.java:11) [?:?] at me.khave.moreitems.Commands.AddPower.onCommand(AddPower.java:38) [?:?] at me.khave.moreitems.Managers.CommandManager.onCommand(CommandManager.java:84) [?:?] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [craftbukkit_server.jar:git-Bukkit-53fac9f] ... 15 more
@OficialSaciDePatinete
Can you please post the error log?
Have you tried restarting the server and deleting the plugin and then adding a newer version?
EDIT: Having 2 versions of MoreItems installed will also cause this bug.
Khave, in recent versions of the plugin, when I try to add power to the item, I always get the message "A internal error ocurred while asttempting to perfome this command"