Skip to content

Monsters Configuration

Ren Binden edited this page Mar 3, 2020 · 1 revision

» Home » Monsters » Configuration

Configuration

  • monsters:
    • default: These are the default settings. If a monster has not been configured yet (for example, you've upgraded Minecraft version and haven't updated your config) then it will use these settings.
    • [monster]: This may be any monster in EntityType.
      • max-health: The maximum health the monster may spawn with. This is a calculation, you may use the monster's level to determine what it's max health is.
      • min-damage-multiplier: The minimum damage multiplier for the monster. This is a calculation. You may use the monster's level.
      • max-damage-multiplier: The maximum damage multiplier for the monster. This is a calculation. You may use the monster's level.
      • experience: How much experience killing the monster grants. This is a calculation. You may use the monster's level.
      • money: This is the amount of money the monster drops. You may drop money in multiple currencies.
        • [currency]: The name of the currency, as configured in Economy/Configuration, is used as the key. The value is how much money the monster drops. This is a calculation. You may use the monster's level.
      • stats: These are the monster's stats. These are used for calculating damage by and to the monster.
        • melee: These stats affect melee attacks, for example, a zombie hitting someone, or the player using the sword.
          • attack: How much damage the monster does. This is a calculation. You may use the monster's level.
          • defence: How much defence the monster has against a player's melee attacks. This is a calculation. You may use the monster's level.
        • bow: These stats affect bow attacks, for example a skeleton shooting, or a player shooting the monster.
          • attack: How much damage the monster does with a bow. This is a calculation. You may use the monster's level.
          • defence: How much defence the monster has against a player's bow attacks. This is a calculation. You may use the monster's level.
        • projectile: These stats affect projectile attacks, for example a ghast or blaze's fireball, or the player using a skill that creates a projectile.
          • attack: How much damage the monster does with a projectile (excluding arrows). This is a calculation. You may use the monster's level.
          • defence: How much defence the monster has against a player's projectile attacks. This is a calculation. You may use the monster's level.
      • ignored: Whether the monster is ignored when using monster spawn areas. If set to true, the monster may spawn outside of monster spawn areas. This is recommended for passive mobs and other entity types.
  • stats: This configuration section is for configuring which stat is used for each action when a player attacks an entity.
    • melee: For melee attacks. See above.
      • attack: Which stat is used when attacking with a melee weapon. This is a calculation. You may use the stats from Stats/Configuration.
      • defence: Which stat is used when defending a melee attack. This is a calculation. You may use the stats from Stats/Configuration.
    • bow: For bow attacks. See above.
      • attack: Which stat is used when attacking with a bow. This is a calculation. You may use the stats from Stats/Configuration.
      • defence: Which stat is used when defending a bow attack. This is a calculation. You may use the stats from Stats/Configuration.
    • projectile: For projectile attacks. See above.
      • attack: Which stat is used when attacking with a projectile. This is a calculation. You may use the stats from Stats/Configuration.
      • defence: Which stat is used when defending a projectile attack. This is a calculation. You may use the stats from Stats/Configuration.
  • damage: How damage is determined, based on stats. Monsters are configured individually, players are configured above. This is a calculation. attack and defence may be used for the resolved attack and defence stats for the entity.

Recommended cache sizes

  • rpkit_monster_spawn_area_monster id: Should be the number of monster spawn areas expected to be in simultaneous use multiplied by the average amount of monsters to a spawn area.
  • rpkit_monster_spawn_area_monster monster_spawn_area_id: Should be the number of monster spawn areas expected to be in simultaneous use.
  • rpkit_monster_spawn_area id: Should be the number of monster spawn areas expected to be in simultaneous use.

Permissions

rpkit.monsters.command.monsterspawnarea.create:
    description: Allows creating monster spawn areas
    default: op
rpkit.monsters.command.monsterspawnarea.remove:
    description: Allows removing monster spawn areas
    default: op
rpkit.monsters.command.monsterspawnarea.addmonster:
    description: Allows adding monsters to spawn areas
    default: op
rpkit.monsters.command.monsterspawnarea.removemonster:
    description: Allows removing monsters from spawn areas
    default: op
Clone this wiki locally