[Suggestion] Spectator mode in a claim
Melvout opened this issue ยท 2 comments
Hi !
Here is a new suggestion :
Add a functionnality to allow the owner of a claim ( + admins ? ) change his gamemode from survival to spectator ( and vice-versa ).
The spectator mode should be restricted to his claim only, the owner can't leave his claim while in spectator mode or his gamemode is automatically updated to survival if he tries to go outside.
The functionnality could be accessible from the /rp flag menu.
Thanks !
Its already allow using the flag gamemode
: https://github.com/FabioZumbi12/RedProtect/wiki/(05)-Region-Flags#admin-flags
actually u can chane the gamemode of a claim...
or u can use Enter and Leave reagion commands
server-enter-command | Execute a command as console when a player enter in a Region | /rp flag server-enter-command [cmd1], [cmd2], ... |
---|---|---|
server-exit-command | Execute a command as console when a player exit a Region | /rp flag server-exit-command [cmd1], [cmd2], ... |
You can work with this:
Step 1: Enterring
. - give the permissions for GM3 (permiison command)
Step 2: Leaving:
. - steals the permission for Gm3 (Permisison command)
. - Sets him to gamemode 0 (command)
. - Teleport him on the Top solid block of the current (or next too) position (so he dont get stuck in a wall or fall down from air) (command from a plugin that can do this like CMI or other Teleport plugins)