arkmanager / ark-server-tools

Set of server tools used to manage ARK: Survival Evolved servers on Linux
MIT License
679 stars 143 forks source link

Web Interface #900

Open pinedours opened 6 years ago

pinedours commented 6 years ago

Hello I'm trying to combine your awasome tools with that web interface coded in node.js : https://github.com/skanatiker/ark_server_manager (I posted my message on his github too) So I replaced in ~/ark_server_manager/scripts/server_start.sh

#! /bin/bash
# Check if gedit is running
if pgrep "ShooterGame" > /dev/null
then
    echo "Ark Server is already running ..."
else
  echo "starting ark server: $1"
  ulimit -n 100000
  ./ShooterGameServer TheIsland?listen?SessionName=$1?MaxPlayers=$4?ServerPassword=$2?ServerAdminPassword=$3 -server -log &
  echo ServerPID:$!
fi

by

#! /bin/bash
# Check if gedit is running
if pgrep "ShooterGame" > /dev/null
then
    echo "Ark Server is already running ..."
else
  echo "starting ark server: $1"
  ulimit -n 100000
  arkmanager start &
  echo ServerPID:$!
fi

but I have a PID error who affects the "stop" action, because impossible to him to stop the good PID.. do you know why ? I did the same things with the "update_ark.sh" and all is fine. I m trying to do that for moderators on my server.. I someone knows to combine those two tools properly it will be great..! :) Thank you !

pinedours commented 6 years ago

Of course if someone knows another ui easily installable on this perfect tool, dont hesitate to tell me! ;)

PadTrick commented 6 years ago

i hope someone will make a interface. im currently using usermin which is really good. just buttons to click on it. but a real WI would be nice to see