#Can I alter the stats of players in spectator mode?

1 messages · Page 1 of 1 (latest)

fierce aurora
#

Might not be the proper channel but I need to alter the speed of players in spectator mode.

I don't know if it's hard coded or what but I couldn't find it in player.json.

So if anyone knows where this can be done or if it can be done at all, please tell me, thanks guys

tulip lake
#

/effect [tag=septator] speed #number #number true

#

and give every one in spectator the tag spectator

fierce aurora
#

Spectator mode is mostly unaffected by player effects, since the player is technically flying, neither speed nor slowness will register, unfortunately

dull dawn
foggy basalt
#

I believe you can edit default spectator fly speed with Minecraft Universal Tool if you want to try an NBT approach

fierce aurora
foggy basalt
#

I believe the part you want is the flySpeed

#

Just as one more note:

I don't think this will affect already existing players however...So on a fresh world, you'd be ok, but on an existing one, you'd have to go edit these attributes manually for each player and/or delete their player :/

fierce aurora
#

This fly speed value does seem to be what I'm looking for, can it be altered without the NBT editor so I can apply it to an addon?

foggy basalt
#

That's unfortunately outside of my understanding, sorry I couldn't help more but I hope you find what you're looking for