Sueta

Per World Effects | Permanent global potion effects !

1.0.2

Grants all players potion effects when they enter a world! Good for space-type servers

·Plugin

PerWorldEffects

Plugin description
An extremely lightweight plugin that gives players permanent potion effects when they join a world! Can be implemented in minigames, create different experiences in different worlds or even simply as a unique feature to make your server stand out. Works with Bukkit and Paper Minecraft servers.

Features
- Extremely customizable
- Milk will not affect world effects
- Saves players' potion effects and returns them when the player exits a world with effects

Commands
/worldeffectsreload- Reloads the plugin's configuration files

Permissions
worldeffects.admin - Allows player to use all commands

Configuration
The config is split into settings.yml, worlds.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: "--"

# This is complicated so let me try to explain it
# So if you change worlds.yml and remove an effect
# The plugin will no longer recognize that particular effect type as the world's effect
# It will hence ignore that effect type when players switch to a normal world
# Leaving them with that effect for up to 68 years!

# Hence, the setting below will remove ALL potion effects with duration greater than it
# The minimum duration, in seconds, for PerWorldEffects to consider an effect illegal and remove it,
# when players exit a world with special effects
illegalduration: 100000

messages.yml

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

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

worlds.yml

# Note that if you modify the values here, the changes will not reflect on players until they change worlds
# Visit https://hub.spigotmc.org/javadocs/spigot/org/bukkit/potion/PotionEffectType.html for list of potion types
# The number after each effect type is the level of the potion effect. All effects are permanent in the world, therefore there's no duration setting
# The following is an example format

world:
  jump: 3
  speed: 3
  slow_falling: 3

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

Satisfied? Leave a review!

Similar projects

Plugin →