Sql issus
-
- Site Admin
- Posts: 3617
- Joined: Thu Apr 20, 2006 2:54 pm
- Location: America's Heartland
- Contact:
Re: Sql issus
The panel has to run the executable directly, so whatever commandline is in your shell script, try entering it into the panel.
Masher
-----------
Please do not PM me unless asked to! We are a small company. If you have an issue or question it would be best to post it in the forums where it can help others in the future.
NEW Join our Discord!
-----------
Please do not PM me unless asked to! We are a small company. If you have an issue or question it would be best to post it in the forums where it can help others in the future.
NEW Join our Discord!
Re: Sql issus
am using a .Sh script to start the server i have copyed it into the commandline as well but still the same
-
- Site Admin
- Posts: 3617
- Joined: Thu Apr 20, 2006 2:54 pm
- Location: America's Heartland
- Contact:
Re: Sql issus
Please post your shell script and what settings you are using on executable tab.
Masher
-----------
Please do not PM me unless asked to! We are a small company. If you have an issue or question it would be best to post it in the forums where it can help others in the future.
NEW Join our Discord!
-----------
Please do not PM me unless asked to! We are a small company. If you have an issue or question it would be best to post it in the forums where it can help others in the future.
NEW Join our Discord!
Re: Sql issus
this is the scripted
#!/bin/sh
cd "$(dirname "$0")"
# makes things easier if script needs debugging
if [ x$FTB_VERBOSE = xyes ]; then
set -x
fi
# cleaner code
eula_false() {
grep -q 'eula=false' eula.txt
return $?
}
# run install script if MC server or launchwrapper s missing
if [ ! -f minecraft_server.1.7.10.jar ]; then
echo "Missing required jars. Running install script!"
sh ./FTBInstall.sh
fi
# check if there is eula.txt and if it has correct content
if [ -f eula.txt ] && eula_false ; then
echo "Make sure to read eula.txt before playing!"
echo "To exit press <enter>"
read ignored
exit
fi
# inform user if eula.txt not found
if [ ! -f eula.txt ]; then
echo "Missing eula.txt. Startup will fail and eula.txt will be created"
echo "Make sure to read eula.txt before playing!"
echo "To continue press <enter>"
read ignored
fi
echo "Starting server"
java -server -Xms2048m -Xmx3072m -XX:PermSize=256m -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -jar FTBServer-1.7.10-1395.jar
echo "Server process finished"
and this is the path to it /home/public_servers/mc_modded/ServerStart.sh
#!/bin/sh
cd "$(dirname "$0")"
# makes things easier if script needs debugging
if [ x$FTB_VERBOSE = xyes ]; then
set -x
fi
# cleaner code
eula_false() {
grep -q 'eula=false' eula.txt
return $?
}
# run install script if MC server or launchwrapper s missing
if [ ! -f minecraft_server.1.7.10.jar ]; then
echo "Missing required jars. Running install script!"
sh ./FTBInstall.sh
fi
# check if there is eula.txt and if it has correct content
if [ -f eula.txt ] && eula_false ; then
echo "Make sure to read eula.txt before playing!"
echo "To exit press <enter>"
read ignored
exit
fi
# inform user if eula.txt not found
if [ ! -f eula.txt ]; then
echo "Missing eula.txt. Startup will fail and eula.txt will be created"
echo "Make sure to read eula.txt before playing!"
echo "To continue press <enter>"
read ignored
fi
echo "Starting server"
java -server -Xms2048m -Xmx3072m -XX:PermSize=256m -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -jar FTBServer-1.7.10-1395.jar
echo "Server process finished"
and this is the path to it /home/public_servers/mc_modded/ServerStart.sh
Re: Sql issus
ok i have got it to work thanks for ur help masher