Open Fr1tzl1 opened 4 years ago
Issue-Label Bot is automatically applying the label type: feature request
to this issue, with a confidence of 0.55. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!
Links: app homepage, dashboard and code for this bot.
This will be very useful in the future as there are plans to do this at some point
Hello, your script don't work... Help me please ... Screenshots :
There is no such command as ark-stop this looks like a fork and not official Linuxgsm
Edit: This is an unofficial script for ark
Hello, your script don't work... Help me please ... Screenshots :
it may be that the code no longer works with the current Linuxgsm version. I don't play ARK anymore and I don't have a server online either.
This was actually just a sample for @dgibbs64
@chewbaccafr
Hello, your script don't work... Help me please ...
I don't test the code but your log error show '\r'. It's when your file use \r\n for new line special caracter (sorry for my english) you may use \n (standard linux)
file PATH_OF_YOUR_FILE
dos2unix PATH_OF_YOUR_FILE
if i have time i will test the code, @Fr1tzl1 You have create a fork with your code for test ? a Pull Request ? (I haved the same idea for discord and the Altert system , thanks to you)
Any progress on the implementation? I'd love to see such things as a core feature
I have just set this up and can confirm that it works with the latest LGSM and Ark Version.
I have to make a minor change in the very last config section under alert_discord.sh
i left out this completely
escaped_hostname_for_discord=$(echo -n "${hostname_for_discord}" | jq -sRr "@json")
And i changed from this
"name": "Server Name",
"value": ${escaped_hostname_for_discord},
"inline": true
to this
"name": "Server Name",
"value": ${hostname_for_discord},
"inline": true
Hello I hope you add this code or something like that
The code is only tested on an ARK server with active cluster with Discord Alert, no other alerts were active during the test
how to
install on Server mcrcon SEE https://github.com/Tiiffi/mcrcon/tree/v0.7.1
Add in /ARK-LGSM-FOLDER/lgsm/config-lgsm/arkserver/arkserver.cfg and for every other cluster server config
Add in /ARK-LGSM-FOLDER/lgsm/functions/core_getopt.sh
after
cmd_fastdl=( "fd;fastdl" "command_fastdl.sh" "Build a FastDL directory." )
follow
after
## Game server exclusive commands.
follow
Add in /ARK-LGSM-FOLDER/lgsm/functions/core_functions.sh
after
follow
after
follow
create the file /ARK-LGSM-FOLDER/lgsm/functions/command_ark_stop.sh with the following content
create the file /ARK-LGSM-FOLDER/lgsm/functions/command_ark_restart.sh with the following content
create the file /ARK-LGSM-FOLDER/lgsm/functions/command_ark_update.sh with the following content
create the file /ARK-LGSM-FOLDER/lgsm/functions/update_ark_steamcmd.sh with the following content
Add in /ARK-LGSM-FOLDER/lgsm/functions/alert.sh
after
follow
after
follow
Add in /ARK-LGSM-FOLDER/lgsm/functions/alert_discord.sh
after
follow
change
to