I tried this version with CLI and all clients crashed upon first logging in. Not sure if CLI is always disabled on dev builds or should it have worked?
@Blurper let us know what solution you come up with and update the thread. I'm sure a lot of other people have the same question. But I'm pretty sure you have to use -no randoms.
Are you asking how to know if random event is for you or for another player?
You can just ignore them and they will go away. Or click on settings then tick "dismiss randoms".