DnDUtil
A DnD dice mod for On-Together. Use /dndhelp
模組介紹 作者原文
DnDUtil
A mod for On-Together that adds Dungeons & Dragons utilities to enhance your tabletop gaming experience.
Features
- Dice Rolling: Roll any combination of dice (d4, d6, d8, d10, d12, d20, d100, etc.)
- Flexible Broadcasting: Send results to yourself, local chat, or global chat
- Customizable Announcer: Configure the name displayed when broadcasting rolls
- In-Game Commands: Easy-to-use slash commands for all features
- Toggleable Features: Enable/disable mod features as needed
Commands
Note: Most commands have short aliases for faster typing (shown in parentheses).
Core Commands
- /dndhelp (or /dh) - Display a list of all available DnD mod commands in-game
- /roll XdY [MdN...] (or /r XdY) - Roll dice with specified sides
- X = number of dice to roll
- Y = number of sides on each die
- You can roll multiple dice types in one command
- Examples:
- /roll 1d20 - Roll one 20-sided die
- /roll 2d6 - Roll two 6-sided dice
- /roll 2d20 1d6 1d4 - Roll two d20s, one d6, and one d4
- /roll d20 - Roll a single d20 (X defaults to 1)
Configuration Commands
- /dndsetannouncerarea [self|local|global] (or /dsaa) - Set where roll results are displayed
- self - Only you see the results
- local - Nearby players see the results (default)
- global - All players see the results
- Example: /dndsetannouncerarea global or /dsaa global
- /dndsetannouncername [name] (or /dsan) - Set the display name for roll announcements
- Default: "DnDSystem"
- Example: /dndsetannouncername DungeonMaster or /dsan DM
- /showdndcommand (or /sdc) - Toggle visibility of your commands in chat
- When enabled, other players see your command (e.g., "/roll 2d20")
- When disabled, only the results are shown
- Default: hidden
- /dndtoggle (or /dt) - Enable or disable all DnD utility features
Installation
Automatic Installation (Recommended)
- Install r2modman or Mod Manager
- Look for On-Together game
- Search for "DnDUtil" in the mod manager
- Click "Install"
- Launch the game through the mod manager
Manual Installation
- Install BepInEx for On-Together:
- Download the appropriate BepInEx version for your platform
- Extract BepInEx to your game's installation directory
- Run the game once to generate BepInEx configuration files
- Download DnDUtil:
- Get the latest release from GitHub or
- Install DnDUtil:
- Extract the DnDUtil archive
- Copy the contents to your game's installation directory
- Merge folders when prompted
Configuration
Configuration files are automatically created in BepInEx/config/ after first launch.
com.andrewlin.ontogether.dndmod.cfg:
- EnableFeature - Enable/disable the mod (default: true)
- ShowCommand - Show commands in chat (default: false)
- AnnouncerChatName - Display name for announcements (default: "DnDSystem")
- AnnouncerArea - Where to broadcast rolls: self|local|global (default: "self")
Usage Examples
Basic Rolling
/roll 1d20 -> Roll for initiative!
/r 2d6 -> Roll damage for a greatsword (short command)
/roll 4d6 -> Roll stats for character creation
Multiple Dice
/roll 1d20 8d6 -> Roll attack with spell damage
/r 1d20 1d4 -> Roll with bardic inspiration (short command)
Broadcasting to Others
/dsaa global -> Set to global chat
/roll 1d20 -> Everyone sees your roll
/dsaa self -> Back to private rolling
Custom Announcer Name
/dsan DM -> Set name to "DM"
/roll 1d20 -> "DM rolled 1d20: 15"
Support
For bug reports, feature requests, or questions:
- Open an issue on GitHub
- Contact the mod author on the On-Together community Discord
安裝與使用 安裝:按包內說明操作
- 解壓本站下載的壓縮包,先讀包內的 readme / 說明檔案。
- 多數模組依賴遊戲的模組載入器:常見做法是用社群模組管理器(如 r2modman)選中本遊戲安裝,由管理器自動處理載入器與依賴。
- 手動安裝時,把模組檔案放進遊戲目錄下對應的 Mod / plugins 資料夾。
- 啟動遊戲確認載入成功;帶「前置依賴」的模組需要把依賴一併安裝。
不同模組的安裝位置差異較大,包內說明是最可靠的依據。
下面這些內容需要先安裝,否則該模組不會生效: