Tutorial by: Donut


Obfuskator

https://www.spigotmc.org/resources/obfuskator-skript-tool.60791/

Overview:
Obfuskator is not a plugin. After using the program to obfuscate your skript, the skript can be used on your server right away, no extra dependency plugin is required. Obfuskator obfuscates your skript by adding random gibberish to your code, making it difficult to read.

How to use:
Java 8 is required to run the program, if you only have Java 8 installed on your computer then simply double click the jar to run the program. If you have Java 8 and different versions then run the program from command line with <path to Java 8 java.exe> -jar <path to Obfuskator.jar>, for example C:\Program\Files\Java\jdk1.8.0\bin\java.exe -jar C:\Users\User\Desktop\Obfuskator.jar.

Upon running the program the Obfuskator GUI will open:

Enter your skript in the left panel by copy/pasting it, clicking the select file button, or dragging the file into the panel. After entering your skript, click the obfuscate button in the bottom left and the obfuscated skript will be output in the right panel where you can use the bottom buttons to copy it or save it to a file.

Skrambler

https://www.spigotmc.org/resources/skrambler-skript-obfuscator.67294/

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.

on join:
    send "Welcome" to player #skip

If you want multiple lines to be skipped then you can use the following:

on join:
    #skip
    broadcast "1"
    broadcast "2"
    #!skip
    broadcast "3"

In this example everything except the first two broadcast lines will be obfuscated.

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.

Limitations:


Did you find Donut's tutorial helpful?


You must be logged in to comment

  • May 29, 2019, 2:13 p.m. - TheChaosCode  

    Greate tutorial <3

    |