
文本内容
自定义神药水
添加一种强大的神药水,为玩家提供多种持久效果。
拥有独特的名称、背景故事和颜色,以匹配服务器的风格。
旨在通过平衡的超强力增益来增强游戏体验。
完全可配置
附带一个完全可编辑的配置文件。
自定义药水效果、名称、背景故事、持续时间等。
轻松开启或关闭功能,以适应服务器的需求。
简单命令与权限
包含以下命令:
/godpotion give <player> – 给玩家一瓶药水。
/godpotion reload – 无需重启即可重新加载插件配置。
支持受控访问的权限设置:
godpotion.use – 使用药水。
godpotion.give – 将药水给予他人。
godpotion.reload – 重新加载插件。
适用于任何服务器
非常适合阵营战、PvP、生存模式或自定义小游戏。
通过独特且令人印象深刻的效果提升玩家的参与度。
轻量级且性能友好——不会导致你的服务器卡顿。
config.yml
# GodPotion 插件配置
item:
name: "&6&l神药"
lore:
- "&e饮用此物,感受如神明般的强大!"
- "&7在限定时间内赋予你强大的效果。"
# Minecraft 头颅纹理值 (Base64)
# 默认:金苹果头颅
texture_value: "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNjAyMjZkNGMxZDMwZmJlYmVjYWU5MzlkYTkwMDYwM2U0Y2QwZmVkODU5MmExYmIzZTExZjlhYzkyMzkxYTQ1YSJ9fX0="
# 用于识别该神药的唯一键值。除非你清楚自己在做什么,否则请勿更改。
identifier_key: "god_potion_item"
potion:
# 效果持续时间(小时)。
duration_hours: 1
# 要应用的治疗药水效果列表。
# 格式:- TYPE:LEVEL
# 示例:- SPEED:2
# 有效类型: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" # 速度 II(API 中的等级从 0 开始计数,因此 1 = II)
- "INCREASE_DAMAGE:1" # 力量 II
- "REGENERATION:1" # 生命恢复 II
- "FIRE_RESISTANCE:0" # 抗性提升 I
- "WATER_BREATHING:0" # 水下呼吸 I
- "NIGHT_VISION:0" # 夜视 I
- "JUMP:1" # 跳跃提升 II
- "HEALTH_BOOST:4" # 生命提升 V(额外提供 10 颗心)
- "DAMAGE_RESISTANCE:1" # 抗性提升 II
feedback:
particles:
enabled: true
# 用于彩虹效果的粒子类型。REDSTONE 支持着色。
# 其他类型可能无法直接支持彩虹颜色。
type: "REDSTONE"
# 彩虹爆发中每种颜色的粒子数量。
count_per_color: 15
# 尘埃粒子的大小(适用于 REDSTONE 类型)。
size: 1.2
# 粒子的扩散程度。值越高表示扩散越广。
spread: 0.5
sound:
enabled: true
# 使用时播放的声音。在此处查找有效的声音:https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html
type: "ENTITY_PLAYER_LEVELUP"
volume: 1.0 # 0.0 到 1.0+
pitch: 1.2 # 0.5 到 2.0
permissions:
# 使用 /godpotion give 命令所需的权限节点。
give_command: "godpotion.give"
# 使用(右键点击)God Potion 所需的权限节点。
use_potion: "godpotion.use"
messages:
prefix: "&7[&6GodPotion&7] "
potion_used: "&a你已使用了上帝药水,并感受到了它的力量!"
potion_received: "&a你获得了一瓶上帝药水!"
no_permission_command: "&c你没有权限使用此命令。"
no_permission_use: "&c你没有权限使用此药水。"
player_not_found: "&c未找到玩家。"
reload_success: "&a配置已成功重载。"
invalid_command_usage: "&c用法无效。请使用:/godpotion <give [player]|reload>"

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
# 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>"
评论 0
登录后参与评分
还没有评论,来抢沙发吧