wiki:Server fixes

Version 167 (modified by Alloc, 5 years ago) (diff)

--

THIS IS ONLY FOR THE DEDICATED SERVER BUILD OF 7DTD!

Table of contents

  1. NOTE AGAIN
  2. Download
    1. Old releases
  3. Build yourself
  4. Features
    1. New log information
    2. Integrated Webserver for administration
    3. Map rendering
    4. New commands (for in-game console, control panel and Telnet)
  5. 7 Days to Die vs Mod version compatibility
  6. Release Notes

NOTE AGAIN

This mod is only for the dedicated server build

Download

The latest build can be found here: http://illy.bz/fi/7dtd/server_fixes.tar.gz.

Note that this might break on new versions of the 7dtd dedicated server. If they release a new build check if there's also an update for the mod.

Once downloaded unpack the archive to your server folder so you get a Mods folder in the server root folder.

Old releases

If you need an older release, e.g. because you want to run an older version of the game, you can download them from the same folder as the latest http://illy.bz/fi/7dtd/.

Build yourself

  • Get the project from the SVN https://svn.illy.bz/7dtd/binary-improvements (e.g. with TortoiseSVN if you are on Windows)
  • Copy the files given in the 7dtd-binaries/README.txt from the game to that folder
  • Open the project, change whatever you want, build
  • Copy the Mods folder to your game root folder

Features

New log information

  • When a player has a stack in his inventory which exceeds the official stack size limit for that item:
    Player with ID 171 has stack for "stick" greater than allowed (2000 > 250)
    

Integrated Webserver for administration

See Integrated Webserver for more information.

Map rendering

The map is rendered to image files as people visit the different places. Those images are stored within the save game folder in a folder named map. This folder contains one subfolder per zoom level, 0 being the most zoomed out whereas currently 4 is the normal size. In each of them are folders for the X coordinates of the blocks which contain individual images for the Y coordinates:

 SaveGame/
     map/
         0/             # 0 being the zoom level
             -3/        # -3 is the block number in x-direction (west to east)
                 5.png  # 5 is the block number in y-direction (south to north)

The map will be rendered while people wander around but if you want to initially get everything mapped that has been visited prior to adding this mod (or prior to rev.131 which introduced this feature) you might want to run the command "rendermap". NOTE that this will take a long time to execute (in the minutes) depending on how big the visited map is so far. During this time the server can not be used for playing or any commands.

The generated map file structure can be used to show the map with tools like Leaflet. The integrated webserver will also show this map.

New commands (for in-game console, control panel and Telnet)

  • give: Give an item to a player
  • listitems / li: List items that can be given with give
  • listknownplayers / lkp: List all players that have ever been online (since this version of the mod)
  • listlandprotection / llp: Lists all land protection blocks and their owners (name only shown when owner is online) or only those that are owned by a given player (steamid or entity/name if online) or show a summary of players and number of keystones used only (by passing "summary"):
    Player " (76561198066968172)" (protected: True, current hardness multiplier: 4):
       (1249, 60, -21)
    Total of 1 keystones in the game
    
  • removelandprotection / rlp: Removes the given land protection block or all blocks of a given player.
  • rendermap / rm: Render the map as far as it was ever visited by any player to both a big file and many small tiles that can be used for a map viewer like Leaflet. WARNING: This command can take a long time to execute (like 5 to 30 minutes) and the server won't be usable at that time for anything else!
  • reply / re: Send a message to the player who last sent you a private message (see sayplayer / pm).
  • sayplayer / pm: Send a message to a single player denoted by his name or entity id. Will be shown on receiver side as "<sender> (PM)" where <sender> is either "Server" if sent through the control panel or Telnet interface or the name of the sending player if used by the in game console.
  • showinventory / si: List the inventory/belt content of a player denoted by his name or entity id. Note that this data is only updated every 30s when the client sends his current state. Sample output:
    Belt of player:
        Slot 1: 001 * bottledWater
        Slot 2: 001 * canChili
        Slot 3: 001 * firstAidBandage
    
    Bagpack of player:
        Slot 0: 031 * canBeef
        Slot 4: 001 * firstAidBandage
        Slot 5: 032 * painkillers
        Slot 12: 001 * PumpShotgun
        Slot 31: 064 * tallGrassDiagonal2
    

7 Days to Die vs Mod version compatibility

7 Days to Die Mod version Mod SVN revision
A17.0 b221 - ? 17_20_30 - ? rev. 341 - ?
A17.0 - A17.0 b220 15_18_27 - 16_19_29 rev. 334 - 340
A16.2 - A16.* 13_15_20 - 14_17_26 rev. 307 - 322
A14.* - A15.* 7_9_13 - 12_14_19 rev. 272 - 301
A13.* 6_8_10 - 6_8_12 rev. 253 - 256
A12.* 0.12.0.0 - 5_7_9 rev. 238 - 250
A11.6 (server build 658147) 0.11.6.0 rev. 236
A11.5 (server build 639339) 0.11.5.0 rev. 235
A11.4 (server build 605981) 0.11.4.0 rev. 233
A11.3 (server build 593110) 0.113.5586.25212 - 0.11.3.0 rev. 230 - 232
A11.2 (server build 583520) 0.112.5577.41143 rev. 228
A11.1 (server build 578130) 0.111.5572.35274 - 0.111.5572.35274 rev. 226 - 227
A11 (server build 576370) 0.110.5570.39924 rev. 224
A10.4 b10 (server build 480993) 0.104.5471.24501 rev. 222
A10.4 b9 (server build 478809) 0.104.5466.33703 rev. 218
A10.4 (server build 477715) 0.104.5465.40278 rev. 216
A10.3 b12 (server build 471956) 0.103.5461.3294 rev. 213
A10.3 (server build 471352) 0.103.5459.40864 rev. 211
A10.2 (server build 459429) 0.102.5448.37821 rev. 208
A10.1 (server build 454117) 0.100.5442.30220 rev. 206
A10 (server build 451483) 0.100.5439.41910 rev. 205
A9.3 b5 (server build 385244) 0.93.5374.40502 - 0.93.5409.27239 rev. 194 - 202
A9.3 (server build 375426) 0.92.5364.31430 - 0.93.5373.21892 rev. 180 - 192
A9.2 (server build 373581) 0.92.5360.43161 - 0.92.5363.32930 rev. 165 - 174
A9.2 (server build 373271) 0.92.5360.33406 rev. 164
A9 (server build 363156) - 0.91.5360.30628 rev. 127 - 163
A9 (server build 356618) rev. 117 - 123
(server build 334790) rev. 106 - 114
(server build 333545) rev. 100 - 103

Release Notes

Moved to their own page