HomeJavaModsAntiHackedPotions
AntiHackedPotions
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?
Spoiler: How?
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 :
Spoiler: config.yml (0.1 -> 1.4 config file)
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]

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

AntiHackedPotions is a free Minecraft Java mod. Compatible with Minecraft 1.8, 1.9, 1.10. Downloaded 1,963 times (via Spigot). Download it and open it directly in the game.

Explore more