SBC - Simple Block Codes
SBC - Simple Block Codes
SBC is very simple anti-cheat plugin, it sends block codes for CJB's and Zombe's modpack cheat features when player joins to server. SBC is managed by permissions only. If player has no any defined permission all blockcodes will be sent to client. SBC was separated from my other plugin MCCity MonsterFix.
Supported mods
- CJB
- Zombe
- Rei's minimap
- Minecraft Automap
- Smart Moving
- Schematica
- Any other mod supports block-codes. You can easy add custom codes to config.yml
What are block codes?
Block code is a string line that contains hidden characters (color simbols). CJB, Zombe and Rei's minimap clients mods analyzing the join message and in the presence of certain sequences of control characters disabling or enabling some functions. In chat screen this control messages are invisible or can be find out as empty line.
How to use it?
Just install. By default it sending all blockcodes to player when he joins. If you need to allow player use some cheats you must setup necessary permissions.
Configuration
When plugin runs first time it will create file /plugin/SBC/config.yml. This file will contain default permissions and block-codes configuration. You can create any permissions group that you need, and if you find new blockcodes you can add it in config.yml. In addition, you can use SBC to send a on-join message to player depended on his permissions. About custom block-codes configuration
Normally you don't need to edit config.yml. You must edit this only if you need to add new block-codes.
Permissions
- sbc.cheats.zmbzcheat — allows to use Zombe's z-cheat
- sbc.cheats.zmbnoclip — allows to use Zombe's noclip
- sbc.cheats.cjbxray — allows to use CJB's x-ray
- sbc.cheats.reicave — allows to use Rei's minimap cave-mode
- sbc.fly.zmbfly — allows to use Zombe's fly
- sbc.fly.cjbfly — allows to use CJB's fly
- sbc.radar.reiradar — allows to show entities and players on Rei's minimap
- sbc.radar.cjbradar — allows to show players on CJB's minimap
- sbc.cheats.automap-ore — allows to use Minecraft Automap ore detection
- sbc.cheats.automap-cave — allows to use Minecraft Automap indoor/cave mapping
- sbc.radar.automap-radar — allows to show entities and players on Minecraft Automap
- sbc.cheats.smart-climb — allows to use Smart Moving climbing
- sbc.cheats.smart-swim — allows to use Smart Moving swimming and diving
- sbc.cheats.smart-crawl — allows to use Smart Moving crawling
- sbc.cheats.smart-slide — allows to use Smart Moving sliding
- sbc.cheats.smart-fly — allows to use Smart Moving alternative flying
- sbc.cheats.smart-jump — allows to use Smart Moving jumping (including charged jump, head, side and back jumps)
- sbc.schematica.printer — enable printer functionality for player
- sbc.schematica.load — enable save schematic functionality for player
- sbc.schematica.save — enable load schematic functionality for player
Grouped permissions (from previous version) are supported too. All permissions and permissions group could be edited in config.yml
Commands
There's no any commands. It is a very simple plugin ;-)
Source codes
How to upgrade from previous version
Delete old config.yml file and install new version of SBC.jar. After plugin start, it will create a new config.yml. Than you can modify config.yml (if you really need it).
Thank you very much in name of Mon3y13ankeR and me. I will try it.
You will add download officially in the bukkit dev "Files"? ;)
When i add the permission sbc.fly.zmbfly to the group admin and start the server admins cant fly bot when i type essentials reload and reconnect admins can fly. I am using groupmanager.
New version uploaded: http://dev.bukkit.org/media/files/583/537/SBC.jar If you upgrading from version 0.0.5 you need to delete config.yml (or replace all ".inv" with ".block")
@Mon3y13ankeR
Thank you very much! I will include that blockcode in next SBC version, but if you need to use it you can add something like that:
in SBC's config.yml
Ready config.yml: http://dl.dropbox.com/u/64799811/SBC/config.yml
Hi fromgate,
First of all. Very nice Plugin. Keeps other configs tidy :)
Second: Can you add MinecraftAM to your Plugin? I sent you the link with the Addon and Blockcode Pages via PN.
That would be really awesome if it gets implementet.
@Kartus
Ok, you are right. I'll change "inv" to "block" in next release.
@fromgate
thank you, in understand now.
suggestion: it would be easier to understand, if you name the config-value "block=true". for the pluginuser, it's more convenient that he only have to think "do i want to block this feature by default or not?".
Can we somehow disable the message to user that he/she cannot do "cheat"...getting spam when trying to kill mobs says I can't do that...
@Kartus
It block mods because creator of mod allow it. For example, if you using CJB and joing to server with SBC you will receive in chat message "§3 §9 §2 §0 §0 §2". §x - is a color message and you can see this message only as empty line in chat window. CJB will check messages and if found this message it will disable built-in x-ray feature. Same for other features of CJB and Zombe.
About inv parameter.
inv=true
Zombe and CJB requires color code to disable features. Rei's minimap need coded message to enable radar and cave mode. So if want to allow player to use CJB or Zombe's features and you grant player required permissions, block codes will not send to client. But if player has not permissions color code will be sent.
inv=false
But if you want to allow player to use Rei's minimap cave map and player has permission "sbc.cheats.reicave" color code will included to on-join message.
Check the default config, and I think you will understand what I mean.
P.S. Sorry for my English, I hope you'll understand me.
can someone please help me? i don't understand exactly how this plugin can block hacks. "sending block-codes for cheat features". what does this mean, why/how this "block-codes" can block hacks?
also this config explanation is confusing me: "If inv is set to true block code will be sent if player has not a permission "sbc.<group>" or "sbc.<group node>.<permission node>". If inv is set to true, block-code will be sent only if player has a required permission." -> is it blocking all WITHOUT "cheat-allowed" permission or is blocking all WITH "cheat-allowed" permission?
@fromgate
Awesome!!! Anybody have a collection of some of these codes we can use?
@domingo15
Now I add a new feature - you can use custom block codes if you know any other codes in addition to CJB's and Zombe's.
Now, I think every user of SBC, could ask mod developers about including block-code support in the mods. And don't wait me (or someone else) who will implement new block-codes. You can simply add new codes manually in config.yml
@fromgate
i see thanks :)
@domingo15
Unfortunately not. SBC is very simple plugin, it just send a "blockcode" that provided by mod's creator. I've send a message to craftminer502 and he promised to add blocking feature to his xray plugin.
@fromgate
can this block other form of xrays rather than CJB xray?
@fromgate
Tell'im to make ShowOres blockable too! :D I'm trying to configure orebfuscator to hide blocks from xrayers but still make them findable for legit miners... I've been amazed how many blocks are exposed in caves o.O
@shankomaster
No. I just means that fly is disabled in your server.properies file (check entry allow-flight=false). The readme of Zombe mod says that it's flymod will not work if you disable it in server.properties.
This message is to warn server operators who need to allow players to fly, but forget set the allow-flight=true
[SBC] sbc.fly permission will be ignored due to server configuration!
I hope this doesnt mean people can fly?
I cant seem to find any config files for this o_O
@Wires2005
@deleted_8591593
@aviator1014
Tested with with latest CJB (v5.7.0) and latest CB build (#2083). It works. But there is a one problem with CJB. Sometime (not everytime) when you connecting server after first time MC client start (not reconnect, not after playing on other server) CJB ignores block codes. I think it's CJB chat problem (as you can see in video chat message are hidden when client started first time). I will write CJB a message, and I hope he will fix it in next CJB version.
http://youtu.be/y8Z07acpyK4
yea same here. worked great in the past...now on bukkit 2073 its not. havent changed anything aside from keeping all uptodate. wish bukkit would make up their minds what they are doing, all this waiting is killing the devs as much as us admins im sure.