121 lines
		
	
	
		
			3.7 KiB
		
	
	
	
		
			YAML
		
	
	
	
			
		
		
	
	
			121 lines
		
	
	
		
			3.7 KiB
		
	
	
	
		
			YAML
		
	
	
	
| # Ace of Shades Server Settings
 | |
| 
 | |
| # Changes to these settings take effect only after restarting the server.
 | |
| 
 | |
| 
 | |
| # 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. Ignore this unless you want your server to be displayed publicly.
 | |
| registry-settings:
 | |
|   # Set this to true to allow other players to see this server and join it.
 | |
|   discoverable: false
 | |
|   # 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: 30
 | |
|   # 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"
 | |
|   # Note: To set an icon for this server, add an "icon.png" image to the server's directory (where the settings are).
 | |
|   # The icon MUST be 64x64 pixels in size.
 | |
| 
 | |
| 
 | |
| # Settings that control player behavior.
 | |
| player-settings:
 | |
|   # Walking speed, in meters per second.
 | |
|   speed: 10
 | |
|   # Sprinting speed, in meters per second.
 | |
|   sprint-speed: 18
 | |
|   # Sneaking speed, in meters per second.
 | |
|   sneak-speed: 5
 | |
|   # Acceleration when player starts moving or changes direction, in m/s^2.
 | |
|   acceleration: 60
 | |
|   # Deceleration when player stops moving, in m/s^2.
 | |
|   deceleration: 30
 | |
|   # The radius of the player.
 | |
|   radius: 0.5
 | |
|   # How many seconds a player must wait before resupplying again.
 | |
|   resupply-cooldown: 30
 | |
|   # The maximum health of players.
 | |
|   max-health: 100
 | |
|   # How quickly players regenerate health, in points per second. Set to 0 to disable regeneration.
 | |
|   health-regen-rate: 1.0
 | |
|   # How much sneaking affects gun accuracy. Values less than 0 increase accuracy, and greater than 0 decrease accuracy.
 | |
|   sneak-accuracy-modifier: 0.5
 | |
|   # How much sprinting affects gun accuracy. Values less than 0 increase accuracy, and greater than 0 decrease accuracy.
 | |
|   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:
 | |
|   # The radius of team spawn points, in meters.
 | |
|   spawn-point-radius: 3
 | |
|   # The radius of team resupply points, in meters.
 | |
|   supply-point-radius: 2
 | |
|   # Whether friendly fire is enabled. If enabled, players can kill teammates.
 | |
|   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 |