# The port that this server uses for TCP and UDP communication.
port: 8035
# The maximum number of players that can be connected at once.
max-players: 32
# How many times per second should physics updates be calculated.
# WARNING: Changing this has a major impact on server performance.
ticks-per-second: 120

# Information for the public server registry.
registry-settings:
  # Set this to true to allow other players to see this server and join it.
  discoverable: true
  # The URI which points to the registry server. This is only used if discoverable is true.
  registry-uri: "http://localhost:8567"
  # How often to send status updates to the registry server, in seconds.
  update-interval: 10
  # The name of this server.
  name: "Testing Server"
  # The address that clients can use to connect to this server.
  address: "localhost:8035"
  # A short description of this server.
  description: "A simple testing server for development."
  # Location of this server, to help players choose servers near to them.
  location: "Earth"


# Settings that control player behavior.
player-settings:
  speed: 10
  sprint-speed: 18
  sneak-speed: 5
  acceleration: 60
  deceleration: 30
  radius: 0.5
  resupply-cooldown: 30
  max-health: 100
  health-regen-rate: 1.0
  sneak-accuracy-modifier: 0.5
  sprint-accuracy-modifier: 1.5
  # Should be the name of one of the guns defined in "gun-settings".
  default-gun: M1 Garand

# Settings for team mechanics.
team-settings:
  spawn-point-radius: 3
  supply-point-radius: 2
  friendly-fire: false

# The list of available guns are defined in this list.
gun-settings:
  - name: AK-47
    category: SMG
    color: "#2e2b26"
    max-clip-count: 4
    clip-size: 30
    bullets-per-round: 1
    accuracy: 0.10
    shot-cooldown-time: 0.05
    reload-time: 1.2
    bullet-speed: 90
    base-damage: 40

  - name: M-249
    category: SMG
    color: "#001942"
    max-clip-count: 3
    clip-size: 100
    bullets-per-round: 1
    accuracy: 0.08
    shot-cooldown-time: 0.03
    reload-time: 3.5
    bullet-speed: 80
    base-damage: 35

  - name: M1 Garand
    category: RIFLE
    color: "#452d06"
    max-clip-count: 10
    clip-size: 8
    bullets-per-round: 1
    accuracy: 0.02
    shot-cooldown-time: 0.75
    reload-time: 0.75
    bullet-speed: 150
    base-damage: 100

  - name: Winchester
    category: SHOTGUN
    color: "#1a1205"
    max-clip-count: 8
    clip-size: 6
    bullets-per-round: 3
    accuracy: 0.15
    shot-cooldown-time: 0.5
    reload-time: 2.0
    bullet-speed: 75
    base-damage: 80