[Mech/RPG] Simple Armor Permissions 1.0 - control equipping armor with permissions [953]

Discussion in 'Inactive/Unsupported Plugins' started by MojoManagement, Jun 30, 2011.

  1. Offline

    MojoManagement

    Simple Armor Permissions - permission nodes for equipping armor !
    Version: 1.0
    Requires BukkitContrib! (and Permissions of course.)

    Because I used controlling armors in my plugin Arms, I thought, I could post a lightweight plugin with only controlling armors with permissions.


    Feature(s):
    Control equipping armor with Permissions !
    You can also define custom messages in the config file.

    Permissions:
    • simplearmor.*
    • simplearmor.leather
    • simplearmor.iron
    • simplearmor.gold
    • simplearmor.chainmail
    • simplearmor.diamond
    ToDo:
    • pm me or post your suggests here !
    Download:

    Jar: Homepage
    Source: github (coming)

    Changelog:

    1.0:
    • Release
     
    Boulouk_22 and MuttsNuts like this.
  2. Offline

    Milchshakee

    If i click on download i only get a donate button^^
    And one question...how does it work on b953 if it requires bukkit contrib ?
    Bukkit contrib doesn't work for b953 now.. :D
     
  3. Offline

    MojoManagement

    Bukkit Contrib is working for 953 ;)
    You have to compile the source just on your own :)

    added jar direct link
     
  4. Offline

    Milchshakee

    Great now it works :D
    Nice work ;)
     
  5. Offline

    m0dulus

    Could you make it such that it doesn't require bukkitcontrib?
     
  6. Offline

    MojoManagement

    I dont know. I think, I cant forbid equipping,... could checking onDamage... but everyone without taking-damage events will be able to equip armor.
     
  7. Offline

    Milchshakee

    If you are running this plugin on a 1.7.2 server with 1.7.3 clients, this plugin doesn't work for some reason...can you fix it pls ? ;) I changed nothing..but on 1.7.3 everybody can't wear something.
     
  8. Offline

    MojoManagement

    still this problem? cannot reproduce it.
     
  9. Offline

    Shad

    Could you make an option for players that don't want to use BukkitContrib that destroys the armor when you put it on if you aren't allowed to wear it?


    EDIT: Ok I did my own researching with the little Java knowledge I know and I found this:
    http://jd.bukkit.org/apidocs/org/bukkit/inventory/PlayerInventory.html#getArmorContents()
    Can't you have it clear those slots and spawn the item back in their inventory if the player doesn't have the right permission nodes?
     
  10. Offline

    Milchshakee

    I get this Error:
    Code:
    2011-07-18 15:46:19 [SEVERE] Could not pass event CUSTOM_EVENT to SimpleArmorPermissions
    java.lang.NoClassDefFoundError: org/bukkitcontrib/event/inventory/InventoryClickEvent
    at de.MojoManagement.SimpleArmorPermissions.InvListener.onCustomEvent(InvListener.java:73)
    at org.bukkit.plugin.java.JavaPluginLoader$84.execute(JavaPluginLoader.java:834)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:321)
    at com.nijiko.permissions.ModularControl.storageReload(ModularControl.java:129)
    at com.nijiko.permissions.ModularControl.access$000(ModularControl.java:21)
    at com.nijiko.permissions.ModularControl$RefreshTask.run(ModularControl.java:40)
    at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
    at java.lang.Thread.run(Thread.java:636
    I think it's bukkitcontrib but i'm not sure.
     
  11. Offline

    Tim619

    Did you have permissions working correctly because people are alway having bugs with permissions for tons of reasons.
     
  12. Offline

    Milchshakee

    Ah ok now it works...i downgraded to permissions 2.7.4 :D
     
  13. Offline

    MojoManagement

    To everyone, who asks. Just get BukkitContrib for your server. It is a very cool enhancement plugin.
    It has auto-update and some other features, you do not have to spend much time to this ;)

    And: I will not continue this project anymore.
    Get ArmorKeep. It has the same and some more features now ;)
     
  14. Offline

    Milchshakee

    I've got a little Problem...
    All armors work, but if the user has the permissions - simplearmor.chainmail they can't wear chainmail armor.
    Pls help :O
     
  15. Offline

    Boulouk_22

    hi !

    Great job ! Well played and ty !

    Im wondering if you gona creat something like Simple Item Permissions, that alow admin to choose what people can wear or not... (like diamon pickaxe or diamon shovel)
     
  16. Offline

    Werzieq

    Update :)
     
  17. Offline

    zoolder101

    Does this work with the latest version?
     
  18. Offline

    rafaelf

    Link off -.-
     
  19. Offline

    vasil7112

    I recomend you to upgrade your product and make anotherone that will allow sharing items e.t.c
     
  20. Offline

    cookieman768

    I was looking for something like this so I will be the only one to wear gold pants :D
     

Share This Page