mirror of
https://github.com/GameServerManagers/LinuxGSM.git
synced 2026-04-25 06:05:57 +03:00
[GH-ISSUE #1938] Minecraft using wrong config #1527
Labels
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
No due date set.
Dependencies
No dependencies set.
Reference
starred/LinuxGSM#1527
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Dragonphire on GitHub (Jul 17, 2018).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/1938
I am posting about Minecraft but this seems to be how LGSM is interacting with the setup, which in my opinion should work. The Minecraft server itself runs just fine (at least the one instance). Please let me know if i should post elsewhere.
i have a single user, multiple instance setup as the intention is just 3 different servers with different gamemodes and world files. I have seen others comment of successful setups, so i'm not sure if it's my setup. (I have had trouble finding any specific how to for single user, multiple instances for minecraft specifically. My setup seems flawed in the fact that the server files for all 3 servers are in the same serverfiles directory, so each server shares the same ops.json file for example.)
When i start the server, everything looks fine. when i ./game details, all the values look correct, including pointing to the custom server.properties file. However, when i go to the server in game, the MOD says "Default Server" (which is what i set the default server.properties file to have) instead of the "Gamemode Server" MOD which i set for each server.
within serverfiles, i created a server properties file with the naming convention of ${servicename}.properties. I also created a world folder with similar convention ${servicename}.world
In the lgsm/config-lgsm/server/common.cfg file, i changed servercfg="${servicename}.properties".
So when i run details for each server, i'm getting back the correct config file for each. When i start it, it is saying the correct MOD in the output. But in game, i'm getting the default and i cannot start a second server because it keeps trying to use the default properties which has only the one port.
I even tried to set servercfgdefault="${servicename}.properties" with no success.
Again, i have updated the common.cfg to point each instance to a unique properties file, so i don't see how there is an issue. I appreciate any assistance.
Server 1: https://hastebin.com/axawixibij
Server 2: https://hastebin.com/axozacehen
@UltimateByte commented on GitHub (Jul 17, 2018):
Maybe Minecraft doesn't like the dash
-in the server config file.Try renaming
mcserver-adventuretoadventure(as well as various config files) and see.@Dragonphire commented on GitHub (Jul 17, 2018):
same outcome.
https://hastebin.com/cemabiwofo
@levifig commented on GitHub (Jan 24, 2019):
I'm having an issue where my LGSM isn't obeying the overrides I'm placing on
common.cfg. No matter what I change, it runs with whatever_default.cfgis configured. I'm going to posit my issue could be the cause of the bug here too...@levifig commented on GitHub (Jan 27, 2019):
Update: after a couple of server restarts, with no intervention on my part, LGSM actually created the
common.cfgand<instance>.cfgfiles (actually overriding my own). Since then, it's been reading those files just fine. No idea why, for a while, it didn't 1) create those files and 2) read those files.Thought I'd update this thread. Basically, if the
common.cfgand<instance>.cfgfiles are not automatically generated, it seems LGSM has b0rked somewhere and won't even read them if you create them manually.@0DUDDU commented on GitHub (May 11, 2019):
It's simply because minecraft take only the "server.property" file, you cannot specify the property file when you start the server as some other game allow.
To achieve what you want to do, you can create a file in other location and create a simlink in each server file folder
@h3o66 commented on GitHub (Jan 29, 2021):
I do not see any way to maeke this work.
If someone knows how to do this, please reopen this issue.
@github-actions[bot] commented on GitHub (Jan 30, 2022):
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.