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).
same as aviator. had a user try the xray mod and it worked.
Not sure what the issue is, but my coowner tried out cjb's xray and wasn't blocked even as a non-op player. Not sure what else to say :/
I'm giving this plugin a try. Had about enough of modders cheating left and right.
@Ivanpro
About authme. If I understand how work authme SBC (and any plugin, that check player's permissions after he logged in to the server) will not work correctly if you setting up different permissions to players.
When you joining to "offline server" and still not logged in with authme you have a special permission group, that is equal to every joined player. And every new joined players will receive a equal block-codes according to default permission group.
After typing /login command with a password player obtain it's permission, but.. player joining event were handled before, so SBC will not send new block codes.
There could be some way to solve the problem, but I think it must be part of authme or may be other plugin that could complexly control the event system and produce onJoinEvent only after player logged in to authme.
Summary. If you run offline server with authme you can only define defaults group with any permissions (for example allow to fly, but leave x-ray disabled), and this permissions will be active for all players. If you interesting how you can configure "onjoin" groups in authme you must check the authme's FAQ.
@Hangar Fixed version 0.0.4/2 uploaded http://dev.bukkit.org/media/files/580/300/SBC.jar
Thank you for your report.
In this version all permissions are the same as in plugin description:
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.cheats — allows to use "all cheats"
@Hangar
Ooohhh... sorry! It was a typo in code :( For version 0.0.4, right permissions are:
sbc.cheat.zmbzcheat — allows to use Zombe's z-cheat sbc.cheat.zmbnoclip — allows to use Zombe's noclip sbc.cheat.cjbxray — allows to use CJB's x-ray sbc.cheat.reicave — allows to use Rei's minimap cave-mode sbc.cheat — allow all cheats.
Are you sure those permissions are correct? You have an "s" on the end of cheats, and from what I'm seeing, it shouldn't be.
@7jadeon7 Sorry, but not. I've learned features of this client (thank you for information), have some ideas, but not for prevent all features. In any case, first, I need to test it. And I'm really cannot promise you that I'll be able to create "nodus blocker": SBC is using blocking method that provided by goodwill of CJB and Zombe. But I'll try...
P.S. I'm upset, that NoCheat is now become inactive, I think Nodus - is the problem, that Evenprime could "solve". :(
Have you made any progress towards Nodus yet fromgate?
@aviator1014 Thank you for your concern, you are absolutely right. Fortunately, I know about it. Rei's radar and cave mod features is really disabled by default. And I think every cheat-developer must do the same.
And SBC sending Rei's "enable codes" of entity radar (not a block code :)) only to player who has permissions "sbc.radar.reiradar" or "sbc.radar" , and sending code for "cave mode" to players with "sbc.cheats.reicave" and "sbc.cheats" permissions.
So everything is fine :)
since Rei's is kind of backwards (or forwards imo) and disabled by default (from what I've heard) then if you really do send ALL the block codes that means even people with no permissions get to use Rei's extra features, and having permission disables them. Am I right? Or have you already accounted for this?
@pixelbat
It not possible yet - there is no block code for this CJB's feature. I'm going to ask CJB - disable "ore highlight" with x-ray block-code, or create new block-code.
Mod is awesome. I was wondering if you were aware of the new xray hack option in the latest CJB? It lets you turn on a vector display of ores close by. Any plans to block this out? Here is a screenshot of what I am talking about. This is a diamond block I'm looking at with CJB, also with SBC enabled on my server and no permissions...
http://imgur.com/BLyet
Thank you ! good plugin
@wvenderbush
Hmm... I have long time ago forgotten the old one :) So new event system is supported. Works with latest CB devbuild (1.2.3-R0.2 #2052)
@Puremin0rez @andrewkm
Today I've uploaded new version. New permissions (but old will work too). Tested with CJB's flymod - works fine for me (x-ray will not enabled).
http://dev.bukkit.org/media/files/579/492/SBC.jar
Update to new event system? thanks!
Giving people fly also gives them xray in CJB - hope this is resolved!
@fromgate
Thank you very much! :)
@andrewkm
Hmm... I've check again the codes that CJB told me. And codes that he posted later in his plugin's topic. Nothing changes. I'm going to install CJB today and I'll test it again (and again... and again :))
@Ivanpro
Never hear about authme. I will check it.