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

    xOrlxndo

    Plugin category: Fun

    Minecraft version: Spigot 1.10

    Suggested name: ItemsPerMinute

    What I want: Only allow players to drop a certain amount of items per minute. When player exceeds amount this message appears: &aYou can only drop {amount} items per minute! (All of this is Configurable) Also, you cannot bypass using hoppers, chests, trapped chests.. ect when the player tries to, the same message I said above appears.

    Ideas for commands: No commands needed for this plugin.

    Ideas for permissions: Items.Bypass -Allows the player to bypass the plugin. (Default: OP)

    When I'd like it by: Anytime.
     
    Last edited: Jul 31, 2016
  2. Offline

    BlockHeads36

    @xOrlxndo Oh that is smart, I really hope someone could make this!
     
  3. Offline

    Rayzr522

    @xOrlxndo what exactly do you mean by "bypass using hoppers, chests, trapped chests etc"?
     
  4. Offline

    xOrlxndo

    So, lets say that a player fills a chest with dirt and then breaks it. the dirt is all over the place. Thus, bypassing the plugin.
     
  5. Offline

    Rayzr522

    @xOrlxndo ah. Out of pure curiosity, what do you have that requires this limit? Will they even be able to break blocks in the situation you need this for?
     
  6. Offline

    xOrlxndo

    Yeah, they will, as it is a creative server.
     
  7. Offline

    Rayzr522

    Ah, so you're trying to prevent mass server-lag by preventing item spam?
     
  8. Offline

    xOrlxndo

    Yep
    (sorry for late response, I hate the moderation approval)
     
  9. Offline

    Rayzr522

    Oh, moderation approval goes away after you have I think 10 messages or something.

    Anyways, I can try. That one might take me a little longer, mainly because I plan on working on the other one first.
     
  10. Offline

    xOrlxndo

    Okay, thanks so much!
     
  11. Offline

    Rayzr522

    Np :D
     
  12. What about droppers/dispensers?

    They don't require a player to work (redstone clock) and can still spawn many items/s
     
  13. Offline

    I Al Istannen

    @xOrlxndo @FisheyLP @Rayzr522
    I made an extremly bad plugin a long while ago, which tackled this issue. It collected nearby items with the same data in "heads". These could be just itemstacks with a custom name, or even without. Upon collecting, you would get all the items they represent.

    So you can drop 3 stacks of redstone and they will be merged in one stack, which holds 192 items.

    This reduces stress for the clients and the server, while not introducing a new limit.

    Don't know if this is a better way, but it could be.
     
    FisheyLP likes this.
  14. Nice :) i made something similar but with mobs a while ago
     
    I Al Istannen likes this.
  15. Offline

    Rayzr522

  16. Offline

    xOrlxndo

    He said it is a very poor pluign.. I'd rather have something that is updated/new
     
  17. Offline

    I Al Istannen

    @xOrlxndo
    I agree with you :p
    But I think @rayblon was just thinking about the general idea :)
    Do you like a drop limit (which dispensers/droppers can circumvent) or a collection of similiar items more?
     
  18. Offline

    xOrlxndo

  19. Offline

    Rayzr522

  20. Offline

    I Al Istannen

    @Rayzr522
    I used the auto complete and didn't pay enough attention...
    Sorry rayblon :/ And you @Rayzr522 :p
     
  21. Offline

    Rayzr522

    Np, just having a little laugh :D

    Also I do like the concept of yours. You should update it.
     
  22. Offline

    I Al Istannen

    @Rayzr522
    I won't have time the next week. In this time it could be remade by somebody else, which I would prefer :p

    And I can't update it, if I rember correctly the code looks like it was written by a 5 year old (figuratively speaking that is) :/
    I will need to redo it complety, too.

    So it doesn't really matter who does it ;)

    Conclusion: Feel free to do it yourself! (or anybody else stumbling upon this)
     
  23. Offline

    Rayzr522

    @I Al Istannen I wouldn't mind taking a stab at it in my "free time" (lol), where could I find the code / plugin?
     
  24. Offline

    xOrlxndo

    Still need this :(
     
  25. Offline

    Forge_User_45064837 Retired Staff

    @xOrlxndo I can do this tomorrow, it will be done tomorrow night or early the next day.
     
  26. Offline

    xOrlxndo

    Thanks so much!

    EDIT: @bwfcwalshy Sorry if this sounds impatient, but it's been 3 days after you said it would be done. Are you still doing this? My server is opening in about 2 weeks :/
     
    Last edited: Aug 9, 2016
  27. Offline

    xOrlxndo

    Last edited: Aug 13, 2016
  28. Offline

    Zombie_Striker

  29. Offline

    xOrlxndo

    Last edited: Aug 16, 2016
  30. Offline

    xOrlxndo

Thread Status:
Not open for further replies.

Share This Page