Filled AntiPearl

Discussion in 'Plugin Requests' started by FireFlies, Mar 26, 2017.

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

    FireFlies

    Minecraft version: 1.8.8

    Plugin name: AntiPearl

    What I want: Here's the deal, I need a plugin to disable enderpearling IN a worldguard region.
    Yes I know worldguard has this flag, but it doesn't work well.

    Thank you so much in advance!

    Kind regards,

    FireFlies
     
    Last edited: Mar 30, 2017
  2. Offline

    FireFlies

    Anyone?
     
  3. Do you want to disable throwing it INSIDE the same Region or do you want to disable the ability to land THERE with an Enderpearl
     
  4. Offline

    FireFlies

    @FurRail
    Both, I want to disable enderpearling while INSIDE the region and also enderpearling INTO the region from being outside of it. So it would totally cancel everything as if you didn't throw an enderpearl in the first place.
     
  5. Should be easy..
    But i currently dont have enouth time..
    My next free day would be Sunday.. is that okay?
     
  6. Offline

    FireFlies

    Yes no problem, take your time :p
     
  7. System finished.. cannot test currently
     
    Last edited: Apr 3, 2017
  8. Offline

    FireFlies

    Alrighty, do you have a version I can test?
     
  9. I will have to do further testing.. sorry
    Need some more time (I will finish it in max. 2 Days)
     
  10. Offline

    FireFlies

  11. Offline

    Goksi

    @FireFlies but you can disable ender pearl in worldguard region just with simple flag
    Command:
    /rg flag RegionName enderpearl deny
     
  12. I was ill and in Stockholm for holidays.. I will continue the work on this Project now

    Finished!

    Download:
    https://Kadercraft.de/download/AntiPearl-1.0.4.jar

    Plase note:
    Even tho I set the TeleportEvent on Highest, Worldguard may still catch the event before (and send a Region greeting for example)
    Also, I couldnt remove the Enderpearl if its thrown into a Region, so Particels will still appear.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Apr 14, 2017
  13. Offline

    FireFlies

    Awesome, and how do I use it?

    Edit: @FurRail I simply put it into my plugins folder. Unfortunately it doesn't fix my problem, like you said, Worldguard is catching the event before. It's very hard to explain this, perhaps if you're available to log onto my server I can show you?
     
    Last edited: Apr 14, 2017
  14. I know what you mean..
    The Problem is really, that WorldGuard's Event is faster fired and i cannot do anything about it.
     
  15. Offline

    FireFlies

    Is there not a way to do it without plugging into worldguard? I mean like a completely separate plugin.

    @FurRail The account FurRail was added to the whitelist if you would like to join: firefliesmc.net
     
  16. @FireFlies I've tried creating the plugin and it works on my test server.
    Download: AntiPearl.jar
    Tell me if it works and if not, tell me, I've got another way which should definitely work.
     
    Last edited by a moderator: Apr 19, 2017
    FireFlies likes this.
  17. Offline

    FireFlies

    I will try this ASAP and get back to you.

    EDIT: @Kage0x3B it seems that it blocks enderpearling all together, I need to only block enderpearling OUT of and INTO a single region!
     
    Last edited: Apr 19, 2017
  18. That is weird.. But I have only tested it with 1.11 and the newest WorldGuard version even if I don't think that it's going to be a difference with 1.8.8. Are there any errors in your console?
    (Btw can we continue this in PMs?)
     
  19. Offline

    timtower Administrator Administrator Moderator

    @Kage0x3B No, you can not continue it in PM's.
     
  20. @FireFlies I've tried testing it in 1.8.8 and it works fine in survival but somehow I can't throw enderpearls at all when I am in creative even when the plugin isn't enabled.
     
  21. Offline

    FireFlies

    Solved!
     
Thread Status:
Not open for further replies.

Share This Page