# Options:
# - default: Store rankings in modstorage, not recommended for servers, can only sort top50 by score
# - redis: Store rankings in a redis DB, recommended for servers, requires some setup
# - dummy: Don't store any rankings at all (Match summaries will still work)
ctf_rankings_backend (Rankings Backend) enum default default,redis,dummy

# Port the redis server is hosted on.
# This setting is only used when ctf_rankings_backend = redis
ctf_rankings_redis_server_port (Rankings Redis Server Port) int 6379

# CTF can sometimes reduce CPU usage by calculating things once and putting them in RAM.
# Turn on low ram mode if you're getting crashes related to RAM/Memory usage
ctf_low_ram_mode (Low RAM mode) bool false

# Allow players to create/form parties
ctf_allow_parties (Allow Player Parties) bool false

# Max party size in players
# Parties smaller than this will still be blocked if they are larger than the team size of the match
ctf_max_party_size (Max Party Size) int 4

# Store ranking changes in a lua table (RAM) before writing them to the database/backend
# -1: Write ranking changes directly to the configured ranking backend
# 0: Store in RAM until the match ends
# 1..600: Store in RAM for x seconds (checked whenever a rank changes), or until the match ends
ctf_buffer_ranking_writes (Buffer Ranking Writes) int -1 -1 600

# Store player metadata changes in a lua table (RAM) before writing them to player meta
# Note: This may break third party mods that change CTF metadata when set to > 0
# 0: Write player meta whenever it's changed
# 1..600: Store in RAM for x seconds, or until the match ends/the player leaves
ctf_meta_write_interval (Player Meta Write Interval) int 0 0 600
