Entry 5804
AD Frameworking Settingsfile
Submitted by AfterDune
on Aug. 4, 2010 at 10:15 a.m.
Language: Python. Code size: 8.9 KB.
# # SETTINGSFILE FOR THE AD FRAMEWORK # # ========================================================================================================================================= # GLOBAL SETTINGS debugging = False # If true, debugging is on and debug info will be printed on screen usePunkbuster = True # Use Punkbuster for kicks/bans or not sponsorMessageEnabled = True # Display "message of apprecation" sponsorMessage = "§C1001***§C1001 This server is powered by the §C1001AD Framework ***§C1001" sponsorMessageInterval = 5 # The "sponsormessage" will be displayed every [interval] minutes version = "1.0" # This is the versionnumber of the AD Framework. Don't change it, that's lame. # ========================================================================================================================================= # AD SMARTBALANCE SETTINGS smb_enabled = True # Enable/disable smartbalancing smb_difference = 2 # Perform smart balance when the difference of the teams is x or more smb_excludeList = [ # A list of (partial) playernames and/or (clan)tags that get excluded from smart balancing. "ExampleName", "=exampletag=", "doNotRemoveThisEntry" # The last entry has no comma. People tend to forget to -not- place it ;), hence the "blabla"-entry ] smb_swapTeamsOnStart = False # If set to True, it will teamswap everyone on round startup. Some people don't (or can't) have modmanager to do this for them. # ========================================================================================================================================= # AD LOGS SETTINGS log_enabled = True # Enable/disable logging # ========================================================================================================================================= # AD ADMIN SETTINGS adm_enabled = True # Enable/disable admincommands adm_logging = True # If true, the script writes all succesful admincommands to a logfile adm_kickTime = 1 # Time in minutes a player is kicked adm_banTime = 180 # Time in minutes a player is temp banned (if you use the temp-ban command, normal ban is forever!). Note: if the server is restarted, the ban is lifted adm_admCmdSymbol = "!" # Admincommand symbol adm_maxAltitude = 1000 # Define the maximum altitude (used in the fly-command) adm_pbSsWidth = "640" # Width of screenshots taken by punkbuster adm_pbSsHeight = "480" # Height of screenshots taken by punkbuster adm_adminHashes = { # Array in which the names of the administrators will be saved. Make sure there are NO duplicates! "HASH_OF_ADMIN_ONE___HASH_OF_ADMI": 0, # Place the name of the admin here "HASH_OF_ADMIN_TWO___HASH_OF_ADMI": 0, # Place the name of the admin here "HASH_OF_ADMIN_THREE_HASH_OF_ADMI": 0, # Place the name of the admin here "DO_NOT_REMOVE_THIS_DUMMY_ENTRY": 1000 # The last entry has no comma. People tend to forget to -not- place it ;), hence the "dummy"-entry } adm_messageOnDisconnect = True # If True, a message is displayed when a player disconnects from the server. adm_adminPowerLevels = { # Rights management. The lower the powerlevel, the more power one has. Two powerlevels are defined by default, but you can define as many as you want. # 0: Superadmin, can do everything. 1: Moderator, can't do everything. 777: used for commands that everyone can use # Map control "change": 1, # Change to a next map and run it "reload": 1, # Reload the current map "remove": 1, # Remove a map from the maplist "restart": 1, # Restart the round "runnext": 1, # Run the next map "save": 0, # Save the maplist "setnext": 1, # Set a next map "shownext": 1, # Show the next map # Player control "b": 0, # Ban a player "fly": 0, # Send a player up in the air "k": 0, # Kick a player "kill": 0, # Kill a player "resign": 1, # Resign a player from being squad leader or commander "ss": 1, # Take a screenshot of a player (through punkbuster) "switch": 1, # Teamswitch a player "tb": 1, # Temporary ban a player (basically extended 'kick') "w": 1, # Warn a player # Settings "ab": 1, # Enable/disable smart balancing (ab = autobalance, people call it that) "debug": 1, # Enable/disable debug "help": 1, # Show help about commands "init": 0, # Reload some settings "s": 1, # Send a message to everybody "st": 1, # Same as say, but for one team only "teamswap": 1, # Swap the teams "vote": 0, # Enable/disable voting "version": 1, # Shows the version of the AD Framework # Global (everybody can use this) # Please note that 777 is a fixed value for "open" commands! "r": 777, # Report a player # Dummy "eeeeeeeeeeee": 1000 # The last entry has no comma. People tend to forget to -not- place it ;), hence the "dummy"-entry } adm_reasons = { # Predefined reasons, so you only have to type a keyword as a reason. The script will automatically replace it with the reason you enter below. # Note: only use lowercase in the reason "keys", you can use all cases in the reason itself "afk": "You were kicked because you were AFK.", "steal": "Asset stealing is not allowed!", "tk": "Stop teamkilling!", "dummy": "This is a dummy reason" # The last entry has no comma. People tend to forget to -not- place it ;), hence the "dummy"-entry } adm_mapListAll = [ # All available maps. This is NOT the maplist on your server! Don't change anything! DARN IT, don't touch it! :p # All default maps "albasrah|gpm_coop|inf", "albasrah|gpm_coop|std", "albasrah|gpm_insurgency|inf", "albasrah|gpm_insurgency|std", "albasrah|gpm_skirmish|inf", "asad_khal|gpm_coop|inf", "asad_khal|gpm_cq|inf", "asad_khal|gpm_cq|std", "asad_khal|gpm_skirmish|inf", "battle_for_qinling|gpm_cnc|inf", "battle_for_qinling|gpm_cnc|std", "battle_for_qinling|gpm_coop|inf", "battle_for_qinling|gpm_cq|inf", "battle_for_qinling|gpm_cq|alt", "battle_for_qinling|gpm_cq|std", "battle_for_qinling|gpm_skirmish|inf", "battle_for_qinling|gpm_vehicles|std", "beirut|gpm_cq|inf", "beirut|gpm_cq|alt", "beirut|gpm_cq|std", "beirut|gpm_skirmish|inf", "beirut|gpm_vehicles|std", "dragon_fly|gpm_cq|inf", "dragon_fly|gpm_cq|std", "dragon_fly|gpm_skirmish|inf", "fallujah_west|gpm_insurgency|inf", "fallujah_west|gpm_insurgency|std", "fallujah_west|gpm_skirmish|inf", "fools_road|gpm_coop|std", "fools_road|gpm_cq|inf", "fools_road|gpm_cq|std", "fools_road|gpm_skirmish|inf", "gaza|gpm_insurgency|inf", "gaza|gpm_insurgency|std", "gaza|gpm_skirmish|inf", "iron_ridge|gpm_cq|inf", "iron_ridge|gpm_cq|std", "iron_ridge|gpm_insurgency|inf", "iron_ridge|gpm_insurgency|std", "iron_ridge|gpm_skirmish|inf", "jabal|gpm_coop|std", "jabal|gpm_cq|inf", "jabal|gpm_cq|std", "jabal|gpm_skirmish|inf", "karbala|gpm_insurgency|inf", "karbala|gpm_insurgency|std", "karbala|gpm_skirmish|inf", "kashan_desert|gpm_cnc|inf", "kashan_desert|gpm_cnc|alt", "kashan_desert|gpm_cnc|std", "kashan_desert|gpm_coop|std", "kashan_desert|gpm_cq|inf", "kashan_desert|gpm_cq|alt", "kashan_desert|gpm_cq|std", "kashan_desert|gpm_skirmish|inf", "kashan_desert|gpm_vehicles|std", "korengal|gpm_insurgency|inf", "korengal|gpm_insurgency|std", "korengal|gpm_skirmish|inf", "kozelsk|gpm_coop|inf", "kozelsk|gpm_cq|inf", "kozelsk|gpm_cq|std", "kozelsk|gpm_skirmish|inf", "lashkar_valley|gpm_coop|inf", "lashkar_valley|gpm_insurgency|inf", "lashkar_valley|gpm_insurgency|std", "lashkar_valley|gpm_skirmish|inf", "muttrah_city_2|gpm_coop|alt", "muttrah_city_2|gpm_coop|std", "muttrah_city_2|gpm_cq|inf", "muttrah_city_2|gpm_cq|std", "muttrah_city_2|gpm_skirmish|inf", "muttrah_city_2|gpm_vehicles|std", "op_barracuda|gpm_coop|alt", "op_barracuda|gpm_cq|inf", "op_barracuda|gpm_cq|std", "op_barracuda|gpm_skirmish|inf", "operation_archer|gpm_coop|inf", "operation_archer|gpm_coop|std", "operation_archer|gpm_insurgency|inf", "operation_archer|gpm_insurgency|std", "operation_archer|gpm_skirmish|inf", "qwai1|gpm_cq|inf", "qwai1|gpm_cq|std", "qwai1|gpm_skirmish|inf", "ramiel|gpm_coop|inf", "ramiel|gpm_coop|std", "ramiel|gpm_insurgency|inf", "ramiel|gpm_insurgency|std", "ramiel|gpm_skirmish|inf", "siege_at_ochamchira|gpm_cq|inf", "siege_at_ochamchira|gpm_skirmish|inf", "silent_eagle|gpm_cnc|inf", "silent_eagle|gpm_cnc|std", "silent_eagle|gpm_cq|inf", "silent_eagle|gpm_cq|std", "silent_eagle|gpm_skirmish|inf", "silent_eagle|gpm_vehicles|std", "yamalia|gpm_cnc|inf", "yamalia|gpm_cnc|std", "yamalia|gpm_cq|inf", "yamalia|gpm_cq|alt", "yamalia|gpm_cq|std", "yamalia|gpm_skirmish|inf", "yamalia|gpm_vehicles|std" ]
This snippet took 0.03 seconds to highlight.
Back to the Entry List or Home.