* Init docsify * Readme: fix build badge, remove contributors The "all contributors" section is woefully out of date and for many reasons, it's not something we're going to support. Going forward, we're going to try to find a different / better / more inclusive way of doing contributions in such a way that's meaningful to people. * Fix build badge again * Update experimental build download instructions * Remove note about Travis CI being available * Update install guide to use TShock.Server.exe. * ∆: minor changes to setup instructions? * Remove setup guide because it's out of date * Update non-dev readme with instructions on using tshock * Remove experimental downloads section from dev readme * Add a link to github to non-dev docs * Change example password * Update non-dev readme with more data * Move changelog to docs folder * Rehead installing tshock * Embed streamable video * Create CNAME * Update CNAME * Update index to be a little more cool * Rename homepage * Rename changelog to changelog * Document constileation and heaptile providers * More command line docs * Update developer readme * Augment the readme * Add nuget links * Add a space * What is the cost of lies? * Modernize cli docs * Document tile providers * Clarify provider slowness * Further doument tile providers * ∆: modify markdown output for permissions to add wikilinks * Remove AN
1.6 KiB
TShock ships with two tile providers, which replace the Terraria tile datastore with different systems. Additionally, one major plugin developer provides an additional set of tile providers. For developers, these providers implement the ITile interface and register themselves as Tile Providers. ITile is provided by OTAPI.
Terraria, by default, stores tiles in a relatively unoptimized way. Hypothetically, this is the fastest way to access tiles, but it does so at the cost of memory. If you're running a Terraria server with limited memory, you may want to get back memory and trade off processing power instead. That's what these providers do.
Constileation
Constileation is the newest tile provider shipped by TShock. It's faster than HeapTile, and saves memory. It uses 14 bytes per tile. Start your TShock server with the -c or -constileation command line argument to use this provider.
HeapTile
HeapTile is one of the earliest tile providers shipped by TShock. Again, it offers memory advantages, but is really slow compared to Constileation and Tiled. Start your TShock server with the -heaptile command line argument to use this provider.
Tiled
The tiled plugin for TShock by thanatos offers additional tile providers, including their 1d, 2d, and struct providers. We urge you to check out and compare all tile providers to find the one that best suits your needs. Tiled attempts to bring the best of both worlds, offering tile providers that minimize memory usage while offering modest performance.