irccasino is a Java package that implements casino games for IRC using the
PircBotX IRC library and Xerial SQLite JDBC Driver. A standalone bot is
included, but the package can also be added to any existing PircBotX-based
project. For more information, visit the project wiki on GitHub or join
us on Freenode in ##casino
and ##holdem
.
- Blackjack
- No Limit Texas Hold'em Poker
- No Limit Texas Hold'em Tournament
- Java 7 or higher
- PircBotX 1.9
- Xerial SQLite JDBC Driver
- Create a new project using your preferred IDE.
- Download the irccasino package into the source directory of the project.
- Download the PircBotX IRC library (JAR package).
- Download the SQLite JDBC driver (JAR package).
- Add both JAR packages to the build/compile path for the project.
- Set the project to run CasinoBot.java.
-
Copy the .help files and strlib.txt to the project run directory.
-
Create irccasino.conf in the project run directory with the following contents:
nick=bot nick password=bot password (optional) network=IRC network (e.g. chat.freenode.net) channel=IRC channels to auto-join (comma delimited) bjchannel=IRC channels to auto-start Blackjack (comma delimited) tpchannel=IRC channels to auto-start Texas Hold'em (comma delimited) ttchannel=IRC channels to auto-start Texas Hold'em Tournament (comma delimited)
- Run the project.
- Give the bot Op status in the channels that will run the games.
- While as channel Op in those channels, type the command
.texaspoker
,.texastourney
or.blackjack
to start that game in the channel. - Other useful Op commands are
.botquit
,.reboot
,.endgame
, and.games
.
- For versions 0.3.4 and lower, ensure that you use the latest library files (.help and strlib.txt).
- For versions 0.3.9 and higher, use the
.migrate
command from within any game to properly migrate game data from the previous version. Also ensure that you use the latest library files.
brrr2 (Main Author)
Yky
RantingHuman