SchaumG550

Untitled

May 16th, 2020
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.51 KB | None | 0 0
  1. # PhantomSpawnControl by Alex_qp
  2. # This plugin provides the ability to control phantom spawning.
  3. # Please leave a review after a while to help me improve my plugins!
  4.  
  5. phantom_spawn:
  6. # If set to true phantoms are able to spawn.
  7. enable: true
  8.  
  9. # If set to true phantoms will get different stats (size, health, speed, etc.) based on giantPhantomsConfiguration.yml and the score of the target player.
  10. giant_phantoms: true
  11.  
  12. # Configure in which worlds phantoms are able to spawn.
  13. world_configuration:
  14. # Phantoms will be able to spawn in all worlds with enabled environments unless the specific world is disabled down below.
  15. enabled_environments:
  16. normal: true
  17. nether: false
  18. the_end: false
  19. # No phantom will ever spawn in the listed worlds regardless of any other conditions.
  20. disabled_worlds:
  21. # - ...
  22.  
  23. # Several other spawning conditions.
  24. spawning_conditions:
  25. # If set to true a phantom will never spawn within a block.
  26. check_air_spawnpoint: true
  27. # Until what light level should phantoms be able to spawn?
  28. max_light_level: 7
  29. # Phantoms may spawn in packs. What should be the maximal amount of phantoms in one pack?
  30. max_group_size: 1
  31. # This will multiply the spawn chance of the vanilla MC formula in order to in- or decrease spawning. The vanilla formula is: spawn-chance = (x - 3) / x where x is the amount of days since no rest.
  32. spawn_chance_multiplier: 1.0
  33.  
  34. # For each world a timer will check each player for phantom spawning. How long should it be delayed before the next attempt?
  35. spawn_attempts:
  36. min_delay: 1200
  37. max_delay: 2400
  38.  
  39. # Spawning conditions regarding the whole world.
  40. world:
  41. # Does it has to be night-time in order to spawn phantoms? This will only affect normal worlds (because there is no "day" in nether, the_end)
  42. must_be_night: true
  43. # No phantom within the protection radius of spawn will be able to spawn.
  44. spawn_protection_radius: 0
  45.  
  46. # Spawning conditions regarding the target player.
  47. player:
  48. # Does the player have to be above sea level?
  49. above_sea_level: true
  50. # For what radius should a player's spawning point (i. e. his bed) protect him from phantom spawning?
  51. bed_protection_radius: 100.0
  52. # If a player is in one of the enabled gamemodes no phantom will spawn.
  53. spawnblocking_gamemodes:
  54. adventure: false
  55. creative: true
  56. spectator: true
  57. survival: false
  58.  
  59. # Options regarding the score (time since rest).
  60. score:
  61. # Until what score should no phantom be able to spawn? Score increases every tick but resets by vanilla if the player enters a bed or dies.
  62. min_score: 72000
  63. # If a player changes to an enabled gamemode his score will reset. This can be deactivated for specific players by permissions, please see the plugin's page for more information.
  64. reset_gamemodes:
  65. adventure: true
  66. creative: false
  67. spectator: false
  68. survival: true
  69.  
  70. # If phantoms spawned for a player, how long should he be protected from another spawn?
  71. spawn_cooldown:
  72. min: 3000
  73. max: 10000
  74.  
  75. # Options regarding blocks above a player.
  76. # Please note that all block lists require material names. All available materials are listed here: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html. Do not use legacy materials. Also if asked for blocks you should use block-materials.
  77. blocks:
  78. # Should phantoms spawn if the target player stands under a solid block?
  79. no_solid_above: true
  80. # Which solid blocks should be ignored in the check above?
  81. ignored_solid:
  82. # - ...
  83. # Which blocks should stop spawning if above the target player?
  84. add_blocks:
  85. # - ...
  86.  
  87. # Configure for which worlds block-conditions should be checked.
  88. worlds:
  89. enabled_environments:
  90. normal: true
  91. nether: false
  92. the_end: true
  93. disabled_worlds:
  94. # - ...
  95.  
  96. # Set to true if playerdata should be saved beyond logout / server restart. Currently this just affects data deactivating phantom spawning with the toggle command. (v3.0.0)
  97. save_playerdata: true
  98.  
  99. # Configure nearly all messages.
  100. messages:
  101. cmd:
  102. credits: "Use /psc help for all available commands."
  103. noPerm: "&4You do not have permission."
  104. wrongCmdUsagePrefix: "&CUsage:"
  105. noSubCmd: "&CNo such sub-command. Use /psc help"
  106. help:
  107. header: "List of all available commands:"
  108. toggle: "Toggles phantom spawning"
  109. add: "Adds a giant_phantom"
  110. remove: "Removes a giant_phantom"
  111. set: "Sets a giant_phantom's stat"
  112. toggle:
  113. enable: "&2Phantom spawning was activated for you."
  114. disable: "&4Phantom spawning was deactivated for you."
  115. add:
  116. alreadyExistent: "&CThere is already a giant_phantom with that score configured!"
  117. invalidValue: "&Cinvalid value at"
  118. success: "&2Giant_phantom was successfully added."
  119. remove:
  120. notFound: "&CThere is no giant_phantom with that score."
  121. success: "&2Giant_phantom was successfully removed."
  122. set:
  123. notFound: "&CThere is no giant_phantom with that score."
  124. invalidValue: "&Cvalue invalid for the given option."
  125. success: "&2Value of giant_phantom was successfully changed."
  126.  
  127. # Additional credits: The idea for the giant_phantoms feature is inspired by Xisumavoid's vanilla tweak data pack.
Add Comment
Please, Sign In to add comment