Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
https://7dtd.illy.bz/wiki/Console%20Commands
I am only running a server on a second PC in-home, mainly to help smooth my gameplay a little, but also to play with some RL friends.
The commands do not seem to be "on" by default.
The few commands that I use, I manually added in to the serveradmin.xml, which is not found in the Steam/SteamApps/7 Days to Die Dedicated Server folder, but rather (for me on Linux) can be found in home/username/7 Days To Die/Saves folder.
They just say "Unknown command"
If I try to set the permission, such as using "cp teleportplayer 1" it says unknown subcommand.
I also tried adding them to the serveradmin.xml, but that did not help. Is there some setting that enables these commands?
thanks!
<permissions>
<!-- <permission cmd="dm" permission_level="0" /> -->
<permission cmd="sa" permission_level="0" />
<!-- <permission cmd="kick" permission_level="1" /> -->
<permission cmd="say" permission_level="1000" />
</permissions>
In this example, "dm" (debug mode) is commented out, so is not usable by anyone, the "kick" command is also not usable.
The "sa" is the command to save the gameworld, and is operational. "Say" is operational and is usable by anyone.
Did you restart the server to initiate the new serveradmin.xml instructions?
If you've edited it all in correctly, and restarted, then I'm about out of help, sorry. Hopefully a more experienced server admin can pop their head into the thread if you are still stuck.
Good luck :)
I also tried the "gm" (generate map) command and that was unknown in both SP and MP :(
Perhaps not all the commands listed are actually functional yet. I noticed that "spawnsupplycrate" worked fine in SP and dropped a crate right in front of me, while in MP it did nothing (even though I added it to the serveradmin.xml). It did not give an error, just did not do anything. It is listed on that Console Commands page as being single-player only though.
My best guess is that not all those commands are actually functional at the moment.
Hope someone else can help you, or confirm what I've experienced. I haven't tried the "tele" or "give" commands though.
This works in the console (hit the tilde key), the command would look like this-
/teleport <player name> 1200 68 8776
Note that you can use the cursor over the map to get the coordinates for the first and third numbers and the middle number is altitude, ~68 seems to be "sea level". If you appear stuck in the ground, or falling beneath it, when you spawn in, quickly quit game and reconnect to be placed at normal ground level.
Any North or East numbers will be positive and any South or West numbers will be negative. Also, the first number and the third number in your string will be reverse of what your map tells you. So, for example, if your in-game map shows a location you wish to teleport to as 1750S x 2450E, your command for that would be-
/teleport <player name> 2450 68 -1750
To teleport one player to the current location of another player simply do /teleport <player name> <player name> .
for eg for sprained leg it should be :
buff sprainedLeg
debuff sprainedLeg
(as you can see there is no space between words and Leg is spelled with big letter "L"
the best way is to copy/past desierd effect name directly from file via Ctrl+C /Ctrl+V method:)
I've now tried many possible variations of this command too, in SP and in MP after adding it to the serveradmin file. I'm also getting unknown command.
Would love to know if this is actually working for some as well. I doubt I'll actually be using it really, but for intellectual curiosity, it would be good to know if it was really implemented at this stage.