Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Valheim Modifiers #4328

Closed
optimuslem opened this issue Oct 5, 2023 · 2 comments · Fixed by #4341
Closed

[Feature]: Valheim Modifiers #4328

optimuslem opened this issue Oct 5, 2023 · 2 comments · Fixed by #4341

Comments

@optimuslem
Copy link

User story

I want modifiers in the setup

Game

No response

Linux distro

Ubuntu 20.04

Command

command: update-lgsm

Further information

-preset hard Sets world modifier preset. Setting a preset will
overwrite any other previous modifiers. Valid
values are: Normal, Casual, Easy, Hard,
Hardcore, Immersive, Hammer.
Valheim Dedicated Server Manual.pdf

-modifier raids none Sets chosen world modifier with value. If
combined with a preset should be set after. Valid
modifiers and values are:
Combat: veryeasy, easy, hard, veryhard
DeathPenalty: casual, veryeasy, easy, hard,
hardcore
Resources: muchless, less, more, muchmore,
most
Raids: none, muchless, less, more, muchmore
Portals: casual, hard, veryhard
-setkey nomap Sets a world modifier checkbox key. Valid values
are: nobuildcost, playerevents, passivemobs,
nomap

@natrius
Copy link

natrius commented May 16, 2024

For some reason this does not work. I added this to my lgsm/config-lgsm/vhserver/vhserver-3.cfg file like an additional line containing setkey="playerevents". Using startparameters=-setkey playerevents (as on https://docs.linuxgsm.com/configuration/start-parameters ) deletes every other parameter set before.

Did i miss something here?

@rainst
Copy link
Contributor

rainst commented May 16, 2024

Don’t use startparameters but worldmodifiers as described in the comment here: https://github.com/GameServerManagers/LinuxGSM/blob/e888821af0badcae168deabb88f071526c3c72e0/lgsm/config-default/config-lgsm/vhserver/_default.cfg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

4 participants