|
ConfigDotTxt
An explanation of all config.txt parameters
config.txt is a text file in JSON format. You can edit it with any text editor such as Notepad, vi, emacs... In the JSON format, each parameter contains a key name (for example "name", "map", or "max_players") followed by the data, followed by a comma at the end. So a single entry looks like this "name" : "pysnip server", Make sure to have exactly one comma at the end of every entry except the last. If you have a missing comma in the middle, multiple commas, or an extra comma at the end, pysnip will be unable to read the config and give tons of error messages when you run it. nameThis is the name of the server given to the server browser(the AoS play page, 50D, Spadille, etc.) It is also accessible in the MOTD text with the keyword : %(server_name)s motdThis text is the "message of the day," shown when players join the game. Each comma-separated line corresponds to a line shown in the in-game chat. "Welcome to %(server_name)s! See /help for commands.",
"Map is %(map_name)s by %(map_author)s.",
"(server powered by pysnip)"Each of the special keywords (%(server_name)s etc.) corresponds to other parameters(server name, the map title and author). helpThis is the text shown by the /help command. If not defined, /help will just display a list of the available commands. rulesThis is the text shown by the /rules command. tipsA line picked at random from this text will be shown every tip_frequency minutes. tip_frequencyHow often the tip will be shown, in minutes. 0 means no tips. Default 5. max_playersThe maximum number of players on the server. Don't go over 32 players; the AoS client is not designed to support more. Default 32. max_connections_per_ipLimits how many players can connect from the same IP address. 0 disables this limit. Default 0. cap_limitThe number of intel captures before the game is won. Default 10. mapThe name of a map to play, without the ".vxl" extension. The VXL files are stored in <pysnip root>/maps. If there is a .txt file with the same name it will be used to provide a title, author, and map metadata. pysnip has a random map generator which can be accessed with the map name "random". respawn_timeThe number of seconds before a player respawns. Default 5. master'true' allows your server to connect to the master server and be shown on server browsers. 'false' disables this, if you want a private game. friendly_firetrue (without quotes) enables friendly fire. false (without quotes) disables friendly fire. "on_grief" (with quotes) emulates vanilla AoS behavior: friendly fire is on after block destruction. grief_friendly_fire_timeThe number of seconds a player is vulnerable to friendly fire in "on_grief" mode. teamswitch_intervalForces players to wait a number of minutes before being able to switch back again after they switched teams. 0 disables the cooldown. "never" completely disables team switching, and you only get to pick a team when you join. passwordsUser accounts and their associated passwords. When playing, a player may log into an account by typing /login <password> pysnip provides two types of accounts currently: "admin" and "trusted". Each account can have a list of passwords: "admin" : ["password","sesame","watermelon"], "trusted" : ["semisecret","coolness"] You can use different passwords for different people, so that the server may be easily secured if one of them turns rogue or loses the password. The admin account can use all the admin commands and is safe from votekicking. Trusted users cannot be votekicked, but do not have any other powers. scriptspysnip ships with a set of scripts you can use to customize the features of your server. They are loaded in order, "on top of" each other. See Scripts for more. sshThis controls ssh access to the server. status_serverThis enables functionality that returns game status(players, teams, scores, etc.) as JSON data when an HTTP GET is requested. server_prefixWhen the server sends messages to users, the message is prefixed with the characters in server_prefix. user_blocks_onlyControls whether users can affect the map's initial blocks. logfileThe file where the server log is recorded. balanced_teamsIf 0, any permutation of teams is allowed. If 1 or greater, team balance is enforced with the algorithm: abs(green_team_players - blue_team_players) <= balanced_teams login_retriesThe number of /login attempts allowed before users are auto-kicked. Default 3. votekick_percentageThe required votes to succesfully votekick a player, as a percentage of the total amount of players in the server. Default 25 (percent). votekick_ban_durationThe duration in minutes of a sucessful votekick ban. 0 means votekicks will only kick and not ban. ircEnables an IRC chatbot that reports server events in the given channel. rollback_on_game_endIf true and the rollback script is included, when a match ends (cap limit hit) a rollback of the entire map automatically begins, restoring it to its original state. |
This is so confusing can you just please make a video of it?
eh? What's confusing about it? Grow smarter.
^lol
thank you!
In my server no one join server :(
In my server no one join server :(
my brother can join my server but other players nobody can join :D