- Tested Minecraft Versions:
Skrambler is an addon for Skript that allows you to obfuscate your scripts. Note that this obfuscator is largely experimental so be please patient with any bugs or issues. Please report any problems on the discussion tab, pm me, or contact me on discord.
Outdated server and Skript versions will not be supported.
Example script before obfuscation:
After obfuscation:Code (Text):on join:
send "Welcome" to player
Code (Text):on jSoFiYnQQr:
sTeKqnPddE "Welcome" tGorA pmflCBjaHOjylWzecwLrN
How to obfuscate a script:
To obfuscate a script simply use the command /obfuscate <script name> (/scramble is an alias for this command too) and the permission for it is skrambler.obfuscate. The obfuscated script will be saved in the same folder as the original script file and will have the same name except with a .skr extension.
If you do not want a specific line in your script to be obfuscated, then suffix it with #skip.
If you want multiple lines to be skipped then you can use the following:Code (Text):on join:
send "Welcome" to player #skip
In this example everything except the first two broadcast lines will be obfuscated.Code (Text):on join:
How to load an obfuscated script:
Skrambler needs to be on the server but other than that, obfuscated scripts act in the same way as normal .sk files i.e. you can reload them with the /sk reload command and also Skrambler will automatically load all .skr files that are in the scripts folder when the server starts.
- There are some things in scripts that cannot be obfuscating (e.g. aliases) so Skrambler tries to avoid them when obfuscating but there could be some cases where something that shouldn't be obfuscated is accidentally obfuscated
- Skript-mirror cannot be used in obfuscated scripts (use #skip on lines that use skript-mirror)