Skip to content

Quick Start ​

For password recovery, manual configuration, backups and upgrades, start with the FAQ.

Get started with Dice!Next 3.0 in 5 minutes, from launching it to rolling your first die.

1. Download and start Dice!Next ​

Download the beta package for your platform. On Windows, extract it and double-click dice-next.exe.

The first launch creates the config/ directory and the SQLite databases (data/dice.db and others). On Windows the program runs minimized in the system tray by default, with a balloon notification in the lower-right corner.

See Installation for details.

2. Open the web panel ​

Right-click the tray icon and choose "Open web panel", or visit http://localhost:18088 in your browser.

Set a login password

We recommend setting a login password on the WebUI Settings page of the panel. Once set, every panel page and API requires login. A normal login session ends with the browser or the Dice!Next session; if you check "Trust this device for 30 days", the login survives browser and program restarts. The same page also lets you change the listening IP / port (a restart is required afterwards, and the page offers a one-click restart button).

3. Configure a OneBot adapter ​

For built-in login, Milky, QQ Official Bot, Discord or KOOK, follow the setup instructions for your platform.

Go to Web panel → Adapters and click "Add adapter".

Dice!Next connects to the OneBot client (NapCat, Lagrange, LLOneBot and others):

ParameterValue
ProtocolOneBot v11
TransportForward WebSocket (forward_ws)
Endpointws://127.0.0.1:3001/
Access TokenSame as in the OneBot client (can be empty)

Make sure the forward WS server is enabled in the OneBot client. When the connection drops, Dice!Next reconnects automatically (every 5 seconds at first, then every 60 seconds; after 20 consecutive failures it pauses, and you can reconnect manually in the panel).

Reverse WebSocket ​

The OneBot client connects to Dice!Next:

ParameterValue
ProtocolOneBot v11
TransportReverse WebSocket (reverse_ws)
EndpointA port number (such as 6700); Dice!Next listens on that port

Then set the reverse WS address in the OneBot client to ws://<IP of the Dice!Next machine>:<that port>/.

4. Try some rolls ​

Send commands in a connected QQ group or private chat:

.help                 # help
.r                    # default d100
.r 3d6+2              # three 6-sided dice + 2
.coc                  # create a COC character
.ra 侦查              # COC check that reads the character sheet (侦查 = Spot Hidden)
.jrrp                 # today's luck
.draw 塔罗            # draw from the 塔罗 (Tarot) deck

If you don't want to connect QQ yet, you can try commands in the Playground of the web panel first.

5. Explore the features ​

FeatureWhereDescription
Dice & checksUser GuideFull dice / COC / DND syntax
Character sheetsCharacter SheetsCreating and managing character sheets
Decks & randomnessDecks & RandomnessCard draws, temporary decks, inline randomness
Rules referenceRules ReferenceLook up COC / DND rules with .rules
Fun & interactionFun & InteractionDaily luck, random names, affection
Session logsSession LogsSession recording and the log site
Keyword repliesKeyword RepliesCustom replies triggered by keywords
Group & system adminGroup & System AdminGroup switches, permissions, scheduled tasks

FAQ ​

Can't connect to the OneBot client? ​

Check that your firewall allows the port, and that the address, Access Token and the matching service in the OneBot client are all set up correctly. A status of "Connection timed out" means automatic reconnection has paused; reconnect manually after fixing the problem. See Troubleshooting.

Commands get no response? ​

Open the Dashboard in the web panel to check the logs and confirm the adapter status is "Connected". Then check whether the group has been turned off with .bot off.

How do I migrate old data? ​

See Data Migration: Web panel → System settings → Legacy data import, enter the old data directory and import in one step.

Released under the AGPLv3 License