Configure drops
Last updated
Last updated
With this you set components(commands) to run when you will kill an entity/entites
# For an entity
entity: ZOMBIE
# For more then one entity
eneties:
- ZOMBIE
- SHEEP
# For an selection of mobs (HOSTILE/PASSIVE/ALL)
entity: HOSTILE
# or
entity: PASSIVE
# Any value
drop_value: 10
# Random decimals values from x to y (4.3,5.3,1.6,7.5)
drop_value: random_decimal(x,y)
# Random integer values from x to y (4,6,2,5)
drop_value: random_number(x,y)
You can add requirements to any drops you like, this can go from simple permissions check to complex checks, this is using
# Example
requirement: "check(permission;flaremobcoins.example)"
# for more then one
requirements:
- "check(permission;flaremobcoins.example)"
- "check(mobcoins;1000)"
Examples
entity:
zombies:
entity: ZOMBIE
drop_value: random_decimal(1,2)
drop_action:
- "[mobcoins_give] %pl_mobcoins%"
- "[title] title=&2&l+%pl_mobcoins% subtitle=You killed a mob and recived %pl_mobcoins%"