Skip to content

A dice rolling plugin for the Pyplanet Trackmania server controller

License

Notifications You must be signed in to change notification settings

skybaks/pyplanet-roll_dice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A dice rolling plugin for the Pyplanet Trackmania server controller

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages