Config itemspawner: Difference between revisions

From MBedwars
Jump to navigation Jump to search
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
= Configurations for each itemspawner =
= Configurations for each itemspawner =
=== id: <number> '''(required)''' ===
The ID of the itemspawner.<br />
Make sure that every itemspawner has its own id!
=== material: <material>:<material id> '''(required)''' ===
=== material: <material>:<material id> '''(required)''' ===
Set the material of the item
Set the material of the item
Line 10: Line 7:
Set the (chat)color of the item<br />
Set the (chat)color of the item<br />
'''[http://minecraft.gamepedia.com/Formatting_codes List of avaible colors]'''
'''[http://minecraft.gamepedia.com/Formatting_codes List of avaible colors]'''
=== spawneffect: <effect> ===
=== spawneffect: <effect> ===
Add an effect that is played once an item is spawned
Add an effect that is played once an item is spawned<br />
'''[https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Effect.html List of avaible effects]'''
=== spawnsound: <sound> ===
=== spawnsound: <sound> ===
Add a sound-effect that is played once an item is spawned
Add a sound-effect that is played once an item is spawned<br />
'''[https://github.com/Attano/Spigot-1.8/blob/master/org/bukkit/Sound.java List of avaible sounds for 1.8 or less]'''<br />
'''[https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html List of avaible sounds for 1.9 or higher]'''
=== radius: <number> ===
=== radius: <number> ===
Set the radius in which they spawn (0 = default)
Set the radius in which they spawn (0 = default)
=== tranquil: <boolean (true/false)> ===
=== tranquil: <boolean (true/false)> ===
If this is enabled,
If this is enabled, new spawned items will stay at their place and won't 'fly' away
=== merge: <boolean (true/false)> ===
If this config is disabled, the new spawned items won't merge each other
=== hologram: <material> ===
Add's a hologram above the spawner with a block which material is specified here
=== max-nearby-items: <number> ===
Will stop spawning further items when there are more items around than configured<br>
Keep in mind that it's updating it rather infrequently to keep the performance usage low and by that causing the actual amount of items nearby differ from the configured one

Latest revision as of 21:16, 29 August 2020

Configurations for each itemspawner

material: <material>:<material id> (required)

Set the material of the item

spawndelay: <number> (required)

Set the duration of the delay (in secounds) while its repeating spawning itself

color: <color> (required)

Set the (chat)color of the item
List of avaible colors

spawneffect: <effect>

Add an effect that is played once an item is spawned
List of avaible effects

spawnsound: <sound>

Add a sound-effect that is played once an item is spawned
List of avaible sounds for 1.8 or less
List of avaible sounds for 1.9 or higher

radius: <number>

Set the radius in which they spawn (0 = default)

tranquil: <boolean (true/false)>

If this is enabled, new spawned items will stay at their place and won't 'fly' away

merge: <boolean (true/false)>

If this config is disabled, the new spawned items won't merge each other

hologram: <material>

Add's a hologram above the spawner with a block which material is specified here

max-nearby-items: <number>

Will stop spawning further items when there are more items around than configured
Keep in mind that it's updating it rather infrequently to keep the performance usage low and by that causing the actual amount of items nearby differ from the configured one