Creative Unlimited XP, and bottle o enchanting problem [Plugin needed]

Discussion in 'Plugin Requests' started by Preben folkvor, Jun 18, 2012.

  1. Offline

    Preben folkvor

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    [Situation]
    Hello, I am the Owner of a server called PVPCrafters and we have had a problem with people in Creative Mode. They are basicly abusing that they have unlimited Xp in Creative and they are enchanting loads of good items. They also put xp bottles into dispensers since ive blocked the normal throw of them. What I basicly want is a plugin to stop both these tasks.

    [?]
    I found a plugin called Eggstop or stopegg.. Didnt work as I expected and I didnt see a generated config file or file folder.

    [Please]
    So can anyone make this plugin? people would really get happy since this is a big problem for many servers.

    This post has been edited 2 times. It was last edited by Preben folkvor Jun 18, 2012.
  2. Offline

    Arubian

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    some help?
  3. Offline

    Ne0nx3r0

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Just sayin'.

    This would be a good project for a fledgling coder ( @Pew446 ?). I think you could do it just cancelling the PotionSplashEvent based on which potion it is.
  4. Online

    Pew446

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Oh cool! I'll make this :)
  5. Offline

    Preben folkvor

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    How long time will it take to make this plugin that will do both tasks..? xD
  6. Offline

    CarrotPCdude

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Doesn't Essentials have a feature which would allow you to deny usage of the potion? Or is that just my mind going wonky? XD
  7. Offline

    kezz101

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    PEX's ModifyWorld can do this shiz...
  8. Online

    Pew446

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I'm going to try to finish this tonight. If I am correct, you want it so players can't enchant items in Creative, and can't use XP Bottles at all?
  9. Online

    Pew446

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Finished it, finally! I had a lot of fun with this project and learned a bunch :)

    http://dev.bukkit.org/server-mods/banxp/

    Just gotta wait for it to approve. If you need anything changed or added, or you see any bugs, please tell me!
  10. Offline

    Preben folkvor

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Looks just like I wanted it xD Thank you so much.. Just 1 question.. Does it block the xp bottles to be placed/used in dispensers??
  11. Offline

    Sushi

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Yes, the PotionSplashEvent is called no matter the cause, as long as an Exp Bottle is thrown.
  12. Online

    Pew446

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I'm also working on an update for this that blocks dropping, picking up, placing in containers, and getting from the creative menu, but Bukkit has a bug that crashes the client when they get it from the creative menu.
  13. Online

    Pew446

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    It done been approved!
  14. Offline

    Preben folkvor

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Everything is delicious, but an important part still worked. I can still use it with dispenser. This is currently the only problem for me.. Because I have already blocker the throw use of it with another plugin..(essentials I believe it is)
  15. Online

    Pew446

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Bukkit has a bug that crashes the client when using the event that blocks that problem, but I'm going to try really hard to get around it for you. :) I'll work on it today after I go bowling :p
  16. Online

    Pew446

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)

    This post has been edited 1 time. It was last edited by Pew446 Jun 22, 2012.
  17. Offline

    Preben folkvor

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hmm everything works perfect in Creative(its all blocked), but ppl bring the bottle's even when their in survival u know.. so if u could add so also ppl in survival cant use bottles.. Cause I wasnt OP and I managed to place em in dispensers and use em
  18. Offline

    Preben folkvor

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Thanks anyways xD
  19. Online

    Pew446

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    That's exactly what the bug ruins. I was trying to deny grabbing bottles from creative but it crashes the game. I submitted the bug and it is now being looked into by staff. Meanwhile I guess I can stop it in survival too. I'll add an option to the config to change whether its creative or survival or both. :)
  20. Offline

    Preben folkvor

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hmm.. Cant you just block the splash of it and not the pickup... i dont care if they have the item.. Just about the use of it xD (Ty for all)
  21. Online

    Pew446

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Sure. :)
  22. Offline

    Preben folkvor

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I hope you can block the splash in Survival as soon as possible :)
  23. Online

    Pew446

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Alright it's done. I've had a busy past few days so I hadn't time to work on this. I'm still going to implement something in the config that allows you to change what actions happen in what game mode, but for now it should work as expected. I hope. :p

    Just wait for it to approve. It will be V1.2 :D
  24. Online

    Pew446

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    It's approved.
  25. Offline

    Preben folkvor

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Ok. Thanks everything works! Perfectly.. One last question, I dont know if it affects the server itself, but it is kinda annoying.. Whenever ppl try to enchant or something I get this messages in console. (People tries over and over again)

    (It is annoying cause whenever I read console this thing pops up and clears what I was reading...

    [Question] - Can you somehow code it so it doesnt show these messages? xD (Would be cool)

    [IMG]

    This post has been edited 3 times. It was last edited by Preben folkvor Jun 26, 2012.
  26. Online

    Pew446

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Oops, I didn't see the console when I updated the plugin. I was in a bit of a hurry. I'll fix that today. It appears this happens when someone tries to drop an item from the Creative Menu.

    This post has been edited 1 time. It was last edited by Pew446 Jun 27, 2012.
  27. Online

    Pew446

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    The reason you got spammed is because "elaa21" tried to drop all his/her items at once in order to crash your server. I fixed the error messages and will upload a new version quickly.
  28. Online

    Pew446

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    It has been updated. Watch for V1.3 when it is approved. :)
  29. Online

    Deathmarine BukkitDev Staff

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
  30. Online

    Pew446

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)

Share This Page