RandomizerPlugin
将每一次方块破坏和合成配方变成惊喜。没有两次游玩是相同的。
RandomizerPlugin 是一个轻量但功能强大的 Spigot/Paper 插件,它通过从精心策划的大量战利品池中随机选取物品,彻底重构了 Minecraft 两项最基础的机制——方块掉落和合成结果。一个简洁的游戏内 GUI 允许服务器管理员和被授权的玩家随时独立切换每个功能,无需重启服务器。
特性
方块掉落随机器
每当玩家破坏一个方块时,正常的掉落物会被抑制,并替换为一个完全随机的物品。结果从包含超过 40 种可能材料的池中抽取,范围涵盖日常资源如圆石(Cobblestone)和煤炭(Coal),一直到稀有宝藏如鞘翅(Elytra)、下界之星(Nether Stars),甚至龙蛋(Dragon Egg)。掉落数量也在 1 到 4 个物品之间随机变化,并有 10% 的概率获得额外堆叠(5–8 个物品)以保持趣味性。此功能适用于所有可破坏的方块,并与原版游戏无缝集成,无需修改世界数据。
合成随机器
当激活“合成随机器”时,游戏中的所有合成配方都会变为神秘结果。一旦玩家将物品放入有效的合成图案中,输出槽会显示随机选择的物品,而不是预期的产物——并且当玩家拿起结果时,会触发第二次随机化,从而防止利用预览机制进行作弊。输出池与方块掉落池相似,涵盖工具、盔甲、食物、建筑材料和稀有物品。
游戏内切换 GUI
两个功能都通过精美的 3×9 箱子 GUI 完全控制,只需一条命令即可打开。界面使用彩色羊毛块(绿色 = 启用,红色 = 禁用)和描述性文本显示每个随机器的当前状态。点击按钮即可立即切换相应功能,并刷新 GUI 以反映新状态。无需配置文件,无需重启——更改实时应用于所有在线玩家。
命令
| 命令 |
别名 |
描述 |
/random gui |
/rng gui |
打开随机器控制 GUI |
权限
| 权限节点 |
默认值 |
描述 |
randomizer.use |
OP |
允许打开 GUI 并切换两个随机器 |
randomizer.admin |
OP |
完整的管理员访问权限(保留用于未来扩展) |
安装
- 下载
RandomCore.jar
- 将 JAR 文件放入服务器的
plugins/ 文件夹
- 启动或重载服务器
- 向应有权限访问的玩家或组授予
randomizer.use 权限
- 加入服务器并运行
/random gui 开始使用
要求: Java 17 或更高版本 · Paper 或 Spigot 1.20.x
RandomizerPlugin
Turn every block break and crafting recipe into a surprise. No two plays are the same.
RandomizerPlugin is a lightweight yet powerful Spigot/Paper plugin that completely overhauls
two of Minecraft's most fundamental mechanics — block drops and crafting results — by replacing
them with randomly selected items from a large, curated loot pool. A clean in-game GUI lets
server operators and permitted players toggle each feature independently at any time, with no
server restart required.
Features
Block Drop Randomizer
Every time a player breaks a block, the normal drop is suppressed and replaced with a
completely random item. The result is pulled from a pool of over 40 possible materials,
ranging from everyday resources like Cobblestone and Coal all the way to rare treasures such
as Elytra, Nether Stars, and even the Dragon Egg. Drop amounts are also randomized between
1 and 4 items, with a 10 % chance of a bonus stack (5–8 items) to keep things exciting.
This feature works on all breakable blocks and integrates seamlessly with the vanilla game
without modifying world data.
Crafting Randomizer
When the Crafting Randomizer is active, every crafting recipe in the game is replaced with
a mystery result. As soon as a player fills a valid crafting pattern, the output slot shows a
randomly chosen item instead of the expected product — and a second randomization fires the
moment the player picks up the result, preventing any exploit of the preview. The output pool
mirrors the block drop pool and spans tools, armor, food, building materials, and rare items.
In-Game Toggle GUI
Both features are fully controlled through a polished 3×9 chest GUI, opened with a single
command. The interface displays the current state of each randomizer using color-coded wool
blocks (green = active, red = inactive) and descriptive lore text. Clicking a button
instantly toggles the corresponding feature and refreshes the GUI to reflect the new state.
No configuration files, no restarts — changes apply live to all online players.
Commands
| Command |
Alias |
Description |
/random gui |
/rng gui |
Opens the Randomizer control GUI |
Permissions
| Permission Node |
Default |
Description |
randomizer.use |
OP |
Allows opening the GUI and toggling both randomizers |
randomizer.admin |
OP |
Full administrative access (reserved for future expansions) |
Installation
- Download
RandomCore.jar
- Drop the JAR into your server's
plugins/ folder
- Start or reload your server
- Grant
randomizer.use to the players or groups who should have access
- Join the server and run
/random gui to get started
Requirements: Java 17 or higher · Paper or Spigot 1.20.x
评论 0
登录后参与评分
还没有评论,来抢沙发吧