ABestCrates
ABestCrates 是一款面向 Paper 服务器的现代化、以 GUI 为核心的箱子插件。它允许服务器管理员直接在游戏内创建和管理箱子、钥匙、奖励、概率、动画、全息显示和消息,而无需手动编辑配置文件。
功能特性
- 完全可配置的箱子,通过游戏内 GUI 进行管理
- 支持实体钥匙、虚拟钥匙以及可放置的箱子物品
- 在箱子全息显示下方显示每个玩家的虚拟钥匙计数器
- 完整支持 Nexo、ItemsAdder、Oraxen、ExecutableItems、MMOItems 及类似插件的 ItemStack 元数据
- 物品组合包(最多 27 个物品)、无限命令或混合奖励
- GAMBLE(赌博)箱子带有加权抽取,CHOOSE(选择)箱子提供可选奖励
- 每个箱子拥有自定义的预览和开启标题
- 提供 Roll/CSGO、Casino、Cosmic、Roulette、Wheel、Wonder、经典、快速和即时等多种动画效果
- 渐进式 Roll 减速、可配置音效,每次开启最多展示 9 个动画奖励
- 居中的分页预览界面,包含“打开”和“全部打开”按钮
- 分页的箱子/奖励菜单,支持拖拽或 Shift+点击编辑奖励物品
- 在已放置的箱子上方显示名称全息图
- 环形、螺旋形、螺旋线(Helix)和戴森球粒子效果
- 自定义箱子方块材质
- 箱子颜色预设
- 支持 Shift+左键点击批量开启
- 右键预览,左键开启
- 已放置的箱子受到保护,防止被破坏和爆炸伤害
- 稀有奖励广播提示
- 烟花特效
- 里程碑、全局/玩家专属奖励限制以及专用的奖励日志
- 每个箱子支持独立的冷却时间、Vault 开启费用、权限要求、多重钥匙需求以及击退效果
- 每个奖励支持必需的权限和禁止的权限
- PlaceholderAPI 占位符支持
- 自定义消息
- 命令、玩家、箱子和钥匙数量的 Tab 补全
箱子编辑
管理员可以通过 GUI 配置箱子:
- 显示名称
- 技术用箱子名称
- 箱子颜色
- 方块类型
- 全息显示行内容
- 奖励列表
- 钥匙物品
- 无钥匙时的提示信息
- 开启动画
- 奖励预览
- GAMBLE/CHOOSE 类型
- 粒子效果和虚拟钥匙显示设置
- 权限、冷却时间、Vault 费用和击退设置
- 多重钥匙需求
- 预览/开启 GUI 标题
- 里程碑
- 可放置的箱子物品
可以通过手持物品并点击目标槽位,或将物品拖入 GUI 来分配物品。自定义钥匙物品会复制原始物品的属性,但仅替换钥匙名称。
奖励
每个奖励可以设置:
- 自定义显示物品
- 掉落物品
- 执行的命令
- 真实概率
- 显示概率
- 稀有度文本
- 广播开关
- 烟花开关
- 权重和稀有度倍率
- 最多 27 个奖励物品
- 无限数量的命令
- 必需/禁止的权限
- 全局/玩家专属限制
这使得对外显示的 odds 可以与内部真实的抽取概率分开显示。
命令
主命令:
/abestcrates
别名:
/abc
/acrates
管理员命令:
/abc gui
/abc reload
/abc create <name>
/abc delete <name>
/abc deletecrate
/abc spawncrate <name>
/abc edit <name>
/abc givekey <player> <crate> <amount>
/abc giveall <crate> <amount> [physical|virtual]
/abc givecrate <player> <crate> <amount>
/abc addkeys <player> <crate> <amount>
/abc removekeys <player> <crate> <amount>
/abc forceopen <player> <crate>
权限
abestcrates.admin
abestcrates.use
abestcrates.open
abestcrates.create
abestcrates.givekey
abestcrates.reload
玩家需要 abestcrates.use 权限才能开启箱子。
玩家交互
- 右键点击已放置的箱子以预览奖励
- 左键点击已放置的箱子以开启它
- Shift+左键点击已放置的箱子以开启所有匹配的钥匙
赠送钥匙 菜单无需使用命令即可完成整个物理/虚拟钥匙的工作流程:选择钥匙类型、箱子、在线玩家,并在聊天栏中输入数量。
集成
- Vault 是可选的,仅在箱子需要开启费用时才需要。
- PlaceholderAPI 是可选的。可用的占位符包括
%abestcrates_virtual_<crate>%、%abestcrates_physical_<crate>%、%abestcrates_total_<crate>% 和 %abestcrates_opened_<crate>%。
- 自定义物品插件通过完整的 Bukkit
ItemStack 元数据克隆和序列化来实现兼容。
兼容性
ABestCrates 需要 Java 21 和以下版本的 Paper:
许可证
GPL 3.0
ABestCrates
ABestCrates is a modern, GUI-first crates plugin for Paper servers. It lets server owners create and manage crates, keys, rewards, chances, animations, holograms, and messages directly in-game without manually editing configuration files.
Features
- Fully configurable crates managed from an in-game GUI
- Physical keys, virtual keys, and placeable crate items
- Per-player virtual key counter below crate holograms
- Full ItemStack metadata support for Nexo, ItemsAdder, Oraxen, ExecutableItems, MMOItems, and similar plugins
- Item bundles (up to 27 items), unlimited commands, or mixed rewards
- GAMBLE crates with weighted rolls and CHOOSE crates with selectable rewards
- Custom preview and opening titles per crate
- Roll/CSGO, Casino, Cosmic, Roulette, Wheel, Wonder, classic, fast, and instant animations
- Progressive Roll slowdown, configurable sounds, and up to 9 animated rewards per opening
- Centered paginated previews with Open and Open All buttons
- Paginated crate/reward menus and drag-or-shift-click reward item editing
- Display-name holograms above placed crates
- Ring, spiral, helix, and Dyson Sphere particle effects
- Custom crate block material
- Crate color presets
- Bulk opening with shift-left click
- Right-click preview and left-click opening
- Protected placed crates against breaking and explosions
- Rare reward broadcasts
- Firework effects
- Milestones, global/per-player reward limits, and dedicated reward logs
- Per-crate cooldown, Vault opening cost, permission, multiple key requirements, and pushback
- Required and blocked permissions per reward
- PlaceholderAPI placeholders
- Custom messages
- Tab completion for commands, players, crates, and key amounts
Crate Editing
Administrators can configure crates from the GUI:
- Display name
- Technical crate name
- Crate color
- Block type
- Hologram lines
- Rewards
- Key item
- No-key message
- Opening animation
- Reward preview
- GAMBLE/CHOOSE type
- Particle effect and virtual key display
- Permission, cooldown, Vault cost, and pushback
- Multiple key requirements
- Preview/opening GUI titles
- Milestones
- Placeable crate items
Items can be assigned by holding them in hand, clicking the target slot, or dragging an item into the GUI. Custom key items copy the original item attributes while replacing only the key name.
Rewards
Each reward can have:
- Custom display item
- Dropped item
- Commands
- Real chance
- Display chance
- Rarity text
- Broadcast toggle
- Firework toggle
- Weight and rarity multiplier
- Up to 27 reward items
- Unlimited commands
- Required/blocked permissions
- Global/per-player limits
This allows public-facing odds to be shown separately from the real internal roll chance.
Commands
Main command:
/abestcrates
Aliases:
/abc
/acrates
Admin commands:
/abc gui
/abc reload
/abc create <name>
/abc delete <name>
/abc deletecrate
/abc spawncrate <name>
/abc edit <name>
/abc givekey <player> <crate> <amount>
/abc giveall <crate> <amount> [physical|virtual]
/abc givecrate <player> <crate> <amount>
/abc addkeys <player> <crate> <amount>
/abc removekeys <player> <crate> <amount>
/abc forceopen <player> <crate>
Permissions
abestcrates.admin
abestcrates.use
abestcrates.open
abestcrates.create
abestcrates.givekey
abestcrates.reload
Players need abestcrates.use to open crates.
Player Interaction
- Right-click a placed crate to preview rewards
- Left-click a placed crate to open it
- Shift-left-click a placed crate to open all matching keys
The Give Keys To menu performs the entire physical/virtual key workflow without a command: select the key type, crate, online player, and enter the amount in chat.
Integrations
- Vault is optional and is required only for crates with an opening cost.
- PlaceholderAPI is optional. Available placeholders are
%abestcrates_virtual_<crate>%, %abestcrates_physical_<crate>%, %abestcrates_total_<crate>%, and %abestcrates_opened_<crate>%.
- Custom item plugins work through complete Bukkit
ItemStack metadata cloning and serialization.
Compatibility
ABestCrates requires Java 21 and Paper version:
License
GPL 3.0
评论 0
登录后参与评分
还没有评论,来抢沙发吧