This modification detects listed illegal block placement and block possession monitored every six seconds.
Stacked detection temporarily removed.
SETUP GUIDE
Place AntiHack.jar in the plugin directory of your hey0 modification.
Enable the plugin through console or in-game.
Locate monitored.txt in the server's directory and modify accordingly.
Issue the command '/ah reload'
NOTE: The plugin will ALWAYS remove the illegal item, so they aren't banned as soon as they log in after a potential unban.
To use the anti-hack system:
A user must have access to the command '/ah'
/ah ban <player> <reason> - Bans a player with the specified reason. /ah pardon <player> - Unbans a player /ah list <string start> - Lists banned players starting with the string, /ah list p to view banned users starting with p. /ah list * - List all banned users. May be missing. /ah info <name> - Shows information relating to the banned user. /ah reload - Reloads the monitored items configuration file.
Change Log
B1 - Initial version
B2 - Added support for multiple 'on detect' actions, added support for file-based item list. Temporarily lost stacked item monitoring.
Suggestions are welcome, I'll be modifying this more for public distribution.
Might want to consider adding chainmail to your list. (302, 303, 304, 305)
And what about burning furnace? (62)
Rollback Post to RevisionRollBack
Wondercraft SMP! wondercraft.ca! All are welcome.
Dedicated VPS, 30 slots, 24/7 uptime and a great community!
Runs Runecraft, Llama, hMod and many plugins.
I absolutely -LOVE- this idea.
Although what I'd like to see is a customizable list, perhaps a text file, in which you can specify which items are not allowed. even though buckets either work, or will work soon, I have the occasional tendency to give players water blocks, lava blocks, leaves, and grass.
I do however want to entirely ban any use of fire, flint and steel, tnt, etc.
If your plugin does not already allow customization, I request that you add it. Although for personal use, I'll likely be decompiling this and modifying the ban-blocks.
I absolutely -LOVE- this idea.
Although what I'd like to see is a customizable list, perhaps a text file, in which you can specify which items are not allowed. even though buckets either work, or will work soon, I have the occasional tendency to give players water blocks, lava blocks, leaves, and grass.
I do however want to entirely ban any use of fire, flint and steel, tnt, etc.
If your plugin does not already allow customization, I request that you add it. Although for personal use, I'll likely be decompiling this and modifying the ban-blocks.
This is already planned, you don't need to decompile it, the source will be going up shortly. I just grabbed this from my server using a different computer that didn't have the source.
The use of flint and steel already kicks the player instead of banning them, it also will not make any fire.
Excellent work, although I don't want users on my server being banned based on an automatic determination. I would like to be able to handle it on a case by case basis and be informed when someone is in possesion of a certain cuboid or illegal stack.
Someone has to issue the command '/ah pardon Noxag', either that or disable the plugin and locate BanManager.dat and delete it.
Quote from Vulkanis »
Excellent work, although I don't want users on my server being banned based on an automatic determination. I would like to be able to handle it on a case by case basis and be informed when someone is in possesion of a certain cuboid or illegal stack.
I can make an option to just cancel the placement and notify admins when they try to place it or the first time the monitor picks up an illegal object. I shall call it stealth mode.
I like this. Customizeability would be great for alerts, autoban/kick, and item list. Also instead of just admins, you plan on notifying moderators as well right?
once hey0 updates, ill be testing this out... wayyyyy to many inv hackers lately!!!
Rollback Post to RevisionRollBack
http://www.myminecraft.com Survival and creative servers
Teamspeak available, multiple anti-grief measures in place
VIP based whitelist to limit griefing even further.
This isn't logical. Some weird bugs make you place random blocks and you get banned for that... Well, there are some bugs and data corruption that can cause this.
This isn't logical. Some weird bugs make you place random blocks and you get banned for that... Well, there are some bugs and data corruption that can cause this.
It is entirely logical, it bans based off of item in hand instead of block placed. If you have dirt in hand and for some reason it drops TNT, it won't ban you.
This modification detects illegal block placement and illegal block possession monitored every six seconds.
Quote from Oslarathos »
it bans based off of item in hand instead of block placed.
Not picking, just want clarification.
Also, is it looking at just the item in "hand" or the complete inventory on the player?
It monitors the entire player's inventory, excluding crafting table and equipment, for banned items and items that are stacked that aren't stackable. Every 6 seconds it'll check every slot in the player's inventory and check if it is banned or if it is stacked when it shouldn't be.
When a player attempts to place a block, it'll grab the item in hand and check if its in the list of banned items.
I think I'll add a quick /ah grace <player> <time> command which'll make it ignore the player for the specified amount of time.
hmm as good as this looks OP, I think im just going to have to keep my current method that is blacklisting Fire & tnt so it cant be placed, Hey0 mod does this already if its blocked on spawn as well. they place the fire and it just dissapears.
This need more work before I'm willing to let a bot control who gets banned. As it stands now every one logs into our server as guest and had admin/unrestriced -1 until promoted by regerstration with this being said last night a Fail inv hacker came on then immedietly attempted to set fires, Naturally the fire just turned to air and any thing he touched poped back.
There is not a lot that griefers can get away with on our server even if they pass registration due to all the powerfull items like portals & fire tnt and adminium only be placable by moderators and admins.
I see this have potential but it has far to go imo it just reads like its going to be one of those plugins that are going to add more risk of issues then good.
Somethings I would personaly like to see before I use bang this on and inform peeps are, Group based settings - one lot of banned detection does not apply to all Ability to set warnings - the plugin will notify the user of there actions and infrom the risk if continuing - this ones my preffered option , Ways this could be done are to first KICK the user with a warning say u you Xx chances left, then if they continue doing it bans - this is so peeps firmly get the messege and the good ones will think twice.
Flatfile config change it to merge into the current banned players list as I dont really see why u need to work it in your own list of bans - tho its nice to seperate cought and auto banned but the fact u you have delete the whole list to un block one idiot that cant read but u know u can trust puts me off instantly from using this.
other then that it seems ok from reading just do these small favors and ill happily be tester.
www.prospect-rpg.net/AntiHack.jar
This modification detects listed illegal block placement and block possession monitored every six seconds.
Stacked detection temporarily removed.
SETUP GUIDE
monitoredItems.txt sample:
NOTE: The plugin will ALWAYS remove the illegal item, so they aren't banned as soon as they log in after a potential unban.
To use the anti-hack system:
A user must have access to the command '/ah'
/ah ban <player> <reason> - Bans a player with the specified reason.
/ah pardon <player> - Unbans a player
/ah list <string start> - Lists banned players starting with the string, /ah list p to view banned users starting with p.
/ah list * - List all banned users. May be missing.
/ah info <name> - Shows information relating to the banned user.
/ah reload - Reloads the monitored items configuration file.
Change Log
B1 - Initial version
B2 - Added support for multiple 'on detect' actions, added support for file-based item list. Temporarily lost stacked item monitoring.
Suggestions are welcome, I'll be modifying this more for public distribution.
Check out my Let's Play Series:
Might want to consider adding chainmail to your list. (302, 303, 304, 305)
And what about burning furnace? (62)
Dedicated VPS, 30 slots, 24/7 uptime and a great community!
Runs Runecraft, Llama, hMod and many plugins.
Although what I'd like to see is a customizable list, perhaps a text file, in which you can specify which items are not allowed. even though buckets either work, or will work soon, I have the occasional tendency to give players water blocks, lava blocks, leaves, and grass.
I do however want to entirely ban any use of fire, flint and steel, tnt, etc.
If your plugin does not already allow customization, I request that you add it. Although for personal use, I'll likely be decompiling this and modifying the ban-blocks.
This is already planned, you don't need to decompile it, the source will be going up shortly. I just grabbed this from my server using a different computer that didn't have the source.
The use of flint and steel already kicks the player instead of banning them, it also will not make any fire.
I can make an option to just cancel the placement and notify admins when they try to place it or the first time the monitor picks up an illegal object. I shall call it stealth mode.
http://www.myminecraft.com Survival and creative servers
Teamspeak available, multiple anti-grief measures in place
VIP based whitelist to limit griefing even further.
It is entirely logical, it bans based off of item in hand instead of block placed. If you have dirt in hand and for some reason it drops TNT, it won't ban you.
Not picking, just want clarification.
Also, is it looking at just the item in "hand" or the complete inventory on the player?
It monitors the entire player's inventory, excluding crafting table and equipment, for banned items and items that are stacked that aren't stackable. Every 6 seconds it'll check every slot in the player's inventory and check if it is banned or if it is stacked when it shouldn't be.
When a player attempts to place a block, it'll grab the item in hand and check if its in the list of banned items.
I think I'll add a quick /ah grace <player> <time> command which'll make it ignore the player for the specified amount of time.
This need more work before I'm willing to let a bot control who gets banned. As it stands now every one logs into our server as guest and had admin/unrestriced -1 until promoted by regerstration with this being said last night a Fail inv hacker came on then immedietly attempted to set fires, Naturally the fire just turned to air and any thing he touched poped back.
There is not a lot that griefers can get away with on our server even if they pass registration due to all the powerfull items like portals & fire tnt and adminium only be placable by moderators and admins.
I see this have potential but it has far to go imo it just reads like its going to be one of those plugins that are going to add more risk of issues then good.
Somethings I would personaly like to see before I use bang this on and inform peeps are,
Group based settings - one lot of banned detection does not apply to all
Ability to set warnings - the plugin will notify the user of there actions and infrom the risk if continuing - this ones my preffered option , Ways this could be done are to first KICK the user with a warning say u you Xx chances left, then if they continue doing it bans - this is so peeps firmly get the messege and the good ones will think twice.
Flatfile config change it to merge into the current banned players list as I dont really see why u need to work it in your own list of bans - tho its nice to seperate cought and auto banned but the fact u you have delete the whole list to un block one idiot that cant read but u know u can trust puts me off instantly from using this.
other then that it seems ok from reading just do these small favors and ill happily be tester.