Perl templates to bootstrap SpringRTS lobby bot development.
- SpringLobbyBot.pl: Lobby bot application template
- SpringLobbyBotConf.pm: Template module for bot configuration management.
- etc/commands.conf: Configuration template for commands rights
- etc/levels.conf: Configuration template for access levels
- etc/SpringLobbyBot.conf: Global lobby bot configuration template
- etc/users.conf: Configuration template for user access rights
- var/help.dat: Commands help template
The SpringLobbyBot application depends on following projects:
- Copy the dependencies listed above (SimpleLog.pm and SpringLobbyInterface.pm) into same location as SpringLobbyBot files
- Edit the etc/SpringLobbyBot.conf file to set following parameters: lobbyLogin (name of the lobby account used by the bot), lobbyPassword (password of the lobby account used by the bot), etcDir (directory containing bot config files ), varDir (directory containing bot dynamic data), logDir (directory containing bot log files)
- Replace <ownerAccountId> and <ownerName> by your actual Spring lobby account ID and name (not those of the bot) in etc/users.conf
- Edit the SpringLobbyBot.pl and SpringLobbyBotConf.pm files and replace "SpringLobbyBot" by the true name of your bot application
- Rename following files according to your bot application name: SpringLobbyBot.pl, SpringLobbyBotConf.pm, etc/SpringLobbyBot.conf
- Launch the bot using command "./SpringLobbyBot.pl etc/SpringLobbyBot.conf" (replace "SpringLobbyBot" by the name chosen in previous steps)
Following projects are known to be based on SpringLobbyBot templates:
Please see the file called LICENSE.
Yann Riou yaribzh@gmail.com