Added support for multiple resources

This commit is contained in:
EntenKoeniq
2021-12-17 21:32:57 +01:00
parent 6e72cf9d27
commit 4510543c8e
4 changed files with 71 additions and 59 deletions

View File

@ -1,4 +1,6 @@
namespace CoopServer
using System.Collections.Generic;
namespace CoopServer
{
public class Settings
{
@ -6,7 +8,7 @@
public int MaxPlayers { get; set; } = 16;
public string Name { get; set; } = "GTACoop:R server";
public string WelcomeMessage { get; set; } = "Welcome on this server :)";
public string Resource { get; set; } = "";
public List<string> Resources { get; set; } = new List<string>();
public bool Allowlist { get; set; } = false;
public bool NpcsAllowed { get; set; } = true;
public bool ModsAllowed { get; set; } = false;