Use "newline" and fix /fwr info
1. uses "newline" instead of "new line" as the space was only supported in skQuery, this removes skQuery dependency (which wasn't intended) 2. fixes it always showing chunk-based reset in /fwr info even if it isn't
This commit is contained in:
parent
ca18edb0c3
commit
3c3ec58879
@ -638,7 +638,7 @@ command /fastworldreset [<text>] [<text>] [<text>]:
|
|||||||
|
|
||||||
send formatted "&a&lWorld: &e%{-fastworldresetworld::%arg 2%}%"
|
send formatted "&a&lWorld: &e%{-fastworldresetworld::%arg 2%}%"
|
||||||
|
|
||||||
if {fastworldreset::chunkresetdisabled::%{_world}%} is set:
|
if {fastworldreset::chunkresetdisabled::%arg 2%} is set:
|
||||||
set {_type} to "world-based"
|
set {_type} to "world-based"
|
||||||
else:
|
else:
|
||||||
set {_type} to "chunk-based with fallback to world-based if it fails"
|
set {_type} to "chunk-based with fallback to world-based if it fails"
|
||||||
@ -689,7 +689,7 @@ command /fastworldreset [<text>] [<text>] [<text>]:
|
|||||||
send "&f/fwr exit &a- sets exit point to where players get teleported when their world resets."
|
send "&f/fwr exit &a- sets exit point to where players get teleported when their world resets."
|
||||||
send "&f/fwr load <world> [generator] &a- loads a world. Optionally with a generator."
|
send "&f/fwr load <world> [generator] &a- loads a world. Optionally with a generator."
|
||||||
send "&f/fwr unload <world> [<true/false>] &a- loads a world. true/false if the world should be saved, defaults to true."
|
send "&f/fwr unload <world> [<true/false>] &a- loads a world. true/false if the world should be saved, defaults to true."
|
||||||
send formatted "<ttp:&f/fwr unload <world>%new line%&7May be useful for unloading worlds which you no longer need.>&f/fwr unload <world> &a- unload a world."
|
send formatted "<ttp:&f/fwr unload <world>%newline%&7May be useful for unloading worlds which you no longer need.>&f/fwr unload <world> &a- unload a world."
|
||||||
send "&f/fwr unload-chunks <world> <true/false> &a- unloads chunks in the specified world, with saving or without."
|
send "&f/fwr unload-chunks <world> <true/false> &a- unloads chunks in the specified world, with saving or without."
|
||||||
send "&f/fwr tp <world> [player] &a- teleport to a world or teleport another player to the world."
|
send "&f/fwr tp <world> [player] &a- teleport to a world or teleport another player to the world."
|
||||||
send formatted "<ttp:&f/fwr disable-chunk-reset <world>%{_newline}%&7May be useful in situations where the world uses very much RAM and you prefer slower reset than higher RAM usage>&f/fwr disable-chunk-reset <world> &a- disables chunk-based resetting of the specified world, which makes the chunks unload normally."
|
send formatted "<ttp:&f/fwr disable-chunk-reset <world>%{_newline}%&7May be useful in situations where the world uses very much RAM and you prefer slower reset than higher RAM usage>&f/fwr disable-chunk-reset <world> &a- disables chunk-based resetting of the specified world, which makes the chunks unload normally."
|
||||||
|
Loading…
Reference in New Issue
Block a user