Revisions for ⁨unexpectedspawnconfig⁩

View the changes made to this paste.

unlisted ⁨1⁩ ⁨file⁩ 2024-03-12 17:54:51 UTC

unexpected

@@ -0,0 +1,76 @@

+# UnexpectedSpawn
+# Authors : DeathGOD7, Shivelight
+version: '1.0.0'
+
+global:
+  # Random respawn area for global settings.
+  x-max: 3399
+  x-min: -3399
+  z-max: 3399
+  z-min: -3399
+
+  # Fail radius expansion if normal x and z area failed to obtain suitable block or location
+  fail-radius: 500
+
+  # Sets the global respawn world unless set in custom config worlds.
+  respawn-world: 'random'
+
+  # Do you want to have random respawn than normal world respawn? By default it is enabled in all worlds. If you want to
+  # disable it in specific world, then add that world name in below 'blacklisted-worlds'.
+  random-respawn:
+    # Do you want to have random respawn after user dies? If set to false then user will respawn in world spawnpoint.
+    # or bed/respawn anchor spawnpoint.
+    on-death: true
+    # Checks if bed respawn is taken priority. If set to false then it will force user to random respawn
+    # even if they have bed respawn point when they die.
+    bed-respawn-enabled: true
+    # Do you want to have random spawn when user joins for first time to prevent grief in spawn chunks? If set to false
+    # then user will spawn in default world spawnpoint.
+    on-first-join: true
+    # Enable this if you want to have random respawn each time user joins the server. It's best for Anarchy type server.
+    always-on-join: true
+
+  # Invert the blacklist to whitelist
+  invert-block-blacklist: false
+
+  # Specify any block where you don't want user to be teleported. You don't them to drown in lava/water or land on
+  # someone else campfire, no?
+  spawn-block-blacklist:
+    - LAVA
+    - WATER
+    - CACTUS
+    - FIRE
+    - MAGMA_BLOCK
+    - SWEET_BERRY_BUSH
+    - CAMPFIRE
+
+
+# If no worlds are specified, it will use global/default variables. Default Config (worlds: [])
+# If you have added any world below, it will override the global settings.
+# If it got missing parameters that is in global settings like "spawn-block-blacklist"
+# but not in worlds world parameters then it will use global parameters.
+# All the features are same as global ones.
+# Please change "survival" to the name of your world and remove [] if you want to add worlds.
+
+worlds:
+  random:
+    x-max: 4500
+    x-min: -4500
+    z-max: 4500
+    z-min: -4500
+    fail-radius: 1000
+    respawn-world: 'random'
+    random-respawn:
+      on-death: true
+      bed-respawn-enabled: true
+      on-first-join: true
+      always-on-join: true
+
+# If you have any worlds here , then it will be excluded from having random spawn
+# Even if you have set custom settings in above settings and you add that world to
+# blacklist, it will be excluded. Default :[]
+blacklisted-worlds: 
+  - welcome
+#  - creative
+
+debug : false
\ No newline at end of file