TabDeathCount

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.

A lightweight plugin to display the death count of players in the playerlist (can be viewed by pressing the [TAB] key by default). The death counts are retrieved from the statistic DEATHS. This statstic stores the number of deaths of a player since the start of the server. This means that TabDeathCount stores no data and does not need to be enabled all the time to register deaths. This also means that the death count can be modified by other plugins. TabDeathCount works by setting the playerlist names. Unfortunately, it currently doesn't work with custom playerlist names, such as nicknames, etc. If another plugin sets a playerlist name it overwrites the one set by TabDeathCount, and when the death count is updated, the playerlist name is overwritten by TabDeathCount. It is best to disable other plugins from setting the playerlist names if you want to display death counts at all times.

Configuration

The following configuration options can be set in the plugin's config.yml in order to modify the formatting of playerlist names. Note: if a playerlist name with the death count included is over 16 characters long, the player's name will be truncated. For example, if player long_player_name has 12 deaths, it might be displayed in the playerlist as
long_player_n 12
Currently, there is no way around this.

playerName.format

A Java format string, can contain formatting codes. Must contain 1 format specifier for the player name string.

deathCount.format

A Java format string, can contain formatting codes. Must contain 1 format specifier for the player's death count integer.

deathCount.position

Must be start or end. start means to place the death count at the start, before the player name. end means to place the death count at the end, after the player name.

A config.yml example

playerName
    format: "%s"
deathCount
    format: "[%02d]"
    position: start
  
The playerlist:
playerlist

Permissions

All permissions begin with tabdeathcount., so it has been ommitted from this page. Remember to prefix all permissions with tabdeathcount..
Permission Effect on the player
command.* Can run all subcommands.
showdeathcount Their death count is shown.
The rest of the permissions, used to control command access, are below.

Commands

Command Description Permission needed
/tabDeathCount | /tdc <SUBCOMMAND> [ARG...] Main command of TabDeathCount. Call a subcommand. command
/tdc reloadConfig Reload the config from the config.yml file. command.reloadconfig
/tdc updateDeathCounts Update the death count of all players. command.updatedeathcounts

Comments

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

About This Project

Categories

Members

Recent Files

Bukkit