From edf644b41724e1c5614048dd787b822db020dd4b Mon Sep 17 00:00:00 2001 From: H3o66 Date: Sun, 12 Sep 2021 21:25:59 +0200 Subject: [PATCH 1/3] Add Survive the Nights configs --- SurvivetheNights/ServerConfig.txt | 77 ++++++ SurvivetheNights/ServerUsers.txt | 0 SurvivetheNights/TpPresets.json | 332 ++++++++++++++++++++++++++ SurvivetheNights/UserPermissions.json | 61 +++++ 4 files changed, 470 insertions(+) create mode 100644 SurvivetheNights/ServerConfig.txt create mode 100644 SurvivetheNights/ServerUsers.txt create mode 100644 SurvivetheNights/TpPresets.json create mode 100644 SurvivetheNights/UserPermissions.json diff --git a/SurvivetheNights/ServerConfig.txt b/SurvivetheNights/ServerConfig.txt new file mode 100644 index 0000000..1c6897d --- /dev/null +++ b/SurvivetheNights/ServerConfig.txt @@ -0,0 +1,77 @@ +// _____ _ _______ _ _ _ _ _ _ +// / ____| (_) |__ __| | | \ | (_) | | | | +// | (___ _ _ _ ____ _____ _____ | | | |__ ___ | \| |_ __ _| |__ | |_ ___ +// \___ \| | | | '__\ \ / / \ \ / / _ \ | | | '_ \ / _ \ | . ` | |/ _` | '_ \| __/ __| +// ____) | |_| | | \ V /| |\ V / __/ | | | | | | __/ | |\ | | (_| | | | | |_\__ \ +// |_____/ \__,_|_| \_/ |_| \_/ \___| |_| |_| |_|\___| |_| \_|_|\__, |_| |_|\__|___/ +// / ____| / _(_) __/ | +// | (___ ___ _ ____ _____ _ __ ___ ___ _ __ | |_ _ __ _ |___/ +// \___ \ / _ \ '__\ \ / / _ \ '__| / __/ _ \| '_ \| _| |/ _` | +// ____) | __/ | \ V / __/ | | (_| (_) | | | | | | | (_| | +// |_____/ \___|_| \_/ \___|_| \___\___/|_| |_|_| |_|\__, | +// __/ | +// |___/ +// +// Configuration Options +// +// Usage +// +// Options +// ServerOwner: {String} Optional //This is only required for first start in order to write to the ServerUsers.txt this must be your steamID64, find ID at - https://steamid.io/ +// ServerName: {String} Required //Default "New Private Server". Quotations required but will not show in server list. +// ServerPassword: {String} Optional //String server password. Must not contain spaces. Quotations required but will not be included in password. +// FirstJoinWelcomeMessage: {String} Optional //Message displayed to player when player joins the server for the first time. +// RecurringWelcomeMessage: {String} Optional //Message displayed to player when player rejoins the server. +// ProgressTime: {true, false} Optional //Enable day night cycle. +// DayCycleInMinutes: {int} Optional //Length of a day night cycle in minutes. +// TimePersistence: {true, false} Optional //Continue from time, day and month after server restart. False means the server starts at mid day in spring on server start. +// StartingWeather: {0,1,2,3} Optional //Default 0. Sunny=0 LightRain=1 HeavyRain=2 Storm=3 LightSnow=4 HeavySnow=5 SnowStorm=6. +// RandomWeather: {true, false} Optional //True by default. Weather switches at random to match season. +// NameTagDistance: {0,1,2,3} Optional //The distance at which nametags no longer show. 0 = off, 1 = near, 2 medium(default) and 3 = far. +// ShowLoginMessages: {true, false} Optional //Should login messages show when new player enters or leaves the server. +// ShowDeathMessages: {true, false} Optional //Should the server announce when a player dies. +// PlayerNutrition: {true, false} Optional //Does the players nutrition and hydration go down. +// StaminaDrainRate: {true, false} Optional //Does stamina drain. +// LootSpawnRate: {0-9} Optional //Global loot spawn rate. 0=NoLoot 1=Rare 2=Medium 3=High +// GrowRate: {0,1,2,3} Optional //Global grow rate. 0=NoGrowing 1=Slow 2=Medium 3=Fast +// HordeDifficulty: {0,1,2,3} Optional //Horde difficulty. 0=NoHorde 1=Easy 2=Medium 3=Hard +// ZombieAmount: {0,1,2,3} Optional //The overall density of zombies in the world between 0 and 5. 0 = off +// PassiveAiAmount: {0,1,2,3} Optional //The overall density of passive AI in the world between 0 and 5. 0 = off +// VehicleSpawnRate: {0 - 9} Optional //Global spawn rate for vehicles. This number is a multiplier against LootSpawnRate +// StartingComponentsAmount:{0,1,2,3} Optional //The global amount of starting components inside of machines like generators and electricity panels. +// ForcedSpawnPoint {0 > max} Optional //the spawn point that is chosen by default. Based on the spawnPoints array. Comment or remove if not needed. Alternatively mark as -1 to disable. +// ServerLoadType {0>} Optional //Determines the amount of sectors loaded when running in the editor. 0 = soft load and likely wants to be on when testing. +// RestartRate {int} Optional //The amount of hours between server restarts. Note if set to 12 then the servers will restart at 3am and 3pm local time. If set to 24h then server will restart at 3am +// SoloDifficulty {int} Optional //Presets for game difficulty on solo server. 0=easy, 1= med, 2 hard and 3 = hardcore. +// +// Format +// string Example: ServerOwner=76561198004636696 +// int Example: DayCycleInMinutes=45 +// +ServerIP= +ServerPort=7950 +ServerOwner= +ServerName="SERVERNAME" +ServerPassword= +WelcomeMessage="Welcome to the server." +RecurringWelcomeMessage="Welcome to the server." +ProgressTime=true +DayCycleInMinutes=45 +TimePersistence=true +StartingWeather=0 +RandomWeather=true +NameTagDistance=2 +ShowLoginMessages=true +ShowDeathMessages=true +PlayerNutrition=true +StaminaDrainRate=true +LootSpawnRate=3 +HordeDifficulty=2 +ZombieAmount=2 +PassiveAiAmount=2 +VehicleSpawnRate=2 +StartingComponentsAmount=2 +ShowInPublicLobby=true +PvpDisabled=false +PlayerStartingItems=2574 +SoloDifficulty=2 diff --git a/SurvivetheNights/ServerUsers.txt b/SurvivetheNights/ServerUsers.txt new file mode 100644 index 0000000..e69de29 diff --git a/SurvivetheNights/TpPresets.json b/SurvivetheNights/TpPresets.json new file mode 100644 index 0000000..f1864f1 --- /dev/null +++ b/SurvivetheNights/TpPresets.json @@ -0,0 +1,332 @@ +{ + "presets": [ + { + "name": "unionpoint", + "preset": { + "x": -1364.0, + "y": 54.98299789428711, + "z": 1372.0 + } + }, + { + "name": "batcave", + "preset": { + "x": 99.65880584716797, + "y": -50.2103385925293, + "z": -46.20869827270508 + } + }, + { + "name": "doortesting", + "preset": { + "x": -1482.5557861328125, + "y": 51.196815490722659, + "z": -1286.49072265625 + } + }, + { + "name": "oldtown", + "preset": { + "x": -1394.1190185546875, + "y": -31.57574462890625, + "z": -2496.749755859375 + } + }, + { + "name": "addersfield", + "preset": { + "x": 3287.663330078125, + "y": -43.600486755371097, + "z": -894.3609008789063 + } + }, + { + "name": "blackrock", + "preset": { + "x": 2680.36181640625, + "y": -56.40800476074219, + "z": -2946.27197265625 + } + }, + { + "name": "sagecreek", + "preset": { + "x": 2040.5694580078125, + "y": 51.473960876464847, + "z": 1239.3262939453125 + } + }, + { + "name": "unionpoint", + "preset": { + "x": -939.76123046875, + "y": 54.973411560058597, + "z": 813.2296142578125 + } + }, + { + "name": "mountbaron", + "preset": { + "x": -1528.0, + "y": 320.0, + "z": -752.0 + } + }, + { + "name": "powerstation", + "preset": { + "x": 769.0, + "y": 70.0, + "z": 912.0 + } + }, + { + "name": "powertest", + "preset": { + "x": -1535.8397216796875, + "y": -33.53345489501953, + "z": -2506.07958984375 + } + }, + { + "name": "farm", + "preset": { + "x": 2325.369140625, + "y": 38.63999938964844, + "z": -371.8695983886719 + } + }, + { + "name": "gas", + "preset": { + "x": 3095.465087890625, + "y": -43.3640022277832, + "z": -456.3666076660156 + } + }, + { + "name": "popov", + "preset": { + "x": -1603.4310302734375, + "y": -33.49234390258789, + "z": -2377.959228515625 + } + }, + { + "name": "forts", + "preset": { + "x": 293.8551025390625, + "y": 77.83678436279297, + "z": 95.57548522949219 + } + }, + { + "name": "rooftesting", + "preset": { + "x": 3232.000244140625, + "y": -43.560707092285159, + "z": -703.9999389648438 + } + }, + { + "name": "church", + "preset": { + "x": -1707.643310546875, + "y": -33.073272705078128, + "z": -2555.77197265625 + } + }, + { + "name": "oldtownhouse", + "preset": { + "x": -1571.4833984375, + "y": -33.51015853881836, + "z": -2494.106689453125 + } + }, + { + "name": "policestation", + "preset": { + "x": 3252.45654296875, + "y": -43.622276306152347, + "z": -612.4423217773438 + } + }, + { + "name": "wide", + "preset": { + "x": 2781.5927734375, + "y": -52.97593307495117, + "z": -3281.447509765625 + } + }, + { + "name": "slidetesting", + "preset": { + "x": -1444.4681396484375, + "y": 194.4698486328125, + "z": -779.5247192382813 + } + }, + { + "name": "campsite1", + "preset": { + "x": -1149.2333984375, + "y": 17.875829696655275, + "z": -2324.3037109375 + } + }, + { + "name": "eacampfire", + "preset": { + "x": 1369.81787109375, + "y": 90.29772186279297, + "z": 1717.1300048828125 + } + }, + { + "name": "eahunting", + "preset": { + "x": 1542.4183349609375, + "y": 96.16523742675781, + "z": 1746.9842529296875 + } + }, + { + "name": "eacinematic", + "preset": { + "x": 1226.7254638671875, + "y": -4.471528053283691, + "z": 752.1307983398438 + } + }, + { + "name": "eadriving1", + "preset": { + "x": 1398.684814453125, + "y": 99.95209503173828, + "z": 1804.3692626953125 + } + }, + { + "name": "eahouse", + "preset": { + "x": 2713.12548828125, + "y": -56.6375732421875, + "z": -3208.791748046875 + } + }, + { + "name": "eadriving2", + "preset": { + "x": 1712.077880859375, + "y": 54.267173767089847, + "z": -1489.1051025390625 + } + }, + { + "name": "eazombie", + "preset": { + "x": 2630.119873046875, + "y": -35.341949462890628, + "z": -3634.476318359375 + } + }, + { + "name": "eazombie1", + "preset": { + "x": 2567.552978515625, + "y": -54.16742706298828, + "z": -3560.06689453125 + } + }, + { + "name": "eazombie2", + "preset": { + "x": 2620.54541015625, + "y": -56.48999786376953, + "z": -3413.7392578125 + } + }, + { + "name": "eadriving3", + "preset": { + "x": 2688.896728515625, + "y": -54.82345962524414, + "z": -2742.3125 + } + }, + { + "name": "eaendcard", + "preset": { + "x": -1858.0098876953125, + "y": 2.179645538330078, + "z": -2417.590087890625 + } + }, + { + "name": "eadriving", + "preset": { + "x": -531.9205322265625, + "y": 12.057960510253907, + "z": -2687.745361328125 + } + }, + { + "name": "eadriving4", + "preset": { + "x": -532.5352172851563, + "y": 12.044183731079102, + "z": -2689.526611328125 + } + }, + { + "name": "eahunting1", + "preset": { + "x": 1622.8408203125, + "y": 91.17031860351563, + "z": 1615.5191650390625 + } + }, + { + "name": "eawalkingstart", + "preset": { + "x": 1398.9388427734375, + "y": 100.07472229003906, + "z": 1805.5322265625 + } + }, + { + "name": "warehouse", + "preset": { + "x": 3076.207763671875, + "y": -43.62000274658203, + "z": -476.9427795410156 + } + }, + { + "name": "hospital", + "preset": { + "x": -2157.992919921875, + "y": 68.54078674316406, + "z": -801.50439453125 + } + }, + { + "name": "airport", + "preset": { + "x": 1715.986572265625, + "y": 35.76252746582031, + "z": -498.918212890625 + } + }, + { + "name": "police", + "preset": { + "x": 3453.417724609375, + "y": -39.644004821777347, + "z": -737.1630249023438 + } + } + ] +} \ No newline at end of file diff --git a/SurvivetheNights/UserPermissions.json b/SurvivetheNights/UserPermissions.json new file mode 100644 index 0000000..698ee18 --- /dev/null +++ b/SurvivetheNights/UserPermissions.json @@ -0,0 +1,61 @@ +{ + + "SystemRanks":[ + { + "Index_DontChange":-2, + "Name_DontChange":"Console", + "ChatPrefix":"[Console]", + "PrefixColour":"white" + }, + { + "Index_DontChange":-1, + "Name_DontChange":"Whisper", + "ChatPrefix":"[Whisper]", + "PrefixColour":"darkgrey" + } + ], + "UserRanks":[ + { + "Index":0, + "Rank":"User", + "ChatPrefix":"[User]", + "PrefixColour":"white", + "Permissions":["Tell", "Reply", "ServerInfo"] + }, + { + "Index":1, + "Rank":"Mod", + "ChatPrefix":"[Mod]", + "PrefixColour":"yellow", + "Permissions":["Tell", "Reply", "Mute", "UnMute", "Kick", "GodSelf", "SuperSprint", "cmdGroup.TP", "DropAllSelf", "DropAllOthers", "Up" ,"ServerInfo"] + }, + { + "Index":2, + "Rank":"Admin", + "ChatPrefix":"[Admin]", + "PrefixColour":"darkred", + "Permissions":["*"] + }, + { + "Index":3, + "Rank":"Owner", + "ChatPrefix":"[Owner]", + "PrefixColour":"purple", + "Permissions":["Tell", "Reply", "Mute", "UnMute", "Kick", "SetTime", "Ban", "UnBan", "ServerInfo"] + } + ], + "CommandGroups":[ + { + "GroupName":"TP", + "Permissions":["TpToLocation","TpToLocation", "TpToPlayer", "TpPlayerToMe", "TpPlayerToPlayer"] + }, + { + "GroupName":"Weather", + "Permissions":["SetTime", "SetMonth", "SetWeather", "WeatherOnOff"] + }, + { + "GroupName":"ExampleGroupNinjaMod", + "Permissions":["Kick", "Mute", "GodSelf"] + } + ] +} \ No newline at end of file From 745784bd14bf8fcdf508cdf77268d6def04705f8 Mon Sep 17 00:00:00 2001 From: Marcin Jakubowski Date: Sun, 12 Sep 2021 22:44:29 +0200 Subject: [PATCH 2/3] feat: add DayZ config (#118) --- DayZ/server.cfg | 113 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 113 insertions(+) create mode 100644 DayZ/server.cfg diff --git a/DayZ/server.cfg b/DayZ/server.cfg new file mode 100644 index 0000000..ed4c4cd --- /dev/null +++ b/DayZ/server.cfg @@ -0,0 +1,113 @@ +// **************************************************************************** +// * +// DayZ - server.cfg * +// Version 090921 * +// * +// **************************************************************************** + +// DayZ Server Config File +// +// More info about parameters: +// https://community.bistudio.com/wiki/DayZ:Server_Configuration + +// GENERAL SETTINGS + +// Server name +hostname = "SERVERNAME"; + +// Password to connect to the server +//password = ""; + +// Password to become a server admin +passwordAdmin = "ADMINPASSWORD"; + +// Enable/disable whitelist (value 0-1) +enableWhitelist = 0; + +// Maximum amount of players +maxPlayers = 60; + +// Saves the server console log to a file in the folder with the other server logs +logFile = "server_console.log"; + +// INGAME SETTINGS + +// Enable/disable voice over network (value 0-1) +disableVoN = 0; + +// Voice over network codec quality, the higher the better (values 0-30) +vonCodecQuality = 20; + +// Toggles the 3rd person view for players (value 0-1) +disable3rdPerson = 0; + +// Toggles the cross-hair (value 0-1) +disableCrosshair = 0; + +// 0 for brighter night, 1 for darker night +lightingConfig = 0; + +// disables personal light for all clients connected to server +disablePersonalLight = 0; + +// Message of the day displayed in the in-game chat +motd[] = { + "Welcome to My DayZ Server", + "TS3 Server: teamspeak.somewhere.com", + "Web: www.example.com" +}; + +// Time interval (in seconds) between each message +motdInterval = 60; + +// Initial in-game time of the server. "SystemTime" means the local time of the machine. Another possibility is to set the time to some value in "YYYY/MM/DD/HH/MM" format, e.g "2015/4/8/17/23". +serverTime = "SystemTime"; + +// Accelerated Time - The numerical value being a multiplier (0.1-64). Thus, in case it is set to 24, time would move 24 times faster than normal. An entire day would pass in one hour. +serverTimeAcceleration = 1; + +// Accelerated Nigh Time - The numerical value being a multiplier (0.1-64) and also multiplied by serverTimeAcceleration value. +// Thus, in case it is set to 4 and serverTimeAcceleration is set to 2, night time would move 8 times faster than normal. +// An entire night would pass in 3 hours. +serverNightTimeAcceleration = 1; + +// Persistent Time (value 0-1)// The actual server time is saved to storage, so when active, the next server start will use the saved time value. +serverTimePersistent = 0; + +// SERVER SECURITY/ANTI HACK + +// Verifies .pbos against .bisign files. (only 2 is supported) +verifySignatures = 2; + +// When enabled, the server will allow the connection only to clients with same the .exe revision as the server (value 0-1) +forceSameBuild = 1; + +// Communication protocol used with game server (use only number 1) +guaranteedUpdates = 1; + +// enable speedhack detection, values 1-10 (1 strict, 10 benevolent, can be float) +speedhackDetection = 5; + +// The number of players concurrently processed during the login process. Should prevent massive performance drop during connection when a lot of people are connecting at the same time. +loginQueueConcurrentPlayers = 5; + +// The maximum number of players that can wait in login queue +loginQueueMaxPlayers = 500; + +// Max ping value until server kick the user (value in milliseconds) +maxPing = 200; + +// DayZ server instance id, to identify the number of instances per box and their storage folders with persistence files +instanceId = 1; + +// Checks if the persistence files are corrupted and replaces corrupted ones with empty ones (value 0-1) +storageAutoFix = 1; + +// Mission to load on server startup. . +class Missions +{ + class DayZ + { + template = "dayzOffline.chernarusplus"; + }; +}; \ No newline at end of file From 31a2c705c7dbc8778e70776cb671865d285dd15e Mon Sep 17 00:00:00 2001 From: H3o66 Date: Mon, 13 Sep 2021 20:09:48 +0200 Subject: [PATCH 3/3] Update Day of Dragons config with latest variables --- DayOfDragons/Game.ini | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/DayOfDragons/Game.ini b/DayOfDragons/Game.ini index 759b224..809edf2 100644 --- a/DayOfDragons/Game.ini +++ b/DayOfDragons/Game.ini @@ -7,6 +7,8 @@ iCorpseDespawnTime=300 ;Value range 60 to 86400 seconds. Default 300. Determines how long in seconds corpses remain on the server before despawning. Recommend keeping this low on active servers to free up resources. iAutoSaveSeconds=300 ;Value range 60-3600. Time in seconds between server autosaves. +iMaxClanMembers=1024 +;Value range 8-1024. Default 1024. Allows servers to limit clan membership size. bDisablePVP=False ;Value true or false. Default false. If True, server is a PvE server and player on player fighting is disabled. @@ -23,6 +25,9 @@ bChatShowClanTags=True bUseFriendsList=False ;Value true or false. Default false. If enabled, only player steam ids listed below in sServerFriends can join your server. Players that are not in the sServerFriends list will be kicked automatically. +bFlagHatchlingKillers=False +;Value true or false. Default false. If enabled, adult or elder dragons that kill hatchlings will be flagged with red glowing eyes for 20 minutes. Safelog will be unavailable to them while flagged. For servers who want to flag hatchling killers. + ;sServerFriends=12345678901234567 ;sServerFriends=12345678901234568 ;sServerFriends=12345678901234569