Inactive [ADMN]ItemManager v1.0.2 - Use permissions to control players' access to items.[1.2.5-R4.0]

Discussion in 'Inactive/Unsupported Plugins' started by UnluckyNinja, Jun 19, 2012.

  1. Offline

    UnluckyNinja

    ItemManager - Use permissions to control players' access to items.
    Version: v1.0.2

    Features:
    • Control players' access to items - Almost all access to making an item make effects.
    • Two modes can be chosen - Permissions will allow(mode:true) or prevent(mode:false) the behavior.You can change it in config.yml.
    Dependency:
    • A permission plugin.
    Permissions supported:
    • itemmanager.item.[itemID] - Replace "[itemID]" with the item's ID.No matter what mods you added to your server,the plugin will follow your server's data values.
    • itemmanager.admin - Players who have this permission will ignore all item limits from itemmanager.
    Commands:
    • None
    DevBukkit:
    Download:
    Notice:
    • When a player's item permission is changed and he is holding exactly the item,server will report an error.Try not to make this situation happen.
    • When a player is holding the first empty slot in quickbar,he can't pick up items that he can't hold.
    • You may need to restart your server after changing a player's item permissions.
    Future:
    • Permissions will be split into "hold","mat(as craft material)","equip","fuel".
    Changelog:
    Version 1.0.2 - 06.21.2012
    • Fix a bug - a problem with permission "*".
    Version 1.0.1 - 06.20.2012:
    • Fix a bug - OP can't use items in "false" mode,by adding a permission "itemmanager.admin".
    Version 1.0 - 06.19.2012:
    • First Release.
    • Permission supported.
    • Added config.yml & messages.yml.
    Bugs?PM me.
     
    zhuowei likes this.
  2. Offline

    md_5

    Approved.
     
  3. Offline

    EpicStatius

    I seem to be encountering a problem. I'm using GroupManager and I'm on mode false but I add the permissions 'itemmanager.item.261' to a specific group. There is a few problems actually:

    1) Not only can I not use it still, I can't use any item.
    2) If I open my inventory and put the sword where my hand is, it won't pop off to another slot but stay there so I can still use it that way
    3) I think you should be able to pick the item up considering you can't use it anyways. Maybe make it so you can't place it down or break it? (So it prevents TNT, griefing, etc.)

    Thanks, great plugin idea otherwise.
     
  4. Offline

    UnluckyNinja

    Sorry,I forgot to update the URL of the latest version.Today I find a bug again and fixed it.The file is waiting for approval.It's my inattention.Thanks for you reminding me.
     
  5. Offline

    xSxHxAxDxOxWx

    Hi i discovered a some kind of problem.. i can not add in permissions items that have damage values.... :/
    can you please make two kind of damage items permissions please? example:

    itemmanager.item.[00:31](it not allow to have item with damage value 31¸)
    itemmanager.item.[00:*](it not allows to have any damaged item with that ID) a lot of mods have a lot of items that have a lot of damage values but the same ID...
     
  6. Offline

    EpicStatius

    Thanks plenty :) Will it be v1.0.3 release? Also, all the problems fixed? If so, diamonds for you! Excellent plugin idea, I've been looking for hours for one, glad it will be fixed :)
     
  7. Offline

    UnluckyNinja

    For Question 1:v1.0.2 has fixed it.You just need to add "itemmanager.admin" to the groups or players who you want to use items freely.
    For Question 2:You only banned bow,didn't you?If you banned an item,you can't put it on your hand.It will still on your cursor.
    For Question 3:No holding,no using.

    For all item permissions changes,you may need to restart your server to make it work(It's really a problem,but there is no logical mistake in the source code).

    I will consider it.Thanks for your suggestion:).

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 26, 2016
  8. Offline

    EpicStatius

    I love you <3

    Thanks for the awesome plugin :)
     
  9. Offline

    tsuna25

    You said any mods so if I use spout and have custom items would it work with sub ids?
     
  10. Offline

    UnluckyNinja

    Yes.The plugin get the item's ID from server rather than a static text(IDs without mods).As long as the server doesn't get it from a static text,it is.
     
  11. Offline

    tsuna25

    Hm interesting what do you mean by static text?I'm guessing 318:1108 would work?
     
  12. Offline

    UnluckyNinja

    Static text means a text that can't be modified.It may only contain those original IDs.
    I think the server get the item's ID from Bukkit and mods,not a text.

    The plugin hasn't been added damage value support to yet.
    "itemmanager.item.318" will work,but "itemmanager.item.318:1108" won't.
     
  13. Offline

    Inkwaboom

    Is this the correct way to block the items? (Im guessing it is wrong) -



    # When the "mode" is false,players who have the item permissions will be prevented using those items,
    # and the others are allowed.
    # When the "mode" is true,players who have the item permissions will be allowed to use those items,
    # and the others are prevented.
    mode: false
    language: en
    27556
    27527
    27535
    27533
    27574
    27530
    27531
    246:5
    46
    126:10
    126:11
    30208
    27538
    237
    239
    27532
    27536
    27584
    27593
    27573
    7270
    27583
    30171
    30172
    30173
    30174
    30215
    30214
    30213
    27572
     
  14. Offline

    tsuna25

    Those aren't damage values those are spout item ids lol.
     
  15. Offline

    UnluckyNinja

    It won't make any effect but errors.
    The config is just used to change the plugin mode and the language(there are only english texts by default).
     
  16. Offline

    Inkwaboom

    Ok so I have to edit it with permissions?
     
  17. Offline

    UnluckyNinja

    Maybe I should add a command to check a item's ID that is used in this plugin.

    Sure.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 26, 2016
  18. Offline

    Inkwaboom

    I think the way I did it is more economical though =p
     
  19. Offline

    silverchain

    Hi I downloaded your plugin and I have no idea how to ban items yet.
    can you kindly give an example on how to ban items?
    so this is the whats inside my config.yml
    _____________________________________________________________________________

    # When the "mode" is false,players who have the item permissions will be prevented using those items,
    # and the others are allowed.
    # When the "mode" is true,players who have the item permissions will be allowed to use those items,
    # and the others are prevented.
    mode: false
    language: en
    _____________________________________________________________________________
    so i tried baning the item with the id 30188 with these cmd

    itemmanager.item.30188
    itemmanager.30188

    itemmanager.item.[30188]
    itemmanager.item.[30188]:
    itemmanager.item.30188
    itemmanager.item.30188:

    but it does not seem to work.


    It would be a great pleasure if you could help.
     
  20. Offline

    UnluckyNinja

    Those are permissions,not commands.You should add them to permission plugin like GroupManager.
     
  21. Offline

    silverchain

    Ow okay got it, sry for the trouble.
    I'm able to ban stuff now,thx a million!
     

Share This Page