Only allow players to drop items per minute.

Discussion in 'Plugin Requests' started by xOrlxndo, Jul 31, 2016.

Thread Status:
Not open for further replies.
  1. Offline

    Zombie_Striker

    @xOrlxndo
    If you want to change that, go into the config and change the maximum drops to be less than that.
     
  2. Offline

    xOrlxndo

    I meant 30, I can still drop 30 items from my inventory, sorry @Zombie_Striker
     
  3. Offline

    Zombie_Striker

    @xOrlxndo
    Are there any errors? Are you sure the previous items are not being deleted?

    Try throwing something to your left, and then two 30 items to you right. The item to your left should disappear.
     
  4. Offline

    xOrlxndo

    No, and they both stay there. What I wanted was the drops to be canceled and a message sent to the player.
    @Zombie_Striker
     
  5. Offline

    Zombie_Striker

    @xOrlxndo
    Just made the changes and uploaded the new version. Now, the player will not be able to drop any more items until the other items have despawned or have been deleted. If you want to make sure no items can be dropped, set the MaxDroppedItems to -1.
     
  6. Offline

    xOrlxndo

    @Zombie_Striker Instead of waiting until the items are deleted/despawned can you make it timed. Like the players needs to wait 2 minutes before dropping anything
     
Thread Status:
Not open for further replies.

Share This Page