/goafk command
#1

Hello guys. Im trying to make a /goafk command, that makes your color grey on the scoreboard, and the other players cant see you while you are afk. You should also not be able to move around when in afk mode.
Then i want to make another command, called /back, which makes you able to move around again, and your name-color changes back to normal again, and the other players can see you again.

I thourght about putting afk players into another virtual world, but i dont know how to get the current virtual world before going afk, and then set it again when you type /back. The same with name-color.

Hope you guys can help me. Thank you.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)