Valheim
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.
< >
1-11 / 11 のコメントを表示
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.
You said without a mod? If you don't mind me asking, which mod might help with this?
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.
最近の変更はavatar.zeroが行いました; 2023年1月8日 12時34分
avatar.zero の投稿を引用:
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.
blindoctor の投稿を引用:
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.
最近の変更はavatar.zeroが行いました; 2023年1月8日 12時48分
avatar.zero の投稿を引用:
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?
最近の変更はblindoctorが行いました; 2023年1月8日 13時37分
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
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.
最近の変更はavatar.zeroが行いました; 2023年1月8日 18時15分
avatar.zero の投稿を引用:
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 2024年5月24日 12時02分 
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.
最近の変更はJ-96が行いました; 2024年5月24日 12時03分
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.
最近の変更はStevenが行いました; 2024年7月4日 12時52分
< >
1-11 / 11 のコメントを表示
ページ毎: 1530 50

投稿日: 2023年1月8日 12時12分
投稿数: 11