Skip to content

Latest commit

 

History

History
41 lines (33 loc) · 1.51 KB

README.md

File metadata and controls

41 lines (33 loc) · 1.51 KB

irccasino

What is irccasino?

irccasino is a Java package that implements casino games for IRC using the PircBotX library. A standalone bot is included, but the package can also be added to any existing PircBotX-based project with some minor tweaks.

Games

  • Blackjack
  • No Limit Texas Hold'em Poker

Requirements

  1. Java 6 or higher
  2. PircBotX 1.9

Setup

Create project

  1. Download the PircBotX library (the JAR package).
  2. Download irccasino and create a new project for it.
  3. Add the PircBotX library to the build/compile path for the project.
  4. Set the project to run CasinoBot.java.

Configuration

  1. Copy the .help files to the project run directory.

  2. Create irccasino.conf in the project run directory with the following contents:

    nick=bot nick
    password=bot password
    network=IRC network
    channel=IRC channels (comma delimited)
    

Run standalone bot

  1. Run the project.
  2. Give the bot Op status in the channels that will run the games.
  3. While as channel Op, type ".texaspoker" or ".blackjack" to start the desired game in the channel.

For more information, visit the project wiki on GitHub or join us on Freenode in ##casino. HELLO WORLD! More!