Per Mob Effects | Grant potion effect to all (or some) mobs! icon

Per Mob Effects | Grant potion effect to all (or some) mobs! -----

Lightweight plugin that gives mobs an effect when they spawn



PerMobEffects

[​IMG]
Levitating zombies, withering villagers, fireproof squids and creepers that does nothing. Oh wait...​

Plugin description
An extremely lightweight plugin that gives mobs potion effects when they join a world! 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

Commands
/mobeffectsreload - Reloads the plugin's configuration files

Permissions
mobeffects.admin - Allows player to use all commands

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

settings.yml
Code (YAML):
# 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
: "--"

# When a mob is spawned due to these reasons, they will not have effects
# Possible values can be found here: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/event/entity/CreatureSpawnEvent.SpawnReason.html
# Set to the following to allow all mobs to have effects
# exempt:
# - none
exempt
:
 - none
#  - spawner
messages.yml
Code (YAML):
# The format that all messages will follow unless negated with prefix stated in settings.yml
messageformat
: "&ePerMobEffects &8> &f{message}"

nopermissions
: "You can't use that command!"
usage
: "Usage: {usage}"
effects.yml
Code (YAML):
# 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 when applied to a LivingEntity.
#    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 all mobs when they spawn
global
:
  glowing
:
    duration
: 5
    amplifier
: 0
    ambient
: false
    has-particles
: false
  regeneration
:
    duration
: 999
    amplifier
: 0
    ambient
: false
    has-particles
: false
 
# Sets if the mobs specified below will also have effects from global. Effects set below will override global if the effect type is the same
inherit
: true

# Sets specific effects for specific mobs
# List of all valid entity types can be found here: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/EntityType.html
specific
:
  creeper
:
    speed
:
      duration
: 9999
      amplifier
: 5
      ambient
: false
      has-particles
: false
Support
If you found a bug or have a suggestion, add a comment

Satisfied? Leave a review!
Resource Information
Author:
----------
Total Downloads: 101
First Release: Jul 17, 2022
Last Update: Jul 18, 2022
Category: ---------------
All-Time Rating:
3 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings