1.4.2 Invisibility blocker [Important for pvp servers!]

Discussion in 'Archived: Plugin Requests' started by FuRiouSOne, Oct 28, 2012.

  1. Offline

    drtshock

    No problem :)

    I put up a link to a page I made on my server's website with the download to the version I submitted to BukkitDev. If you want any changes just message me on my site or here. I'm on both a lot. I'll work on completing it tomorrow.
     
  2. Offline

    Sil3nt_One

    [quote uid=90730929 name="cman1885" post=1393223]<Edit by Moderator: Redacted mediafire url>

    If someone moves with invisibility effect, it gets removed. Best I could do, BrewEvent InventoryClickEvent and some other event that I tried didn't work.[/quote]
    If you are handling the playermove event, and checking if a player has a potion effect, then wont it cause a massive lag?
     
    Last edited by a moderator: Nov 9, 2016
  3. Offline

    AndyMcB1

    If player has:
    Bottle in hand
    Nil
    Remove invisibility effect
     
  4. Offline

    drtshock

    I already removed the drinkable ones by taking the item out of a players hand if they right click with one of those potions. Working on cancelling the splash ones as well.
     
  5. Offline

    FuRiouSOne

    [quote uid=90730929 name="cman1885" post=1393223]<Edit by Moderator: Redacted mediafire url>

    If someone moves with invisibility effect, it gets removed. Best I could do, BrewEvent InventoryClickEvent and some other event that I tried didn't work.[/quote]

    Just like to let everyone know that this plugin above works perfectly.

    Also like to add it is very simple and lightweight with no config just add to plugin folder and you are done, NO more invisibility potion users on your server. These anti brewing plugins seems too complicated and in a lot of cases just dont work for many server for whatever reason.
     
    Last edited by a moderator: Nov 9, 2016
  6. Offline

    cman1885

    Just one check? No.
     
  7. Offline

    drtshock

    But then you are checking every time a player moves. Then each time a player moves if they have a potion effect. That isn't just one check.
     
  8. Offline

    cman1885

    One check per event, yes. The movement is the event and the potion effect is the check. I don't know how much more simple it gets.
     
  9. Offline

    drtshock

  10. Offline

    Nukem

    This plugin works great, thanks very much :)
     
  11. Offline

    drtshock

    Glad you like it :D
    I'll be working on a version with permissions here pretty soon. I will also add in configuration for each potion type maybe :eek:
     

Share This Page