Sueta

Final Will | Get potion effects for killing mobs!

1.0.1

Finally, a plugin that rewards murder!

·Plugin

FinalWill


Just like a piñata party!

Plugin description
An extremely lightweight plugin that gives entities potion effects when they kill a mob! Can be implemented in minigames, change the difficulty of your survival world or even simply as a unique feature to make your server stand out. Works with Bukkit and Paper Minecraft servers.

Features
- Extremely customizable
- Mob specific effects
- Inheritance from global effects
- Optional permissions system
- Setting for only players to receive effects

Commands
/finalwillreload - Reloads the plugin's configuration files

Permissions
finalwill.admin - Allows player to use all commands

Configuration
The config is split into settings.yml, effects.yml and messages.yml

settings.yml

# What a line in messages.yml will start with if you don't want to use messageformat
# For example "Plugin > some message" is the default message
# You can change it to "some message" if you replace the default with the following in messages.yml
# example: "--some message"
negateformat: "--"

# Set if only players will receive effects from killing mobs
playeronly: false

# Sets if players need permission "finalwill.receive" to get effects
usepermission: false

messages.yml

# The format that all messages will follow unless negated with prefix stated in settings.yml
messageformat: "&eFinalWill &8> &f{message}"

nopermissions: "You can't use that command!"
usage: "Usage: {usage}"

effects.yml

# List of all valid effects can be found here: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/potion/PotionEffectType.html
#    duration: Returns the duration (in ticks) that this effect will run for
#    amplifier: Returns the amplifier of this effect. A higher amplifier means the potion effect happens more often over its duration and in some cases has more effect on its target.
#    Note that an amplifier of 0 means a potion effect level of 1, amplifier 1 is level 2 and so on
#    ambient: Makes potion effect produce more, translucent, particles.
#    has-particles: whether this effect has particles or not

# Sets the effects applied to killer when any mob is killed
global:
  glowing:
    duration: 100
    amplifier: 0
    ambient: false
    has-particles: false
  regeneration:
    duration: 500
    amplifier: 0
    ambient: false
    has-particles: false
 
# Sets if the killers of mobs specified below will also receive the effects stated above
inherit: true

# Sets specific effects for killers of specific mobs
# List of all valid entity types can be found here: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/EntityType.html
specific:
  villager:
    speed:
      duration: 1000
      amplifier: 1
      ambient: false
      has-particles: false

Support
If you found a bug or have a suggestion, add a comment

Satisfied? Leave a review!

Similar projects

Plugin →