Advertisement
Guest User

config.js -> Pokéumans Pokémon Showdown server

a guest
Feb 3rd, 2016
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.60 KB | None | 0 0
  1. // The server port - the port to run Pokemon Showdown under
  2. exports.port = 80;
  3. exports.serverid = 'pokeumans';
  4. exports.servertoken = 'lXNoJPE4U4Z2';
  5.  
  6. // proxyip - proxy IPs with trusted X-Forwarded-For headers
  7. // This can be either false (meaning not to trust any proxies) or an array
  8. // of strings. Each string should be either an IP address or a subnet given
  9. // in CIDR notation. You should usually leave this as `false` unless you
  10. // know what you are doing.
  11. //exports.proxyip = '10.240.213.116/24'
  12. //exports.proxyip = false;
  13. //exports.proxyip = ['127.0.0.0/8'];
  14. exports.proxyip = ['10.240.0.88/24'];
  15.  
  16. // Pokemon of the Day - put a pokemon's name here to make it Pokemon of the Day
  17. // The PotD will always be in the #2 slot (not #1 so it won't be a lead)
  18. // in every Random Battle team.
  19. exports.potd = '';
  20.  
  21. // crash guard - write errors to log file instead of crashing
  22. // This is normally not recommended - if Node wants to crash, the
  23. // server needs to be restarted
  24. // Unfortunately, socket.io bug 409 requires some sort of crash guard
  25. // https://github.com/LearnBoost/socket.io/issues/609
  26. exports.crashguard = true;
  27.  
  28. // login server data - don't forget the http:// and the trailing slash
  29. // This is the URL of the user database and ladder mentioned earlier.
  30. // Don't change this setting - there aren't any other login servers right now
  31. exports.loginserver = 'http://play.pokemonshowdown.com/';
  32. exports.loginserverkeyalgo = "RSA-SHA1";
  33. exports.loginserverpublickeyid = 2;
  34. exports.loginserverpublickey = "-----BEGIN RSA PUBLIC KEY-----\n" +
  35. "MIICCgKCAgEAtFldA2rTCsPgqsp1odoH9vwhf5+QGIlOJO7STyY73W2+io33cV7t\n" +
  36. "ReNuzs75YBkZ3pWoDn2be0eb2UqO8dM3xN419FdHNORQ897K9ogoeSbLNQwyA7XB\n" +
  37. "N/wpAg9NpNu00wce2zi3/+4M/2H+9vlv2/POOj1epi6cD5hjVnAuKsuoGaDcByg2\n" +
  38. "EOullPh/00TkEkcyYtaBknZpED0lt/4ekw16mjHKcbo9uFiw+tu5vv7DXOkfciW+\n" +
  39. "9ApyYbNksC/TbDIvJ2RjzR9G33CPE+8J+XbS7U1jPvdFragCenz+B3AiGcPZwT66\n" +
  40. "dvHAOYRus/w5ELswOVX/HvHUb/GRrh4blXWUDn4KpjqtlwqY4H2oa+h9tEENCk8T\n" +
  41. "BWmv3gzGBM5QcehNsyEi9+1RUAmknqJW0QOC+kifbjbo/qtlzzlSvtbr4MwghCFe\n" +
  42. "1EfezeNAtqwvICznq8ebsGETyPSqI7fSbpmVULkKbebSDw6kqDnQso3iLjSX9K9C\n" +
  43. "0rwxwalCs/YzgX9Eq4jdx6yAHd7FNGEx4iu8qM78c7GKCisygZxF8kd0B7V7a5UO\n" +
  44. "wdlWIlTxJ2dfCnnJBFEt/wDsL54q8KmGbzOTvRq5uz/tMvs6ycgLVgA9r1xmVU+1\n" +
  45. "6lMr2wdSzyG7l3X3q1XyQ/CT5IP4unFs5HKpG31skxlfXv5a7KW5AfsCAwEAAQ==\n" +
  46. "-----END RSA PUBLIC KEY-----\n";
  47.  
  48. // crashguardemail - if the server has been running for more than an hour
  49. // and crashes, send an email using these settings, rather than locking down
  50. // the server. Uncomment this definition if you want to use this feature;
  51. // otherwise, all crashes will lock down the server.
  52. /**exports.crashguardemail = {
  53. transport: 'SMTP',
  54. options: {
  55. host: 'mail.example.com',
  56. port: 465,
  57. secureConnection: true,
  58. maxConnections: 1,
  59. auth: {
  60. user: 'example@domain.com',
  61. pass: 'password'
  62. }
  63. },
  64. from: 'crashlogger@example.com',
  65. to: 'admin@example.com',
  66. subject: 'Pokemon Showdown has crashed!'
  67. };**/
  68.  
  69. // report joins and leaves - shows messages like "<USERNAME> joined"
  70. // Join and leave messages are small and consolidated, so there will never
  71. // be more than one line of messages.
  72. // This feature can lag larger servers - turn this off if your server is
  73. // getting more than 80 or so users.
  74. exports.reportjoins = true;
  75.  
  76. // report battles - shows messages like "OU battle started" in the lobby
  77. // This feature can lag larger servers - turn this off if your server is
  78. // getting more than 160 or so users.
  79. exports.reportbattles = true;
  80. exports.reportbattlejoins = true;
  81.  
  82. // moderated chat - prevent unvoiced users from speaking
  83. // This should only be enabled in special situations, such as temporarily
  84. // when you're dealing with huge influxes of spammy users.
  85. exports.chatmodchat = false;
  86. exports.battlemodchat = false;
  87. exports.pmmodchat = false;
  88.  
  89. // backdoor - allows Pokemon Showdown system operators to provide technical
  90. // support for your server
  91. // This backdoor gives system operators (such as Zarel) console admin
  92. // access to your server, which allow them to provide tech support. This
  93. // can be useful in a variety of situations: if an attacker attacks your
  94. // server and you are not online, if you need help setting up your server,
  95. // etc. If you do not trust Pokemon Showdown with admin access, you should
  96. // disable this feature.
  97. exports.backdoor = true;
  98.  
  99. // List of IPs from which the dev console (>> and >>>) can be used.
  100. // The console is incredibly powerful because it allows the execution of
  101. // arbitrary commands on the local computer (as the user running the
  102. // server). If an account with the console permission were compromised,
  103. // it could possibly be used to take over the server computer. As such,
  104. // you should only specify a small range of trusted IPs here, or none
  105. // at all. By default, only localhost can use the dev console.
  106. // In addition to connecting from a valid IP, a user must *also* have
  107. // the `console` permission in order to use the dev console.
  108. // Setting this to an empty array ([]) will disable the dev console.
  109. exports.consoleips = ['paulgunaseelan', 'paullelcrio', 'pauldlelucario', 'fondateurlucario', 'dauphin076'];
  110.  
  111. // Whether to watch the config file for changes. If this is enabled,
  112. // then the config.js file will be reloaded when it is changed.
  113. // This can be used to change some settings using a text editor on
  114. // the server.
  115. exports.watchconfig = true;
  116.  
  117. // logchat - whether to log chat rooms.
  118. exports.logchat = true;
  119.  
  120. // loguserstats - how often (in milliseconds) to write user stats to the
  121. // lobby log. This has no effect if `logchat` is disabled.
  122. exports.loguserstats = 1000 * 60 * 10; // 10 minutes
  123.  
  124. // validatorprocesses - the number of processes to use for validating teams
  125. // simulatorprocesses - the number of processes to use for handling battles
  126. // You should leave both of these at 1 unless your server has a very large
  127. // amount of traffic (i.e. hundreds of concurrent battles).
  128. exports.validatorprocesses = 1;
  129. exports.simulatorprocesses = 1;
  130.  
  131. // inactiveuserthreshold - how long a user must be inactive before being pruned
  132. // from the `users` array. The default is 1 hour.
  133. exports.inactiveuserthreshold = 1000 * 60 * 60;
  134.  
  135. // Set this to true if you are using Pokemon Showdown on Heroku.
  136. exports.herokuhack = false;
  137.  
  138. // Custom avatars.
  139. // This allows you to specify custom avatar images for users on your server.
  140. // Place custom avatar files under the /config/avatars/ directory.
  141. // Users must be specified as userids -- that is, you must make the name all
  142. // lowercase and remove non-alphanumeric characters.
  143. //
  144. // Your server *must* be registered in order for your custom avatars to be
  145. // displayed in the client.
  146. exports.customavatars = {
  147. //'userid': 'customavatar.png'
  148. 'ghostprince': 'ghostprince.png',
  149. 'magmasta': 'forza.png',
  150. 'azdar': 'azdar.png',
  151. 'pacificerza': 'erza3.png',//n'oublie pas de rajouter une virgule à chaque fois que tu rajoutes une ligne d'avatar
  152. 'myogui': 'myogui.png',
  153. 'chaglam': 'chaglam.png',
  154. 'paulgunaseelan': 'paul.gif',
  155. 'fondateurpaul': 'paul.gif',
  156. 'fondateurlucario': 'paul.gif',
  157. 'pkupaulucario': 'avatar paulucario.png',
  158. 'paullelucario': 'avatar paulucario.png',
  159. 'paullelcrio': 'avatar paulucario.png',
  160. 'lucariodu76': 'avatar lucario2.jpg',
  161. 'dauphin076': 'fleur de lys france avatar.png',
  162. 'founderlucario': 'avatar lucario.png',
  163. 'paulthelucario': 'avatar paulucario.png',
  164. 'champion1lucario': 'badge paul2.png',
  165. 'wartek': 'wartek.png',
  166. 'lumasan': 'lumavatar2.png',
  167. 'robotdelqp': 'avatar robot.png',//la dernière ligne ne doit pas avoir de virgule au fait
  168. 'pokeumansbot': 'robot2.png',
  169. 'paulsbot': 'robot2.png',
  170. 'pkubot': 'robot2.png',
  171. 'lfcpbot': 'robot2.png',
  172. 'everblue': 'avatar robot.png',
  173. 'iwallyi': 'darkustom.gif',
  174. 'luxrayprimal': 'luxray.png',
  175. //'draha022': 'draha.png',
  176. 'draha022': 'draha2.png',
  177. 'champion8draha': 'draha.png',
  178. 'panur': 'tusaispascoder.png',
  179. //'mindnight': 'somalia.png',
  180. 'blazingdark': 'avatar bd.png',
  181. 'wcjay': 'suicunethebuttercat.gif',
  182. 'champion3jay': 'badge suicune.png',
  183. 'erzafk': 'aspiflex.png',
  184. 'claerina': 'ava clae.png',
  185. //'skyrio': 'avatar skyrio2.png',
  186. 'skyrio': 'skyrio3.png',
  187. 'jessicca001': 'princesse lucario.jpg',
  188. 'situm': 'situm4.png',
  189. 'ytreza': 'ytreza.png',
  190. 'lordwettin': 'lordwettin.png',
  191. 'princewettin': 'lordwettin.png',
  192. 'blazinglight': 'avatar blazinglight.gif',
  193. 'situmparletmort': 'avatar situm2.png',
  194. 'yarti': 'yarti.png',
  195. 'wallyistopladder': 'wally5.png',
  196. 'trainerpkmnblue': 'avatar blue.png',
  197. 'portgasdjungko': 'avatar pdj3.gif',
  198. 'lucaq': 'lucaq.png',
  199. 'lucariodprime': 'lucario pleure2.png',
  200. 'pauldlelucario': 'gif lucario1.gif',
  201. 'wallyladder': 'vive_erza.png',
  202. 'darkraipower99': 'avatar darkraipower.png',
  203. 'situmafk': 'avatar afk.png',
  204. 'posipi': 'posipi.gif',
  205. 'dracomastersitum': 'dmsitum.png',
  206. 'alicethebeauty': 'avatar alice.png',
  207. 'goldenike': 'avatar roxas.jpg',
  208. 'graydeglace': 'MagikarpGrassSteel-4.png',
  209. 'champion6gray': 'gray.jpeg',
  210. 'exiline': 'exilyse.png',
  211. 'jeanletardigrade': 'pacificerza.png',
  212. 'soulcooler': 'shawott.gif',
  213. 'wintercup': 'givrix2.png',
  214. 'givrix': 'tamere.png',
  215. 'moulefrites': 'stromae.jpg',
  216. 'swampertmshiney': 'laggron.gif',
  217. 'grosorteil': 'fuckgivrix.png',
  218. 'situmbdwallypholo': 'situmblabla.png',
  219. 'maxvictini8': 'victini.png',
  220. 'dark4ever': 'd4e.png',
  221. 'rocketleadererza': 'rocketleadererza.png',
  222. 'newdracofeusprod': 'newdracofeusprod.png',
  223. 'dracofeu2lamors': 'newdracofeusprod.png',
  224. 'thedarksitum': 'situmautre.png',
  225. //'wallythebully': 'wtb.png',
  226. 'wallythebully': 'wallytheouf.png',
  227. 'shmasu': 'cc.png',
  228. 'holiano': 'holiano.jpg',
  229. 'blazingdark': 'bd.jpg',
  230. 'rsbamafive': 'bama.png',
  231. 'xigcyp': 'sip.png',
  232. 'elodie': 'avatar elodie.png',
  233. '3dserza': 'erza3.png',
  234. 'scorvol71': 's71.png',
  235. 'noruega': 'noruega.png',
  236. 'fairypeak': 'fp.png',
  237. 'suicuark': 'avatar suicuark.png',
  238. 'chipsoupokemon': 'avatar cp.png',
  239. 'ishikoo': 'avatar buizel.png',
  240. 'evil': 'avatar evil.jpeg',
  241. 'skelderex': 'avatar1.png',
  242. 'mokura': 'avatar mokura.png',
  243. 'coluche': 'coluche.png',
  244. 'champion7noruega': 'vivenesta.png',
  245. 'kaideos': 'kaideos2.png',
  246. 'miang': 'miang5.png',
  247. 'masterkaii': 'avatar kaideos.png',
  248. 'conseil4jay': 'avatar suicune.png',
  249. 'screamouts': 'torterra.png',
  250. 'linya': 'linya.gif',
  251. 'filliburn': 'avatar2.jpg',
  252. 'oxady': 'oxady.png',
  253. 'kaizerteemo': 'roxas.jpg',
  254. 'mindnight': 'mindnight.png',
  255. 'aurabearer': 'aura bearer.png',
  256. 'lionyx': 'avatar lionyx.gif',
  257. 'julienzen': 'avatar luca2.png',
  258. 'onevee': 'veevee.png',
  259. 'lightmaster677': 'lightmaster.gif',
  260. 'tempetefamily972': 'tempete.png',
  261. 'vectric': 'vectric.png',
  262. 'megamharmoeleonm': 'megamharmoeleonm.png',
  263. 'auraalchemist': 'aura-alchemist.png',
  264. 'graham222': 'avatar graham.gif',
  265. 'emolga244': 'avatar emolga.png',
  266. 'adilgameur': 'adilgameur.png',
  267. 'dracaufil': 'adilgameur.png',
  268. 'lastdream': 'last.gif'
  269. };
  270.  
  271. // appealurl - specify a URL containing information on how users can appeal
  272. // disciplinary actions on your section. You can also leave this blank, in
  273. // which case users won't be given any information on how to appeal.
  274. exports.appealurl = 'http://ask.fm/Paul_Lucario';
  275.  
  276. // autoRespActives - Si les réponses autos par le serveur
  277. // sont actives ou pas.
  278. exports.autoRespActives = true;
  279.  
  280. // permissions and groups:
  281. // Each entry in `groupsranking' specifies the ranking of the groups.
  282. // Each entry in `groups' is a seperate group. Some of the members are "special"
  283. // while the rest is just a normal permission.
  284. // The special members are as follows:
  285. // - id: Specifies an id for the group.
  286. // - name: Specifies the human-readable name for the group.
  287. // - root: If this is true, the group can do anything.
  288. // - inherit: The group uses the group specified's permissions if it cannot
  289. // find the permission in the current group. Never make the graph
  290. // produced using this member have any cycles, or the server won't run.
  291. // - jurisdiction: The default jurisdiction for targeted permissions where one isn't
  292. // explictly specified. "Targeted permissions" are permissions
  293. // that might affect another user, such as `ban' or `promote'.
  294. // 's' is a special group where it means the user itself only
  295. // and 'u' is another special group where it means all groups
  296. // lower in rank than the current group.
  297. // All the possible permissions are as follows:
  298. // - console: Developer console (>>).
  299. // - lockdown: /lockdown and /endlockdown commands.
  300. // - hotpatch: /hotpatch, /crashfixed and /savelearnsets commands.
  301. // - ignorelimits: Ignore limits such as chat message length.
  302. // - promote: Promoting and demoting. Will only work if the target user's current
  303. // group and target group are both in jurisdiction.
  304. // - ban: Banning and unbanning.
  305. // - mute: Muting and unmuting.
  306. // - receivemutedpms: Receive PMs from muted users.
  307. // - forcerename: /fr command.
  308. // - redirect: /redir command.
  309. // - ip: IP checking.
  310. // - alts: Alt checking.
  311. // - broadcast: Broadcast informational commands.
  312. // - declare: /declare command.
  313. // - announce: /announce command.
  314. // - modchat: Set modchat.
  315. // - potd: Set PotD.
  316. // - forcewin: /forcewin command.
  317. // - battlemessage: /a command.
  318. exports.groupsranking = [' ', '+', '♫', '%', '@', '\u2605', '#', '&', '£', '~', '®', '$'],
  319. exports.grouplist = [
  320. {
  321. symbol: '$',
  322. id: "founder",
  323. name: "Founder",
  324. root: true,
  325. globalonly: true
  326. },
  327. {
  328. symbol: '®',
  329. id: "bot",
  330. name: "Bot",
  331. root: true,
  332. globalonly: true
  333. },
  334. {
  335. symbol: '~',
  336. id: "admin",
  337. name: "Administrator",
  338. root: true,
  339. globalonly: true
  340. },
  341. {
  342. symbol: '&',
  343. id: "leader",
  344. name: "Leader",
  345. inherit: '@',
  346. jurisdiction: '@u',
  347. promote: 'u',
  348. forcewin: true,
  349. declare: true,
  350. modchatall: true,
  351. rangeban: true,
  352. potd: true,
  353. disableladder: true,
  354. globalonly: true,
  355. tournamentsmanagement: true
  356. },
  357. {
  358. symbol: '£',
  359. id: "encoder",
  360. name: "Encoder",
  361. inherit: '@',
  362. jurisdiction: '@u',
  363. promote: 'u',
  364. forcewin: true,
  365. declare: true,
  366. modchatall: true,
  367. rangeban: true,
  368. potd: true,
  369. disableladder: true,
  370. globalonly: true,
  371. tournamentsmanagement: true
  372. },
  373. {
  374. symbol: '#',
  375. id: "owner",
  376. name: "Room Owner",
  377. inherit: '@',
  378. jurisdiction: 'u',
  379. roommod: true,
  380. roomdriver: true,
  381. declare: true,
  382. modchatall: true,
  383. roomonly: true,
  384. tournamentsmanagement: true
  385. },
  386. {
  387. symbol: '\u2605',
  388. id: "player",
  389. name: "Player",
  390. inherit: '+',
  391. roomvoice: true,
  392. modchat: true,
  393. roomonly: true,
  394. privateroom: true,
  395. joinbattle: true
  396. },
  397. {
  398. symbol: '@',
  399. id: "mod",
  400. name: "Moderator",
  401. inherit: '%',
  402. jurisdiction: 'u',
  403. ban: true,
  404. modchat: true,
  405. roomvoice: true,
  406. forcerename: true,
  407. ip: true,
  408. alts: '@u',
  409. tournaments: true
  410. },
  411. {
  412. symbol: '%',
  413. id: "driver",
  414. name: "Driver",
  415. inherit: '+',
  416. jurisdiction: 'u',
  417. announce: true,
  418. warn: true,
  419. kick: true,
  420. mute: true,
  421. lock: true,
  422. forcerename: true,
  423. timer: true,
  424. modlog: true,
  425. alts: '%u',
  426. bypassblocks: 'u%@&~',
  427. receiveauthmessages: true,
  428. tournamentsmoderation: true,
  429. jeopardy: true,
  430. joinbattle: true
  431. },
  432. {
  433. symbol: '♫',
  434. id: "quizmaster",
  435. name: "Quizmaster",
  436. inherit: ' ',
  437. broadcast: true,
  438. declare: true
  439. },
  440. {
  441. symbol: '+',
  442. id: "voice",
  443. name: "Voice",
  444. inherit: ' ',
  445. broadcast: true
  446. },
  447. {
  448. symbol: ' ',
  449. ip: 's',
  450. alts: 's'
  451. }
  452. ];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement