Skip to content

A Minecraft server plugin that adds individual difficulty settings which can affect inventory, damage, and experience

License

Notifications You must be signed in to change notification settings

Kirk-Fox/iDifficulty

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

iDifficulty

View this plugin on Spigot's website here

This plugin aims to allow players with various different playstyles to all enjoy the same server together without giving certain players advantages over others. Players can choose a difficulty setting that suits their liking.

Currently, difficulty settings affect whether players keep their inventory and/or experience after death, the damage from mobs, and the amount of time poison from bees and cave spiders last. To counterbalance the advantage players on easier difficulties would have, harder difficulties give bonuses to the amount of experience dropped by ores and mobs as well as having a chance that ores and mobs will drop double their regular loot.

Commands

  • /idiff - Gives a description of the plugin as well as the version.
  • /idiff set <difficulty> [<player>] - Sets your difficulty or another player's difficulty to the setting specified. By default, only operators can change other players' difficulties.
  • /idiff list - Gives a list of applicable difficulties.
  • /idiff info <difficulty> - Gives a description and details about the difficulty setting specified.
  • /idiff view [<player>] - Gives your own difficulty or the difficulty of the player specified. By default, only operators can view other players' difficulties.
  • /idiff reload - Reloads the config file for the plugin. (to be implemented)

Permissions

This plugin's permission nodes are

  • idifficulty.* - Gives all permissions.
  • idifficulty.set - Allows players to use /idiff set on themselves. Players have this permission by default.
  • idifficulty.set.others - Allows players to use /idiff set on other players.
  • idifficulty.view - Allows players to use /idiff view on themselves. Players have this permission by default.
  • idifficulty.view.others - Allows players to use /idiff view on others.
  • idifficulty.list - Allows players to use /idiff list. Players have this permission by default.
  • idifficulty.info - Allows players to use /idiff info. Players have this permission by default.
  • idifficulty.ignoredelay - Allows the player to circumvent the delay between changing difficulties.
  • idifficulty.reload - Allows the player to reload the config file. (to be implemented)
  • idifficulty.updatecheck - Players with this permission will be notified when a new version of the plugin is available. (to be implemented)
  • idifficulty.diff.[difficulty_name] - If a difficulty is toggled to require a permission, this permission node is required to switch to it with [difficulty_name] replaced by the name of the difficulty in the config file. (to be implemented)

Configuration

In this plugin's configuration, server owner's may do the following

  • Adjust the effects of difficulties
  • Add new difficulties
  • Remove difficulties
  • Change default difficulty
  • Change how often players may change their difficulty (including never)
  • Toggle certain effects of the plugin

Possible Future Features:

The following are a few features that I am considering working on in the future

  • Hunger effects based on difficulty (to be implemented in v0.2.0)
  • An optional peaceful difficulty that will cause mobs to do no damage but also drop no loot or experience
  • The option to require a permission for certain difficulty settings (to be implemented in v0.2.0)
  • Dividing the chance for double items from mobs and ores into two separate settings (one for mobs and one for ores) (to be implemented in v0.2.0)
  • Dividing the experience bonus from mobs and ores into two separate settings (one for mobs and one for ores) (to be implemented in v0.2.0)
  • Vault interaction involving losing an amount of money on death depending on difficulty (far future)
  • Plugin integration that will revoke or give permissions to players depending on their difficulty (far future)
  • Further backwards compatibility (Backwards compatability to 1.8 will likely be implemented in v0.2.0)
  • Different difficulties allowing custom permissions

If you notice any issues, please report them on the issues tab

About

A Minecraft server plugin that adds individual difficulty settings which can affect inventory, damage, and experience

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages