Item Inventory Lock

Discussion in 'Archived: Plugin Requests' started by ethaneee22, Aug 26, 2013.

  1. Offline

    ethaneee22

    Im pretty sure there is a plugin for this but i could not find it.
    Basically im looking for a plugin that lets me choose how someones inventory will look when they first join and all the times they join after that.
    It wont allow them to drop any of the items or move them in their inventory.
    If this hasn't been made yet could someone please do this for me, that would be awesome.
    Thanks!
     
  2. Offline

    BetrayedQU

    In game if you are an admin /gamerule keepInventory true
     
  3. Offline

    timtower Administrator Administrator Moderator

    That is not the same, that is for dropping inventory when dead, the OP wants it so you can't move items around in your inventory
     
  4. Offline

    ethaneee22

    yeah, also the server is survival games so i dont want them keeping the items.
     
  5. Offline

    thomasoo

  6. Offline

    BetrayedQU

    You can do to prevent the dropping, preventing moving items in inventory use the above InventoryClickEvent
    Code:
    public void onDropItem(PlayerDropItemEvent event) {
      Player player = event.getPlayer();
      player.sendMessage(ChatColor.GRAY + "You don't want to break it... SO DON'T DROP IT!");
      event.setCancelled(true);
     
  7. Offline

    15987632

    I hate to bring back dead threads but how do i get this in jar format?
     

Share This Page