Mod
Dice API
API for creating physical dice
library multiplayer strategy_rts
DICE_API
Have you ever wanted to flip a coin, make a board game, or run a TTRPG in Luanti? Well now you can! This mod makes all of that possible with fun and easy-to-use API.
-
dice.register_die(name, die parameters) -
dice.throw_die(player, itemstack): returns itemstack- Throws Die based on the given itemstack.
player: is an ObjectRef
Die Parameters: (See api.md)
Disclaimer:
This mod is not intended to be used in the gambling of real-world currency, crate-keys or any other pay-to-obtain in-game currency.
Links
- Source: https://github.com/Extex101/dice_api.git
- Forum: https://forum.luanti.org/viewtopic.php?t=31963
- Issues: https://github.com/Extex101/dice_api/issues
- Original ContentDB page: content.luanti.org/packages/Extex/dice_api/
License
MIT
Media license: CC-BY-SA-3.0
Development state
ACTIVELY_DEVELOPED
| Version | Date | Min engine | Size | Download |
|---|---|---|---|---|
| 1.4 | 2026-09-12 00:26:24 | 5.4 | 2.1 MB | Download |