God Potion
An item that lets you get an array of potion effects, fully customizable!
God Potion

Transcript
Custom God Potions Adds a powerful God Potion that gives players multiple long-lasting effects. Unique name, lore, and color to match your server’s style. Designed to enhance gameplay with balanced overpowered boosts.
Fully Configurable Comes with a fully editable config file. Customize potion effects, names, lore, durations, and more. Easily toggle features on or off to fit your server’s needs.
Simple Commands & Permissions Includes the following commands: /godpotion give <player> – Give a potion to a player. /godpotion reload – Reload the plugin config without restarting. Supports permissions for controlled access: godpotion.use – Use the potion. godpotion.give – Give the potion to others. godpotion.reload – Reload the plugin.
Perfect for Any Server Ideal for factions, PvP, survival, or custom minigames. Boosts player engagement with unique, memorable effects. Lightweight and performance-friendly — won’t lag your server.
config.yml
```yaml
GodPotion Plugin Configuration
item: name: "&6&lGod Potion" lore: - "&eDrink this to feel like a god!" - "&7Grants powerful effects for a limited time."
Minecraft Head Texture Value (Base64)
Default: Golden Apple Skull
texture_value: "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNjAyMjZkNGMxZDMwZmJlYmVjYWU5MzlkYTkwMDYwM2U0Y2QwZmVkODU5MmExYmIzZTExZjlhYzkyMzkxYTQ1YSJ9fX0="
A unique key to identify the God Potion. Do not change unless you know what you're doing.
identifier_key: "god_potion_item"
potion:
Duration of the effects in hours.
duration_hours: 1
List of potion effects to apply.
Format: - TYPE:LEVEL
Example: - SPEED:2
Valid types: ABSORPTION, BAD_OMEN, BLINDNESS, CONDUIT_POWER, CONFUSION, DAMAGE_RESISTANCE, DOLPHINS_GRACE,
FAST_DIGGING, FIRE_RESISTANCE, GLOWING, HARM, HEAL, HEALTH_BOOST, HERO_OF_THE_VILLAGE, HUNGER,
INCREASE_DAMAGE, INVISIBILITY, JUMP, LEVITATION, LUCK, MINING_FATIGUE, NIGHT_VISION, POISON,
REGENERATION, SATURATION, SLOW, SLOW_DIGGING, SLOW_FALLING, SPEED, UNLUCK, WATER_BREATHING,
WEAKNESS, WITHER
effects: - "SPEED:1" # Speed II (level is 0-indexed in API, so 1 = II) - "INCREASE_DAMAGE:1" # Strength II - "REGENERATION:1" # Regeneration II - "FIRE_RESISTANCE:0" # Fire Resistance I - "WATER_BREATHING:0" # Water Breathing I - "NIGHT_VISION:0" # Night Vision I - "JUMP:1" # Jump Boost II - "HEALTH_BOOST:4" # Health Boost V (gives 10 extra hearts) - "DAMAGE_RESISTANCE:1" # Resistance II
feedback: particles: enabled: true
Particle type to use for rainbow. REDSTONE allows coloring.
Other types might not support rainbow colors directly.
type: "REDSTONE"
Number of particles for each color in the rainbow burst.
count_per_color: 15
Size of the dust particles (for REDSTONE type).
size: 1.2
How spread out the particles are. Higher values mean more spread.
spread: 0.5 sound: enabled: true
Sound to play on use. Find valid sounds here: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html
type: "ENTITY_PLAYER_LEVELUP" volume: 1.0 # 0.0 to 1.0+ pitch: 1.2 # 0.5 to 2.0
permissions:
Permission node required to use the /godpotion give command.
give_command: "godpotion.give"
Permission node required to use (right-click) the God Potion.
use_potion: "godpotion.use"
messages: prefix: "&7[&6GodPotion&7] " potion_used: "&aYou have used the God Potion and feel its power!" potion_received: "&aYou have received a God Potion!" no_permission_command: "&cYou do not have permission to use this command." no_permission_use: "&cYou do not have permission to use this potion." player_not_found: "&cPlayer not found." reload_success: "&aConfiguration reloaded successfully." invalid_command_usage: "&cInvalid usage. Use: /godpotion <give [player]|reload>"
```