en:suckerserv:exemple
no way to compare when less than two revisions
Différences
Ci-dessous, les différences entre deux révisions de la page.
Dernière révision | |||
— | en:suckerserv:exemple [2013/04/26 16:10] – created aporia | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
+ | < | ||
+ | ############################################################################### | ||
+ | # Cube 2: Sauerbraten Game Server Configuration | ||
+ | # Based on HopMod | ||
+ | # # | ||
+ | # Visit http:// | ||
+ | # configuration variables. | ||
+ | # # | ||
+ | ############################################################################### | ||
+ | # A server name for players to identify your server. | ||
+ | servername " | ||
+ | |||
+ | ############################################################################### | ||
+ | # Default connection information: | ||
+ | # Game Server socket binds to UDP 0.0.0.0: | ||
+ | # Game Server Info socket binds to UDP 0.0.0.0:< | ||
+ | ############################################################################### | ||
+ | |||
+ | # Server' | ||
+ | #serverip " | ||
+ | |||
+ | # Game server port. | ||
+ | serverport 30000 | ||
+ | |||
+ | # Register your server with the master server every 1 hour to appear on the public server list. | ||
+ | publicserver 1 | ||
+ | |||
+ | # Set the maximum number of client connections allowed | ||
+ | maxclients 24 | ||
+ | |||
+ | # +1 slot each spectator | ||
+ | specslots 1 | ||
+ | |||
+ | # Number of reserved connection slots for admin players | ||
+ | # Admin use: /connect < | ||
+ | # Connecting admin players will have invisible admin status. | ||
+ | reserved_slots 0 | ||
+ | reserved_slots_password "" | ||
+ | |||
+ | # Message of the day. This message is sent on player connection. | ||
+ | motd (concatword | ||
+ | (grey "| " | ||
+ | (grey "| " | ||
+ | (grey "| " | ||
+ | (grey " | ||
+ | |||
+ | # The admin password. Same password used by all admin players to gain admin privilege, by typing /setmaster < | ||
+ | admin_password "" | ||
+ | |||
+ | # The master password. Same password used by all master players to gain master privilege, by typing /setmaster < | ||
+ | master_password "" | ||
+ | |||
+ | # Uncomment and set a server password to lock the game server and require connecting players to send the server password to get access. | ||
+ | # Note: The Cube 2 client doesn' | ||
+ | # | ||
+ | |||
+ | # Time in ms to wait at intermession before changing map — affect also mapbattle module | ||
+ | intermission_time 30000 | ||
+ | |||
+ | # Toogles wether teamkilling the flag runner in CTF modes should disallow the teamkiller from stealing the flag | ||
+ | ctf_teamkill_penalty true | ||
+ | |||
+ | ############################################################################### | ||
+ | # Authkey configuration for Name protection & Admin | ||
+ | ############################################################################### | ||
+ | |||
+ | admin_domains " | ||
+ | invadmin_domains " | ||
+ | auto_invadmin_domains " | ||
+ | |||
+ | master_domains " | ||
+ | invmaster_domains " | ||
+ | auto_invmaster_domains " | ||
+ | |||
+ | name_reservation_domain " | ||
+ | auth_domains " | ||
+ | |||
+ | module " | ||
+ | module " | ||
+ | module " | ||
+ | #module " | ||
+ | |||
+ | ############################################################################### | ||
+ | # Jabber Bot | ||
+ | ############################################################################### | ||
+ | |||
+ | #xmpp_jid "" | ||
+ | # | ||
+ | #xmpp_debug 0 | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | |||
+ | ############################################################################### | ||
+ | # Stats | ||
+ | ############################################################################### | ||
+ | |||
+ | stats_use_sqlite 0 # Use a SQLite3 Database: default option, only if you can't connect to a MySQL server, because some functions are missing | ||
+ | stats_use_json 0 # Use a JSON Database: very incomplete, don't use | ||
+ | stats_use_mysql 1 # Use a MySQL Database: Best option if you have a MySQL server, otherwise, choose SQLite3 | ||
+ | stats_query_backend mysql # Used database : mysql, sqlite3, json | ||
+ | stats_mysql_hostname " | ||
+ | stats_mysql_port " | ||
+ | stats_mysql_username " | ||
+ | stats_mysql_password " | ||
+ | stats_mysql_database " | ||
+ | stats_servername " | ||
+ | stats_mysql_install false # Switch to false after first launch | ||
+ | stats_use_auth 1 # Use auth with stats | ||
+ | stats_auth_domain " | ||
+ | stats_overwrite_name_with_authname 1 # Replace current name with authkey' | ||
+ | stats_tell_auth_name 1 # Display authname at intermission and when authkey is validated | ||
+ | |||
+ | ############################################################################### | ||
+ | # Map rotation | ||
+ | ############################################################################### | ||
+ | |||
+ | # Possible values for map_rotation_type include: standard, random, size | ||
+ | map_rotation_type " | ||
+ | |||
+ | # The map rotation lists | ||
+ | #exec " | ||
+ | #exec " | ||
+ | |||
+ | # The server' | ||
+ | default_gamemode "insta ctf" | ||
+ | |||
+ | # Change back to the default game mode when the server goes empty | ||
+ | default_game_on_empty 1 | ||
+ | |||
+ | # For the next map, choose an appropiate sized map from a map rotation, depending on the number of players connected. | ||
+ | # The small map set is used when the player count less than or equal to < | ||
+ | small_single_game 5 | ||
+ | small_team_game 5 | ||
+ | |||
+ | ############################################################################### | ||
+ | # Map vote restrictions | ||
+ | ############################################################################### | ||
+ | |||
+ | allow_mapvote 1 | ||
+ | |||
+ | allowed_gamemodes [ | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | "regen capture" | ||
+ | " | ||
+ | "insta ctf" | ||
+ | " | ||
+ | "insta protect" | ||
+ | " | ||
+ | "insta hold" | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | ] | ||
+ | |||
+ | # Block votes for unknown maps (known maps are released maps found in the official game distribution) | ||
+ | mapvote_disallow_unknown_map 1 | ||
+ | |||
+ | # Block votes for maps not in the game-mode' | ||
+ | mapvote_disallow_excluded_map 1 | ||
+ | |||
+ | ############################################################################### | ||
+ | # Master restrictions | ||
+ | ############################################################################### | ||
+ | |||
+ | default_mastermode 0 # Change default mastermode | ||
+ | allow_master_kick 2 # Allow master to kick players. 0: Disallow kick by master; 1: Allow all masters to kick players; 2: allow only authentified masters | ||
+ | allow_setmaster 1 # Allow /setmaster 1 command to be used for gaining master | ||
+ | allow_mastermode_veto 1 # Allow master to set veto mastermode | ||
+ | allow_mastermode_locked 1 # Allow master to set locked mastermode | ||
+ | allow_mastermode_private 0 # Allow master to set private mastermode | ||
+ | |||
+ | ############################################################################### | ||
+ | # Web admin configuration | ||
+ | ############################################################################### | ||
+ | |||
+ | # The web admin control panel url is http:// | ||
+ | # There is no login required when access is through localhost | ||
+ | |||
+ | # To create a new web admin user run this shell command: source bin/env.sh; bin/ | ||
+ | # Copy and paste the output here into the web_admins list: | ||
+ | web_admins [" | ||
+ | " | ||
+ | |||
+ | ############################################################################### | ||
+ | # Player Commands configuration | ||
+ | ############################################################################### | ||
+ | |||
+ | enable_commands [ | ||
+ | cheater | ||
+ | votekick | ||
+ | specall | ||
+ | unspecall | ||
+ | maxclients | ||
+ | uptime | ||
+ | reload | ||
+ | changetime | ||
+ | players | ||
+ | names | ||
+ | pause | ||
+ | resume | ||
+ | motd | ||
+ | cookie | ||
+ | givemaster | ||
+ | mute | ||
+ | unmute | ||
+ | me | ||
+ | ban | ||
+ | unban | ||
+ | persist | ||
+ | versus | ||
+ | warning | ||
+ | msg | ||
+ | stats | ||
+ | nextmap | ||
+ | eval | ||
+ | group | ||
+ | specmsg | ||
+ | slay | ||
+ | recorddemo | ||
+ | giveadmin | ||
+ | forcespec | ||
+ | unforcespec | ||
+ | setnextmap | ||
+ | traffic | ||
+ | banlist | ||
+ | fairgame | ||
+ | whoisonline | ||
+ | admin | ||
+ | invadmin | ||
+ | master | ||
+ | invmaster | ||
+ | forgive | ||
+ | mapsucks | ||
+ | clanwar | ||
+ | rename | ||
+ | disconnect | ||
+ | info | ||
+ | help | ||
+ | delgban | ||
+ | gbans | ||
+ | spy | ||
+ | mutespecs | ||
+ | unmutespecs | ||
+ | privileges | ||
+ | version | ||
+ | ] | ||
+ | |||
+ | disable_commands [ | ||
+ | ] | ||
+ | |||
+ | ############################################################################### | ||
+ | # Modules | ||
+ | ############################################################################### | ||
+ | |||
+ | module " | ||
+ | |||
+ | module " | ||
+ | module " | ||
+ | |||
+ | #module " | ||
+ | module " | ||
+ | |||
+ | #module " | ||
+ | #module " | ||
+ | #module " | ||
+ | |||
+ | module " | ||
+ | #module " | ||
+ | #module " | ||
+ | |||
+ | #module " | ||
+ | module " | ||
+ | |||
+ | module " | ||
+ | |||
+ | module " | ||
+ | #module " | ||
+ | module " | ||
+ | |||
+ | #module " | ||
+ | #module " | ||
+ | |||
+ | #module " | ||
+ | #module " | ||
+ | module " | ||
+ | |||
+ | module " | ||
+ | |||
+ | ############################################################################### | ||
+ | #IRC MODULES | ||
+ | ############################################################################### | ||
+ | |||
+ | irc_socket_password " | ||
+ | module " | ||
+ | |||
+ | #After that you need to configure the config.py file. You can find it in the /python_bot folder. Have fun! | ||
+ | |||
+ | ################################################################################# | ||
+ | # Message customization | ||
+ | ################################################################################# | ||
+ | # Take the message' | ||
+ | # Exemple: There' | ||
+ | # So the line to put here, for exemple, is → forgive_actor_forgiven_message (concat " | ||
+ | </ |
en/suckerserv/exemple.txt · Dernière modification : 2014/05/31 00:27 de 127.0.0.1