Skip to content

Controller Configs

lythx edited this page Jul 7, 2023 · 10 revisions

Configs

Config.js

  • manualChatRoutingEnabled - Manual chat routing is needed for chat utilities such as custom brackets or finish counter. Enabling it makes the chat a bit slower.
  • localRecordsLimit - Local records limit for rank calculation and plugins
  • chatMessagesInRuntime - Amount of chat messages stored in runtime memory
  • jukeboxQueueSize - Amount of maps in the controller map queue
  • jukeboxHistorySize - Amount of maps kept in the map history
  • keepQueueAfterLeave - Whether to keep the jukeboxed maps in the queue after the requester leaves
  • defaultTMXSearchLimit - Default amount of maps fetched from the TMX search API
  • privileges - Privilege levels for each of the administrative actions (e.g. ban, mute, etc.)
  • updateMatchSettingsOnChange - Whether the maplist gets reloaded on Match Settings updates. Enable this if you use external tools to modify the Match Settings
  • roundsModePointSystem - Point system for rounds and cup gamemode
  • defaultTimeAttackTimeLimit - Default time limit in TimeAttack mode (in miliseconds)
  • dynamicTimerSubtractionLimit - Minimal time value to which the dynamic timer can be set (in miliseconds)
  • blacklistFile - Relative path (/GameData/Config/) to the blacklist file
  • guestlistFile - Relative path (/GameData/Config/) to the guestlist file
  • matchSettingsFile - Relative path (/GameData/Tracks/) to the matchsettings file
  • defaultReasonMessage - Default message sent as the reason for administrative actions if nothing was specified by the admin
  • truthyParams - Things that will be interpreted as true for the boolean command parameter
  • falsyParams - Things that will be interpreted as false for the boolean command parameter
  • nicknameToLoginSimilarityGoal - Represents default minimal similarity value at which nickname to login translation will be successful. Used in nickname to login translation in commands. 0.4 is the default value
  • nicknameToLoginMinimumDifferenceBetweenMatches - Represents minimal similarity difference between best and second-best match at which translation will be successfull. Used in nickname to login translation in commands. 0.15 is default value
  • version - Current controller version

Messages.js

  • noPermission - Message sent to the player attempting to use a command he does not have the permission for
  • noParam - Message sent to the player attempting to use a command without an obligatory parameter
  • invalidValue - Message sent to the player attempting to use a command while supplying the wrong value for a parameter
  • notInt - Message sent to the player attempting to use a command while supplying the wrong type for the int parameter
  • notDouble - Message sent to the player attempting to use a command while supplying the wrong type for the double parameter
  • notBoolean- Message sent to the player attempting to use a command while supplying the wrong type for the boolean parameter
  • notTime - Message sent to the player attempting to use a command while supplying the wrong type for the time parameter
  • timeTooBig - Message sent to the player attempting to use a command while supplying an out-of-range value for the time parameter
  • noPlayer - Message sent to the player if the specified login is not found in the runtime
  • unknownPlayer - Message sent to the player if the specified login is not found in the database

PrefixesAndPalette.js

  • palette - Controller messages palette object
  • prefixes.manualChatRoutingMessageStyle - Default chat message format when manual chat routing is enabled. This can be overwritten by tm.chat.setMessageStyle() method
  • prefixes.serverToPlayer - Characters with which every message sent to individual players will be prefixed (e.g. ChatSendServerMessageToLogin)
  • prefixes.serverToAll - Characters with which every message sent in public will be prefixed (e.g. ChatSendServerMessage)

Titles.js

  • titles.logins - Pairs of login and title where the title is assigned to the specified login
  • titles.countries - Pairs of country and title where the title is assigned to every player from the specified country (country codes work too)
  • titles.privileges - Pairs of privilege and title where the title is assigned to every player with the specified privilege level