Pehkui

Pehkui

35M Downloads

[Suggestion] Improve functionality of /scale persist

ImSpaceLover opened this issue ยท 3 comments

commented

There's a lot of people who ask about how to make the scale not reset after death. I think it's better to enable this setting by default so you wouldn't need always answer them. It also should be a server-side setting so players won't be able to cheat by enabling/disabling this setting themselves.

commented

Keeping it true by default feels a bit strange to me, but I'm working on a feature for the /scale command that can enable/disable the persistence of scales on death for easier usability than changing a config and restarting.

commented

/scale persist subcommand has now been added, so it should now be much easier for players to toggle scale resetting on death.

commented

Thank you, the command works good. But it's still not perfect and I have some features in mind that could be implemented.
1)
when you use the command
/scale persist set <true|false> @a
or
/scale persist set <scale_type> <true|false> @a
It probably should make ALL players persist their scale, even the ones that weren't connected when the command was executed. (I don't know if it's possible to implement, but if not, there should be another way to make every player that can join a server persist their scale after death, so you won't need to write the same command every time a new player joins)

The command could be widened by allowing it to request not only true/false values but numbers as well.
For example
/scale persist set 2 @s
could make it so your scale would be reset to 2 after death. (setting it to 1 would be equal to setting it to false)

If you don't agree with me or just don't want to do it - answer why. If you consider to implement it - reopen the issue.