Add a password to connect WorldEditor to Monitor Service
|Category:||Tools: Level Editor|
Currently, everybody can connect on all shards with the World Editor.
A simple system can be made:
add a variable in the world editor shard monitor plugins cfg:
add 2 variable in the monitor service cfg:
Password="foobar"; AcceptEGSCommands = 1;
the plugins send a message with the password, the MOS checks the password with the one in his cfg. disconnect the WE if the pass is not ok.
if MOS receive a msg for EGS, check if the variable AcceptEGSCommands is 1 and forward only it's 1.