[Feature]: Ability to override autodetected $servername

Open
#4,608 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
shell
Domain
cli, devops

Research direction

Start with common.cfg and mcserver.cfg and trace how the details command obtains servername from Minecraft server properties. Check the configuration precedence and alerting or console output paths. Done means an explicitly configured servername is used instead of the autodetected value, including for Discord alerts and console output.

Written by the indexing model from the issue text.

Description

command: console command: details distro: Debian info: alerts type: feature
User story

As a user, it would be greatly useful to override detected variables from config with my own values for alerting purposes

Game

Minecraft

Linux distro

Debian 12

Command

command: details

Further information

Despite setting a servername in _common.cfg and mcserver.cfg, LGSM insists on using its own values detected from Minecraft's server properties. Because Minecraft permits formatting the server name with non-printable characters, this results in LGSM sending Discord alerts and console output that contains non-printable characters.

Being able to override this with my own value would eliminate this problem.

Dominant language
Shell
Stars
4.9k
Forks
866
Avg merge
17h 58m
Merged PRs (30d)
100

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from GameServerManagers/LinuxGSM

All issues in GameServerManagers/LinuxGSM

Similar issues

More Shell/Bash issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.