mirror of
https://git.freebsd.org/ports.git
synced 2025-05-22 11:48:35 -04:00
gain experience through battling, quest for special items, explore an expanding world or even be a part of the development. There are lots of ways to be involved in the project. Stendhal is developed using the Arianne game development system. WWW: https://stendhalgame.org/ PR: 196649 Submitted by: antumdeluge@gmail.com
16 lines
545 B
Bash
16 lines
545 B
Bash
#!/bin/sh
|
|
|
|
LOCALCLASSPATH=/usr/local/share/java/classes/*:/usr/local/share/stendhal/*:/usr/local/share/stendhal/lib/*:/usr/local/share/stendhal/data/script/*:/usr/local/share/stendhal/data/conf/*
|
|
|
|
CONFIGDIR=${HOME}/.config/stendhal
|
|
SERVERLOG=${CONFIGDIR}/log/server.log
|
|
if [ ! -d ${CONFIGDIR}/log ]; then
|
|
mkdir -p ${CONFIGDIR}/log
|
|
fi
|
|
if [ ! -f ${SERVERLOG} ]; then
|
|
touch ${SERVERLOG}
|
|
fi
|
|
|
|
cd ${CONFIGDIR}
|
|
|
|
java -Dconfig.dir="" $@ -Xmx400m -cp "${LOCALCLASSPATH}" games.stendhal.server.StendhalServer -c "${HOME}/.config/stendhal/server.ini" -l
|