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).
Hello! Good plugin i think does work in Spigot? and can u help me to deal the Mobaura Thanks a lot !:)
@RustyDagger
Hello!
There's no "double toggle" of "block-codes". Server owners must use permission nodes to enable or disable code sending for players. For example you may enable x-ray for your OPs.
Configuration file config.yml is not for most server owners it's a part of a plugin where it stores block-codes parameters. Server owners must edit this file only if they need to add new block codes or modify current.
I think I will create a new version where block-codes configuration will be hidden :)
@fromgate
I seem to be having issues getting those to work... :(
nvm it seems that the codes are not even in my config ODD i swear i put them in there.. Unless the plugin removed them...
also the whole true and false thing with the permissions seems like a double toggle like theres 2 ways to enable the code to be sent to them and 2 ways to stop the code being sent.
It makes things super confusing it would be much better with one or the other. Namely id keep the permissions as its more flexible. Default to sending every code in the config and give out permissions to stop codes being sent on join keeps things simple.
@RustyDagger
Thank you! I will include this codes in next version. Now you can add this codes manually to your config.yml:
1. Add to "cheats" section:
2. Add to "radar" section:
here are some codes for zans minimap
send client a chat line including §3 §6 §3 §6 §3 §6 §e or §3 §6 §3 §6 §3 §6 §d to disable radar and cave mapping respectively
so the first one is the radar and the second is the cavemapping.
v0.1.0
@sakura_blades Thanks for suggestion. Dividing config to two parts is good idea. May be I will implement it. But this plugin is not primary in my "plugin order" — I have more interesting and complex plugins that requires update.
Now I can say only: SBC is working. It is really highly configurable: you can even add new codes if you find this codes anywhere (for another mods).
@Ekevoo @Eelviny
Thanks guys :)
This is a great mod, a lot of help for the low hanging fruit. Thanks!
@sakura_blades
Agreed. Don't expect support for something you didn't pay for. Be glad this plugin has been made, and distributed for free! Basically, go be ignorant somewhere else.
@sakura_blades
Wow, you're a dick. He doesn't work for you. This is done on a volunteer basis. Show some fucking respect if you want help.
@fromgate
That didn't help at all, unless you were trying to make my brain explode!
Considering I haven't even heard of some of these stupid mods, let alone know their codes how am I supposed to know what they do? You had Rei's set up to send every radar available to everyone on a server!? Is that what your saying? So my players are running around able to track every mob and see every cave!?
Maybe you need to configure that config of yours to seperate which codes are needed to MAKE things WORK and which codes are needed to MAKE things DISABLED.
What I got from your Config example was that "True" meant disabled, and ONLY a permission would allow said feature to work. NOW you're telling me it depends on what I've got set as "True" or "False"!?
I certainly do not want to have to go through and test out every mod out there just to see if I've configured this thing properly to DISABLE everything!
@sakura_blades
The "block" value is depending to block-code type. For example, CJB is allows it's cheat-feaures if it not receives a block-code. But Rei's mininmap neet to receive a block-code to enable radar.
So, if you set "block" value to true, the code will be sent to player if he has not required permission. But if you set false there, block code will send to player if he has not permission.
You can change the color symbols at config to any values (for test) and see when this code-string will be appeared after you joining the server.
@fromgate
Except for the fact that there was a false in there that I didn't want allowed use of?
Didn't exactly answer my question... So I'm going to ASSUME that "true" means these things are disabled on my server from these mods....
@sakura_blades
You don't need to do something with config file. You need modify it only if you going to add new block-codes. You just need to use permissions.
I don't understand the config.
so does setting it to "True" prevent it from happening? Or Allow it? (Permissions aside... Don't confuse me...)
@ImonlyI
Yes )
Is this still working on 1.6.2?
@Avalanche_Ali Yes
can this work along side other anti cheat plugins for example NoCheat and NoCheat plus?
@KodekPL
Thank you very much! I will test it :)