2020-08-23 01:26:06 +00:00
|
|
|
# The socket bind address for all net.psforever.services except admin. 127.0.0.1 is the
|
2020-07-14 03:54:05 +00:00
|
|
|
# default for local testing, for public servers use 0.0.0.0 instead.
|
|
|
|
|
bind = 127.0.0.1
|
|
|
|
|
|
|
|
|
|
# The public host name or IP address. Used to forward clients from the login
|
|
|
|
|
# server to the world server. The default value will only allow local connections.
|
|
|
|
|
public = 127.0.0.1
|
|
|
|
|
|
|
|
|
|
# Login server configuration
|
|
|
|
|
login {
|
|
|
|
|
# UDP listening port
|
|
|
|
|
port = 51000
|
|
|
|
|
|
|
|
|
|
# Account usernames that don't exist yet will be automatically created in the
|
|
|
|
|
# database. Useful for test servers and development testing.
|
|
|
|
|
create-missing-accounts = yes
|
|
|
|
|
}
|
2020-05-12 05:11:12 +00:00
|
|
|
|
2020-07-14 03:54:05 +00:00
|
|
|
# World server configuration
|
|
|
|
|
world {
|
|
|
|
|
# UDP listening port
|
|
|
|
|
port = 51001
|
|
|
|
|
|
|
|
|
|
# The name of the server as displayed in the server browser.
|
|
|
|
|
server-name = PSForever
|
|
|
|
|
|
|
|
|
|
# How the server is displayed in the server browser.
|
|
|
|
|
# One of: released beta development
|
|
|
|
|
server-type = released
|
2020-04-29 18:59:12 +00:00
|
|
|
}
|
2020-05-12 05:11:12 +00:00
|
|
|
|
2020-07-14 03:54:05 +00:00
|
|
|
# Admin API configuration
|
|
|
|
|
admin {
|
|
|
|
|
# TCP listening port
|
|
|
|
|
port = 51002
|
|
|
|
|
|
|
|
|
|
# The socket bind address
|
|
|
|
|
bind = 127.0.0.1
|
2020-05-12 05:11:12 +00:00
|
|
|
}
|
|
|
|
|
|
2020-07-14 03:54:05 +00:00
|
|
|
# Database configuration
|
2020-08-23 19:27:02 +00:00
|
|
|
# Full reference: https://github.com/jasync-sql/jasync-sql/wiki/Configuring-and-Managing-Connections
|
|
|
|
|
# https://github.com/getquill/quill/blob/master/quill-jasync/src/main/scala/io/getquill/context/jasync/JAsyncContextConfig.scala
|
2020-07-14 03:54:05 +00:00
|
|
|
database {
|
|
|
|
|
# The hostname of the PostgreSQL server.
|
|
|
|
|
host = localhost
|
2020-05-12 05:11:12 +00:00
|
|
|
|
2020-07-14 03:54:05 +00:00
|
|
|
# The TCP port to connect to the database with.
|
|
|
|
|
port = 5432
|
2020-05-12 05:11:12 +00:00
|
|
|
|
2020-07-14 03:54:05 +00:00
|
|
|
# The username to connect to the SQL server with.
|
|
|
|
|
username = psforever
|
2020-05-12 05:11:12 +00:00
|
|
|
|
2020-07-14 03:54:05 +00:00
|
|
|
# The password to connect to the SQL server with.
|
|
|
|
|
password = psforever
|
2020-05-12 05:11:12 +00:00
|
|
|
|
2020-07-14 03:54:05 +00:00
|
|
|
# The database name to use on the SQL server.
|
|
|
|
|
database = psforever
|
2020-05-12 05:11:12 +00:00
|
|
|
|
2020-07-14 03:54:05 +00:00
|
|
|
# The SSL configuration of the database connection.
|
|
|
|
|
# One of: disable prefer require verify-full
|
|
|
|
|
sslmode = prefer
|
2020-07-22 15:28:09 +00:00
|
|
|
|
|
|
|
|
# The maximum number of active connections.
|
|
|
|
|
maxActiveConnections = 5
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
# Enable non-standard game properties
|
|
|
|
|
game {
|
|
|
|
|
# Allow instant action to AMS
|
|
|
|
|
instant-action-ams = no
|
2020-10-11 12:37:56 +00:00
|
|
|
|
|
|
|
|
# Battle experience rate
|
|
|
|
|
bep-rate = 1.0
|
|
|
|
|
|
|
|
|
|
# Command experience rate
|
|
|
|
|
cep-rate = 1.0
|
|
|
|
|
|
2021-01-12 19:27:33 +00:00
|
|
|
# Modify the amount of mending per autorepair tick for facility amenities
|
|
|
|
|
amenity-autorepair-rate = 1.0
|
|
|
|
|
|
|
|
|
|
# Modify the amount of NTU drain per autorepair tick for facility amenities
|
|
|
|
|
amenity-autorepair-drain-rate = 0.5
|
|
|
|
|
|
2021-05-06 11:31:40 +00:00
|
|
|
# Purchases timers for the mechanized assault exo-suits all update at the same time when any of them would update
|
|
|
|
|
shared-max-cooldown = no
|
|
|
|
|
|
Hart (#723)
* initial OrbitalShuttleTimeMsg packet and tests; new objects to support HART shuttle transport system
* master was stale
* grouped scheduling for timing orbital shuttle activity
* door lock controls for HART shuttle lifecycle, and specifically for the doors that lead into the shuttle boarding hallway
* separation of the door from the door unlocking logic, which now has to be provided if performed by an outside source; a door that is locked either by bolt, HART routine, or other reason, can now be shut immediately; message when HART is not docked with a corresponding entry hallway door
* better degree of door logic control; all shuttle-related messages have been moved to LocalService; careful managing of 'original state' for the shuttle's cycle
* modification of seat mounting and cargo mounting support entities to expand functionality
* absolutely very little to do with the feature of this branch and a lot to do with yak-shaving; long story short, class inheritance is greatly modified and mountable seats can now accept multiple players if initialized properly
* a lot has changed: distribution of MountableBehavior, mount point information is more complex, vehicles convert differently, the routine of the shuttle timer is initialized differently; you can now successfully utilize the HART shuttle to drop into a zone
* swap of shutle from pad to pad control; tests and comments
* eject players from HART gantry hallway as if passengers dismounting from seat when not boarding through the use of environmental geometry; HART system uses duration from config settings to set scheduler
* rebase to curious master; repairs to vector rotation calculations; regression of mountable changes involving seats with occupancy greater than 1; orbital shuttle as a unique vehicle and amenity; corrected dismount offsets and offset calculations; weird angle of nc hart a building has been properly accommodated; hart events have prerequisite animation states
* rebase with master; looks like rebase with merged_master, which is also a commit
* lots of tests (though not nearly enough); checking the permission group of a shuttle seat no longer creates that seat
* fixing explosions
* fixed the persistence monitor service potentially using non-printable unicode in actor names
* can not use a droppod to gain access to one's own sanctuary
* removed hart facility update that causing open bay doors and beeping
* PR review changes
* fix for aggravation issues
2021-03-23 13:44:10 +00:00
|
|
|
# HART system, shuttles and facilities
|
|
|
|
|
hart {
|
|
|
|
|
# How long the shuttle is not boarding passengers (going through the motions)
|
|
|
|
|
in-flight-duration = 225000
|
|
|
|
|
|
|
|
|
|
# How long the shuttle allows passengers to board
|
|
|
|
|
boarding-duration = 60000
|
|
|
|
|
}
|
|
|
|
|
|
2020-10-11 12:37:56 +00:00
|
|
|
new-avatar {
|
|
|
|
|
# Starting battle rank
|
|
|
|
|
br = 1
|
|
|
|
|
|
|
|
|
|
# Starting command rank
|
2020-10-11 13:39:44 +00:00
|
|
|
cr = 0
|
2020-10-11 12:37:56 +00:00
|
|
|
}
|
2021-05-22 05:11:02 +00:00
|
|
|
|
|
|
|
|
# Certifications to add to every character. Note that they do not become free, their cost is deducted from the
|
|
|
|
|
# player's certification points. The default base certifications are 0 cost.
|
|
|
|
|
# Values are `Certification` member names.
|
|
|
|
|
base-certifications = [
|
|
|
|
|
standard_assault,
|
|
|
|
|
standard_armor,
|
|
|
|
|
agile_armor
|
|
|
|
|
]
|
2020-07-14 03:54:05 +00:00
|
|
|
}
|
2020-05-12 05:11:12 +00:00
|
|
|
|
2020-07-14 03:54:05 +00:00
|
|
|
anti-cheat {
|
|
|
|
|
# The distance (squared) threshold that triggers if the reported hit location
|
|
|
|
|
# of a shot does not match the object being hit's location on the server
|
|
|
|
|
# One of 1-1000000 (sqrt 10000 = ~100 ingame units)
|
|
|
|
|
hit-position-discrepancy-threshold = 10000
|
|
|
|
|
}
|
2020-05-12 05:11:12 +00:00
|
|
|
|
2020-07-14 03:54:05 +00:00
|
|
|
network {
|
2021-01-12 19:33:44 +00:00
|
|
|
middleware {
|
|
|
|
|
# How often between executions of the outbound bundling process
|
|
|
|
|
packet-bundling-delay = 25 milliseconds
|
|
|
|
|
|
|
|
|
|
# Pause inbound packet transmission towards the network if the sequence number is out of order
|
|
|
|
|
# Packets are put aside until the sequence is restored, or this timeout passes
|
|
|
|
|
in-reorder-timeout = 50 milliseconds
|
|
|
|
|
|
|
|
|
|
# Wait on inbound packets if that packet is a SlottedMetaPacket and the next subslot number is greater than expected
|
|
|
|
|
# Does not stop the transmission of packets to the server
|
|
|
|
|
# but dictates how long between requests to the network (client) for missing packets with anticipated subslot numbers
|
|
|
|
|
in-subslot-missing-delay = 50 milliseconds
|
|
|
|
|
|
|
|
|
|
# How many attempts at resolving missing packets with anticipated subslot numbers
|
|
|
|
|
in-subslot-missing-attempts = 10
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-14 03:54:05 +00:00
|
|
|
session {
|
|
|
|
|
# The maximum amount of time since the last inbound packet from a UDP session
|
|
|
|
|
# before it is dropped.
|
|
|
|
|
inbound-grace-time = 1 minute
|
2020-05-12 05:11:12 +00:00
|
|
|
|
2020-07-14 03:54:05 +00:00
|
|
|
# The maximum amount of time since the last outbound packet for a UDP session
|
|
|
|
|
# before it is dropped. Can be used as a watchdog for hung server sessions.
|
|
|
|
|
outbound-grace-time = 1 minute
|
2020-05-12 05:11:12 +00:00
|
|
|
}
|
2020-07-14 03:54:05 +00:00
|
|
|
}
|
2020-05-12 05:11:12 +00:00
|
|
|
|
2020-08-23 22:27:25 +00:00
|
|
|
development {
|
|
|
|
|
# List of GM commands available to everyone
|
2021-05-22 05:11:02 +00:00
|
|
|
# Values are `ChatMessageType` members, for example: [CMT_ADDBATTLEEXPERIENCE, CMT_CAPTUREBASE]
|
2020-08-23 22:27:25 +00:00
|
|
|
unprivileged-gm-commands = []
|
|
|
|
|
|
2020-07-14 03:54:05 +00:00
|
|
|
net-sim {
|
|
|
|
|
# Enable artificial packet unreliability. Used for development testing.
|
|
|
|
|
# Active equally on upstream and downstream packets.
|
|
|
|
|
enable = no
|
2020-05-12 05:11:12 +00:00
|
|
|
|
2020-07-14 03:54:05 +00:00
|
|
|
# The percentage of outgoing and incoming packets that are dropped.
|
|
|
|
|
loss = 0.02
|
2020-05-12 05:11:12 +00:00
|
|
|
|
2020-07-14 03:54:05 +00:00
|
|
|
# The time a packet is buffered before being delivered to simulate delay.
|
|
|
|
|
# The artificial delay is in addition to any real network latency.
|
|
|
|
|
delay = 150 milliseconds
|
|
|
|
|
|
|
|
|
|
# The percentage chance that a packet will be ordered randomly in the delay
|
|
|
|
|
# buffer. If the delay is too small then packets won't be reordered.
|
|
|
|
|
reorder-chance = 0.005
|
|
|
|
|
|
|
|
|
|
# If a packet is reordered, the maximum time in the future or the past where
|
|
|
|
|
# it will randomly appear.
|
|
|
|
|
reorder-time = 150 milliseconds
|
2020-05-12 05:11:12 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-14 03:54:05 +00:00
|
|
|
kamon {
|
|
|
|
|
# Enables reporting of metrics to Kamon.io
|
|
|
|
|
enable = no
|
|
|
|
|
|
|
|
|
|
environment.service = "PSForever"
|
|
|
|
|
apm.api-key = ""
|
|
|
|
|
}
|
2020-05-12 05:11:12 +00:00
|
|
|
|
2020-07-22 15:28:09 +00:00
|
|
|
sentry {
|
|
|
|
|
# Enables submission of warnings and errors to Sentry
|
|
|
|
|
enable = no
|
|
|
|
|
|
|
|
|
|
# Sentry DSN (Data Source Name)
|
|
|
|
|
dsn = ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
include "akka.conf"
|
|
|
|
|
include "dispatchers.conf"
|