
Introduction
QuickPotions is an easy and quick way to give permanent status effects to players. Status effects can be from any source such as a potion, a beacon, or a debuff from a mob.
Installation and Usage
QuickPotions can be used as soon as it is placed in your plugins folder, but if you want to use a MySQL database to store settings you can configure that in the config.yml.
Configuration Files
config.yml
# QuickPotions config version. Do not change.
config-version: 1.0
# Whether the plugin should send messages to players when toggling potion effects.
# Configurable in lang.yml.
# Default: true
enable-messages: true
# Storage options, use the value to the right for the specified storage format on the left.
# SQLite - sqlite
# MySQL - mysql
# Default: sqlite
storage-format: sqlite
# Database filename if SQLite is used.
sqlite:
# Default: database
filename: database
table: QuickPotions
# MySQL database info if MySQL is used.
mysql:
host: localhost:3306
database: database
table: QuickPotions
username: admin
password: adminlang.yml
# Placeholders:
# {PREFIX} : The prefix configuration.
# {EFFECT} : The status effect being changed.
# Prefix used for all messages sent to players.
prefix: "&b[&aQuickPotions&b]&r"
# Message sent to players when they don't have access to a command.
no-permission: "{PREFIX} &cYou don't have permission to use that command!"
# Message sent to players when they enable an effect.
apply-potion: "{PREFIX} &a{EFFECT} has been enabled!"
# Message sent to players when they disable an effect.
remove-potion: "{PREFIX} &c{EFFECT} has been disabled!"
# Message sent to players when they disable all effects.
potions-cleared: "{PREFIX} &cAll effects have been disabled!"
# Message sent to players when they reload the config.
config-reloaded: "{PREFIX} &aConfig reloaded!"
# Message sent to players when they try to use an unknown command.
unknown-command: "{PREFIX} &cUnknown command!"potions.yml
# Effect Strengths
# You can find out how these modifiers work here https://minecraft.gamepedia.com/Status_effect.
#
# Warnings
# Harm will continuously damage the player making it hard for them to turn off the effect if the strength is too high.
# Hunger will continuously remove saturation/hunger if the difficulty is above peaceful.
absorption: 4
confusion: 2
damage-resistance: 4
fire-resistance: 2
harm: 1
heal: 2
health-boost: 2
bad-omen: 6
hero-of-the-village: 6
hunger: 3
jump: 2
luck: 2
unluck: 2
poison: 2
regeneration: 2
saturation: 2
haste: 2
mining-fatigue: 3
speed: 2
slow: 4
wither: 2
strength: 2
weakness: 2
# Immutable Effect Strengths
# Changing these numbers will not change their interactions in game.
conduit-power: 1
glowing: 1
invisibility: 1
levitation: 1
night-vision: 1
slow-falling: 1
water-breathing: 1
dolphins-grace: 1
blindness: 1Commands
All commands start with either /QuickPotions or the alias /qp
- /QuickPotions Admin <effect> <player> [on/off]
- /QuickPotions <effect> [on/off]
- /QuickPotions Reload
Permissions
- QuickPotions.Admin - Allow for applying and removing any effect from any player as well as reloading the configuration files.
- QuickPotions.<effect> - Allows for applying and removing the <effect> status effect to themselves.
Status Effect List
All status effects can be seen here along with their function otherwise there is a list of just effects below.
Status Effects
- Absorption
- BadOmen
- Blindness
- ConduitPower
- Confusion
- DamageResistance
- DolphinsGrace
- Haste
- FireResistance
- Glowing
- Harm
- Heal
- HealthBoost
- Hero
- Hunger
- Invisibility
- Jump
- Levitation
- Luck
- NightVision
- Poison
- Regeneration
- Saturation
- Slow
- MiningFatigue
- SlowFalling
- Speed
- Unluck
- WaterBreathing
- Strength
- Weakness
- Wither
Conclusion
Please rate the plugin if you like it! Feel free to request any features and I will try to implement them as I see fit.
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta