mirror of
https://github.com/CommonLoon102/NBloodServerSupervisor.git
synced 2024-12-23 03:02:51 +01:00
3af4c9dfc7
* add option to play custom maps on private servers * don't show every exception to the end-user * hash the IPs * add description about the purpose of the public custom map list * add punctuation to error messages
22 lines
705 B
C#
22 lines
705 B
C#
using Model;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace Common
|
|
{
|
|
public class Constants
|
|
{
|
|
public const long FileSizeLimit = 1024 * 1024;
|
|
|
|
public static readonly IReadOnlyDictionary<string, Mod> SupportedMods = new Dictionary<string, Mod>()
|
|
{
|
|
{ "BLOOD", new Mod("BLOOD", "Blood", "") },
|
|
{ "CRYPTIC", new Mod("CRYPTIC", "Cryptic Passage", "-ini CRYPTIC.INI") },
|
|
{ "DW", new Mod("DW", "Death Wish", "-ini dw.ini") },
|
|
{ "FO", new Mod("FO", "Fleshed Out", "-ini fo.ini") },
|
|
{ "TWOIRA", new Mod("TWOIRA", "The Way of Ira", "-ini TWOIRA/twoira.ini -j=TWOIRA") },
|
|
};
|
|
}
|
|
}
|