ArmorPerms
Description
ArmorPerms is an extremely lightweight plugin that allows you to control who can wear what types of armor by using permissions nodes.
Configuration
You can configure which item id's will be checked and which won't.
# ArmorPerms v1.0 Config ArmorIDs to check: - 310 - 311 - 312 - 313
Permissions
armorperms.helmet armorperms.chestplate armorperms.leggings armorperms.boots armorperms.wear.<material>
(For instance: armorperms.wear.DIAMOND_HELMET or armorperms.wear.GOLD_HELMET)
All of the permissions are defaulted to op.
The materials are:
- DIAMOND
- GOLD
- CHAINMAIL
- IRON
- LEATHER
Just remember that it's case-sensitive.
Confirmed that this is NOT true if you are using PermissionsEX. Not sure about other permissions managers though.
ChangeLog
- v2.3 - Rebuilt with latest Bukkit. - Should work now...
- v2.0 - Updated for 1.3.1, Hopefully fixed errors with some Linux-based servers
- v1.0 - Initial Release
Important Notes
Source on GitHub
So I've been testing this recently and I tried changing all the armor perms to default true and resave the file. However, when I start the server and use the - -armorperms.armorhere command it will not enforce it. Any suggestions?
very nice plugin thank you so much for making it and keeping it updated!
@imaapseudonym
Good to hear!
@kdude63
yes my mistake haha. All is working well I think!
@imaapseudonym
I was gonna say... :)
Nevermind: I didn't update plugin oops
as the actual perms part is working correctly (I can limit the armor use at will), i would say yes that i have them correct. However there are no errors in any log. The armor just will not stay on after second log in after a reset. I sure wish i wasnt the only one having this problem.
@Mavhill
Are you sure you set the right permissions as they are defaulted off? :D
@Mavhill
If it doesn't turn up any errors I can't help. :/
(Not that I wouldn't if I could, I just don't know.)
Hey when i install this for either 1.25 or 1.3, your armor pops off even with the correct perms, but only after your second log on after a server reset. (The first time after a server reset is the only time your armor stays on.) Any suggestions?
Thank you!
I will test it soon. Currently just leaving plugins as is until 1.3 bukkit RB releases I think though
@imaapseudonym
I believe I've fixed it. Tell me if it still doesn't work. :)
@kdude63
Ohhh maybe that's it then. My home server runs on windows enterprise so maybe that's why it works there :]
@imaapseudonym
I feel like such a noob. lol........ I found this: http://forums.bukkit.org/threads/unacceptable-character-0xfffd-special-characters-are-not-allowed.68722/ Apparently it only happens on some Linux systems. The majority of hosts run on linux, and I never tested my plugin on Linux. >_< It seems to be flipping out over the "ยง" in the config. Hm. It IS a valid UTF-8 Character... I'll see what I can do.
Here ya go. my host is running java 7. This works perfectly fine on my home server but not on my rented server. So I'm not sure what's up there. Here's the list of errors.
http://pastebin.com/anyGfQp3
@imaapseudonym
Can I have a full log of the errors?
This worked fine on my home server but now I am getting errors similar to what tobias2508 was having for some reason. This is a server hosting company so I'm not sure why it would work on my home server but not the company.
@imaapseudonym
Open ArmorPerms.jar with your archive manager of choice, and edit the plugin.yml.
Just change the defaults to true.
can you make the permissions default to true?
@kdude63
hmmm okay... ill have a look into something
Toby