elevatorguy / TDSM_map

Server Plugin that can autosave an image and map on demand by command (Terraria)
8 stars 9 forks source link

map for tshock

This adds an in-game Terraria World Mapper: I would like to thank the authors of MoreTerra and Terrafirma for their work on the color codes, without them this plugin would not be possible.

Features

Permissions

Usage

Mapping to "world-now.png"

map

Map to a file in the format "terraria-2011-09-07_15-23-00.png"

map -t

Map to a specified imagename

map -n imagename.png

Reload mapoutput-path from map.properties

map -L

To specify path ingame you use (doesn't save)

map -p /path/to/output

or in windows

map -p C:\\path\\to\\output (and yes you have to do two slashes because of how the tokenizer works)

To specify a path ingame and also save it to map.properties

map -s -p /path/to/output

or in windows

map -s -p C:\\path\\to\\output (and yes you have to do two slashes because of how the tokenizer works)

to change colorscheme

map -s -c MoreTerra or > map -s -c Terrafirma

to highlight a block

map -h [name/id]

chests can be mapped using

map -h chest

ingame command to change autosaving

map -a (toggles enabled/disabled)

map -a -t (toggles timestamp naming)

map -a -n (toggles output name when not doing timestamp naming)

map -a -h [name/id] (toggles highlighting, and sets the id to that specified)

map -x1 500 -x2 600 -y1 500 -y2 600 (maps only a portion of the map, in this case from (500,500) to (600,600)) (x1,y1) must be the top left corner, and (x2,y2) the bottom right corner.

to generate tiles and html file for web viewing

map -w or map -web

Updates

Options

The default paths are the server directory where Terraria_Server.exe is located.

The default colorscheme is Terrafirma.

The default auto map interval is every 30 minutes.

The default auto map saves to autosave.png.

Please let me know if I have overlooked any bugs.