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).
@fromgate
From gate. Running 1.2.3 R-0.2 SBC 0.0.3
Newest 1.2.3 CJB sbc is succesfully blocking FLYMOD and XRAY However! sbc.fly is allowing not only CJB fly but also CJB XRAY.
Any help :( ?
I use authme on my server,with a different group at the access.Because this after login,the permissions don't work. The old Cfbanner don't have problem.
@fromgate
thanks for the info...just dont want to use another plugin to disable zombe and cjb...i'll just add the block codes to the essentials motd...great plugin tho :)
@nicka1011
From Zombe's source codes (included in modpack's download zip-file)
Where did you find the block codes for Zombe's Mods?
@tschagg
And? Simbol "§" used in MC as a prefix to change color? Or you need to exclude colors from player messages? If yes, I can add this feature in MonsterFix http://dev.bukkit.org/server-mods/monsterfix/ But we have not see a colored message in chat before? Is it really a lot of trouble? How do they write these characters? How you do typing "§"?
i still can make colored chat with § ....
@shutka
Today I started to check all my plugins for compatibility with MC1.2.3 I'm going to fix all incompatible plugins as soon as possible.
SBC was test with latest devbuild of CB (craftbukkit-1.2.3-R0.2-20120304.091010-2.jar) and looks that it's works (sending blockcodes message, no any error messages...)
Is this working on the 1.2.3 dev builds of CB ?
@PlannedBoredom
Thank you. If grammar police could find something more to correct, I'll be really grateful. I know my terrible English will give too much work the Grammar Police :)
Grammar Police!
You said What is block codes? when it should have been What are block codes?.
This has been the grammar police sponsored by Stuart Little.
@Ivanpro Don't work with only with sbc.fly? Or with other permissions too? What if you give all sbc-permissions to single player? Is it works? Check permissions case - you no it was changed. You can check source code - it very simple and if your permission plugin is compatible with bukkit permissions, and permission nodes are configured correctly there would not be any problem.
I test latest version,and no..the permissions don't work... D:
Awesome thanks! :)
@andrewkm
I've found an error. Zombe's no-clip and Zombe's no-fly block codes was swapped. New fixed version is here: http://dev.bukkit.org/media/files/576/654/SBC.jar
P.S. I've include source code in SBC.jar
@AnotherP I'm using only bukkits standart methods to check permissions. So I think it will work fine :)
please tell me this works with super perms/permissions bukkit
Ah Ic no worries. It works and thats what matters :) Btw Can you provide the source code on github?
@andrewkm
I'm going to test it with Zombe today. I think there's an confusion with zombe's code. Main feature for me is disabling all cheats, so I afraid my tests were not comprehensive.
@fromgate Users are reporting not being able to use zombe fly mod even with sbc.fly - however CJB fly works perfectly fine for them. Any ideas?