A dice rolling plugin for the Pyplanet Trackmania Dedicated Server controller
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyplanet_roll_dice-1.1.1.tar.gz
(15.0 kB
view details)
Built Distribution
File details
Details for the file pyplanet_roll_dice-1.1.1.tar.gz
.
File metadata
- Download URL: pyplanet_roll_dice-1.1.1.tar.gz
- Upload date:
- Size: 15.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c857f24bbe9505671c3ba926a5ee4d048292479ca0b7046712b44b877424d5ff |
|
MD5 | 6de4e2aef1f5253aea0cb4923a1b5ccb |
|
BLAKE2b-256 | de633175f53fa2b3fd98c783771237abdd51d1c76200c8703aed55bc91f5c706 |
File details
Details for the file pyplanet_roll_dice-1.1.1-py3-none-any.whl
.
File metadata
- Download URL: pyplanet_roll_dice-1.1.1-py3-none-any.whl
- Upload date:
- Size: 2.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 047a6a31c3acea21fe065e417ae1589a0ad64e444c35d167f8b7e6e24f22233c |
|
MD5 | d45a78e94da756d55cd5dd810a6097d1 |
|
BLAKE2b-256 | be699f4ceeeef4ad2c615a25fa65124eaa06dbe88ffbef09088472d327d509c4 |