PPF Home
Plugins
Developers
   Font size:      

Roulette (v1.2)

PDF
PDF

Description

Plugin is a simple Russian Roulette game.

User asks to spin. Bot will randomly choose a chamber to fire and tell the user if they were lucky or not. If the bot is able to, it will also kick the unlucky user.

Configuration

The configuration file for this plugin is system/Roulette/RouletteConfig.xml

commandSpin

The command spins the barrel! You can set the authLevel to control who is allowed to access the command. The output is used to define where the output from the command will go.

  • authLevel - ANY, ADMIN, MASTER, TRUSTED, NONE
  • output - CHANNEL, PM, NOTICE

      <commandSpin authLevel="none" output="channel">!spin</commandSpin>

    

spinForOthers

Set if it is possible to spin for another user.


      <spinForOthers>yes</spinForOthers>

    

Commands

Play Russian Roulette

Command: !spin [user]
Description: This cause the bot to sping the chamber and fire the gun, optionally you can spin for another user
Auth Level: none
Where to give command: channel
Outputs to: channel
Example(s):

  • !spin
  • !spin DeadEd

Change History

v1.2 DeadEd: added config and ability to spin for someone else. Added authLevel to spin command.
v1.0 First Version by DeadEd