I am making a server to play with my friends. It has a skript code that makes it so once you die three times your gamemode changes to spectator. The code has been working as it should, but there is an issue where when spectators rejoin the server, their gamemode is changed to survival. The death count isn't changed, just their gamemode. I know I can just ban them, but I would like to give them the option to spectate the world. I have tried changing many server settings like force gamemode, but none of them made a difference. Can this be fixed?
Question
maxybuild
I am making a server to play with my friends. It has a skript code that makes it so once you die three times your gamemode changes to spectator. The code has been working as it should, but there is an issue where when spectators rejoin the server, their gamemode is changed to survival. The death count isn't changed, just their gamemode. I know I can just ban them, but I would like to give them the option to spectate the world. I have tried changing many server settings like force gamemode, but none of them made a difference. Can this be fixed?
Here is the code I am using:
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now