Plugin category: General Suggested name: JoinItems What I want: I'd like a plugin where when a player joins they will get certain item(s) specified in the config with a custom name and lore and slot it will be assigned to. When they die they keep the items in the same slot same name same lore everything the same. Also I would like it that they cant drop or move the item from the slot it was first on. Ideas for commands: No commands needed for this plugin. Ideas for permissions: None When I'd like it by: As soon as possible
Essentials has spawn kits, maybe you could fiddle with it so that on death it gives you a kit again. Do you want the items to be unbreakable?(when you die the durability, if any, is reset) Or would you like the items(if they have a durability) to break and never come back after that point? Items with durability would be armor or tools.
Yes, there will be NO way possible to remove it from your inventory, and even if they do they will get it back on rejoin or death. I would like it that the durability wont even go down
http://dev.bukkit.org/bukkit-plugins/death-kits/ This is basically what you want. If you find this to not be good enough I could build you a custom plugin.
That's when they die however I still need that they cant drop or move the item from their inventory, also I would like it that the items are in certain slots, and it wont work with this.
http://dev.bukkit.org/bukkit-plugins/custom-join-items/ i believe this is what you are looking for m8. Has a config, you can allow them to drop/not drop items with in the config, define items with in the config and be able to give the player the items on death. Enjoy! PS: not made by me(obviously )
Verringer Code:java @EventHandler public void onPlayerJoin(PlayerJoinEvent event) { int item = getConfig().getInt("item", item here); event.getPlayer().getInventory().addItem(new ItemStack(item)); } And maybe set configurable? xD That code is from my JoinClock plugin
I have tried everything for this however it dosent work, I tried using the default config items on a no plugin server ( besides the slot lock plugin ) and it still dosent work