Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- U'use strict';
- // Use this port to run your server under. Details below
- exports.port = 8000;
- // This section allows potd. Choose a pokemon you desire. And figure it out
- exports.potd = '';
- // Basically. Instead of the server crashing let's send it log file
- exports.crashguard = true;
- // This is an algorithm key required only for the below domain
- // There is no other. login server chain usable right now
- exports.loginserver = 'http://main.pokemon-world.online/';
- exports.loginserverkeyalgo = "RSA-SHA1";
- exports.loginserverpublickeyid = 4;
- exports.loginserverpublickey = `-----BEGIN PUBLIC KEY-----
- MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAlZGmbwjYQaaAuNxa9ZP0
- xpftjv2Zr+K5f+ti7RsZyByYixbnNX+33r/MD9HGfdWxmsyCdU7AoppjZe1P4c67
- ERVR79i1St/ynm7eUEeVp/6KNeurLNDAx9U84y+xmaAEP65mP4a4I0a3XTipmOyH
- tQNf/q3ibiLGRKmWlnkV+9tFgeBjtMBjAfYRP4qEMxKcRK2juFE3hB79TW7rsuIU
- 663U+MSnfzHjZqxPv4lFH43HYNGqHsbC+mGjsDEZBhNf2wDikleV3rukKBtM0Loe
- P8QPjKDL/XwhMbv/OBQy06owk73WdOjt9Spg08xuYMrIq8lOXenmvtv6YLe1OQdL
- BQIDAQAB
- -----END PUBLIC KEY-----
- `;
- //,If your server crashes. Every so often use this method via email. somewhat
- // Treat it as if it was like an. MX record @pokemon-world.online not the same.
- /**exports.crashguardemail = {
- options: {
- host: 'mail.example.com',
- port: 465,
- secure: true,
- auth: {
- user: 'example@domain.com',
- pass: 'password'
- }
- },
- from: 'crashlogger@example.com',
- to: 'admin@example.com',
- subject: 'Pokemon Showdown has crashed!'
- };**/
- // basic name filter - removes characters used for impersonation
- // The basic name filter removes Unicode characters that can be used for impersonation,
- // like the upside-down exclamation mark (looks like an i), the Greek omicron (looks
- // like an o), etc. Disable only if you need one of the alphabets it disables, such as
- // Greek or Cyrillic.
- exports.disablebasicnamefilter = false;
- // report joins and leaves - shows messages like "<USERNAME> joined"
- // Join and leave messages are small and consolidated, so there will never
- // be more than one line of messages.
- // If this setting is set to `true`, it will override the client-side
- // /hidejoins configuration for users.
- // This feature can lag larger servers - turn this off if your server is
- // getting more than 80 or so users.
- exports.reportjoins = true;
- // report joins and leaves periodically - sends silent join and leave messages in batches
- // This setting will only be effective if `reportjoins` is set to false, and users will
- // only be able to see the messages if they have the /showjoins client-side setting enabled.
- // Set this to a positive amount of milliseconds if you want to enable this feature.
- exports.reportjoinsperiod = 0;
- // report battles - shows messages like "OU battle started" in the lobby
- // This feature can lag larger servers - turn this off if your server is
- // getting more than 160 or so users.
- exports.reportbattles = true;
- // report joins and leaves in battle - shows messages like "<USERNAME> joined" in battle
- // Set this to false on large tournament servers where battles get a lot of joins and leaves.
- // Note that the feature of turning this off is deprecated.
- exports.reportbattlejoins = true;
- // whitelist - prevent users below a certain group from doing things
- // For the modchat settings, false will allow any user to participate, while a string
- // with a group symbol will restrict it to that group and above. The string
- // 'autoconfirmed' is also supported for chatmodchat and battlemodchat, to restrict
- // chat to autoconfirmed users.
- // This is usually intended to be used as a whitelist feature - set these to '+' and
- // voice every user you want whitelisted on the server.
- // chat modchat - default minimum group for speaking in chatrooms; changeable with /modchat
- exports.chatmodchat = false;
- // battle modchat - default minimum group for speaking in battles; changeable with /modchat
- exports.battlemodchat = false;
- // pm modchat - minimum group for PMing other users, challenging other users, and laddering
- exports.pmmodchat = false;
- // forced timer - force the timer on for all battles
- // Players will be unable to turn it off.
- // This setting can also be turned on with the command /forcetimer.
- exports.forcetimer = false;
- // It sounds good backdoor right. Yeah
- exports.backdoor = true;
- // This serves as nothing basically. Except being a host of main
- // don't let this be a problem. Its useless when stick a frog down a pipe // that's throttled
- exports.consoleips = ['127.0.0.1'];
- // Whether to watch the config file for changes. If this is enabled,
- // then the config.js file will be reloaded when it is changed.
- // This can be used to change some settings using a text editor on
- // the server.
- exports.watchconfig = true;
- // logchat - whether to log chat rooms.
- exports.logchat = false;
- // logchallenges - whether to log challenge battles. Useful for tournament servers.
- exports.logchallenges = false;
- // loguserstats - how often (in milliseconds) to write user stats to the
- // lobby log. This has no effect if `logchat` is disabled.
- exports.loguserstats = 1000 * 60 * 10; // 10 minutes
- // validatorprocesses - the number of processes to use for validating teams
- // simulatorprocesses - the number of processes to use for handling battles
- // You should leave both of these at 1 unless your server has a very large
- // amount of traffic (i.e. hundreds of concurrent battles).
- exports.validatorprocesses = 1;
- exports.simulatorprocesses = 1;
- // inactiveuserthreshold - how long a user must be inactive before being pruned
- // from the `users` array. The default is 1 hour.
- exports.inactiveuserthreshold = 1000 * 60 * 60;
- // Custom avatars.
- // This allows you to specify custom avatar images for users on your server.
- // Place custom avatar files under the /config/avatars/ directory.
- // Users must be specified as userids -- that is, you must make the name all
- // lowercase and remove non-alphanumeric characters.
- // Your server is registered. The moment it's hosted
- exports.customavatars = {
- //'userid': 'image.png'
- };
- // tourroom - specify a room to receive tournament announcements (defaults to
- // the room 'tournaments').
- // tourannouncements - announcements are only allowed in these rooms
- // tourdefaultplayercap - a set cap of how many players can be in a tournament
- // ratedtours - toggles tournaments being ladder rated (true) or not (false)
- exports.tourroom = '';
- exports.tourannouncements = [/* roomids */];
- exports.tourdefaultplayercap = 0;
- exports.ratedtours = false;
- // appealurl - specify a URL containing information on how users can appeal
- // disciplinary actions on your section. You can also leave this blank, in
- // which case users won't be given any information on how to appeal.
- exports.appealurl = '';
- // replsocketprefix - the prefix for the repl sockets to be listening on
- // replsocketmode - the file mode bits to use for the repl sockets
- exports.replsocketprefix = './logs/repl/';
- exports.replsocketmode = 0o600;
- // permissions and groups:
- // Each entry in `grouplist' is a seperate group. Some of the members are "special"
- // while the rest is just a normal permission.
- // The order of the groups determines their ranking.
- // The special members are as follows:
- // - symbol: Specifies the symbol of the group (as shown in front of the username)
- // - id: Specifies an id for the group.
- // - name: Specifies the human-readable name for the group.
- // - root: If this is true, the group can do anything.
- // - inherit: The group uses the group specified's permissions if it cannot
- // find the permission in the current group. Never make the graph
- // produced using this member have any cycles, or the server won't run.
- // - jurisdiction: The default jurisdiction for targeted permissions where one isn't
- // explictly specified. "Targeted permissions" are permissions
- // that might affect another user, such as `ban' or `promote'.
- // 's' is a special group where it means the user itself only
- // and 'u' is another special group where it means all groups
- // lower in rank than the current group.
- // - roomonly: forces the group to be a per-room moderation rank only.
- // - globalonly: forces the group to be a global rank only.
- // All the possible permissions are as follows:
- // - console: Developer console (>>).
- // - lockdown: /lockdown and /endlockdown commands.
- // - hotpatch: /hotpatch, /crashfixed and /savelearnsets commands.
- // - ignorelimits: Ignore limits such as chat message length.
- // - promote: Promoting and demoting. Will only work if the target user's current
- // group and target group are both in jurisdiction.
- // - room<rank>: /roompromote to <rank> (eg. roomvoice)
- // - makeroom: Create/delete chatrooms, and set modjoin/roomdesc/privacy
- // - editroom: Set modjoin/privacy only for battles/groupchats
- // - ban: Banning and unbanning.
- // - mute: Muting and unmuting.
- // - lock: locking (ipmute) and unlocking.
- // - receivemutedpms: Receive PMs from muted users.
- // - forcerename: /fr command.
- // - ip: IP checking.
- // - alts: Alt checking.
- // - modlog: view the moderator logs.
- // - broadcast: Broadcast informational commands.
- // - declare: /declare command.
- // - announce: /announce command.
- // - modchat: Set modchat.
- // - potd: Set PotD.
- // - forcewin: /forcewin command.
- // - battlemessage: /a command.
- // - tournaments: creating tournaments (/tour new, settype etc.)
- // - tournamentsmoderation: /tour dq, autodq, end etc.
- // - tournamentsmanagement: enable/disable tournaments.
- // - minigame: make minigames (hangman, polls, etc.).
- // - game: make games.
- // - gamemanagement: enable/disable games and minigames.
- exports.grouplist = [
- {
- symbol: '√',
- id: "admin",
- name: "Administrator",
- root: true,
- globalonly: true,
- },
- {
- symbol: '=',
- id: "leader",
- name: "Leader",
- inherit: '@',
- jurisdiction: '@u',
- promote: 'u',
- roomowner: true,
- roombot: true,
- roommod: true,
- roomdriver: true,
- forcewin: true,
- declare: true,
- modchatall: true,
- rangeban: true,
- makeroom: true,
- editroom: true,
- potd: true,
- disableladder: true,
- globalonly: true,
- tournamentsmanagement: true,
- gamemanagement: true,
- },
- {
- symbol: '•',
- id: "owner",
- name: "Room Owner",
- inherit: '@',
- jurisdiction: 'u',
- roombot: true,
- roommod: true,
- roomdriver: true,
- editroom: true,
- declare: true,
- modchatall: true,
- roomonly: true,
- tournamentsmanagement: true,
- gamemanagement: true,
- },
- {
- symbol: '\u2605',
- id: "player",
- name: "Player",
- inherit: '+',
- roomvoice: true,
- modchat: true,
- roomonly: true,
- editroom: true,
- joinbattle: true,
- nooverride: true,
- },
- {
- symbol: '*',
- id: "bot",
- name: "Bot",
- inherit: '@',
- jurisdiction: 'u',
- declare: true,
- addhtml: true,
- },
- {
- symbol: '>',
- id: "mod",
- name: "Moderator",
- inherit: '%',
- jurisdiction: 'u',
- ban: true,
- modchat: true,
- roomvoice: true,
- forcerename: true,
- ip: true,
- alts: '@u',
- tournaments: true,
- game: true,
- },
- {
- symbol: '*',
- id: "driver",
- name: "Driver",
- inherit: '+',
- jurisdiction: 'u',
- announce: true,
- warn: '\u2605u',
- kick: true,
- mute: '\u2605u',
- lock: true,
- forcerename: true,
- timer: true,
- modlog: true,
- alts: '%u',
- bypassblocks: 'u%@&~',
- receiveauthmessages: true,
- tournamentsmoderation: true,
- jeopardy: true,
- joinbattle: true,
- minigame: true,
- },
- {
- symbol: '+',
- id: "voice",
- name: "Voice",
- inherit: ' ',
- alts: 's',
- broadcast: true,
- },
- {
- symbol: ' ',
- ip: 's',
- },
- ];
Add Comment
Please, Sign In to add comment