DynamicDifficulty

This project is abandoned and its default file will likely not work with the most recent version of Minecraft. Whether this project is out of date or its author has marked it as abandoned, this project is no longer maintained.

Description

Are Minecraft’s mobs not challenging enough for you? Do you find that survival lacks the tension it once had because the mobs no longer pose any threat to you? On the other hand, maybe you find some of Minecraft’s mobs too challenging. Perhaps you wish that these mobs were less difficult and overwhelming. If you fall into either of these groups or just want more control over the difficulty of the mobs in general, then DynamicDifficulty may be the plugin you are looking for.

What is dynamic difficulty?

Dynamic difficulty is a system where the difficulty of the videogame scales up or down in the middle of game play to match how well the player is currently performing at the game. In the case of this plugin, DynamicDifficulty scales how tough the mobs are based on its assessment of the player’s capability to fight off the mobs.

Performance Levels

Each player has one “auto performance level” for each type of hostile mob (not including bosses). A player’s auto performance level can range anywhere from 50 to 200 with 100 being the default value. 100 means that the mob is at its normal level of difficulty. 200 means that the mob is twice as tough as normal, and 50 means that the mob is only half as tough.

As a player fights each type of mob, the plugin calculates the player’s auto performance levels based on how much damage a player receives from a type of mob on average and how much damage a player gives to a type of mob on average.

Players also have a “manual performance level” for each mob if they would prefer to set the difficulty manually rather than have the plugin calculate the difficulty for them.

The plugin scales certain attributes of the mobs based on the player’s performance level for that mob. The chart below shows how much the mob attributes scale in relation to some sample performance levels.

Example Performance Level50100200
Attack Damage (% of damage normally dealt)50100200
Defense (% of damage normally taken)20010050
Speed (% of normal speed)75100150
Knockback Resistance (%)0050
Max Follow Distance (% of normal distance)100100200
XP (multiply amount of xp normally dropped by this %)100100200
Loot* (multiply amount of loot normally dropped by this %)100100200

*Loot scaling does not affect items worn or held by the mob; it only affects standard drops.

Note that this plugin scales the mob's attributes based on the player the mob is currently targeting. This means that this plugin can cater the difficulty to each individual player on the server all simultaneously.

Settings

DynamicDifficulty provides several adjustable settings for each type of mob.

Difficulty Settings

There are three difficulty settings: auto, manual, and disabled.

SettingDescription
autoThe plugin will calculate your auto performance level and use it to scale the mob’s attributes.
manualThe plugin will not calculate your auto performance level. It will change the mob’s attributes based on the manual performance level you provide.
disabledThe mob’s attributes will not change from their normal values.

Max Increment

Every 30 seconds, the plugin will update a player’s auto performance level. The max increment setting determines the maximum amount that a player’s auto performance level can change by in a single update. For example, if the player’s max increment is 10 and the player’s current auto performance level is 100 and the plugin determines that the player’s auto performance level should be 150, during the first update, it will change it to 110. Every 30 seconds, the player’s auto performance level will change by 10 units until it reaches 150.

Scale Attributes

Scaling for the following attributes of the mob can be toggled to true or false so that the plugin either will scale them based on the player’s performance level or will not scale them.

  • Attack
  • Defense
  • Speed
  • Knockback resistance
  • Max follow distance
  • XP
  • Loot

Commands

DynamicDifficulty features commands to allow players fine-tuned control over the difficulty of the mobs. Commands are listed here: Commands.

Permissions

DynamicDifficulty features permissions to allow or deny players from using certain commands. Permission nodes are listed here: Permissions.

Configuration

Each player has a config file, named <player-uuid>.yml. When the player logs onto the server, the plugin will generate this file if the file does not exist. It will be placed in the "players" folder. The plugin saves a player’s dynamic difficulty settings to their config file when they log out. The next time a player logs onto the server, their data will be loaded back up.

The plugin will also generate a default_player.yml file. Server owners can specify default values for players’ settings using this file. When the plugin goes to generate the player's config file for the first time, it will load the values from default_player.yml.

The default config for default_player.yml is listed here: Configuration.

Source Code

The source code can be viewed here: Source Code.

Important Information

  • The descriptions here are for the most current version of DynamicDifficulty. Older versions of the plugin do not have some of the features listed here and some features have changed slightly between updates.
  • Each version of DynamicDifficulty is only compatible with the version of Bukkit it is listed with.
  • As of DynamicDifficulty v1.3.0, this plugin is compatible with the new UUID system. Previous versions use a player’s name to link them with a yml file. Under old versions, if a player changes their name, they will lose their old yml file and a new one will be generated for their new name.

Comments

  • To post a comment, please or register a new account.
Posts Quoted:
Reply
Clear All Quotes

About This Project

Categories

Members

Recent Files