CustomPots 是一款功能强大的 Minecraft 1.21.x 插件,允许管理员通过便捷的 GUI 菜单创建完全自定义的药水。无需复杂的命令或配置文件——所有管理均通过可视化界面完成!
✨ 为什么选择 CustomPots?
- ? 完全自定义 — 名称、颜色、类型、效果
- ?️ 全图形界面操作 — 无需命令,只需鼠标点击
- ? 保存药水 — 创建你的药水库
- ? 完整本地化 — 界面支持多种语言
- ⚡ 优化性能 — 轻量级且代码高效
- ? 灵活设置 — 所有限制和文本均可配置
? 主要功能
? 创建自定义药水
使用 /custompotions create 命令打开创建菜单:
- ✏️ 唯一名称 — 为药水设置任意名称
- ? 药水类型:
- ? 颜色选择 — 提供数百种色调的调色板
- ⚗️ 多重效果 — 一种药水中最多可添加 10 种效果
- ⏱️ 持续时间设置 — 从 1 秒到 1 小时
- ? 效果等级 — 从 1 级到 255 级
- ?️ 预览 — 实时查看最终药水外观
? 颜色调色板
独立的颜色选择菜单,包含:
- ? 分页导航
- ? 数百种预设颜色
- ? 每种色调的视觉展示
- ✅ 即时应用到药水
⚗️ 效果编辑器
对于每种效果,你可以配置:
- ? 效果类型 — 所有原版 Minecraft 效果
- ⏰ 持续时间 — 精确到秒的设置
- ? 等级 — 从弱效到强效
- ?️ 移除 — 轻松删除不需要的效果
所有效果名称已本地化为你的语言:
- Speed(速度)、Slowness(缓慢)、Haste(急迫)、Mining Fatigue(挖掘疲劳)
- Strength(力量)、Instant Health(瞬间生命)、Instant Damage(瞬间伤害)
- Jump Boost(跳跃提升)、Nausea(反胃)、Regeneration(再生)
- Resistance(抗性提升)、Fire Resistance(火焰抗性)、Water Breathing(水下呼吸)
- Invisibility(隐身)、Blindness(失明)、Night Vision(夜视)
- Hunger(饥饿)、Weakness(虚弱)、Poison(中毒)、Wither(凋零)
- 以及更多其他效果!
? 药水管理
使用 /custompotions manage 命令打开药水库:
- ? 查看所有药水 — 显示完整信息
- ? 左键点击 — 将药水放入背包
- ✏️ 右键点击 — 编辑药水
- ? Shift + 左键点击 — 复制药水
- ❌ Shift + 右键点击 — 删除药水
- ? 分页导航 — 适用于大型收藏集合
? 命令
| 命令 |
描述 |
权限 |
/custompotions create |
打开创建菜单 |
custompotions.create |
/custompotions manage |
管理药水 |
custompotions.manage |
/custompotions give <player> <name> |
给予玩家药水 |
custompotions.give |
/custompotions list |
列出所有药水 |
custompotions.admin |
/custompotions reload |
重新加载配置 |
custompotions.admin |
别名: /cpotions, /cp
⚙️ 配置
? config.yml
插件的所有方面都通过配置文件进行设置:
# GUI 菜单标题
gui:
creation-menu:
title: "&6&l药水制作"
management-menu:
title: "&6&l药水管理"
color-picker:
title: "&6&l颜色选择"
# 限制
potions:
max-effects: 10 # 最大效果数量
max-duration: 3600 # 最大持续时间(秒)
max-amplifier: 255 # 最大效果等级
# 消息(全部可自定义)
messages:
prefix: "&8[&dCustomPots&8]"
potion-created: "&a药水创建成功!"
potion-saved: "&a药水已保存!"
# ... 以及更多
? 权限
custompotions.* # 所有权限
custompotions.create # 创建药水
custompotions.manage # 管理药水
custompotions.give # 给予药水
custompotions.admin # 管理员命令
? 安装
- 下载插件
.jar 文件
- 将其放入服务器的
plugins/ 文件夹中
- 重启服务器
- 完成!使用
/custompotions create
要求
- ☕ Java: 17+
- ? Minecraft: 1.21.x
- ? 平台: Spigot / Paper
- ? 可选: PlaceholderAPI (用于占位符)
? PlaceholderAPI 集成
如果您安装了 PlaceholderAPI,则可以使用以下占位符:
%custompotions_last_name% — 上次使用的药水名称
%custompotions_cooldown% — 使用冷却时间(开发中)
? 截图
将截图添加到 Modrinth 图库
- 药水制作菜单
- 颜色选择调色板
- 效果编辑器
- 药水管理菜单
- 游戏中自定义药水的示例
? 使用示例
制作“神圣之力”药水
/custompotions create
- 输入名称:“神圣之力”
- 选择类型:普通
- 选择颜色:金色
- 添加效果:
- 力量 V(5分钟)
- 生命恢复 III(3分钟)
- 抗性提升 II(5分钟)
- 速度 II(5分钟)
- 点击“保存”
将药水给予玩家
/custompotions give Player123 Divine Power
CustomPots is a powerful plugin for Minecraft 1.21.x that allows administrators to create fully customized potions through a convenient GUI menu. No complex commands or configuration files - all management is done through a visual interface!
✨ Why CustomPots?
- ? Full Customization — name, color, type, effects
- ?️ All Through GUI — no commands, just mouse clicks
- ? Save Potions — create a library of your potions
- ? Full Localization — interface available in multiple languages
- ⚡ Optimized — lightweight and fast code
- ? Flexible Settings — all limits and texts are configurable
? Main Features
? Creating Custom Potions
Use the /custompotions create command to open the creation menu:
- ✏️ Unique Name — set any name for the potion
- ? Potion Type:
- ? Normal (drinkable)
- ? Splash
- ?️ Lingering
- ? Color Selection — palette with hundreds of shades
- ⚗️ Multiple Effects — add up to 10 effects to one potion
- ⏱️ Duration Settings — from 1 second to 1 hour
- ? Effect Levels — from level 1 to 255
- ?️ Preview — see the final potion in real-time
? Color Palette
Separate color selection menu with:
- ? Paginated navigation
- ? Hundreds of ready-made colors
- ? Visual display of each shade
- ✅ Instant application to potion
⚗️ Effect Editor
For each effect, you can configure:
- ? Effect Type — all vanilla Minecraft effects
- ⏰ Duration — precise settings in seconds
- ? Level — from weak to powerful effect
- ?️ Removal — easily remove unwanted effects
All effect names in your language:
- Speed, Slowness, Haste, Mining Fatigue
- Strength, Instant Health, Instant Damage
- Jump Boost, Nausea, Regeneration
- Resistance, Fire Resistance, Water Breathing
- Invisibility, Blindness, Night Vision
- Hunger, Weakness, Poison, Wither
- And many more!
? Potion Management
The /custompotions manage command opens the library:
- ? View All Potions — with full information
- ? Left Click — get potion in inventory
- ✏️ Right Click — edit potion
- ? Shift + Left Click — duplicate potion
- ❌ Shift + Right Click — delete potion
- ? Paginated Navigation — for large collections
? Commands
| Command |
Description |
Permission |
/custompotions create |
Open creation menu |
custompotions.create |
/custompotions manage |
Manage potions |
custompotions.manage |
/custompotions give <player> <name> |
Give potion to player |
custompotions.give |
/custompotions list |
List all potions |
custompotions.admin |
/custompotions reload |
Reload configuration |
custompotions.admin |
Aliases: /cpotions, /cp
⚙️ Configuration
? config.yml
All aspects of the plugin are configured through the config:
# GUI menu titles
gui:
creation-menu:
title: "&6&lPotion Creation"
management-menu:
title: "&6&lPotion Management"
color-picker:
title: "&6&lColor Selection"
# Limits
potions:
max-effects: 10 # Maximum effects
max-duration: 3600 # Maximum duration (seconds)
max-amplifier: 255 # Maximum effect level
# Messages (all customizable)
messages:
prefix: "&8[&dCustomPots&8]"
potion-created: "&aPotion successfully created!"
potion-saved: "&aPotion saved!"
# ... and much more
? Permissions
custompotions.* # All permissions
custompotions.create # Create potions
custompotions.manage # Manage potions
custompotions.give # Give potions
custompotions.admin # Administrative commands
? Installation
- Download the plugin
.jar file
- Place it in your server's
plugins/ folder
- Restart the server
- Done! Use
/custompotions create
Requirements
- ☕ Java: 17+
- ? Minecraft: 1.21.x
- ? Platform: Spigot / Paper
- ? Optional: PlaceholderAPI (for placeholders)
? PlaceholderAPI Integration
If you have PlaceholderAPI installed, placeholders are available:
%custompotions_last_name% — name of the last used potion
%custompotions_cooldown% — cooldown for usage (in development)
? Screenshots
Add screenshots to Modrinth gallery
- Potion creation menu
- Color selection palette
- Effect editor
- Potion management menu
- Example of custom potion in-game
? Usage Examples
Creating a "Divine Power" Potion
/custompotions create
- Enter name: "Divine Power"
- Select type: Normal
- Select color: Golden
- Add effects:
- Strength V (5 minutes)
- Regeneration III (3 minutes)
- Resistance II (5 minutes)
- Speed II (5 minutes)
- Click "Save"
Giving Potion to Player
/custompotions give Player123 Divine Power
评论 0
登录后参与评分
还没有评论,来抢沙发吧