Skip to content

Commit d484c53

Browse files
authored
Merge pull request #3228 from Multiverse/feat/config-command
Improve comments for first-spawn and join-destination
2 parents ad6c44b + 3c51141 commit d484c53

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

src/main/java/org/mvplugins/multiverse/core/config/CoreConfigNodes.java

+6-5
Original file line numberDiff line numberDiff line change
@@ -223,16 +223,16 @@ private <N extends Node> N node(N node) {
223223
.build());
224224

225225
final ConfigNode<Boolean> firstSpawnOverride = node(ConfigNode.builder("spawn.first-spawn-override", Boolean.class)
226-
.comment("Sets whether Multiverse will override the first spawn location of a world.")
227-
.comment("If enabled, Multiverse will set the first spawn location of a world to the spawn location of the world.")
226+
.comment("Sets whether Multiverse will override the location where the player spawns when they join the server")
227+
.comment("for the first time. For fixed spawn location on every login, see the `join-destination` option below.")
228228
.comment("If disabled, it will default to server.properties settings.")
229229
.defaultValue(false)
230230
.name("first-spawn-override")
231231
.build());
232232

233233
final ConfigNode<String> firstSpawnLocation = node(ConfigNode.builder("spawn.first-spawn-location", String.class)
234234
.comment("")
235-
.comment("Sets the world that Multiverse will use as the location for players that first join the server.")
235+
.comment("Sets the world that Multiverse will use as the location for players that join the server for the first time.")
236236
.comment("This only applies if first-spawn-override is set to true.")
237237
.defaultValue("")
238238
.name("first-spawn-location")
@@ -241,14 +241,15 @@ private <N extends Node> N node(N node) {
241241

242242
final ConfigNode<Boolean> enableJoinDestination = node(ConfigNode.builder("spawn.enable-join-destination", Boolean.class)
243243
.comment("")
244-
.comment("Enables join-destination below.")
244+
.comment("Enables setting of a fixed location for players to spawn in when they join the server every time.")
245+
.comment("See `join-destination` option below as well.")
245246
.defaultValue(false)
246247
.name("enable-join-destination")
247248
.build());
248249

249250
final ConfigNode<String> joinDestination = node(ConfigNode.builder("spawn.join-destination", String.class)
250251
.comment("")
251-
.comment("Sets the destination that Multiverse will use to spawn players on every login")
252+
.comment("Sets the destination that Multiverse will use to spawn players on every login.")
252253
.comment("Set the above enable-join-destination to false to disable")
253254
.defaultValue("")
254255
.name("join-destination")

0 commit comments

Comments
 (0)