Valheim

Valheim

blindoctor Jan 8, 2023 @ 12:12pm
Spawning items on my dedicated server
I can't seem to get items to spawn on my dedicated server. I've added my ID to the adminlist file on my server. I've enabled devcommands, but it if type in say "spawn Coins 100" it tells me "spawn is not a valid command in this context."

I'm just trying to spawn in some food for me and my buddies so we don't have to waste time gathering ingredients. We all work and have limited time to play, so I figured that would save some time.

I could always go to my own, solo world and bring food back from there, but I'm just wondering if I can do it all on the dedicated server.
< >
Showing 1-11 of 11 comments
avatar.zero Jan 8, 2023 @ 12:23pm 
Devcommands do not work on dedicated servers, period, without a mod - it's only available for single-player or when acting as the host of a multiplayer map through the client. Adding someone to the admin list just means that they have the power to kick or ban other players, among a few other things.
blindoctor Jan 8, 2023 @ 12:27pm 
You said without a mod? If you don't mind me asking, which mod might help with this?
avatar.zero Jan 8, 2023 @ 12:31pm 
Originally posted by blindoctor:
You said without a mod? If you don't mind me asking, which mod might help with this?

Server devcommands[valheim.thunderstore.io]

Updated just a couple of weeks ago. Just remember that the game is still being worked on - any given mod could break on any given update and IG/CS has no responsibility on making sure they stay compatible.
Last edited by avatar.zero; Jan 8, 2023 @ 12:34pm
blindoctor Jan 8, 2023 @ 12:43pm 
Originally posted by avatar.zero:
Originally posted by blindoctor:
You said without a mod? If you don't mind me asking, which mod might help with this?

Server devcommands[valheim.thunderstore.io]

Updated just a couple of weeks ago. Just remember that the game is still being worked on - any given mod could break on any given update and IG/CS has no responsibility on making sure they stay compatible.

Thank you. Now to go down the rabbit hole of figuring out how to add this to the server.
avatar.zero Jan 8, 2023 @ 12:47pm 
Originally posted by blindoctor:
Originally posted by avatar.zero:

Server devcommands[valheim.thunderstore.io]

Updated just a couple of weeks ago. Just remember that the game is still being worked on - any given mod could break on any given update and IG/CS has no responsibility on making sure they stay compatible.

Thank you. Now to go down the rabbit hole of figuring out how to add this to the server.

For most of the devcommands, you only need it client-side. It only needs to be applied to the server for devcommands that deal with time/timing and raid events.

Though, yeah, reading the directions is always a good idea in general anyways.
Last edited by avatar.zero; Jan 8, 2023 @ 12:48pm
blindoctor Jan 8, 2023 @ 1:30pm 
Originally posted by avatar.zero:
Originally posted by blindoctor:

Thank you. Now to go down the rabbit hole of figuring out how to add this to the server.

For most of the devcommands, you only need it client-side. It only needs to be applied to the server for devcommands that deal with time/timing and raid events.

Though, yeah, reading the directions is always a good idea in general anyways.

So I've done a bit of research and still can't really figure out how to get it on the server. Is there a simple solution to doing that? I assume I download the file and drop it into a specific folder on the server?

EDIT: Would that also require putting BepInEx on the server?
Last edited by blindoctor; Jan 8, 2023 @ 1:37pm
"Fascinating!" Jan 8, 2023 @ 3:20pm 
Copy the entire modded bepinex folder and paste it into the main Valheim dedicated server folder. When updates happen, copy and paste those in manually too.


into here:
\Valheim dedicated server\

so it becomes:
\Valheim dedicated server\BepInEx
avatar.zero Jan 8, 2023 @ 6:15pm 
Originally posted by blindoctor:
EDIT: Would that also require putting BepInEx on the server?

Yes, BepinEx provides the framework that allows mods to patch into Unity-based games and servers (like Valheim) and is a prerequisite for most such mods.
Last edited by avatar.zero; Jan 8, 2023 @ 6:15pm
Khronic May 24, 2024 @ 10:29am 
Originally posted by avatar.zero:
Originally posted by blindoctor:
You said without a mod? If you don't mind me asking, which mod might help with this?

Server devcommands[valheim.thunderstore.io]

Updated just a couple of weeks ago. Just remember that the game is still being worked on - any given mod could break on any given update and IG/CS has no responsibility on making sure they stay compatible.

do you know if adding a friend to the admin list and installing this mod will give them permission to use admin commands as well? ex spawning things in or flying?
J-96 May 24, 2024 @ 12:02pm 
Waste time gathering ingredients? This game might not be for you if you are willing to cheat in the coin to eat. and that seems like it takes longer to do then to collect berries and deer or boar meat anyway with all the whitelisting of w.e ID you need to do and more. This game doesn't require you to eat. You sure you don't want to just risk it using 25HP and lower stamina? All u gotta do is eat a berry and voila.
Last edited by J-96; May 24, 2024 @ 12:03pm
Steven Jul 4, 2024 @ 12:49pm 
Originally posted by blindoctor:
I can't seem to get items to spawn on my dedicated server. I've added my ID to the adminlist file on my server. I've enabled devcommands, but it if type in say "spawn Coins 100" it tells me "spawn is not a valid command in this context."

I'm just trying to spawn in some food for me and my buddies so we don't have to waste time gathering ingredients. We all work and have limited time to play, so I figured that would save some time.

I could always go to my own, solo world and bring food back from there, but I'm just wondering if I can do it all on the dedicated server.

devcommands like people say dont work on the dedicated server but you can still cheat on dedicated server any one can cheat, - when you make a char it can move from server with you so you just have a char you start a new game with that char then you enable devcommands as single player you cheat add what ever you want put it in your inventory then log out and log into the dedicated server you want to play on. dump items into your chest then repeat.

the chars you make are not tied to server they are created on client machines so thats why you can move every thing from server to server and form single player to server.

this games system makes it impossible to keep cheaters out if you for most part unless you only allow people u know and trust into your dedicated games by passwords.

but yes you can cheat on dedicated servers.

just fact that you do not earn stuff on server your playing on but able to move that stuff over in way is a cheat.
Last edited by Steven; Jul 4, 2024 @ 12:52pm
< >
Showing 1-11 of 11 comments
Per page: 1530 50

Date Posted: Jan 8, 2023 @ 12:12pm
Posts: 11