encrypt source code
# support-forum
d
Is there a way to encrypt/block/hide etc. the source code of my files, but still be able to include them in my scripts and compile the gamemode? maybe by creating a plugin?
f
What are you doing that you need this? You never need to upload source files anywhere.
d
it's not about uploading, I've created a framework and I want the developers to work on the gamemode only by using the framework documentation, with the framework staying private. The problem is they won't be able to compile or test the scripts they've made if the source files are not public
f
y_master
d
oh thank you
isn't this easier than y_master?
Copy code
// Filterscript, private code
forward PulaMea(const msg[]);
public PulaMea(const msg[])
{
    print(msg);
}

// Public code
stock PulaMea(const msg[]) CallRemoteFunction("PulaMea", "s", msg);
this works too
Copy code
forward Float:FloatFunc();
public Float:FloatFunc()
{
    return 0.1;
}

stock Float:FloatFunc() return Float:CallRemoteFunction("FloatFunc", "");
b
yes y_master is best YSI modules works really well
d
how about my method above, without y_master, they only need the compiled filterscript
b
using y_master you create stubs and binaries, which are essentially filterscripts which are compiled in a type of share mode where they only get access to a single part of your gamemode which has limits like 5 players max and you can use y_lock to lock it to localhost or a specific ip