Im having this issue with a plugin called MyCommand and what I am trying to do is run two commands in one. So, when a player types /spawn, it will run two commands;
- /screeneffects fullscreen black 30 30 30 freeze $player
- /spawn $player.
This will let me be able to create a fade to black transition before teleporting to spawn, but I keep getting this error in the console.
[Server thread/INFO]: domdaws issued server command: /spawn
[Server thread/INFO]: domdaws issued mycmd (spawn) command /spawn
[ Server thread/INFO]: Only players can execute commands.
So I need to find an alternative to having someone run the command /spawn. I tried doing /warp spawn and that worked, but I do not like the way it says "warping to spawn" when it happens.
I want them to run the command /spawn because it also prompts custom messages that I have set up to show in chat when the command runs. Any suggestions????