Download (1.6 MB)
For Luanti 5.4 and above

How do I install this?

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.

Reviews

Review

Do you recommend this mod?