Advertisement
Guest User

Untitled

a guest
Oct 24th, 2014
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.50 KB | None | 0 0
  1. // The WEBSOCKET server and port the bot should connect to.
  2. // Most of the time this isn't the same as the URL, check the `Request URL` of
  3. // the websocket.
  4. // If you really don't know how to do this... Run `node getserver.js URL`.
  5. // Fill in the URL of the client where `URL` is.
  6. // For example: `node getserver.js http://frost.psim.us/`
  7. exports.server = 'sim.psim.us';
  8. exports.port = 8000;
  9.  
  10. // This is the server id.
  11. // To know this one, you should check where the AJAX call 'goes' to when you
  12. // log in.
  13. // For example, on the Smogon server, it will say somewhere in the URL
  14. // ~~showdown, meaning that the server id is 'showdown'.
  15. // If you really don't know how to check this... run the said script above.
  16. exports.serverid = 'showdown';
  17.  
  18. // The nick and password to log in with
  19. // If no password is required, leave pass empty
  20. exports.nick = 'The Titan Bot';
  21. exports.pass = 'niet vandaag Marijntje! :3';
  22.  
  23. // The rooms that should be joined.
  24. // Joining Smogon's Showdown's Lobby is not allowed.
  25. exports.rooms = ['dutch league', 'the titan league'];
  26.  
  27. // Any private rooms that should be joined.
  28. // Private rooms will be moderated differently (since /warn doesn't work in them).
  29. // The bot will also avoid leaking the private rooms through .seen
  30. exports.privaterooms = [];
  31.  
  32. // The character text should start with to be seen as a command.
  33. // Note that using / and ! might be 'dangerous' since these are used in
  34. // Showdown itself.
  35. // Using only alphanumeric characters and spaces is not allowed.
  36. exports.commandcharacter = '.';
  37.  
  38. // The default rank is the minimum rank that can use a command in a room when
  39. // no rank is specified in settings.json
  40. exports.defaultrank = '%';
  41.  
  42. // Whether this file should be watched for changes or not.
  43. // If you change this option, the server has to be restarted in order for it to
  44. // take effect.
  45. exports.watchconfig = false;
  46.  
  47. // Secondary websocket protocols should be defined here, however, Showdown
  48. // doesn't support that yet, so it's best to leave this empty.
  49. exports.secprotocols = [];
  50.  
  51. // What should be logged?
  52. // 0 = error, ok, info, debug, recv, send
  53. // 1 = error, ok, info, debug, cmdr, send
  54. // 2 = error, ok, info, debug (recommended for development)
  55. // 3 = error, ok, info (recommended for production)
  56. // 4 = error, ok
  57. // 5 = error
  58. exports.debuglevel = 3;
  59.  
  60. // Users who can use all commands regardless of their rank. Be very cautious
  61. // with this, especially on servers other than main.
  62. exports.excepts = [frost.psim.us];
  63.  
  64. // Whitelisted users are those who the bot will not enforce moderation for.
  65. exports.whitelist = [buttofTheTitanTank];
  66.  
  67. // Add a link to the help for the bot here. When there is a link here, .help and .guide
  68. // will link to it.
  69. exports.botguide = '';
  70.  
  71. // This allows the bot to act as an automated moderator. If enabled, the bot will
  72. // mute users who send 6 lines or more in 6 or fewer seconds for 7 minutes. NOTE: THIS IS
  73. // BY NO MEANS A PERFECT MODERATOR OR SCRIPT. It is a bot and so cannot think for itself or
  74. // exercise moderator discretion. In addition, it currently uses a very simple method of
  75. // determining who to mute and so may miss people who should be muted, or mute those who
  76. // shouldn't. Use with caution.
  77. exports.allowmute = false;
  78.  
  79. // The punishment values system allows you to customise how you want the bot to deal with
  80. // rulebreakers. Spamming has a points value of 2, all caps has a points value of 1, etc.
  81. exports.punishvals = {
  82. 1: 'warn',
  83. 2: 'mute',
  84. 3: 'hourmute',
  85. 4: 'roomban',
  86. 5: 'ban'
  87. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement