AntiHackedPotions 1.7

Blocks: TrollPotions, KillerPotions, CrashChests, CrashItems, and OP-Enchants

  1. brainsynder
    Tested Minecraft Versions:
    • 1.8
    • 1.9
    • 1.10
    Contributors:
    catscraft.net For helping me test and think of the idea
    Overview:
    Are you a server owner? Do you have players with "Troll Potions" from hacked clients? Are you looking for a way to find them and prevent them from using? Well then you came to the right developer!

    IMPORTANT: This plugin now requires the SimpleAPI plugin I developed. Why does it depend on it now? Well, It is much nicer to have the code in one plugin because of issues with 1 class, and if I have issues with 1 class that means I need to change it in all my plugins. So that's why only having 1 plugin and the others depend on it is better (There are more reasons).

    Want an Exploit blocked from a hacked client?
    1) Send me a link to the hack client that has it
    2) Tell me the exploit
    3) What do you want stopped/modified from it?

    How did you figure out how to block these?
    I looked in the Wurst code and other hack clients (I have the exact code in the plugin for a note and reference)

    How does it work?
    Code (Text):
    TrollPotion checking: Well it works by checking the amount of Potion Effects the potion item has. And if the potion has more than 4 effects, it flags it as a Hacked Potion.

    CrashChest checking: I check for the name of the chest and if its the same as the crash chests name It will flag it.

    KillerPotion Checking: I check for the potions potency and if its over the lvl you have configured it flags it.

    OPEnchants: I check for just the enchants and if it has more than the lvl of enchants configured or the lvl is over the configured  it gets flaged.

    CrashItem: I check for the items name, if the items name contains more that 100 char and consists of only #'s well... then its flaged
     

    Config:
    Code (Text):
    HackedPotions:
      WarnInChat: false
      OpsOnlyVisible: true
      CancelEvents: true
      Track:
      onDrop:
      Enabled: false
      onUse:
      Enabled: false
      onContainerClick:
      Enabled: false
      WarnMessage: '&eWARNING!!! &6>> &c%player% tried %type% a TrollPotion!'
    Potency:
      WarnInChat: false
      OpsOnlyVisible: true
      CancelEvents: true
      Track:
      onDrop:
      Enabled: false
      onUse:
      Enabled: false
      onContainerClick:
      Enabled: false
      HighestPotency: 3
      WarnMessage: '&eWARNING!!! &6>> &c%player% tried %type% a KillerPotion (Hacked)!'
    CrashChest:
      WarnInChat: false
      OpsOnlyVisible: true
      CancelEvents: true
      Track:
      onDrop:
      Enabled: false
      onUse:
      Enabled: false
      onContainerClick:
      Enabled: false
      WarnMessage: '&eWARNING!!! &6>> &c%player% tried %type% a Crash Chest!'
    OPEnchants:
      WarnInChat: false
      OpsOnlyVisible: true
      CancelEvents: true
      Track:
      onDrop:
      Enabled: false
      onUse:
      Enabled: false
      onContainerClick:
      Enabled: false
      AllowedNumberEnchants: 3
      MaxLevel: 5
      WarnMessage: '&eWARNING!!! &6>> &c%player% tried %type% an over powered Item (Enchants)!'
    Track:
      onDrop:
      Message: Droping
      onUse:
      Message: Using
      onContainerClick:
      Message: Taking
     

    Planned updates:
    - Add a more advanced blockage for hacked items.
    - Add blockage for other hacked items (Crash Chest and more)
    - Warn system with auto kicking and more!
    - What else do you guys want to see?

    Tested with the hack client:
    - Wurst -- This plugin was tested using the Wurst Hack client
    *** I don't condone the use of hacked clients ***

    How to reload the plugin:
    With PlugMan:
    - /plugman reload AntiHackedPotions
    Without Plugman:
    - /reload or a server restart

    How to install:
    - download plugin from spigot
    - install plugin to your plugins folder on your servers FTP (If using MultiCraft)
    With PlugMan:
    - /plugman load AntiHackedPotions
    Without PlugMan:
    - /reload or a server restart

    Donations
    Want to donate? Well you can now donate to the developer. Note, All donations are final, I am not expecting big donations; anything is fine, If you donate it does not mean I will privately develop plugins for you, If you are donating to have a certain feature added well you could just ask( :p ).


    [​IMG]

Recent Updates

  1. Bug fix
  2. Items Be GONE
  3. Recoded with a TON of fixes!!!

Recent Reviews

  1. Mario359
    Mario359
    5/5,
    Version: 1.7
    Useful plugin !
    ------------------------------------------------------------------------------------
  2. ScuroK
    ScuroK
    5/5,
    Version: 1.7
    Thank you
    --------------------------------------------------------------------------------------------
  3. CopyrightPixelHD
    CopyrightPixelHD
    5/5,
    Version: 1.5
    Well, you only make Awesome plugins!
    Best developer with Awesome life! <3
    So very nice: Its good for all my PVP Servers
  4. ridalarry
    ridalarry
    5/5,
    Version: 1.4
    This plugin is really amazing not mentioning how good is the developer and accepting of suggestions.
  5. Flanders
    Flanders
    5/5,
    Version: 1.4
    Nice Plugin but pls add the message in the config.yml to a command whitch performs by detection.... I want to have a command that the User of trollpotions ban instant (automatic) sorry 4 my english im from germany ^^
  6. GamingAll
    GamingAll
    5/5,
    Version: 1.4
    Warning; im german, sorry for my bad english skills!
    Great! I wish me the command/hackedpotions or /AHP admin.
    My antihack /AAC\ is a very very good anticheat but it haves don't an
    anticrashchest or antitrollpotion | anticrashitem!
    Its an great plugin
  7. Catscraft.net
    Catscraft.net
    5/5,
    Version: 1.0
    Great plugin to prevent hacked in troll potions / op potions and it's perfect for Creative servers this is the only plugin that actually stops the hackers from using the TrollPotions I recommend anyone with a Creative server or any server really get this plugin to prevent these hack potions from floating around your server
    1. brainsynder
      Author's Response
      That's the overall point and main goal! Thanks for the review!
  8. RagingBaby
    RagingBaby
    5/5,
    Version: 1.0
    Excellent Plugin brainsynder! Im currently using it for my server and it works well ! Suggestion: Add more updates.
    1. brainsynder
      Author's Response
      Lol more updates is the plan xD What do you want to see? Pm me.
      Thanks for the review!