summaryrefslogtreecommitdiff
path: root/localserver/installconfigs.sh
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-04-10 00:45:07 -0300
committerJesusaves <cpntb1@ymail.com>2021-04-10 00:45:07 -0300
commitc6095ad062eaa0f5576cfab1c4fe436b90c2fbfe (patch)
tree742dd839971d2aab1f08fd0291af66e6439646ab /localserver/installconfigs.sh
downloadtools-c6095ad062eaa0f5576cfab1c4fe436b90c2fbfe.tar.gz
tools-c6095ad062eaa0f5576cfab1c4fe436b90c2fbfe.tar.bz2
tools-c6095ad062eaa0f5576cfab1c4fe436b90c2fbfe.tar.xz
tools-c6095ad062eaa0f5576cfab1c4fe436b90c2fbfe.zip
Add initial tools
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