Skip to content

Instantly share code, notes, and snippets.

View iaretechnician's full-sized avatar

Frank Harris iaretechnician

View GitHub Profile
@iaretechnician
iaretechnician / cfg
Created July 21, 2023 09:45
Citadel game server config
[UWorks]
ConnectionPort=7777
QueryPort=27015
[/script/citadel.socialmanager]
Password=citadel123
[/script/citadel.citadelgameinstance]
WorldCreationSettings=(ServerName="PrivateServer",Password="",ServerType=PVP,PlayerLimit=40,bPrivate=false,ExperienceMultiplier=1,InventoryCapacityMultipler=1,KnowledgePointEarnedMultiplier=1,CharacterPointEarnedMultiplier=1,bUnlimitedResources=false,PlayerDamageMultiplier=1,ArmorMultiplier=1,BaseManaRegen=0,InventoryCapacityMultiplier=1,bInventoryWeightRestrictions=true,MagicFindMultiplier=1,CraftingMagicFindChanceMultiplier=1,FlyingCostMultiplier=1,FlyingSpeedMultiplier=1,ResourceCollectionMultiplier=1,StructureDamageMultiplier=1,bRespectNoBuildZones=1,MagicStructureManaRegenerationMultiplier=1,MagicStructureManaConsumptionMultiplier=1,bFreeBuildMode=false,TimeOfDayLock=Auto,NPCPopulationMultiplier=1,StructureDecayMultiplier=1,bThronesDecay=true)
@iaretechnician
iaretechnician / a3update.py
Created December 26, 2020 17:12 — forked from Freddo3000/a3update.py
Arma 3 Linux server and mod updater (workshop)
#!/usr/bin/python3
# MIT License
#
# Copyright (c) 2017 Marcel de Vries
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
@iaretechnician
iaretechnician / download.sh
Created April 4, 2020 00:24 — forked from jbott/download.sh
Script to update minecraft server to latest version, either snapshot or release
#!/bin/sh
# Can be snapshot or release
DEFAULTREVISION=release
# Pull out latest snapshot version
REVISION=${1-$DEFAULTREVISION}
REGEX="(?<=$REVISION\": \").*?[^\\\\](?=\")"
VERSION=`curl -silent "http://s3.amazonaws.com/Minecraft.Download/versions/versions.json" | grep -Po "$REGEX"`
if [ "$VERSION" = "" ]; then
echo "Invalid Version"; exit
@iaretechnician
iaretechnician / sched_msg.sqf
Created September 8, 2019 12:31
Dayz scheduled messages
//array of messages.
// text,delay minutes,interval minutes
if (isserver)
{
_messages = [
["text message",10,15],
["text message",20,15],
["server will restart on the hour",100,5]
];
while(true) do {
#include "\z\addons\dayz_server\compile\server_toggle_debug.hpp"
private ["_playerObj","_myGroup","_playerUID","_playerPos","_playerName"];
_playerUID = _this select 0;
_playerName = _this select 1;
_playerObj = nil;
_playerPos = [];
_removebackpack = false;
{
if ((getPlayerUID _x) == _playerUID) exitWith { _playerObj = _x; _playerPos = getPosATL _playerObj;};
copy .\@dayz_epoch_server\*.dll .\
@echo off
echo Starting MySQL database. Please wait 5-10 seconds.
start /D.\MySQL\ MySQL.bat
ping 127.0.0.1 -n 5 >NUL
.\MySQL\cecho {0A} OK.{07}
echo.
echo.
echo.
echo Executing spawn script...
//ArmA2 OA : 1.63 SETTINGS
steamport = 8766; //default 8766, needs to be unique if multiple serves on same box
steamqueryport = 2303; //default 27016, needs to be unique if multiple servers on same box
// GLOBAL SETTINGS
hostname = "DayZ - PRIVATE SERVER [COUNTRYCODE] (1.8.2/Beta 125548) - hosted by [NAME]"; // The name of the server that shall be displayed in the public server list
password = ""; // Password for joining, eg connecting to the server
passwordAdmin = "changeme"; // Password to become server admin. When you're in Arma MP and connected to the server, type '#login xyz'
logFile = "server_console.log"; // Tells ArmA-server where the logfile should go and what it should be called
//ArmA2 OA : 1.63 SETTINGS
steamport = 8766; //default 8766, needs to be unique if multiple serves on same box
steamqueryport = 2303; //default 27016, needs to be unique if multiple servers on same box
// GLOBAL SETTINGS
hostname = "DayZ Overpoch Winter"; // The name of the server that shall be displayed in the public server list
password = ""; // Password for joining, eg connecting to the server
passwordAdmin = "changeme"; // Password to become server admin. When you're in Arma MP and connected to the server, type '#login xyz'
logFile = "server_console.log"; // Tells ArmA-server where the logfile should go and what it should be called
copy .\@dayz_epoch_server\*.dll .\
@echo off
echo Starting MySQL database. Please wait 5-10 seconds.
start /D.\MySQL\ MySQL.bat
ping 127.0.0.1 -n 5 >NUL
.\MySQL\cecho {0A} OK.{07}
echo.
echo.
echo.
echo Executing spawn script...
=====================================================================
== C:\Private_server\arma2oaserver.exe
== "arma2oaserver.exe" -port=2302 -mod=@DayZ_Epoch;@Tavi_Epoch_Server;@Tavi -config=config\tavi\tavi11.cfg -cfg=config\tavi\basic.cfg -profiles=Config\tavi\taviserver -name=AtomikMulch
=====================================================================
Exe timestamp: 2015/02/01 23:11:08
Current time: 2015/02/21 22:17:03
Version 1.63.125548