From 56b589f7027628d825ebe1a61446e1cf39694f3a Mon Sep 17 00:00:00 2001 From: NullBite Date: Thu, 29 Jun 2023 18:01:41 -0400 Subject: [PATCH] Add script to resend XWM waypoints to example dir --- instance/get-waypoint.sh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 instance/get-waypoint.sh diff --git a/instance/get-waypoint.sh b/instance/get-waypoint.sh new file mode 100755 index 0000000..5a1d52f --- /dev/null +++ b/instance/get-waypoint.sh @@ -0,0 +1,4 @@ +#!/bin/bash +cd "$(dirname "$0")" +instance="$(basename "$(pwd)")" +find logs -type f -exec zcat -f -- '{}' + | grep xaero-waypoint | grep -ve '\[Server\]' | fzf | sed 's/^.*\(xaero-waypoint:.*\)/\1/g' | xargs -d'\n' -n1 mcserver command "$instance" say