mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-20 07:21:12 +03:00
* Introduce a Content sided config file This PR adds a server_config.toml file on the content side of the game. Before the example config file was provided by Robust Toolbox. Which meant it could only really have RT related settings in it. This PR tells dotnet on build time (Via Content.Server.csproj) to replace the config file with the one in content, which means we can have specific SS14 cvars. In this case, the new default has what I believe to be the most touched config options for Space Station 14, sandbox player side and server host side. Along with a good description on what everything does. Fork owners may add their own cvars they believe should be easily visible at a glance by just editing the server_config.toml inside the Content.Server folder. Fork owners should change any of these defaults if they like to have a consistent experience for players downloading a sandbox server. * Comment fixes * Holy shit this pr had requested changes wtf
33 lines
1.6 KiB
XML
33 lines
1.6 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
|
<OutputPath>..\bin\Content.Server\</OutputPath>
|
|
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
|
|
<OutputType Condition="'$(FullRelease)' != 'True'">Exe</OutputType>
|
|
<NoWarn>1998</NoWarn>
|
|
<WarningsAsErrors>RA0032;nullable</WarningsAsErrors>
|
|
<ServerGarbageCollection>true</ServerGarbageCollection>
|
|
</PropertyGroup>
|
|
<Import Project="../MSBuild/Content.props" />
|
|
<ItemGroup>
|
|
<PackageReference Include="JetBrains.Annotations" PrivateAssets="All" />
|
|
<PackageReference Include="NetCord" />
|
|
<PackageReference Include="prometheus-net" />
|
|
<PackageReference Include="Microsoft.Extensions.ObjectPool" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\Content.Packaging\Content.Packaging.csproj" />
|
|
<ProjectReference Include="..\Content.Server.Database\Content.Server.Database.csproj" />
|
|
<ProjectReference Include="..\Content.Shared.Database\Content.Shared.Database.csproj" />
|
|
<ProjectReference Include="..\Content.Shared\Content.Shared.csproj" />
|
|
<Content Include="server_config.toml">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Content>
|
|
</ItemGroup>
|
|
<Import Project="..\RobustToolbox\MSBuild\Robust.Properties.targets" />
|
|
|
|
<Import Project="..\RobustToolbox\Imports\Lidgren.props" />
|
|
<Import Project="..\RobustToolbox\Imports\Server.props" />
|
|
<Import Project="..\RobustToolbox\Imports\Shared.props" />
|
|
<Import Project="..\RobustToolbox\Imports\Packaging.props" />
|
|
</Project>
|