- check_circle Functions
- check_circle Loot Tables
- 31,291 views, 15 today
- 6,087 downloads, 1 today
11
This data pack enables all players, regardless of their operator role on a server, to enter spectator mode. Once a player finishes using spectator mode, they are automatically returned to their previous game mode, location, and dimension.
Spectator mode cannot be entered whilst a player is burning, suffocating, drowning, falling/flying, starving, poisoned, withering away or near hostile mobs and some angered neutral mobs, so it cannot be used to cheat death. These restrictions don't apply for any players in creative mode. See the preview video for examples.
Ideal for small survival servers, it accommodates up to ten players using spectator mode simultaneously. Each player is individually teleported back to their respective previous locations upon exiting spectator mode. While in spectator mode, all normal features, such as teleporting to other players via the hot bar, remain available.
By default, players receive night vision while in spectator mode, but this can be toggled on/off for each player. Additionally, a title and server-wide announcement are displayed when a player enters or exits spectator mode; operators can toggle this feature on/off.
Please leave a comment for older game version downloads, current download is for 1.20.4.
Spectator mode cannot be entered whilst a player is burning, suffocating, drowning, falling/flying, starving, poisoned, withering away or near hostile mobs and some angered neutral mobs, so it cannot be used to cheat death. These restrictions don't apply for any players in creative mode. See the preview video for examples.
Ideal for small survival servers, it accommodates up to ten players using spectator mode simultaneously. Each player is individually teleported back to their respective previous locations upon exiting spectator mode. While in spectator mode, all normal features, such as teleporting to other players via the hot bar, remain available.
By default, players receive night vision while in spectator mode, but this can be toggled on/off for each player. Additionally, a title and server-wide announcement are displayed when a player enters or exits spectator mode; operators can toggle this feature on/off.
Please leave a comment for older game version downloads, current download is for 1.20.4.
Commands:
/trigger spectator (Toggles between spectator/survival mode)
/trigger spnightvis (Toggles night vision in spectator mode on/off per player)
/execute as username run trigger spectator (Toggles a specified player in/out of spectator mode)
/data modify storage spectator:stoptext 0 set value true (Disables titles and serverwide announcements globally)
/data remove storage spectator:stoptext 0 (Enables titles and serverwide announcements globally)
/function spectator:reset (Runs reset function)
/trigger spnightvis (Toggles night vision in spectator mode on/off per player)
/execute as username run trigger spectator (Toggles a specified player in/out of spectator mode)
/data modify storage spectator:stoptext 0 set value true (Disables titles and serverwide announcements globally)
/data remove storage spectator:stoptext 0 (Enables titles and serverwide announcements globally)
/function spectator:reset (Runs reset function)
Credit | Special thanks to everyone in the comments who has given suggestions! |
Compatibility | Minecraft 1.19 |
to | Minecraft 1.20 |
Tags |
9 Update Logs
Update #9 : by sandwichentity 01/10/2024 3:37:10 pmJan 10th
Update Notes:
- Fixed bug caused by grass being renamed to short_grass.
- Removed some redundant blocks from #intangibles.
- Fixed bug caused by grass being renamed to short_grass.
- Removed some redundant blocks from #intangibles.
LOAD MORE LOGS
4827969
119
Create an account or sign in to comment.
and add this line instead:
this breaks any functionality of being returned back to creative or adventure mode, but im not sure why you would need that anyway. The nbt tag "previousPlayerGameType" does not exist any more.
To fix the armor stand displaying the player name: Any instance of "Text1" on the 'slotX.mcfunction' files needs to be replaced with with "front_text.messages[0]"
thanks for the great plugin btw!