pjc21

Example worldprimer.cfg

Apr 7th, 2019
443
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 23.06 KB | None | 0 0
  1. # Configuration file
  2.  
  3. ##########################################################################################################
  4. # Commands
  5. #--------------------------------------------------------------------------------------------------------#
  6. # Command documentation:
  7. # There are a few substitutions available to use in the commands:
  8. # Basic number substitutions from world data:
  9. # {DIMENSION}
  10. # {SPAWN_X}
  11. # {SPAWN_Y}
  12. # {SPAWN_Z}.
  13. #
  14. # Also {SPAWN_POINT_X} etc. that return the spawn point instead of the possible spawn coordinate (like in the End).
  15. # Any occurences of those strings will be replaced by the current dimension ID,
  16. # or the coordinates of the spawn point respectively.
  17. #
  18. # Random numbers, integer and double type: {RAND:min,max},
  19. # for example {RAND:5,15} or {RAND:1.2,3.9} (the max value is exclusive)
  20. #
  21. # Real time/clock values:
  22. # {TIME_Y} => year (4 digits: 2017)
  23. # {TIME_M} => month (2 digits: 03)
  24. # {TIME_D} => day (2 digits: 04)
  25. # {TIME_H} => hour (2 digits: 09)
  26. # {TIME_I} => minute (2 digits: 05)
  27. # {TIME_S} => second (2 digits: 07)
  28. # {TIME_TICK} => current world total time in ticks
  29. # {TIME_TICK_DAY} => current world/day time in ticks
  30. #
  31. # The y-coordinate of the top-most block in the world in the given coordinates
  32. # (actually the air block above it): {TOP_Y:x,z} for example: {TOP_Y:-37,538}
  33. #
  34. # The x y z coordinates of the top-most block in the world in a random location around a given x,z location
  35. # (again, actually the air block above it): {TOP_Y_RAND:x,z;x-range,z-range}
  36. # for example: {TOP_Y_RAND:-37,538;32,32} would be the top block at a random location within
  37. # 32 blocks of x = -37, z = 538. That substitution will be replaced with a string like '-49 72 544' (without the quotes)
  38. #
  39. # For the player-specific commands, the following substitutions are available:
  40. # {PLAYER_X}, {PLAYER_Y}, {PLAYER_Z} and {PLAYER_NAME}
  41. #
  42. # Also {PLAYER_BED_X}, {PLAYER_BED_Y} and {PLAYER_BED_Z} for the last set (bed) spawn point.
  43. # There are also {PLAYER_BED_SPAWN_X}, {PLAYER_BED_SPAWN_Y} and {PLAYER_BED_SPAWN_Z} that also check that the bed exists,
  44. # or otherwise they will revert to the fallback world spawn point.
  45. # Note that these will thus load that one chunk to check for the bed.
  46. #
  47. # The player-specific commands can be targeted to specific counts (like the 6th respawn for example)
  48. # or a multiple of a count (similarly to the dim-loading-command prefix)
  49. # by prefixing the command like so: 'worldprimer-tracked-nth <count> <actual command>'
  50. # For example in the playerRespawnCommands:
  51. # worldprimer-tracked-nth 3 say The player {PLAYER_NAME} has respawned for the third time at {PLAYER_X}, {PLAYER_Y}, {PLAYER_Z}
  52. # worldprimer-tracked-nth %5 say The player {PLAYER_NAME} has respawned for some multiple of 5 times
  53. #
  54. # Note that the above only applies to the other player-specific commands, but not the playerChangedDimension commands.
  55. # For the playerChangedDimension commands, the same format works instead as for the dimension loading commands:
  56. # worldprimer-dim-command-nth 3 1 say The player {PLAYER_NAME} has entered The End (dimension {DIMENSION}) for the third time
  57. #
  58. # The substitutions also support very basic arithmetic operations [+-*/].
  59. # So you can do for example:
  60. # fill {SPAWN_X}-2 {SPAWN_Y}+3 {SPAWN_Z}-2 {SPAWN_X}+2 {SPAWN_Y}+7 {SPAWN_Z}+2 minecraft:emerald_block
  61. #
  62. # Note however that there is no actual order of operations/priorities/grouping.
  63. # The commands are parsed/substituted from the left, and if there is an arithmetic
  64. # operation immediately following the closing curly brace of a substitution, then the value
  65. # of the following string interpreted as a number is added to the substituted value.
  66. # That string following the arithmetic operation is first substituted recursively though,
  67. # which means that the order of operations is actually starting from the right.
  68. #
  69. # Both the substitutions and the arithmetic operations following them can be escaped by a preceding backslash '\',
  70. # if it should actually appear in the command as-is and not be substituted.
  71. # For example: 'say Foo bar \{SPANW_X}' would become 'say Foo bar {SPANW_X}' in the final command.
  72. # Or 'say Foo bar {SPAWN_X}\+16' would become 'say Foo bar 34+16', assuming the spawn x-coordinate is 34.
  73. #
  74. # Note, that the earlyWorldCreationCommands and the earlyWorldLoadingCommands
  75. # DO NOT have a world available yet, so the substitutions will NOT happen for those commands.
  76. # Thus, those commands also can't do anything that would require a world.
  77. # An example of this is setting the game rules - those are kept in the WorldInfo object,
  78. # which is stored in the World, so the overworld specifically needs to be loaded for changing any game rules.
  79. #
  80. # Additionally, the postWorldCreationCommands and the postWorldLoadingCommands will use
  81. # the Overworld (or whichever world is dimension 0) for the substitutions.
  82. #
  83. # So it's mostly the dimension loading commands that benefit from the {DIMENSION} substitution.
  84. #
  85. # Note also, that by default in vanilla/Forge, ALL dimensions use the WorldInfo from the overworld,
  86. # which means that they will have the exact same spawn coordinates and game rules etc. as the overworld.
  87. # Some mods may change this so that dimensions can have separate spawn points, game rules etc.
  88. # One such mod is Just Enough Dimensions.
  89. ##########################################################################################################
  90.  
  91. Commands {
  92. # Commands to run when a dimension gets loaded.
  93. # You can target these to only be run when a specific dimension loads
  94. # by specifying the command as 'worldprimer-dim-command <dimId> <command>'.
  95. # So for example: 'worldprimer-dim-command 1 say The End has loaded!'.
  96. # You can also run a command only when a dimension loads for specific number of times:
  97. # 'worldprimer-dim-command-nth <load count> <dim id> <command>'.
  98. # This would run the command only when the dimension loads for the 'load count'-th time.
  99. # The count is incremented before the commands are parsed, so in other words the first load is 1, not 0.
  100. # You can also run the command every count-th time the dimension loads, by prefixing the count with a '%', so for example
  101. # worldprimer-dim-command-nth %5 1 say The End has loaded some multiple of 5 times!
  102. S:dimensionLoadingCommands <
  103. worldprimer-dim-command-nth 1 0 worldprimer place-structure {SPAWN_POINT_X} {SPAWN_POINT_Y}-1 {SPAWN_POINT_Z} stargate none none centered
  104. worldprimer-dim-command-nth 1 0 setblock {SPAWN_POINT_X} {SPAWN_POINT_Y}+5 {SPAWN_POINT_Z}-1 sgcraft:stargatering 1
  105. worldprimer-dim-command-nth 1 0 blockdata {SPAWN_POINT_X} {SPAWN_POINT_Y}+1 {SPAWN_POINT_Z}-1 {hasChevronUpgrade:1b}
  106. worldprimer-dim-command-nth 1 0 blockdata {SPAWN_POINT_X} {SPAWN_POINT_Y}+1 {SPAWN_POINT_Z}-1 {inventory:[{slot:0,id:"minecraft:stone_slab",Count:1b,Damage:5s},{slot:1,id:"minecraft:stone_slab",Count:1b,Damage:5s},{slot:2,id:"minecraft:stone_slab",Count:1b,Damage:5s},{slot:3,id:"minecraft:stone_slab",Count:1b,Damage:5s},{slot:4,id:"minecraft:stone_slab",Count:1b,Damage:5s}]}
  107. worldprimer-dim-command-nth 1 0 setblock {SPAWN_POINT_X}-3 {SPAWN_POINT_Y} {SPAWN_POINT_Z}+5 sgcraft:stargatecontroller 3
  108.  
  109. worldprimer-dim-command-nth 1 8 worldprimer place-structure {SPAWN_POINT_X} {SPAWN_POINT_Y}-1 {SPAWN_POINT_Z} stargateHorizontal none none centered
  110. worldprimer-dim-command-nth 1 8 setblock {SPAWN_POINT_X} {SPAWN_POINT_Y}+1 {SPAWN_POINT_Z}-3 sgcraft:stargatering 1
  111. worldprimer-dim-command-nth 1 8 blockdata {SPAWN_POINT_X} {SPAWN_POINT_Y}+1 {SPAWN_POINT_Z}+1 {hasChevronUpgrade:1b}
  112. worldprimer-dim-command-nth 1 8 blockdata {SPAWN_POINT_X} {SPAWN_POINT_Y}+1 {SPAWN_POINT_Z}+1 {inventory:[{slot:0,id:"minecraft:stonebrick",Count:1b,Damage:0s},{slot:1,id:"minecraft:stonebrick",Count:1b,Damage:0s},{slot:2,id:"minecraft:stonebrick",Count:1b,Damage:0s},{slot:3,id:"minecraft:stonebrick",Count:1b,Damage:0s},{slot:4,id:"minecraft:stonebrick",Count:1b,Damage:0s}]}
  113. worldprimer-dim-command-nth 1 8 setblock {SPAWN_POINT_X} {SPAWN_POINT_Y}+2 {SPAWN_POINT_Z}+3 sgcraft:stargatecontroller 3
  114. worldprimer-dim-command-nth 1 8 sgunloaddim 8
  115.  
  116. worldprimer-dim-command-nth 1 9 worldprimer place-structure {SPAWN_POINT_X} {SPAWN_POINT_Y}-1 {SPAWN_POINT_Z} stargate none none centered
  117. worldprimer-dim-command-nth 1 9 setblock {SPAWN_POINT_X} {SPAWN_POINT_Y}+5 {SPAWN_POINT_Z}-1 sgcraft:stargatering 1
  118. worldprimer-dim-command-nth 1 9 blockdata {SPAWN_POINT_X} {SPAWN_POINT_Y}+1 {SPAWN_POINT_Z}-1 {hasChevronUpgrade:1b}
  119. worldprimer-dim-command-nth 1 9 blockdata {SPAWN_POINT_X} {SPAWN_POINT_Y}+1 {SPAWN_POINT_Z}-1 {inventory:[{slot:0,id:"minecraft:stone_slab",Count:1b,Damage:5s},{slot:1,id:"minecraft:stone_slab",Count:1b,Damage:5s},{slot:2,id:"minecraft:stone_slab",Count:1b,Damage:5s},{slot:3,id:"minecraft:stone_slab",Count:1b,Damage:5s},{slot:4,id:"minecraft:stone_slab",Count:1b,Damage:5s}]}
  120. worldprimer-dim-command-nth 1 9 setblock {SPAWN_POINT_X}-3 {SPAWN_POINT_Y} {SPAWN_POINT_Z}+5 sgcraft:stargatecontroller 3
  121. worldprimer-dim-command-nth 1 9 setblock {SPAWN_POINT_X} {SPAWN_POINT_Y}+7 {SPAWN_POINT_Z} sgextras:block_activator
  122. worldprimer-dim-command-nth 1 9 setblock {SPAWN_POINT_X} {SPAWN_POINT_Y}+7 {SPAWN_POINT_Z}-1 weirdinggadget:weirding_gadget
  123. worldprimer-dim-command-nth 1 9 sgunloaddim 9
  124.  
  125. worldprimer-dim-command-nth 1 10 sgsetrandomspawn 10 NETHER true
  126. worldprimer-dim-command-nth 1 10 worldprimer place-structure {SPAWN_POINT_X} {SPAWN_POINT_Y}-1 {SPAWN_POINT_Z} stargate none none centered
  127. worldprimer-dim-command-nth 1 10 setblock {SPAWN_POINT_X} {SPAWN_POINT_Y}+5 {SPAWN_POINT_Z}-1 sgcraft:stargatering 1
  128. worldprimer-dim-command-nth 1 10 blockdata {SPAWN_POINT_X} {SPAWN_POINT_Y}+1 {SPAWN_POINT_Z}-1 {hasChevronUpgrade:1b}
  129. worldprimer-dim-command-nth 1 10 blockdata {SPAWN_POINT_X} {SPAWN_POINT_Y}+1 {SPAWN_POINT_Z}-1 {inventory:[{slot:0,id:"minecraft:stone_slab",Count:1b,Damage:5s},{slot:1,id:"minecraft:stone_slab",Count:1b,Damage:5s},{slot:2,id:"minecraft:stone_slab",Count:1b,Damage:5s},{slot:3,id:"minecraft:stone_slab",Count:1b,Damage:5s},{slot:4,id:"minecraft:stone_slab",Count:1b,Damage:5s}]}
  130. worldprimer-dim-command-nth 1 10 setblock {SPAWN_POINT_X}-3 {SPAWN_POINT_Y} {SPAWN_POINT_Z}+5 sgcraft:stargatecontroller 3
  131. worldprimer-dim-command-nth 1 10 sgunloaddim 10
  132.  
  133. worldprimer-dim-command-nth 1 11 sgsetrandomspawn 11 END false
  134. worldprimer-dim-command-nth 1 11 worldprimer place-structure {SPAWN_POINT_X} {SPAWN_POINT_Y}-1 {SPAWN_POINT_Z} stargate none none centered
  135. worldprimer-dim-command-nth 1 11 setblock {SPAWN_POINT_X} {SPAWN_POINT_Y}+5 {SPAWN_POINT_Z}-1 sgcraft:stargatering 1
  136. worldprimer-dim-command-nth 1 11 blockdata {SPAWN_POINT_X} {SPAWN_POINT_Y}+1 {SPAWN_POINT_Z}-1 {hasChevronUpgrade:1b}
  137. worldprimer-dim-command-nth 1 11 blockdata {SPAWN_POINT_X} {SPAWN_POINT_Y}+1 {SPAWN_POINT_Z}-1 {inventory:[{slot:0,id:"minecraft:stone_slab",Count:1b,Damage:5s},{slot:1,id:"minecraft:stone_slab",Count:1b,Damage:5s},{slot:2,id:"minecraft:stone_slab",Count:1b,Damage:5s},{slot:3,id:"minecraft:stone_slab",Count:1b,Damage:5s},{slot:4,id:"minecraft:stone_slab",Count:1b,Damage:5s}]}
  138. worldprimer-dim-command-nth 1 11 setblock {SPAWN_POINT_X}-3 {SPAWN_POINT_Y} {SPAWN_POINT_Z}+5 sgcraft:stargatecontroller 3
  139. worldprimer-dim-command-nth 1 11 sgunloaddim 11
  140.  
  141. worldprimer-dim-command-nth 1 -9999 worldprimer place-structure {SPAWN_POINT_X} 64 {SPAWN_POINT_Z} stargate none none centered
  142. worldprimer-dim-command-nth 1 -9999 setblock {SPAWN_POINT_X} 70 {SPAWN_POINT_Z}-1 sgcraft:stargatering 1
  143. worldprimer-dim-command-nth 1 -9999 blockdata {SPAWN_POINT_X} 66 {SPAWN_POINT_Z}-1 {hasChevronUpgrade:1b}
  144. worldprimer-dim-command-nth 1 -9999 blockdata {SPAWN_POINT_X} 66 {SPAWN_POINT_Z}-1 {inventory:[{slot:0,id:"minecraft:stone_slab",Count:1b,Damage:5s},{slot:1,id:"minecraft:stone_slab",Count:1b,Damage:5s},{slot:2,id:"minecraft:stone_slab",Count:1b,Damage:5s},{slot:3,id:"minecraft:stone_slab",Count:1b,Damage:5s},{slot:4,id:"minecraft:stone_slab",Count:1b,Damage:5s}]}
  145. worldprimer-dim-command-nth 1 -9999 setblock {SPAWN_POINT_X}-3 65 {SPAWN_POINT_Z}+5 sgcraft:stargatecontroller 3
  146.  
  147. worldprimer-dim-command-nth 2 -28 sgsetrandomspawn -28 OVERWORLD false
  148. worldprimer-dim-command-nth 2 -28 worldprimer place-structure {SPAWN_POINT_X} {SPAWN_POINT_Y}-1 {SPAWN_POINT_Z} stargate none none centered
  149. worldprimer-dim-command-nth 2 -28 setblock {SPAWN_POINT_X} {SPAWN_POINT_Y}+5 {SPAWN_POINT_Z}-1 sgcraft:stargatering 1
  150. worldprimer-dim-command-nth 2 -28 blockdata {SPAWN_POINT_X} {SPAWN_POINT_Y}+1 {SPAWN_POINT_Z}-1 {hasChevronUpgrade:1b}
  151. worldprimer-dim-command-nth 2 -28 blockdata {SPAWN_POINT_X} {SPAWN_POINT_Y}+1 {SPAWN_POINT_Z}-1 {inventory:[{slot:0,id:"minecraft:stone_slab",Count:1b,Damage:5s},{slot:1,id:"minecraft:stone_slab",Count:1b,Damage:5s},{slot:2,id:"minecraft:stone_slab",Count:1b,Damage:5s},{slot:3,id:"minecraft:stone_slab",Count:1b,Damage:5s},{slot:4,id:"minecraft:stone_slab",Count:1b,Damage:5s}]}
  152. worldprimer-dim-command-nth 2 -28 setblock {SPAWN_POINT_X}-3 {SPAWN_POINT_Y} {SPAWN_POINT_Z}+5 sgcraft:stargatecontroller 3
  153. worldprimer-dim-command-nth 2 -28 sgunloaddim -28
  154.  
  155. worldprimer-dim-command-nth 2 7 sgsetrandomspawn 7 OVERWORLD false
  156. worldprimer-dim-command-nth 2 7 worldprimer place-structure {SPAWN_POINT_X} {SPAWN_POINT_Y}-1 {SPAWN_POINT_Z} stargate none none centered
  157. worldprimer-dim-command-nth 2 7 setblock {SPAWN_POINT_X} {SPAWN_POINT_Y}+5 {SPAWN_POINT_Z}-1 sgcraft:stargatering 1
  158. worldprimer-dim-command-nth 2 7 blockdata {SPAWN_POINT_X} {SPAWN_POINT_Y}+1 {SPAWN_POINT_Z}-1 {hasChevronUpgrade:1b}
  159. worldprimer-dim-command-nth 2 7 blockdata {SPAWN_POINT_X} {SPAWN_POINT_Y}+1 {SPAWN_POINT_Z}-1 {inventory:[{slot:0,id:"minecraft:stone_slab",Count:1b,Damage:5s},{slot:1,id:"minecraft:stone_slab",Count:1b,Damage:5s},{slot:2,id:"minecraft:stone_slab",Count:1b,Damage:5s},{slot:3,id:"minecraft:stone_slab",Count:1b,Damage:5s},{slot:4,id:"minecraft:stone_slab",Count:1b,Damage:5s}]}
  160. worldprimer-dim-command-nth 2 7 setblock {SPAWN_POINT_X}-3 {SPAWN_POINT_Y} {SPAWN_POINT_Z}+5 sgcraft:stargatecontroller 3
  161. worldprimer-dim-command-nth 2 7 sgunloaddim 7
  162.  
  163. worldprimer-dim-command-nth 2 20 sgsetrandomspawn 20 OVERWORLD true
  164. worldprimer-dim-command-nth 2 20 worldprimer place-structure {SPAWN_POINT_X} {SPAWN_POINT_Y}-1 {SPAWN_POINT_Z} stargate none none centered
  165. worldprimer-dim-command-nth 2 20 setblock {SPAWN_POINT_X} {SPAWN_POINT_Y}+5 {SPAWN_POINT_Z}-1 sgcraft:stargatering 1
  166. worldprimer-dim-command-nth 2 20 blockdata {SPAWN_POINT_X} {SPAWN_POINT_Y}+1 {SPAWN_POINT_Z}-1 {hasChevronUpgrade:1b}
  167. worldprimer-dim-command-nth 2 20 blockdata {SPAWN_POINT_X} {SPAWN_POINT_Y}+1 {SPAWN_POINT_Z}-1 {inventory:[{slot:0,id:"minecraft:stone_slab",Count:1b,Damage:5s},{slot:1,id:"minecraft:stone_slab",Count:1b,Damage:5s},{slot:2,id:"minecraft:stone_slab",Count:1b,Damage:5s},{slot:3,id:"minecraft:stone_slab",Count:1b,Damage:5s},{slot:4,id:"minecraft:stone_slab",Count:1b,Damage:5s}]}
  168. worldprimer-dim-command-nth 2 20 setblock {SPAWN_POINT_X}-3 {SPAWN_POINT_Y} {SPAWN_POINT_Z}+5 sgcraft:stargatecontroller 3
  169. worldprimer-dim-command-nth 2 20 sgunloaddim 20
  170.  
  171.  
  172. worldprimer-dim-command-nth 2 8 worldprimer-load-blocks {SPAWN_POINT_X} {SPAWN_POINT_Z}-3 {SPAWN_POINT_X} {SPAWN_POINT_Z}-3
  173. worldprimer-dim-command-nth 2 8 sgaddress Abydos 8 true true {SPAWN_POINT_X} {SPAWN_POINT_Y}+1 {SPAWN_POINT_Z}+1 {}
  174. worldprimer-dim-command-nth 2 8 sgunloaddim 8
  175.  
  176. worldprimer-dim-command-nth 2 9 worldprimer-load-blocks {SPAWN_POINT_X} {SPAWN_POINT_Z}-1 {SPAWN_POINT_X} {SPAWN_POINT_Z}-1
  177. worldprimer-dim-command-nth 2 9 sgaddress P39-865 9 true true {SPAWN_POINT_X} {SPAWN_POINT_Y}+1 {SPAWN_POINT_Z}-1 {}
  178. worldprimer-dim-command-nth 2 9 setblock {SPAWN_POINT_X} {SPAWN_POINT_Y}+7 {SPAWN_POINT_Z} minecraft:air
  179. worldprimer-dim-command-nth 2 9 setblock {SPAWN_POINT_X} {SPAWN_POINT_Y}+7 {SPAWN_POINT_Z}-1 minecraft:air
  180. worldprimer-dim-command-nth 2 9 sgunloaddim 9
  181.  
  182. worldprimer-dim-command-nth 2 10 worldprimer-load-blocks {SPAWN_POINT_X} {SPAWN_POINT_Z}-1 {SPAWN_POINT_X} {SPAWN_POINT_Z}-1
  183. worldprimer-dim-command-nth 2 10 sgaddress Netu 10 true true {SPAWN_POINT_X} {SPAWN_POINT_Y}+1 {SPAWN_POINT_Z}-1 {}
  184. worldprimer-dim-command-nth 2 10 sgunloaddim 10
  185.  
  186. worldprimer-dim-command-nth 2 11 worldprimer-load-blocks {SPAWN_POINT_X} {SPAWN_POINT_Z}-1 {SPAWN_POINT_X} {SPAWN_POINT_Z}-1
  187. worldprimer-dim-command-nth 2 11 sgaddress End 11 false true {SPAWN_POINT_X} {SPAWN_POINT_Y}+1 {SPAWN_POINT_Z}-1 {}
  188. worldprimer-dim-command-nth 2 11 sgunloaddim 11
  189.  
  190. worldprimer-dim-command-nth 2 -9999 worldprimer-load-blocks {SPAWN_POINT_X} {SPAWN_POINT_Z}-1 {SPAWN_POINT_X} {SPAWN_POINT_Z}-1
  191. worldprimer-dim-command-nth 2 -9999 sgaddress MiningDim -9999 true true {SPAWN_POINT_X} 66 {SPAWN_POINT_Z}-1 {}
  192. worldprimer-dim-command-nth 2 -9999 sgunloaddim -9999
  193.  
  194. worldprimer-dim-command-nth 3 -28 worldprimer-load-blocks {SPAWN_POINT_X} {SPAWN_POINT_Z}-1 {SPAWN_POINT_X} {SPAWN_POINT_Z}-1
  195. worldprimer-dim-command-nth 3 -28 sgaddress Moon -28 true true {SPAWN_POINT_X} {SPAWN_POINT_Y}+1 {SPAWN_POINT_Z}-1 {}
  196. worldprimer-dim-command-nth 3 -28 sgunloaddim -28
  197.  
  198. worldprimer-dim-command-nth 3 7 worldprimer-load-blocks {SPAWN_POINT_X} {SPAWN_POINT_Z}-1 {SPAWN_POINT_X} {SPAWN_POINT_Z}-1
  199. worldprimer-dim-command-nth 3 7 sgaddress TwilightForest 7 true true {SPAWN_POINT_X} {SPAWN_POINT_Y}+1 {SPAWN_POINT_Z}-1 {}
  200. worldprimer-dim-command-nth 3 7 sgunloaddim 7
  201.  
  202. worldprimer-dim-command-nth 3 20 worldprimer-load-blocks {SPAWN_POINT_X} {SPAWN_POINT_Z}-1 {SPAWN_POINT_X} {SPAWN_POINT_Z}-1
  203. worldprimer-dim-command-nth 3 20 sgaddress Betweenlands 20 true true {SPAWN_POINT_X} {SPAWN_POINT_Y}+1 {SPAWN_POINT_Z}-1 {}
  204. worldprimer-dim-command-nth 3 20 sgunloaddim 20
  205. >
  206.  
  207. # Commands to run on initial world creation, before the spawn chunks have been generated or loaded.
  208. # If dimension load tracking is enabled, then this happens even before any dimensions have been loaded/initialized yet.
  209. S:earlyWorldCreationCommands <
  210. >
  211.  
  212. # Commands to run every time the world gets loaded.
  213. # These are run when the server is starting, before any worlds have been loaded.
  214. S:earlyWorldLoadingCommands <
  215. >
  216.  
  217. # Commands to run when a player enters a dimension while changing dimensions.
  218. # Note that these will NOT run when a player joins the game or respawns after dying.
  219. # You can use the 'worldprimer-dim-command <dimId>' (or the -nth variant) prefix to target entering a specific dimension.
  220. S:playerChangedDimensionEnterCommands <
  221. >
  222.  
  223. # Commands to run when a player leaves a dimension while changing dimensions.
  224. # Note that these will NOT run when a player leaves the game/server.
  225. # You can use the 'worldprimer-dim-command <dimId>' (or the -nth variant) prefix to target leaving a specific dimension.
  226. # NOTE: These commands will run AFTER the player is already in the new dimension!!
  227. S:playerChangedDimensionLeaveCommands <
  228. >
  229.  
  230. # Commands to run when a player dies
  231. S:playerDeathCommands <
  232. >
  233.  
  234. # Commands to run when a player joins (connects to) the server
  235. S:playerJoinCommands <
  236. >
  237.  
  238. # Commands to run when a player disconnects from the server
  239. S:playerQuitCommands <
  240. >
  241.  
  242. # Commands to run when a player respawns after dying
  243. S:playerRespawnCommands <
  244. >
  245.  
  246. # Commands to run on initial world creation, after the spawn chunks have been generated and loaded.
  247. S:postWorldCreationCommands <
  248. sgloaddim 8
  249. sgloaddim 9
  250. sgloaddim 10
  251. sgloaddim 11
  252. sgloaddim -28
  253. sgloaddim 7
  254. sgloaddim 20
  255. >
  256.  
  257. # Commands to run every time the world gets loaded.
  258. # These are run when the server has started and the overworld spawn chunks have been loaded.
  259. S:postWorldLoadingCommands <
  260. >
  261.  
  262. # Commands to run based on the world time.
  263. # Must be in the format: 'worldprimer-timed-command <time> <dimension> <command>',
  264. # where <time> is the total world time in ticks when the command should run.
  265. # The time can be prefixed with a '%' to make it run periodically, with that interval (basically a modulo).
  266. # With the periodic time, you can also use offsets, like so:
  267. # worldprimer-timed-command %1200-80 0 say Something happens in 4 seconds!
  268. # worldprimer-timed-command %1200 0 say Something happens now!
  269. # worldprimer-timed-command %1200+80 0 Say something happened 4 seconds ago!
  270. S:timedCommands <
  271. worldprimer-timed-command 1000 0 say Loading Dims Second Time!
  272. worldprimer-timed-command 1000 0 sgaddress Earth 0 false false {SPAWN_POINT_X} {SPAWN_POINT_Y}+1 {SPAWN_POINT_Z}-1 {}
  273. worldprimer-timed-command 1000 0 sgloaddim 8
  274. worldprimer-timed-command 1000 0 sgloaddim 9
  275. worldprimer-timed-command 1000 0 sgloaddim 10
  276. worldprimer-timed-command 1000 0 sgloaddim 11
  277. worldprimer-timed-command 1000 0 sgloaddim -9999
  278. worldprimer-timed-command 1000 0 sgloaddim -28
  279. worldprimer-timed-command 1000 0 sgloaddim 7
  280. worldprimer-timed-command 1000 0 sgloaddim 20
  281.  
  282.  
  283. worldprimer-timed-command 1600 0 say Loading Dims Third Time!
  284. worldprimer-timed-command 1600 0 sgloaddim -28
  285. worldprimer-timed-command 1600 0 sgloaddim 7
  286. worldprimer-timed-command 1600 0 sgloaddim 20
  287. >
  288. }
  289.  
  290.  
  291. Generic {
  292. # Enables saving any Chisels & Bits blocks in the cross-world compatible format
  293. # in the 'create-structure' command when using the Schematic format
  294. B:enableChiselsAndBitsCrossWorldFormat=true
  295.  
  296. # Enables tracking of dimension load counts, player join counts etc. by storing the counts in a file in worlddir/worldprimer/data_tracker.nbt
  297. B:enableDataTracking=true
  298.  
  299. # Enables verbose logging for debug purposes
  300. B:enableDebugLogging=true
  301. }
  302.  
  303.  
  304. Toggles {
  305. # Enables the dimension loading commands
  306. B:enableDimensionLoadingCommands=true
  307.  
  308. # Enables early world creation commands, which are executed before any dimensions
  309. # have been loaded and thus before any chunks have been generated or loaded.
  310. B:enableEarlyWorldCreationCommands=false
  311.  
  312. # Enables early world loading commands, which are executed once at each server start,
  313. # before the overworld spawn chunks have been loaded.
  314. B:enableEarlyWorldLoadingCommands=false
  315.  
  316. # Enables running the playerChangedDimensionEnterCommands
  317. B:enablePlayerChangedDimensionEnterCommands=false
  318.  
  319. # Enables running the playerChangedDimensionLeaveCommands
  320. B:enablePlayerChangedDimensionLeaveCommands=false
  321.  
  322. # Enables running the playerDeathCommands
  323. B:enablePlayerDeathCommands=false
  324.  
  325. # Enables player join commands
  326. B:enablePlayerJoinCommands=false
  327.  
  328. # Enables running the playerQuitCommands
  329. B:enablePlayerQuitCommands=false
  330.  
  331. # Enables running the playerRespawnCommands
  332. B:enablePlayerRespawnCommands=false
  333.  
  334. # Enables late world creation commands, which are executed after the overworld spawn chunks have been generated
  335. B:enablePostWorldCreationCommands=true
  336.  
  337. # Enables late world loading commands, which are executed once at each server start,
  338. # after the overworld spawn chunks have been loaded.
  339. B:enablePostWorldLoadingCommands=false
  340.  
  341. # Enables running commands tied to the world time
  342. B:enableTimedCommands=true
  343. }
Advertisement
Add Comment
Please, Sign In to add comment