Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0"?>
- <!--
- This is XML, if you don't know XML, look it up.
- It's really easy, if you can host a RoR-server, host an IRC-server,
- host this bot, then I assume that you can read/write XML as well.
- There're 3 sections in this file:
- - The general configuration with some general stuff in it
- - The IRC configuration
- - The RoR-server(s) configuration
- Quite self-explanatory.
- Minimal configuration:
- <configuration>
- <IRCclient>
- <server host="irc.gamingsp.tk" />
- </IRCclient>
- <RoRclients>
- <RoRclient>
- <server host="ror.gamingsp.tk" port=12000 />
- <irc channel="#gspany" />
- </RoRclient>
- </RoRclients>
- </configuration>
- note: IRCclient has 3 capitals and RoRclient(s) has 2 capitals. All the rest has no capitals
- -->
- <configuration>
- <general>
- <version>0.03</version>
- <fullversion>0.03G</fullversion>
- <logfile append="yes" level="debug">RoRservices.log</logfile> <!-- that doesn't work -->
- <admins> <!-- global - root - admins here -->
- <!-- these admins have access to advanced functionality of the bot itself
- e.g.: restart/shutdown/add a server/...
- login via IRC using the identify command:
- /msg myRoRbot identify uUsername aPassword-->
- <admin username="gspror" password="gsprorbot" />
- </admins>
- </general>
- <IRCclient>
- <server host="irc.gamingsp.tk" port="6667" />
- <user nickname="GSP_Bot" realname="RoR server monitor" username="" password="" />
- <oper username="" password="" />
- <nickserv servicename="" username="" password="" />
- <local address="192.168.1.11" port="6667" />
- <ssl>no</ssl>
- <ipv6>no</ipv6>
- </IRCclient>
- <RoRclients>
- <RoRclient id="GamingSP_Server" enabled="yes">
- <server host="ror.gamingsp.tk" port="12000" password="" />
- <user name="GSP_Bot" token="dh6dg565gf52f54g5fdv1f5g4fd5v1f" language="en_EN" />
- <irc channel="#gspany" />
- <admins>
- <admin username="" password="" />
- </admins>
- <announcements delay="500" enabled="yes"> <!-- delay in seconds -->
- <announcement>Hi, I'm an announcement</announcement>
- <announcement>And I'm the second announcement.</announcement>
- <announcement>And I'm the last one. After me, you'll see number 1 again</announcement>
- </announcements>
- </RoRclient>
- </RoRclients>
- </configuration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement