Browse Source
feat: improve console and post details commands
- Updated the console command to display a link in italics to the documentation.
- Updated the post details command to display the URL in italics for support.
- Renamed "Donation options" to "Sponsorship options" in the sponsor command.
- Added Minecraft as an example of a game with query enabled in info messages.
Closes #123
feature/dst-changes
Daniel Gibbs
2 years ago
No known key found for this signature in database
GPG Key ID: 2076B128385E8C55
4 changed files with
4 additions and
4 deletions
lgsm/modules/command_console.sh
lgsm/modules/command_postdetails.sh
lgsm/modules/core_getopt.sh
lgsm/modules/info_messages.sh
@ -31,8 +31,8 @@ fi
echo ""
fn_print_information_nl "Press \"CTRL+b\" then \"d\" to exit console."
fn_print_warning_nl "Do NOT press CTRL+c to exit."
echo -e "* https://docs.linuxgsm.com/commands/console"
echo -e ""
echo -e " ${ italic } https://docs.linuxgsm.com/commands/console ${ default } "
if ! fn_prompt_yn "Continue?" Y; then
exitcode = 0
core_exit.sh
@ -68,7 +68,7 @@ pdurl="${link}"
if [ " ${ firstcommandname } " = = "POST-DETAILS" ] ; then
echo -e ""
echo -e "Please share the following url for support: "
echo -e " ${ pdurl } "
echo -e " ${ italic } ${ pdurl } ${ default } "
fi
fn_script_log_info " ${ pdurl } "
alerturl = " ${ pdurl } "
@ -22,7 +22,7 @@ cmd_update_linuxgsm=("ul;update-lgsm;uf;update-modules" "command_update_linuxgsm
cmd_test_alert = ( "ta;test-alert" "command_test_alert.sh" "Send a test alert." )
cmd_monitor = ( "m;monitor" "command_monitor.sh" "Check server status and restart if crashed." )
cmd_skeleton = ( "sk;skeleton" "command_skeleton.sh" "Create a skeleton directory." )
cmd_sponsor = ( "s;sponsor" "command_sponsor.sh" "Donation options." )
cmd_sponsor = ( "s;sponsor" "command_sponsor.sh" "Sponsorship options." )
cmd_send = ( "sd;send" "command_send.sh" "Send command to game server console." )
# Console servers only.
cmd_console = ( "c;console" "command_console.sh" "Access server console." )
@ -286,7 +286,7 @@ fn_info_message_gameserver() {
echo -e " ${ lightblue } Server password:\t ${ default } ${ serverpassword } "
fi
# Query enabled (Starbound)
# Query enabled (Starbound, Minecraft )
if [ -n " ${ queryenabled } " ] ; then
echo -e " ${ lightblue } Query enabled:\t ${ default } ${ queryenabled } "
fi