Hoppa till innehållet

Ss14

Från Plutten

add a service to the system

[redigera | redigera wikitext]
sudo nano /etc/systemd/system/ss14.service

ss14.service file

[redigera | redigera wikitext]
[Unit]
Description=Space Station 14 Game Server
After=network.target

[Service]
WorkingDirectory=/home/vibbe/frontier-station-14
ExecStart=/usr/local/bin/dotnet run --project /home/vibbe/frontier-station-14/Content.Server/Content.Server.csproj
Restart=always
RestartSec=10
LimitNOFILE=4096
Environment=HOME=/home/vibbe

[Install]
WantedBy=multi-user.target
sudo systemctl daemon-reload
sudo systemctl restart ss14.service

server_config.toml

[redigera | redigera wikitext]

root/RobustToolbox/Robust.Server/

[redigera | redigera wikitext]
# Welcome to the example configuration file!
# Remember that if this is in bin/Content.Server or such, it may be overwritten on build.
# Consider copying it and using the --config-file and --data-dir options.

[log]
path = "logs"
format = "log_%(date)s-%(time)s.txt"
level = 1
enabled = false

[net]
tickrate = 30
port = 1212
bindto = "::,0.0.0.0"
max_connections = 35
# Automatic port forwarding!
# Disabled by default because you may not want to do this.
# upnp = true

[status]
# The status server is the TCP side, used by the launcher to determine engine version, etc.
# To be clear: Disabling it makes the launcher unable to connect!
enabled = true

# This is the address and port the status server binds to.
# The port is by default set based on net.port so it will follow what you set there.
# bind = "*:1212"

# This is the address of the SS14 server as the launcher uses it.
# This is only needed if you're proxying the status HTTP server -
#  by default the launcher will assume the address and port match that of the status server.
# connectaddress = "udp://localhost:1212"

[game]
hostname = "Plutten UME"
setgamepreset = "Greenshift"
map = "Loop"
lobbyenabled = true

[console]
# If this is true, people connecting from this machine (loopback)
# will automatically be elevated to full admin privileges.
# This literally works by checking if address == 127.0.0.1 || address == ::1
loginlocal = true

[hub]
# Set to true to show this server on the public server list
# Before enabling this, read: https://docs.spacestation14.io/hosts/hub-rules
advertise = true
# Comma-separated list of tags, useful for categorizing your server.
# See https://docs.spacestation14.io/hosts/hub-rules for more details on this when it becomes relevant.
tags = ""
# URL of your server. Fill this in if you have a domain name,
# want to use HTTPS (with a reverse proxy), or other advanced scenarios.
# Must be in the form of an ss14:// or ss14s:// URI pointing to the status API.
server_url = "viberq.duckdns.org"
# Comma-separated list of URLs of hub servers to advertise to.
hub_urls = "https://hub.spacestation14.com/"

[build]
# *Absolutely all of these can be supplied using a "build.json" file*
# For further information, see https://github.com/space-wizards/space-station-14/blob/master/Tools/gen_build_info.py
# The main reason you'd want to supply any of these manually is for a custom fork and if you have no tools.

# Useful to override if the existing version is bad.
# See https://github.com/space-wizards/RobustToolbox/tags for version values, remove the 'v'.
# The value listed here is almost certainly wrong - it is ONLY a demonstration of format.
# engine_version = "0.7.6"

# This one is optional, the launcher will delete other ZIPs of the same fork to save space.
# fork_id = "abacusstation"

# Automatically set if self-hosting client zip, but otherwise use this when updating client build.
# There is no required format, any change counts as a new version.
# version = "Example1"

# This is where the launcher will download the client ZIP from.
# If this isn't supplied, the server will check for a file called "Content.Client.zip",
#  and will host it on the status server.
# If that isn't available, the server will attempt to find and use "../../Resources" and
#  "../../bin/Content.Client" to automatically construct a client zip.
# It will then host this on the status server.
# Note that these paths do not work on "FULL_RELEASE" servers.
# FULL_RELEASE servers expect to be used with a specific "packaged" layout.
# As such, whatever script you're using to package them is expected to create the ZIP.
# download_url = "http://example.com/compass.zip"

# Build hash - this is a *capitalized* SHA256 hash of the client ZIP.
# Optional in any case and automatically set if hosting a client ZIP.
# This hash is an example only.
# build = "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855"

[auth]
# Authentication (accounts):
# 0 = Optional, 1 = Required, 2 = Disabled
# Presumably do require authentication on any public server.
mode = 0

# If true, even if authentication is required, localhost is still allowed to login directly regardless.
allowlocal = true

# You should probably never EVER need to touch this, but if you need a custom auth server,
# (the auth server being the one which manages Space Station 14 accounts), you change it here.
# server = https://auth.spacestation14.com/
List of console Commands
SIDE NAME DESC
addatmos Adds atmos support to a grid.
addbodypart Adds a given entity to a containing body.
addcomp Adds a component to an entity.
addcurrency Adds currency to the specified store.
adddecal Creates a decal on the map.
addgamerule
addgas Adds gas at a certain position.
addhand Adds a hand to your entity.
addmap Adds a new empty map to the round. If the mapID already exists, this command does nothing.
addmechanism Adds a given entity to a containing body.
addnpc Add a HTN NPC component with a given root task.
addobjective Adds an objective to the player's mind.
addpolymorphaction Takes an entity and gives them a voluntary polymorph.
addreagent Add (or remove) some amount of reagent from some solution.
addrole Adds a role to a player's mind.
addstorage Adds a given entity to a containing storage.
addtoband
adduplink Creates uplink on selected item and links it to users account.
addview Allows you to subscribe to an entity's view for debugging purposes.
adminlogs Opens the admin logs panel.
adminnotes Opens the admin notes panel.
adminremarks Opens the admin remarks page.
adminwho Returns a list of all admins on the server.
aghost Makes you or others an admin ghost.
announce Send an in-game announcement.
announceui Opens the announcement UI.
applyworldgenconfig Applies the given worldgen configuration to a map, setting it up for chunk loading/etc.
appraisegrid Calculates the total value of the given grids.
arrivals
asay Send chat messages to the private admin chat channel.
attachbodypart Attaches a body part to you or someone else.
audio_length Shows the length of an audio file.
babyjail Toggles the baby jail, which enables stricter restrictions on who's allowed to join the server.
babyjail_max_account_age Gets or sets the maximum account age in minutes that an account can have to be allowed to connect with the baby jail enabled.
babyjail_max_overall_minutes Gets or sets the maximum overall playtime in minutes that an account can have to be allowed to connect with the baby jail enabled.
babyjail_show_reason Toggles whether or not to show connecting clients the reason why the baby jail blocked them from joining.
ban Bans somebody.
ban_exemption_get Show ban exemptions for a certain player.
ban_exemption_update Set an exemption to a type of ban on a player.
banlist Lists a user's active bans.
banpanel Opens the ban panel.
biome_addlayer Adds another biome layer.
biome_addmarkerlayer Adds another biome marker layer.
biome_clear Clears a biome entirely.
blacklistadd Adds the player with the given username to the server blacklist.
blacklistremove Removes the player with the given username from the server blacklist.
callshuttle Calls the emergency shuttle with an optionally provided arrival time.
cancelvote Cancels an active vote.
clearalert Clears an alert for a player, defaulting to current player.
clearbluespacelockerlinks Removes the bluespace links of the given uid. Does not remove links this uid is the target of.
cleargamerules
colornetwork Paints the atmos devices in the specified color.
controlmob Transfers user mind to the specified entity.
createvote Creates a vote.
crewmanifest Opens the crew manifest for the given station.
customvote Creates a custom vote.
cvar Gets or sets a CVar.
cvar_subs Lists the OnValueChanged subscriptions for a CVar.
damage Add or remove damage to an entity.
deadmin Temporarily de-admins you so you can experience the round as a normal player.
delayroundend Stops the timer that ends the round when the emergency shuttle exits hyperspace.
delaystart Delays the round start.
deletecomponent Deletes all instances of the specified component.
deletegas Removes all gases from a grid, or just of one type if specified.
departmentban Bans a player from the roles comprising a department.
destroymechanism Destroys a mechanism from your entity.
dirty Marks all components on an entity as dirty, if not specified, dirties everything.
dock Attempts to dock 2 airlocks together. Doesn't check whether it is valid.
dockemergencyshuttle Calls the emergency shuttle and docks it to the station... if it can.
dsay Sends a message to deadchat as an admin.
dump_dependency_injectors Dump IoCManager's dependency injector cache.
dump_event_tables Prints directed event tables for an entity.
dump_net_comps Prints the table of networked components.
dump_netserializer_type_map Dump NetSerializer's type map and serializer hash.
dumpreagentguidetext Dumps the guidebook text for a reagent to the console.
dungen Generates a procedural dungeon with the specified preset, position, and seed. Will spawn in space if the MapId doesn't have MapGridComponent.
dungen_pack_vis Generates a tile-based preview of a dungeon pack.
dungen_preset_vis Generates a tile-based preview of a dungeon preset.
echo Echo arguments back to the console.
editdecal Edits a decal.
electrocute Electrocutes the specified entity, defaults to 10 seconds and 10 damage. Shocking!
endgamerule
endround Ends the round and moves the server to PostRound.
erase Erase a player's entity if it exists and all their chat messages.
exec Executes a script file from the game's writeable user data.
explosion Train go boom.
explosionui Opens a window for easy access to station destruction.
faxui Open admin window for sending faxes.
fillgas Adds gas to all tiles in a grid.
fixgridatmos Makes every tile on a grid have a roundstart gas mix.
fixrotations Sets the rotation of all occluders, low walls, and windows to south.
follow Makes you begin following an entity.
forceartifactnode Forces an artifact to traverse to a given node.
forcemap Forces the game to start with a given map next round.
forcepreset Forces a specific game preset to start for the current lobby.
ftldisk Creates an FTL coordinates disk to sail to the map the given EntityID is/on.
gc Run the GC (Garbage Collector).
gc_mode Change/Read the GC Latency mode.
gcf Run the GC, fully, compacting LOH and everything.
get-motd Prints the Message Of The Day.
getartifactmaxvalue Reports the maximum research point value for a given artifact.
ghost Give up on life and become a ghost.
ghostkick Kick a client from the server as if their network just dropped.
ghostroles Opens the ghost role request window.
godmode Makes your entity or another invulnerable to almost anything. May have irreversible changes.
golobby Enables the lobby and restarts the round.
grant_connect_bypass Temporarily allow a user to bypass regular connection checks.
griddrag Allows someone with permissions to drag grids around.
help Display general help or help text for a specific command.
hub_advertise_now Immediately advertise to the master hub server.
hungry Makes you hungry.
invokeverb Invokes a verb with the given name on an entity, with the player entity.
isafk Checks if a specified player is AFK.
jobwhitelistadd Lets a player play a whitelisted job.
jobwhitelistget Gets all the jobs that a player has been whitelisted for.
jobwhitelistremove Removes a player's ability to play a whitelisted job.
joingame
kick Kicks a connected player out of the server, disconnecting them.
kicknonwhitelisted Kicks all non-whitelisted players from the server.
launchemergencyshuttle Early launches the emergency shuttle if possible.
linkbluespacelocker Links an entity, the target, to another as a bluespace locker target.
list Lists available commands, with optional search filter.
listgamemaps Lists the game maps that can be used by loadgamemap.
listgamerules
listgases Prints a list of gases and their indices.
listplayers Lists all players currently connected.
listroles Lists roles.
listverbs Lists all verbs that a player can use on a given entity.
listvotes Lists currently active votes.
loadgamemap Loads the given game map at the given coordinates.
loadgrid Loads a grid from a file into an existing map.
loadmap Loads a map from disk into the game.
loc Prints the absolute location of the player's entity to console.
lockeyes Prevents eyes from being rotated any further.
loglevel Changes the log level for a provided sawmill.
looc Send Local Out Of Character chat messages.
lsasm Lists loaded assemblies by load context.
lsgrid Lists grids.
lsmap Lists maps.
lsobjectives Lists all objectives in a player's mind.
makeghostrole Turns an entity into a ghost role.
makeghostroleraffled Turns an entity into a raffled ghost role.
makesentient Makes an entity sentient (able to be controlled by a player).
mapinit Runs map init on a map.
mapping Create or load a map and teleports you to it.
me Perform an action.
mem Prints managed memory info.
merge_grids Combines 2 grids into 1 grid.
mindinfo Lists info for the mind of a specific player.
motd Prints or sets the Message Of The Day.
netaudit Prints into about NetMsg security.
npc Opens the debug window for NPCs.
npcdomain Lists the domain of a particular HTN compound task.
nukearm Toggle nuclear bomb timer. You can set timer directly. Uid is optional.
nukecodes Send nuke codes to a station's communication consoles.
observe
oldhelp
ooc Send Out Of Character chat messages.
osay
owoify For when you need everything to be cat. Uses OwOAccent's formatting on the name and description of an entity.
panicbunker Toggles the panic bunker, which enables stricter restrictions on who's allowed to join the server.
panicbunker_count_deadminned_admins Toggles whether or not to count deadminned admins when automatically enabling and disabling the panic bunker.
panicbunker_disable_with_admins Toggles whether or not the panic bunker will disable when an admin connects.
panicbunker_enable_without_admins Toggles whether or not the panic bunker will enable when the last admin disconnects.
panicbunker_min_account_age Gets or sets the minimum account age in minutes that an account must have to be allowed to connect with the panic bunker enabled.
panicbunker_min_overall_minutes Gets or sets the minimum overall playtime in minutes that an account must have to be allowed to connect with the panic bunker enabled.
panicbunker_show_reason Toggles whether or not to show connecting clients the reason why the panic bunker blocked them from joining.
pardon Pardons somebody's ban.
pausemap Pauses a map, pausing all simulation processing on it.
permissions Opens the admin permissions panel.
persistencesave Saves server data to a persistence file to be loaded later.
planet Converts the supplied map into a planet with some specific biome.
playerpanel Displays general information and actions for a player.
playglobalsound Plays a global sound for a specific player or for every connected player if no players are specified.
playtime_addoverall Adds the specified minutes to a player's overall playtime.
playtime_addrole Adds the specified minutes to a player's role playtime.
playtime_flush Flush active trackers to stored in playtime tracking.
playtime_getoverall Gets the specified minutes for a player's overall playtime.
playtime_getrole Gets all or one role timers from a player.
playtime_save Saves the player's playtimes to the DB.
powerstat Shows statistics for power.
profileEntitySpawning Profiles entity spawning with n entities.
promotehost Grants client temporary full host admin privileges. Use this to bootstrap admins.
pulseanomaly Pulses a target anomaly.
pvs_override_info Prints information about any PVS overrides associated with an entity.
querymappaused Check whether a map is paused or not.
readmin Re-admins you if you previously de-adminned.
readyall Readies up all players in the lobby, except for observers.
recallshuttle Recalls the emergency shuttle.
removeextracomponents Removes all components from all entities of the specified id if that component is not in its prototype. If no id is specified, it matches all entities.
removegas Removes an amount of gases.
removehand Removes a hand from your entity.
removeview Allows you to unsubscribe to an entity's view for debugging purposes.
rename Renames an entity and its cloner entries, ID cards, and PDAs.
replay_recording_start Starts a replay recording, optionally with some time limit.
replay_recording_stats Displays information about the current replay recording.
replay_recording_stop Stops a replay recording.
resave
respawn Respawns a player, kicking them back to the lobby.
restartround Ends the current round and starts the countdown for the next lobby.
restartroundnow Moves the server from PostRound to a new PreRoundLobby.
rldloc Reloads localization (client & server).
rmbodypart Removes a given entity from its containing body, if any.
rmcomp Removes a component from an entity.
rmdecal Removes a decal