This plugin allows you to play a game of One
The plugin allows you to play a game of One. Each Player is dealt 7 cards at the beginning of each game.
At each players turn, the player must play a card that matches either the color and/or the value of the card on top.
If a player does not have such a card, they must draw at least one card and then can either play the drawn card or pass.
The player to play all their cards first, wins. The plugin also keeps track of scoring by nick and a top 10.
The configuration file for this plugin is system/one/OneConfig.xml
The command for starting a game of One. The bot will only then respond to One play commands in the channel
where this command is given.
<commandStartGame>!one</commandStartGame>
The command for joining an already started game of One. This command can only be used after the start of the
game and before the deal command
<commandJoinGame>!join</commandJoinGame>
The command for dealing a game after a game has been started with the One command.
<commandDealCards>!deal</commandDealCards>
The command for playing a card in the game of One.
<commandPlayCard>!play</commandPlayCard>
The command for drawing a card in the game of One
<commandDrawCard>!draw</commandDrawCard>
The command for passing a card after a card has been drawn.
<commandPassTurn>!pass</commandPassTurn>
The command for showing a player their hand after a game has started.
<commandShowHand>!hand</commandShowHand>
The command for showing all players the count of the cards in play by player.
<commandCountCards>!count</commandCountCards>
The command for showing the stats of a particular player
<commandShowPlayerStats>!onestats</commandShowPlayerStats>
The command for showing the top ten players (and their scores) of One.
<commandShowTopTen>!onetop10</commandShowTopTen>
The command to stop or reset a game of One at any time.
-
authLevel - ANY, ADMIN, MASTER, TRUSTED, NONE
<commandEndGame authLevel="admin">!reset</commandEndGame>
Command: !play <color> <number>
Description: This will play a card
Auth Level: none
Where to give command: channel
Outputs to: channel
Example(s):
Command: !draw
Description: This will draw a card
Auth Level: none
Where to give command: channel
Outputs to: notice to user
Example(s):
Command: !count
Description: Count the number of cards of each player
Auth Level: none
Where to give command: channel
Outputs to: channel
Example(s):
Command: !one
Description: Start a game of One
Auth Level: none
Where to give command: channel
Outputs to: channel
Example(s):
Command: !one
Description: Join a game of One after it has been started
Auth Level: none
Where to give command: channel
Outputs to: channel
Example(s):
| | |
|
Deal out the cards for One
| |
| | |
Command: !deal
Description: Deal a game of One to the players
Auth Level: none
Where to give command: channel
Outputs to: channel
Example(s):
Command: !pass
Description: A player can pass their turn after they draw a card
Auth Level: none
Where to give command: channel
Outputs to: channel
Example(s):
Command: !hand
Description: See the hand of the player that uses the command
Auth Level: none
Where to give command: channel
Outputs to: notice to user
Example(s):
| | |
|
Get the stats of a player
| |
| | |
Command: !onestats <player>
Description: Get the stats of a player
Auth Level: none
Where to give command: channel
Outputs to: channel
Example(s):
Command: !onetop10
Description: Get the top ten players and their scores
Auth Level: none
Where to give command: channel
Outputs to: channel
Example(s):
Command: !reset
Description: Reset a currently playing game of one
Auth Level: admin
Where to give command: channel
Outputs to: channel
Example(s):
v1.2 |
Aradon: Allows for multiple One games in Multiple channels |
v1.1 |
Aradon: Added additional functionality and score recording |
v1.0 |
First Version by DeadEd |