Hello, I would like to know if there's a way how to enable socialspy automatically when player join the game ( or better option, not to disable it when player leaves the game). Thanks
This is command form essentials that allows you to see players private massages. @topic you must set this in config
Is there a command to do this from the console? If so: will make you a plugin that runs a command from the console on join
Another thing you can do is sudo a player to issue the command used to turn socialspy on when logging in.
I just got a plugin called Skript which is pretty awesome, idk that much about it though. I know you can do something like this for your problem, not sure though. This code I gave below is something like what you would do. Code: on join: make player execute command "/socialspy" permission: auto.socialspy
Correct me if i'm wrong, basically you create a shortcut and then just assign that permission to group? EDIT// I tried it and it didn't work.
Like I said before, idk much about Skript. I was assuming it would work. Try going to the Skript forums and asking for help there.
dezaaa Here you go! Let me know if it works, I really like the idea of the plugin and I might extend on this by adding my own social spy command. EDIT: Permission node: onjoin.autosocialspy Plugin defaults to OP's. https://dl.dropboxusercontent.com/s...AHXD0bVpG4xfGEO1M3kEFCGmKuZZP1uIV4iBsRkzDi0pg
Everybody makes mistakes dezaaa Of you still need something that runs commands on player join just tahg me.
I'm sorry for my inactivity. BrushPainter Thanks for effort, but I don't think it works (I used player with OP in Owner group ("*" permissions). timtower Yep, I'm still interested in such a thing
dezaaa https://www.dropbox.com/s/runyuu44vj452y9/CommandOnJoin.jar Put the command in the config, without the / The player will run that command when they join.