Plants any type of flower!
- Added a new Orb type: Flower.
Code:dandelion: type: flower block: DANDELION name: "&e&lDandelion Orb" lore: - "&7Area: &e%aoe%" - "&7Duration: &a%duration%s" - "&7Cooldown: &c%cooldown%s" - "&7Action Delay: &a%delay%" - " " - "&7Price: &a%price%" price: 0 permission: "" aoe: 10 duration: -1 ownedByServer: true rotate-only: false spawn-particles: true particles: HAPPY_VILLAGER cache-update-delay: -1 effect-delay: 80 cooldown: 0 head: "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNDU1OGQ0YzUxNDg2ZGRhNjE0MmM3MzI4ZDViOTc5YjYwOTMwZWNlMWIwZmIzNzIwOWNmMjc4Y2I5OWEyYjEzIn19fQ=="
- Since the mob spawn count does not carry over when replacing the orb, added the option Orbs.Spawner-Orb-Remove-Entities-On-Despawn
- Clears (it does not kill, so no entity drops) all entities when the orb is removed.
This orb is not supposed to be used as replacements for mob spawner plugins, it doesn't work like a mob spawner because it does not use minecraft's spawner mechanic to spawn mobs.
- Added Spawner Orb.
This orb works as a normal orb, but spawns mobs. There are some specific configurations to it:
- type: spawner
- effect-delay: How often mobs will spawn, in ticks. 20 ticks = 1s.
- aoe: Area for the mobs to spawn.
- max-mobs: Max number of mobs this Orb can have alive at the same time. Killed/despawned mobs free up the limit.
- mob-type: The entity type to spawn, check the Entity Type List Here.
Full orb config example: (default)
Code:spawner_orb: type: spawner name: "&e&lPig Spawner Orb" lore: - "&7Area: &e%aoe%" - "&7Duration: &a%duration%s" - "&7Cooldown: &c%cooldown%s" - "&7Spawn delay: &a%delay%s" - " " - "&7Price: &a%price%" duration: 12000 #10 minutes cooldown: 300000 #5 minutes effect-delay: 600 #How often mobs will spawn, in ticks. 20 ticks = 1s. aoe: 25 #Area for the mobs to spawn max-mobs: 25 # Max number of mobs this Orb can have alive at the same time. Killed/despawned mobs free up the limit. mob-type: PIG #The Entity type to spawn. Reference: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/entity/EntityType.html price: 100 permission: "" ownedByServer: true spawn-particles: true particles: FLAME head: "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZWIxOGZjNTZiNWVkMzg5MDFiNzdjZTA2MThhYjIyZTcwMzJmMDI5OWM3MGM1MTBmMmYyZDViM2UwN2U5ZjI3OCJ9fX0="
- (Requested change) Using the main command without any arguments will now open the orbs menu.
- Some internal optimizations changes to the finishing orb.
While this update does not add anything new, it's has huge changes, so please do test the plugin before updating on your server. If anything is wrong revert the update and report bugs via PM or discussion.
- Reload command reworked.
- Reloading orbs in real time is quite task! Please report any issues and I'll continue to look into this.
- Reload is much faster now.
- As Note that a spawned orb cannot be reloaded since its value is stored for the reload command. Remove the orb and spawn it again to apply any changes.
- This will be changed in the future, but some more tweaking needs to be done.
- Some changes to Crop Orbs behavior:
- The Orb will no longer replace crops of different types with its own type.
- This means that if you have a field of carrots, a Wheat Orb will do nothing until it finds an empty farmland block.
- If all farmland blocks are already occupied by crops of its own type, the Orb will now accelerate their growth.
- This can be toggled at Orbs.Grow-Crops in settings.yml.
- Added /orbs place <orb> <world> <x> <y> <z> <duration> command.
- Spawns a orb in a specific location.
- The duration will override the duration from orbs.yml.
- Any orb, even Dropped, can be spawned, with some limitations (for now, this can be tweaked in a future update)
- The orb should NOT be owned by the server, the duration cannot override this.
- The orb should have more than 0 seconds of duration for the %duration% placeholder to detect its duration.
- Fixed the %duration% placeholder not working in unloaded chunks.
- Fixed a possible memory leak when removing orbs.
- Changed the way orbs are loaded.
