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).
Hey man, could you try block this aswell? :) http://www.minecraftforum.net/topic/467504-125-macro-keybind-mod-v087-updated-for-125/
Regards, Oliver
can you lbock zombe's player info mod
@fromgate
Must be something to do with that. I was testing with zombe mod. Test config says that it should be disabled when connecting but when using the actual block code config it seems to just ignore it.
Chat doesn't seem to reset when connecting either, so the code may have changed or it's just ignoring it completely.
@alien12 Which mod you tested? Test config - is just testing permissions. If you see "disable" message, it means that block codes will send to client instead of "disable", when you return to default config.yml. But if client receiving block code and ignoring it... well I can only write to mod developer :(
For example there was a problem when CJB clears chat window after connecting to the server (I did not tested latest CJB version, so it may be that bug is still "alive"). Here is video: http://youtu.be/y8Z07acpyK4
@fromgate
I haven't tested other game mods, I've been trying to block zombe cheat mode but it just doesn't seem to work, however it works in v0.0.6 just not in 0.0.7 I tested with the default config and gave no permissions to the usergroup to use anything however they were allowed to access everything. Used this test config to test the messages and it shows that everything is disabled. Other than code lines the configs are exactly the same.
I'm using PEX. Any idea what's up?
@mrchasez @predawnia
You can test permission by using config.yml specially modified for testing purposes. It will not block or enable anything, but you will see text message in chat instead of block codes. http://dl.dropbox.com/u/64799811/SBC/test_cfg/config.yml
For example:
If player has permissions "sbc.fly.zmbfly" he will not see message "[DISABLE] Zombe fly" If he has permission "sbc.radar.reiradar" he will see message "[ENABLE] Rei Minimap entity radar"
When you finished tests, don't forget to delete test config.yml
In addition. Don't forget, that you need to enable radar or cave mapping in Rei minimap menu. Don't forget, that Zombe fly will not work if you did not allowed fly in server.properties file.
Uh i gave my donors sbc.fly.zmbfly yet it still says "You cant use zombe fly mod" Help?
@fromgate
3. When you changing "block" to true, you have force the SBC to send Rei's code to everyone without permission, i.e. you have enabled Rei's features to everyone. Bring "block: false" back and only players with "sbc.cheats.reicave" and "sbc.radar.reiradar" permissions (and OPs) will receive a code that enables cheating in Rei's minimap. (You can deleted config.yml, and default one will be created)
I am running on CB#2126
As OP, I seem to bypassed any cheats with sbc.*: true
But for my user, I set sbc.radar.reiradar: true in permissionsBukkit and my users are not able to see entities even with the permissions set correctly. I didn't touch the config.yml.
I have MC MonsterFix installed as well.
Do you know what is the problem?
Please block Nodus hack.
@rickky2 You can only get it from mod developers, from the readme-files included into the modpacs...
If you find any block-code, I'll be very thankful if you post it here.
Can u tell me how to find block codes?thank you
@Disparate
Can you show me some error messages from your log file? Is it messages of SBC?
@jakimfett Never used GroupManager, I'll test it.
Hi SBC is working with regard to blocking people who should not be able to fly but it is causing a MASSIVE amount of issues. The permissions for it are simply broken. My Ops (and I for that matter) have to log in twice, every time we join the server or we are blocked from flying but worse still is when it says we are allowed to fly and then has a total FIT when we try. It spams the console with "<player> moved too quickly!" which in turn spams IRC. the IRC bot then gets kicked at which point CraftIRC has a metldown and tries to reconnect. I woke up to 597 MB of logs this morning since I went to bed last night: 0.6 TERRA of text files.
Anyway you can get the permissions to work a little more reliably? ( I note that craftIRC is really not helping with this situation either and I will raise the same issue with them).
Cheers
Currently, I'm unable to allow admins to use specific mods. I'm using SBC v.0.0.6, with Bukkit #2129, using GroupManager for permissions. I've added all permissions as listed above to both the global permissions files and the world specific files. I can provide the actual config files if necessary.
@graverobber1020
Rei's minimimap hasn't blockcodes to disable minimap totally. It has only codes to enables some features: cave map, player/entities radar.
If you need to disable rei's features: 1. You cannot disable map totally.
2. You don't need to do something do disable Rei's cavemap and radar. You even don't need to install SBC - Rei's cheat features by default are disabled (it's a reason why for rei's permission "block" is set to "false" - you need code to enable feature, not to block it)
3. When you changing "block" to true, you have force the SBC to send Rei's code to everyone without permission, i.e. you have enabled Rei's features to everyone. Bring "block: false" back and only players with "sbc.cheats.reicave" and "sbc.radar.reiradar" permissions (and OPs) will receive a code that enables cheating in Rei's minimap. (You can deleted config.yml, and default one will be created)
You don't need to edit config.yml, it required only if you know about new block codes and going to add it in the SBC.
I downloaded the SBC v.0.0.6 (I am running 1.2.4-R1.0) This is the first time I have downloaded it and have not used any previous versions.
I changed the config file to block everything (rei's was allowed by default, so I set it to "true" to block it) HOWEVER players connected to my server can still use Rei's minimap and all of its features without issues. I also had my moderators test this and confirmed Rei's still worked. So whatever SBC is doing, is not blocking Rei's.
Maybe Rei's put out an update to bypass some blocking or something? I have no idea. But it would be nice if there was an update to block this, or if someone could let me know if I am doing something wrong?
I look forward to a solution.
Thanks, Chris
congrats..
Finally someone did a MOD block plugin that works :)
@asle123
Can you fly using Zombe without SBC? Check server properties "allow flight" option
@Kartus
It uploaded in "Files". Waiting for approval.