UnhealthyDeath

UnhealthyDeath

Summary

This plugin prevents your players from refilling their food/healthbar by killing themselfs. Everytime a player dies, his health and foodlevel will be set to a configurable amount.

Metrics

This plugin utilises Hidendra's plugin metrics system. You can opt-out under <yourPluginFolder>/PluginMetrics/config.yml

The following informations will be collected:

  • A unique identifier
  • The server's version of Java
  • Whether the server is in offline or online mode
  • The plugin's version
  • The server's implementation and game version
  • The OS version/name and architecture
  • The core count for the CPU
  • The number of players online
  • The Metrics version
  • Your online-mode
  • Your server location

Installation

Put the plugin into your plugins folder and start the server. The default config file will be generated and can be modified after your wishes.

Usage and Config

You can add as many groups as you want. To assign a player to a group you need to give him the permission "unhealthydeath.group.<groupname>". If a player has no group assigned he'll use the "default" group. If this group does not exist, nothing will happen.

group:
  default:
    #the amount of health a player respawns with
    sethealth: 10.0 
    #set - set foodlevel to foodamount valuel
    #keep - keep the current foodlevel subtracted by foodamount
    foodchange: keep 
    #the new foodlevel or the value the old foodlevel is subtraced by, see above
    foodamount: 10 
    #only applies when keeping the foodlevel
    #the minimum foodlevel allow after respawning
    minfood: 15 
    #the worlds this group is valid in, if empty it is used in every world 
    #(the permissions may be better for multiworld handling)
    worlds: []

Source

Get the Source on GitHub


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

Categories

Members

Recent Files