7 Days to Die

7 Days to Die

View Stats:
Akita Apr 23, 2015 @ 2:27pm
admin command questions
I am currently admin on a 7 days server on FPSservers.com. Are there admin commands to do any of the following functions? I cant find anything on the wiki or docs.

- teleport a player to a specific location
- remove debufs from a player, such as a broken leg
- change the wellness of a player
- give a player a specific item

Having these commands would really help. Thanks for any info!
Akita
< >
Showing 1-13 of 13 comments
krzosu18 Apr 23, 2015 @ 2:47pm 
removal of buffs is now aviable via debuf command but dunno if or how it works on MP on single it certainly works - ive just tested it
Teotwawki Apr 23, 2015 @ 2:58pm 
Hi, I found this page to be helpful:

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.
Akita Apr 23, 2015 @ 3:57pm 
This seems like exactly what I want, except that the commands dont seem to work. I tried from both the console and from a telnet session.

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?
Akita Apr 23, 2015 @ 4:04pm 
Krzosu18, As far as the debuff command, how did you get it to work? I gave myself a sprain, and the name of the debuff seems to be: "Sprained Leg" So I tried "debuff Sprained Leg" and "debuff Sprain" and 'debuff "Sprained Leg"' and none of them work. It recognizes the command, but doesnt remove the sprain.

thanks!
Teotwawki Apr 23, 2015 @ 4:10pm 
In my serveradmin.xml for example, here are some commands:

<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 :)
Teotwawki Apr 23, 2015 @ 6:59pm 
I just tried "buff cured" (antibiotics) in SP and it worked fine, added the "buff" command to my serveradmin.xml and tried in MP and it worked there as well.

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.
Cord Apr 24, 2015 @ 5:53am 
"- teleport a player to a specific location"

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> .
Akita Apr 24, 2015 @ 11:26am 
Did you actually try that? Because it doesnt work for me. I get "Unknown command". I tried with and without the leading slash.
krzosu18 Apr 24, 2015 @ 3:17pm 
Originally posted by Akita:
Krzosu18, As far as the debuff command, how did you get it to work? I gave myself a sprain, and the name of the debuff seems to be: "Sprained Leg" So I tried "debuff Sprained Leg" and "debuff Sprain" and 'debuff "Sprained Leg"' and none of them work. It recognizes the command, but doesnt remove the sprain.

thanks!
Helo mate the commands buff/debuf are tricky - firstly they demand egzact spelling and are case sensitive( aka big letters are imp too) the easiest way is to open buffs.xml - in order to get egzact spelling name and which letter must be big ones from the file

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:)
Last edited by krzosu18; Apr 24, 2015 @ 5:37pm
Teotwawki Apr 25, 2015 @ 1:58am 
Originally posted by Cord:
"- teleport a player to a specific location"

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> .

Originally posted by Akita:
Did you actually try that? Because it doesnt work for me. I get "Unknown command". I tried with and without the leading slash.

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.
im actually new at this...maby we can help each other out. I just rented a server for this game & i cant figure any of this out...like changing maps
try41000 Jun 14, 2016 @ 5:35pm 
I don't know for removing buffs or wellness, but for giving items, you can use "giveself <item>", and for teleportation you can go into debug mode with "dm" then lctrl+mouse2 on the map to teleport. You can sort-of remove some buffs and increase wellness just by spawning in the right items, but it can be slow or unhelpful. I believe if you type "help" it'll give you a full list of commands, but I don't remember for sure.
CherryPop Dec 1, 2016 @ 4:27pm 
is it possible for an admin to check the skill levels of players. for example to detect duping and what not.
< >
Showing 1-13 of 13 comments
Per page: 1530 50

Date Posted: Apr 23, 2015 @ 2:27pm
Posts: 13