HomeJavaModsCustomDeath| Head drops, Money taken|
CustomDeath| Head drops, Money taken|
ModsJava

CustomDeath| Head drops, Money taken|

⬇ Download on Spigot
CustomDeath

Description:

CustomDeath allows you to customize the following:
These effects are only given to players who have killed other players. Any other event such as drowning, being killed from a mob, etc do not give any effects.

Values in the config with a star (*) behind it represents a privileged player value. You can increase the percentages of head drops and decrease the amount of money or percent of money taken from a player using this value.

If you wish for this plugin to not take away money from players then just negate the permission in your permission plugin.

Any value customized while the server is running has to be reloaded. Use the /cd reload command to reload the config.yml

Placeholders:
These placeholders can be put inside the death message. They must be typed exactly.
Code (Text):
{KILLER_NAME} - Name of the person who killed you. If you allow environment factors then it will display as
ENVIRONMENT if something besides a player kills you

{MONEY_TAKEN} - Money taken from you

{BALANCE} - Your balance after money is taken from you

Default Config:

Code (Text):

customdeath:
#NOTE -Paths with a * behind it means it is for privileged players

  #Percent that the head will drop if you kill someone
  skull_drop: 25
  skull_drop*: 50
  #Percent that head will drop if you are killed by outside factor (death besides player)
  skull_drop_enviro: 5
 
  death_msg: "&c{KILLER_NAME} &ahas taken &c${MONEY_TAKEN} &afrom you! You now have only &c${BALANCE}&a."

  allow_enviro_factors: true
  use_message: true

  economy:
    #If set to true, plugin will take percentages of money from death, false will take specified amounts of money
    use%_on_death: true

    money%_taken: 10
    money%_taken*: 5

    money_taken: 100
    money_taken*: 50
 
Dependencies:
These are optional if you only want to have money taken away from players.

Vault - https://dev.bukkit.org/bukkit-plugins/vault/ (Use 1.5.6 vault, supports 1.8-1.11 minecraft)
An economy plugin (Essentials has one built in it) - https://hub.spigotmc.org/jenkins/job/spigot-essentials/

Commands:
Type in /cd help to get the list of commands.

Permissions:
All the permissions are here, if default is true it means that players automatically have it, if false no one has it and if it is op then op has it by default.
Code (Text):

permissions:
    customdeath.cmd.base:
        description: Allows you to use all commands from the base
        default: op

    customdeath.action.hdc:
        description: Permission for players to a have chance to get head upon a player's death
        default: true
    customdeath.action.hdc*:
        description: Permission for having an higher percent chance to get a head upon death
        default: op

    customdeath.action.losemoney:
      description: Permission for losing money upon death (applies to both percentages and specified amts of money, it all depends on the config.yml use%_on_death value)
      default: true
    customdeath.action.losemoney*:
      description: Permission for losing money upon death (less money I guess)
      default: op
 

The default value will specify if the player will get the permission depending on its status. If it is false, players and ops will not get the permission. If true, everyone will get the permission and if it is set to op only the op will get the permission

Support:
For support just pm me here on spigot and I will try and get to solve it ASAP or you can post for help on the main thread. If you find any bugs post on the main thread!

Features Requests:
For feature requests please post in the thread. Some features may be added and some may be not.

Review:
Please make sure that you have tried to solve your problem 1st and if you can't solve it contact me. Make sure you are also reviewing about a feature on the plugin. Don't make a 1 star review about some feature that never existed in here the 1st place.

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

CustomDeath| Head drops, Money taken| is a free Minecraft Java mod. Compatible with Minecraft 1.11. Downloaded 24,579 times (via Spigot). Download it and open it directly in the game.

Explore more