Metadata
- Get a cool item
- Hold it, then /giants serialize (be OP or have giants.command.serialize permission)
![[IMG]](//proxy.spigotmc.org/0f263e763d298e3cc747a304909ab45cff209b30/68747470733a2f2f6769742e6d3732342e65752f4d696e65636f6e3732342f74656d706f726172792f7261772f6272616e63682f6d61737465722f53637265656e73686f745f32303234303932315f3130333431332e706e67)
- Open the file and copy what I selected
![[IMG]](//proxy.spigotmc.org/10de208292738fe64ef62d6bf889482ef742fc0a/68747470733a2f2f6769742e6d3732342e65752f4d696e65636f6e3732342f74656d706f726172792f7261772f6272616e63682f6d61737465722f53637265656e73686f745f32303234303932315f3130333433352e706e67)
- Open config.yml and paste where I did. Make sure the minus (-) sign is on the same level as other entries (has same amount of preceding spaces). Chance and quantity can be changed.
- Restart your server. Done!
Default config:
Code (Text):
# Notes:
# To have no values in a list, remove every value below it and change to [] like `effects: []`
# If disabled, the giant will not move or attack
ai: true
# Makes giants jump. Very experimental.
# I prefer velocity mode
# 0 - disabled
# 1 - velocity mode
# 2 - tp mode
jumpMode: 0
# 0 - when target is higher
# 1 - when target is higher and giant is stuck
# 2 - when giant is stuck
jumpCondition: 1
# Delay before jumping again, counted from hitting the ground. In milliseconds
jumpDelay: 200
# If velocity mode, y blocks/tick (default 0.42)
# If tp mode, +y to teleport (default 1.2)
# -1: auto
jumpHeight: -1
# In hearts, 0.5 is half a heart
attackDamage: 1.0
# Attack delay / speed, in ticks
# 20 is 1 second
attackDelay: 20
# Self-explanatory, 0 will attack only colliding (touching) entities
# There's no wall check yet, so it will hit through walls
attackReach: 2
# Vertical reach
attackVerticalReach: 1
###
# Chance of a zombie becoming a giant. This is per each zombie spawn, natural or not.
# 0 is 0% (no zombie becomes a giant), 1 is 100% (every zombie becomes a giant), so the default 0.005 is 0.5%
chance: 0.005
# Worlds that Giants will not spawn in naturally.
# You can still use the command to spawn
blacklist:
- "world_nether"
- "world_the_end"
# Potion effects applied to a giant
# type:amplifier
# types: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/potion/PotionEffectType.html
# amplifier: just like you know it, max 255
effects:
- "JUMP:1"
- "REGENERATION:2"
- "HEALTH_BOOST:10"
# Custom drops
# Adding metadata (enchantments, lore etc) is possible. See https://www.spigotmc.org/resources/giants.99600/field?field=documentation
drops:
- material: STICK # See https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html
chance: 0.75 # 75% chance to drop 1-3 apples
quantityMin: 1 # inclusive
quantityMax: 3 # inclusive
- material: WOODEN_SWORD
chance: 0.05 # 5%
quantityMin: 1
quantityMax: 1