? DndRoll — 专为 D&D 风格打造的时尚掷骰插件
DndRoll 是一款为 Paper 1.21.1+ 服务器设计的精美且直观的掷骰插件。它非常适合用于 D&D 风格的角色扮演服务器,允许玩家使用修正值进行掷骰,并以令人惊叹的霓虹蓝紫渐变效果展示结果——灵感源自 FlectonePulse 美学!
✨ 功能特性
多种骰子类型 —— 支持任意骰子格式:XdY(例如 1d20、2d6、3d12、1d100)。
修正值 —— 添加或减去修正值:/dndroll 2d20+5,/dndroll 1d8-2。
精美的霓虹设计 —— 渐变标题、彩色结果以及大成功/大失败检测。
智能颜色编码 — 根据投掷结果的质量(暴击、高值、低值、失败)进行颜色标记。
关键检测 — 自动检测并宣告 d20 投掷中的 NATURAL 20(自然成功)和 NATURAL 1(自然失败)。
Tab 补全 — 提供常见骰子格式的便捷建议。
广播至服务器 — 将投掷结果显示给所有在线玩家(增强沉浸感)。
? 工作原理
玩家输入命令:/dndroll <骰子>。
插件解析骰子表示法,掷出每个骰子并应用任何修正值。
结果以时尚的霓虹渐变设计广播至整个服务器。
特殊颜色高亮显示:
暴击(最大值)—— 亮紫色/白色
大失败(1)—— 深紫色
高掷出结果(>80%)—— 浅紫色
低掷出结果(<20%)—— 中紫色
普通掷出结果 —— 浅蓝色
? 命令
/dndroll <数量>d<面数>[+/-修正值] - 以 D&D 风格掷骰子
别名:/roll, /droll, /кубик, /бросок
? 示例输出
◈─────────────────────────────────◈
? Rimuru 投掷 2d20+3:
骰子结果:[15] + [18]
骰子总和:33
修正值:+3
════════════════
✦ 总计:36
◈─────────────────────────────────◈
? 安装
下载 DndRoll-1.1.0.jar。
将其放入服务器的 plugins 文件夹中。
重启服务器(或运行 reload 命令)。
完成!玩家可以使用 /dndroll 开始掷骰。
❓ 常见问题
玩家能看到彼此的掷骰结果吗?
可以,所有掷骰结果都会向整个服务器广播,以提供最大的沉浸感。
它支持其他类型骰子的暴击检测吗?
对 d20 掷骰会自动进行暴击检测(自然 20/1)。其他类型的骰子仍会针对最大值/最小值显示颜色编码。
可以自定义颜色吗?
目前,颜色固定为霓虹蓝紫色主题。未来版本可能会包含可配置的颜色选项。
? DndRoll — Stylish Dice Rolling Plugin for D&D Style!
DndRoll is a beautiful and intuitive dice rolling plugin for Paper 1.21.1+ servers. Perfect for D&D-style roleplay servers, it allows players to roll dice with modifiers and displays results in stunning neon blue-purple gradients — inspired by the FlectonePulse aesthetic!
✨ Features
Multiple Dice Types — supports any dice format: XdY (e.g., 1d20, 2d6, 3d12, 1d100).
Modifiers — add or subtract modifiers: /dndroll 2d20+5, /dndroll 1d8-2.
Beautiful Neon Design — gradient headers, colored results, and critical hit/fail detection.
Smart Color Coding — results are color-coded based on roll quality (crits, high rolls, low rolls, fails).
Critical Detection — automatically detects and announces NATURAL 20 (critical success) and NATURAL 1 (critical failure) for d20 rolls.
Tab Completion — handy suggestions for common dice formats.
Broadcast to Server — roll results are displayed to all online players (immersion-friendly).
? How It Works
Player enters command: /dndroll <dice>.
The plugin parses the dice notation, rolls each die, and applies any modifier.
Results are broadcast to the entire server with a stylish neon gradient design.
Special colors highlight:
Critical hits (max value) — bright purple/white
Critical fails (1) — dark purple
High rolls (>80%) — light purple
Low rolls (<20%) — medium purple
Normal rolls — light blue
? Commands
/dndroll <количество>d<грани>[+/-модификатор] - Roll dice in D&D style
Aliases: /roll, /droll, /кубик, /бросок
? Example Output
◈─────────────────────────────────◈
? Rimuru кидает 2d20+3:
Кубики: [15] + [18]
Сумма кубиков: 33
Модификатор: +3
════════════════
✦ ИТОГО: 36
◈─────────────────────────────────◈
? Installation
Download DndRoll-1.1.0.jar.
Place it in your server's plugins folder.
Restart your server (or run reload).
Done! Players can start rolling with /dndroll.
❓ FAQ
Can players see each other's rolls?
Yes, all rolls are broadcast to the entire server for maximum immersion.
Does it support critical detection for other dice types?
Critical detection is automatic for d20 rolls (natural 20/1). Other dice types still show color coding for max/min values.
Can I customize the colors?
Currently, colors are fixed to the neon blue-purple theme. Future versions may include configurable colors.
评论 0
登录后参与评分
还没有评论,来抢沙发吧