[PR #2350] [MERGED] add send command to console #3604

Closed
opened 2026-02-27 03:55:07 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/GameServerManagers/LinuxGSM/pull/2350
Author: @0DUDDU
Created: 5/10/2019
Status: Merged
Merged: 2/20/2021
Merged by: @dgibbs64

Base: feature/2334-send-commandHead: feature/sendCommandToConsole


📝 Commits (10+)

📊 Changes

5 files changed (+64 additions, -0 deletions)

View changed files

lgsm/functions/command_send.sh (+38 -0)
📝 lgsm/functions/core_functions.sh (+5 -0)
📝 lgsm/functions/core_getopt.sh (+6 -0)
📝 lgsm/functions/core_messages.sh (+14 -0)
📝 linuxgsm.sh (+1 -0)

📄 Description

Added a function to send command directly to the console
If the user don't provide a command right after the "send" argument, he will be prompt to enter a command

Fixes #1917 #2334

Type of change

  • Bug fix (change which fixes an issue).
  • New feature (change which adds functionality).
  • New Server (new server added).
  • Refactor (restructures existing code).
  • Comment update (typo, spelling, explanation, examples, etc).
  • This change requires a documentation update.

Checklist

  • This code follows the style guidelines of this project.
  • This pull request links to an issue.
  • This pull request uses the develop branch as its base.
  • I have performed a self-review of my own code.
  • I have squashed commits.
  • I have commented my code, particularly in hard to understand areas.
  • I have made corresponding changes to the documentation if required.

Provide Github Email

Co-authored-by: DUDU54 <14166148+DUDU54@users.noreply.github.com>

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/GameServerManagers/LinuxGSM/pull/2350 **Author:** [@0DUDDU](https://github.com/0DUDDU) **Created:** 5/10/2019 **Status:** ✅ Merged **Merged:** 2/20/2021 **Merged by:** [@dgibbs64](https://github.com/dgibbs64) **Base:** `feature/2334-send-command` ← **Head:** `feature/sendCommandToConsole` --- ### 📝 Commits (10+) - [`1bdf715`](https://github.com/GameServerManagers/LinuxGSM/commit/1bdf715eee25af61b410707b18a2320e12afe26b) add send command - [`92a710d`](https://github.com/GameServerManagers/LinuxGSM/commit/92a710d5869c45f19cdd8a9bce93f9f2b099533e) Merge branch 'develop' into feature/sendCommandToConsole - [`1ae1e3d`](https://github.com/GameServerManagers/LinuxGSM/commit/1ae1e3d1fe74c566d0afd31fbebe16824aa7ca4e) updates to messages - [`f63e095`](https://github.com/GameServerManagers/LinuxGSM/commit/f63e095a4358100d18502a1d0aa7b6060326304a) minor - [`deb3a5c`](https://github.com/GameServerManagers/LinuxGSM/commit/deb3a5c8cad29224c7fc640b49eeb909230f5238) minor - [`0adf311`](https://github.com/GameServerManagers/LinuxGSM/commit/0adf3116f562ccb94cb6dd7f770125704b1bc493) messages only display if manual entry - [`a769918`](https://github.com/GameServerManagers/LinuxGSM/commit/a769918a45c55177dd7b7e923a7689a67980abb2) updated description - [`02bd846`](https://github.com/GameServerManagers/LinuxGSM/commit/02bd84645b230c9e8151ae46ed903077704f36e0) send will not show if not supported - [`5fdbff7`](https://github.com/GameServerManagers/LinuxGSM/commit/5fdbff76547c2d86375fbb1e8247c64997bce971) corrected if changed to ! - [`6211fea`](https://github.com/GameServerManagers/LinuxGSM/commit/6211fea71113b9556f9a0ae9a4fe2e8285622b86) ui updates ### 📊 Changes **5 files changed** (+64 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `lgsm/functions/command_send.sh` (+38 -0) 📝 `lgsm/functions/core_functions.sh` (+5 -0) 📝 `lgsm/functions/core_getopt.sh` (+6 -0) 📝 `lgsm/functions/core_messages.sh` (+14 -0) 📝 `linuxgsm.sh` (+1 -0) </details> ### 📄 Description Added a function to send command directly to the console If the user don't provide a command right after the "send" argument, he will be prompt to enter a command Fixes #1917 #2334 ## Type of change * [ ] Bug fix (change which fixes an issue). * [X] New feature (change which adds functionality). * [ ] New Server (new server added). * [ ] Refactor (restructures existing code). * [ ] Comment update (typo, spelling, explanation, examples, etc). * [x] This change requires a documentation update. ## Checklist * [X] This code follows the style guidelines of this project. * [X] This pull request links to an issue. * [X] This pull request uses the `develop` branch as its base. * [X] I have performed a self-review of my own code. * [ ] I have squashed commits. * [ ] I have commented my code, particularly in hard to understand areas. * [ ] I have made corresponding changes to the documentation if required. ## Provide Github Email ``` Co-authored-by: DUDU54 <14166148+DUDU54@users.noreply.github.com> ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 03:55:07 +03:00
Sign in to join this conversation.
No labels
Atomic
Epic
cannot reproduce
command: backup
command: console
command: debug
command: details
command: fast-dl
command: install
command: mods
command: monitor
command: post-details
command: restart
command: send
command: start
command: stop
command: update
command: update-lgsm
command: validate
command: wipe
distro: AlmaLinux
distro: Arch Linux
distro: CentOS
distro: Debian
distro: Fedora
distro: RedHat
distro: Rocky Linux
distro: Ubuntu
distro: openSUSE
engine: goldsrc
engine: source
game: 7 Days to Die
game: ARMA 3
game: Ark: Survival Evolved
game: Assetto Corsa
game: Avorion
game: BATTALION: Legacy
game: Barotrauma
game: Battalion 1944
game: Battlefield 1942
game: Black Mesa: Deathmatch
game: Blade Symphony
game: Call of Duty 2
game: Call of Duty 4
game: Call of Duty: United Offensive
game: Counter-Strike 1.6
game: Counter-Strike 2
game: Counter-Strike: Global Offensive
game: Counter-Strike: Source
game: Day of Infamy
game: Dayz
game: Death Match Classic
game: Don't Starve Together
game: ET: Legacy
game: Eco
game: Factorio
game: Factorio
game: Garry's Mod
game: Half-Life
game: Hurtword
game: Insurgecy
game: Insurgecy
game: Insurgency: Sandstorm
game: Just Cause 3
game: Killing Floor
game: Killing Floor 2
game: Left 4 Dead 2
game: Minecraft
game: Minecraft Bedrock
game: Mordhau
game: Multi Theft Auto
game: Mumble
game: Natural Selection 2
game: No More Room in Hell
game: Pavlov VR
game: Post Scriptum
game: Project Zomboid
game: Quake 3
game: QuakeWorld
game: Red Orchestra: Ostfront 41-45
game: Return to Castle Wolfenstein
game: Rising World
game: Rust
game: San Andreas Multiplayer
game: Satisfactory
game: Soldat
game: Soldier of Fortune 2
game: Squad
game: Squad 44
game: Starbound
game: Stationeers
game: Sven Co-op
game: Team Fortress 2
game: Teamspeak 3
game: Teeworlds
game: Terraria
game: The Front
game: Unreal Tournament 2004
game: Unreal Tournament 3
game: Unreal Tournament 99
game: Unturned
game: Valheim
game: Wurm Unlimited
game: Zombie Master Reborn
game: label missing
good first issue
help wanted
info: alerts
info: dependency
info: docker
info: docs
info: email
info: query
info: steamcmd
info: systemd
info: tmux
info: website
info: website
needs more info
outcome: duplicate
outcome: issue resolved
outcome: issue resolved
outcome: issue unresolved
outcome: pr accepted
outcome: pr rejected
outcome: unconfirmed
outcome: wontfix
outcome: wrong forum
potential-duplicate
priority
pull-request
type: bug
type: feature
type: feature
type: feature request
type: game server request
type: refactor
waiting response
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/LinuxGSM#3604
No description provided.