summaryrefslogtreecommitdiff
path: root/localserver/installconfigs.sh
diff options
context:
space:
mode:
Diffstat (limited to 'localserver/installconfigs.sh')
-rwxr-xr-xlocalserver/installconfigs.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/localserver/installconfigs.sh b/localserver/installconfigs.sh
new file mode 100755
index 0000000..398c02a
--- /dev/null
+++ b/localserver/installconfigs.sh
@@ -0,0 +1,12 @@
+#!/usr/bin/env bash
+
+export SD="../../server-data"
+export CONF="$SD/conf/import"
+export NPC="$SD/npc"
+
+mkdir $CONF
+cp conf/* $CONF
+cp -f ${SD}/conf/channels.conf.base ${SD}/conf/channels.conf
+cp -f npc/motd-* ${NPC}/commands/
+mkdir versions
+echo "5" >versions/confver