Pages » Qrpg » Modules » Drops


Settings.yml

settings:

# Global drop chance multipliers for certain player permission groups.
# Player group is auto-detected, no permissions required.
multipliers:
  vip: 1.25
  premium: 1.5
  gold: 1.75

Drop Table Example

# Localized name.
name: '&dExample Gems Table'
# When true, randomly selects one item from 'items' section to drop. It does NOT guarantees that this item will drop.
# When false, loops through all items from 'items' section and trying to drop them.
roll-once: true
# Drop penalty for player-mob level difference.
level-penalty:
  # Enable/Disable penalty.
  enabled: false
  # This value defines the maximal possible level difference when player can get mob drop, if player level is greater than mob level.
  variance: 10
# List of worlds where this table will have effect.
# You can use '*' to include all the worlds.
world-whitelist:
- world
- world_nether
- world_the_end
# List of biomes where this table will have effect.
# You can use '*' to include all the biomes.
biome-whitelist:
- '*'
# List of WorldGuard regions where this table will NOT have effect.
# You can use '*' to include all the regions.
region-blacklist: []
# List of dropable items.
items:
  # Item identifier. Must be unique.
  gem-random:
    # Item drop chance.
    chance: 5.0
    # Name of QRPG module that is the source of the item.
    module-id: 'gems'
    # Item identifier of the module above.
    # You can use 'random' for random item.
    item-id: 'random'
    # Min. and max. amount of dropped item.
    min-amount: 1
    max-amount: 1
    # Min. and max. level of dropped item.
    # You can use math expressions here.
    # Placeholders:
    # - %mob_lvl% - Level of killed mob.
    # - %player_lvl% - Player level.
    min-level: '%mob_lvl% + 1'
    max-level: '%mob_lvl% + 3'
    # Additional drop conditions.
    # Used conditions from Custom Actions Engine.
    # Allowed target params:
    # - player - Player.
    # - entity - Killed mob.
    additional-conditions:
    - '[ENTITY_LEVEL] ~amount >1; ~target: entity;'
    # Custom Actions that will be executed when item is dropped.
    # Predefined target params:
    # - player - Player.
    # - entity - Killed mob.
    actions-on-drop: {}

Drop Mob Example

# Chance to process drop table(s).
chance: 5.0
# When true, randomly selects one table from 'drop-tables' section. It does NOT guarantees that it will drop anything.
# When false, loops through all tables from 'drop-tables' section and trying to drop them.
roll-once: true
# List of vanilla Entity Types that will be affected.
vanilla-mobs:
- 'ANIMAL'
# List of MythicMobs mob names that will be affected. Case sensetive!
mythic-mobs: []
# List of Spawn Reasons, that will prevent mobs to drop QRPG items.
prevent-from: []
# List of drop table file names that will be used to drop items.
drop-tables:
- table_gems

Information
Empty Block

18+