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
#!/bin/bash | |
echo 'log-queries' > /etc/dnsmasq.conf | |
service network-manager restart | |
tail -f /var/log/syslog |
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
[ServerSettings] | |
ActiveTotalConversion=0 | |
ServerPassword=password | |
ServerAdminPassword=password | |
RCONEnabled=True | |
RCONPort=32330 | |
PvEDinoDecayPeriodMultiplier=1.000000 | |
KickIdlePlayersPeriod=1800 | |
PerPlatformMaxStructuresMultiplier=1.000000 | |
ListenServerTetherDistanceMultiplier=1.000000 |
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
#lgsm/config-lgsm/arkserver/common.cfg | |
# Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord | |
discordalert="on" | |
servername="ark-server-ubuntu" | |
discordwebhook="https://discordapp.com/api/webhooks/3539332633367897009/5t_K4GkuBaR2-69TsKqXmHIya1ck1tirnu_Fst-DUC00dye98eaa_I6uTIcHEsi7a17K" |
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
#!/bin/bash | |
# LinuxGSM alert_discord.sh function | |
# Author: Daniel Gibbs | |
# Contributor: faflfama | |
# Website: https://gameservermanagers.com | |
# Description: Sends Discord alert. | |
json=$(cat <<EOF |
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
## Server Start Settings | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters | |
ip="0.0.0.0" | |
port="7777" | |
queryport="27015" | |
rconport="27020" | |
maxplayers="5" | |
extra_param=" -automanagedmods" | |
## Server Start Command | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters#additional-parameters | |
fn_parms(){ |
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
<?php | |
if (isset($_GET['ajax'])) { | |
session_start(); | |
$handle = fopen('/private/var/log/system.log', 'r'); | |
if (isset($_SESSION['offset'])) { | |
$data = stream_get_contents($handle, -1, $_SESSION['offset']); | |
echo nl2br($data); | |
} else { | |
fseek($handle, 0, SEEK_END); | |
$_SESSION['offset'] = ftell($handle); |
NewerOlder