This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
modded class DayZGame | |
{ | |
void DayZGame() | |
{ | |
array<string> mods = {}; | |
string param; | |
if (CommandlineGetParam("mod", param)) | |
{ | |
param.Split(";", mods); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* | |
* Name: Steam Name Support | |
* Description: Attempts to rid of default use of Survivor name | |
by using the player's Steam name. | |
* | |
* Author: Wardog, wrdg | |
* Site: https://wrdg.net/ | |
* | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class BashExecutor | |
{ | |
// fire and forget, method style execution | |
static void ExecuteEnf(string code) | |
{ | |
FileHandle file; | |
MakeDirectory("$profile:Bash/"); // create directory for logging and execution purposes | |
string script_path = string.Format("$profile:Bash/script_%1.c", GetDate()); | |
file = OpenFile(script_path, FileMode.WRITE); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//* Script: Customizable spawn loadouts for regular and donator players | |
//* Author: Wardog | |
//* Donate: https://wrdg.net/donate | |
//* | |
//* Notes: Creates a directory in the Server Profile folder called SpawnLoadout. You can change these files in | |
//* in real time, without restarting the server to take effect. | |
//* | |
//* ./SpawnLoadout/CommonItems.txt = items spawned between both donators and regulars | |
//* ./SpawnLoadout/Regular.txt = loadout for regular players | |
//* ./SpawnLoadout/Donators/STEAMIDHERE.txt = directory where steam id files go for donators; loadouts for donators |