Advertisement
Guest User

Untitled

a guest
Jun 6th, 2017
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.30 KB | None | 0 0
  1. <?xml version="1.0"?>
  2. <!--
  3. This is XML, if you don't know XML, look it up.
  4. It's really easy, if you can host a RoR-server, host an IRC-server,
  5. host this bot, then I assume that you can read/write XML as well.
  6.  
  7. There're 3 sections in this file:
  8. - The general configuration with some general stuff in it
  9. - The IRC configuration
  10. - The RoR-server(s) configuration
  11. Quite self-explanatory.
  12.  
  13. Minimal configuration:
  14. <configuration>
  15. <IRCclient>
  16. <server host="irc.gamingsp.tk" />
  17. </IRCclient>
  18. <RoRclients>
  19. <RoRclient>
  20. <server host="ror.gamingsp.tk" port=12000 />
  21. <irc channel="#gspany" />
  22. </RoRclient>
  23. </RoRclients>
  24. </configuration>
  25.  
  26. note: IRCclient has 3 capitals and RoRclient(s) has 2 capitals. All the rest has no capitals
  27. -->
  28. <configuration>
  29.  
  30. <general>
  31. <version>0.03</version>
  32. <fullversion>0.03G</fullversion>
  33. <logfile append="yes" level="debug">RoRservices.log</logfile> <!-- that doesn't work -->
  34. <admins> <!-- global - root - admins here -->
  35. <!-- these admins have access to advanced functionality of the bot itself
  36. e.g.: restart/shutdown/add a server/...
  37. login via IRC using the identify command:
  38. /msg myRoRbot identify uUsername aPassword-->
  39. <admin username="gspror" password="gsprorbot" />
  40. </admins>
  41. </general>
  42.  
  43. <IRCclient>
  44. <server host="irc.gamingsp.tk" port="6667" />
  45. <user nickname="GSP_Bot" realname="RoR server monitor" username="" password="" />
  46. <oper username="" password="" />
  47. <nickserv servicename="" username="" password="" />
  48. <local address="192.168.1.11" port="6667" />
  49. <ssl>no</ssl>
  50. <ipv6>no</ipv6>
  51. </IRCclient>
  52.  
  53. <RoRclients>
  54. <RoRclient id="GamingSP_Server" enabled="yes">
  55. <server host="ror.gamingsp.tk" port="12000" password="" />
  56. <user name="GSP_Bot" token="dh6dg565gf52f54g5fdv1f5g4fd5v1f" language="en_EN" />
  57. <irc channel="#gspany" />
  58. <admins>
  59. <admin username="" password="" />
  60. </admins>
  61. <announcements delay="500" enabled="yes"> <!-- delay in seconds -->
  62. <announcement>Hi, I'm an announcement</announcement>
  63. <announcement>And I'm the second announcement.</announcement>
  64. <announcement>And I'm the last one. After me, you'll see number 1 again</announcement>
  65. </announcements>
  66. </RoRclient>
  67. </RoRclients>
  68.  
  69. </configuration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement