BetterClothes
BETTER CLOTHES
This plugin is based on the dayz inventory system
This plugin allows you to make a certain piece of armor allow players to use a certain amount of columns of slots ("Chestplates" or "leggings"), you can edit each piece of armor in the config.yml (except "Chainmail").
Let me explain the config.yml:
Chestplates
- leather_chestplate: 1
This basically means that if a player wears a leather chestplate the player has 1 column of slots available.
In Game:
As you see in the screenshot I have 3 slots (1 Column) empty and the others have one glass pane in each of them Basically you can not remove those glass panes that means you can only put items in the empty slots.
- gold_chestplate: 2
This basically means that if a player wears a gold chestplate the player has 2 columns of slots available.
In Game:
As you see in the screenshot I have 6 slots (2 Columns) empty and the others have one glass pane in each of them
- diamond_chestplate: 4
This basically means that if a player wears a diamond chestplate the player has 4 columns of slots available.
In Game:
As you see in the screenshot I have 12 slots (4 Columns) empty and the others have one glass pane in each of them
- iron_chestplate: 3
This basically means that if a player wears an iron chestplate the player has 2 columns of slots available.
In Game:
So as you see there are 4 kinds of chestplates (Leather, Gold, Diamond, Iron) (Same as Leggings)
Leggings
- leather_leggings: 1
In Game:
- gold_leggings: 2
In Game:
- diamond_leggings: 4
In Game:
- iron_leggings: 3
In Game:
itemBlocker
- itemBlocker: THIN_GLASS
itemBlocker is the item that is blocking the slots that the player can't use
item Blocker Name
- ibName: ' '
ibName is the name of the itemBlocker (Type inside those ' ' whatever you want the name to be)
item Blocker Lore
- ibLore: []
ibLore is the lore of the itemBlocker (Type inside the brackets "[]" whatever you want the lore to be)
Here is an example of the config.yml:
# Configuration file for the BetterClothes Plugin By Alaa # ChestPlates leather_chestplate: 1 gold_chestplate: 2 diamond_chestplate: 5 iron_chestplate: 4 # Pants leather_leggings: 1 gold_leggings: 1 diamond_leggings: 5 iron_leggings: 4 # itemBlocker itemBlocker: THIN_GLASS # item Blocker Name ibName: ' ' # item Blocker Lore ibLore: []
Credits:
- Alaa: Coding
- Shado47: Idea
This project is made by Team Melanistic
Wondering if there is any way i can get the source code and that of u so can update and that
No longer developing the plugin
@KokeCacao
Hmm let me look into it
This plugin is awesome.BUT... There is a little bug:I can take and even use the glass block in my inventory. Bukkit 1.7.2-R0.3.
Sorry for my bad English.
Edit:We will drop them(glass) when we die.
I indeed am not dead and I am going to continue developing this plugin. Unless Shado47 is not willing to allow me. Also when I started working on the plugin I also had in mind that it should work on almost all versions of bukkit/spigot, So that is why it works now.
@chaintreactor70
This is in fact a good idea. The coder of this is no longer in Melanistic tho, but a rewrite is being done soon and then we can support effects on the items. Still, we wont release a version that supports chainmail. For reasons.
Plugin is tested working with 1.8 Spigot.
Shado47, Leader of Team Melanistic
Maybe some helmets can have night vision? So night vision goggles.
Alright
Great plugin! Is it possible to add slots with boots and helmets aswell?
Also, I suggest adding a permission to unlock all slots, without the need of armor. Useful for high ranks, and donators!
@alaaenad15
That's a great idea! Good work!
Greetings Premx :)
@delsolsi213
Alright then will do!
Suggestion, can you add it so its based on lore too? example if a chest plate has a lore that says +10 Slots, it unlocks 10 slots? would be cool to have custom named items with dif slots.