Skip to main content

Roll Dice

A plugin for PyPlanet.

This plugin allows you to simulate dice rolls.

Installation

Install or update to the latest version with the following command

python -m pip install --upgrade pyplanet-roll_dice

Add the following to your pyplanet apps.py

'skybaks.roll_dice',

Commands

Command Description
/roll die Use this command to simulate a dice roll. If the 'die' argument is omitted a 1d20 die will be rolled. The die argument can be any 2 integer numbers separated by the letter 'd'. The first number indicates the number of dice to roll and the second number indicates the max value of the die to roll.

Examples of commands:

$> /roll

Player rolls 1d20...
Dice: 19 Total: 19
$> /roll 2d6

Player rolls 2d6...
Dice: 1, 4 Total: 5
$> /roll 3d8

Player rolls 3d8...
Dice: 8, 6, 3 Total: 17

Release files for pyplanet-roll-dice 1.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyplanet-roll-dice 1.1.1
File Size Uploaded
pyplanet_roll_dice-1.1.1.tar.gz 15.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyplanet-roll-dice 1.1.1
File Interpreter ABI Platform
pyplanet_roll_dice-1.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 17.5 kB

Release files / pyplanet_roll_dice-1.1.1.tar.gz

Download URL pyplanet_roll_dice-1.1.1.tar.gz
Size 15.0 kB
Tags Source
SHA-256 checksum
How to use checksums
c857f24bbe9505671c3ba926a5ee4d048292479ca0b7046712b44b877424d5ff
BLAKE2b-256 checksum
How to use checksums
de633175f53fa2b3fd98c783771237abdd51d1c76200c8703aed55bc91f5c706
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Release files / pyplanet_roll_dice-1.1.1-py3-none-any.whl

Download URL pyplanet_roll_dice-1.1.1-py3-none-any.whl
Size 2.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
047a6a31c3acea21fe065e417ae1589a0ad64e444c35d167f8b7e6e24f22233c
BLAKE2b-256 checksum
How to use checksums
be699f4ceeeef4ad2c615a25fa65124eaa06dbe88ffbef09088472d327d509c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Release history Release notifications | RSS feed

This release

1.1.1 This release

2 release files

1.1.0

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page