Anti Modify Inventory

Discussion in 'Archived: Plugin Requests' started by XSilverSlayerX, Jul 18, 2014.

  1. Offline

    XSilverSlayerX

    Plugin category: Admin Tools

    Suggested name: AntiModifyInventory

    What I want: I need a plugin that deny's players from moving items in their inventory ( So they stay in the same slot they are put in ) ( Very simple request ).

    Ideas for commands: No commands needed for this plugin.

    Ideas for permissions: antimodifyinventory.allow - allows the movement of items in inventory.

    When I'd like it by: ASAP

    Any more questions feel free to leave a comment.
     
  2. Offline

    daavko

    XSilverSlayerX How can you tell it is very simple request? Do you know anything about programming plugins? If yes, you can do this plugin by yourself.
     
  3. Offline

    izarooni

    Does this prevent player's from dropping items too? Because for example, if a player has a stick in slot 9 and drops it when the player picks it back up it'll move to slot 1
     
  4. Offline

    XSilverSlayerX

    I have a plugin that prevents drops. I just need a plugin to prevent movement of items in their inventory ( clicking and dragging. )

    I do know some about coding, but i do not know how to code this, from experience its just a null "error" when they try to move the item.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 9, 2016
  5. Offline

    Aireesan

    dev.bukkit.org/bukkit-plugins/custom-join-items/
    TEH DEH
     
  6. Offline

    daavko

  7. Offline

    XSilverSlayerX

    1.) i have used that plugin it does not work.
    2.) i had a custom join items plugin made because of that,
    3.) that plugin only prevents the items it gives you from being moved.
    4.) that's a plugin that gives items.
    5.) i just need a plugin that prevents inventory modification.
     
  8. Offline

    MomsKnife

    Code:java
    1. @EventHandler
    2. public void onMove(InventoryClickEvent e){
    3. e.setCancelled(true);
    4. }
     
  9. Offline

    AXCoding

    XSilverSlayerX Plugin is done, you were right it was easy :D
    -------------- If you want to be able to edit inventory, you need the permission AntiModifyInventory.bypass
    AntiModifyInventory
     
  10. Offline

    XSilverSlayerX

    thanks!!
     
  11. Offline

    AXCoding

  12. Offline

    izarooni

    AXCoding
    Isn't the way he suggested the same way you just mentioned?
     
  13. Offline

    AXCoding

  14. Offline

    dragonnight112

    I used it to in my server and if i move items than i copy them?!
     
  15. Offline

    AXCoding

    dragonnight112 ? That is extremely odd. I didn't see that bug in my 1 hour of extensive testing.
     
  16. Offline

    XSilverSlayerX

    Probably not a bug, could be another plugin he is running. I have no problem with it. Works fine for me :D
     
  17. Offline

    AXCoding

    XSilverSlayerX dragon nights server was 1.7.2 while the plugin was built for 1.7.9
     

Share This Page