Advertisement
Aled

Using TShock for Hosting Games

May 9th, 2013
333
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.13 KB | None | 0 0
  1. Using TShock for Hosting Games
  2.  
  3.  
  4.  
  5.  
  6. ----------
  7.  
  8.  
  9. Config File
  10.  
  11. -----
  12.  
  13. You should have a config file inside your TShock folder, it changes many different things in the game. Take lots of care to make sure that it is formatted correctly or you might have to reset the config file.
  14.  
  15. -----
  16.  
  17. Useful config parameters:
  18.  
  19. "IgnoreNoClip": false, - changes whether TShock will check if people are trying to use noclip, I highly recommend changing this to true, if you have it as false the no clip detection will often wrongly accuse people while placing blocks or going through active/inactive stone block gates
  20.  
  21. "DisableBuild": false, - changes whether people or not, this can be chanegd in game using /antibuild
  22.  
  23. "SpawnProtection": true, - changes whether people can build in the spawn or not, this can be changed in game using /protectspawn
  24.  
  25. "SpawnProtectionRadius": radius, - changes the size of area that will be protected with the spawn
  26.  
  27. "DefaultMaximumSpawns": number, - the number changes the default amount of mobs then can natural spawn at once
  28.  
  29. "TileKillThreshold": 60, - changes the amount of tiles that can be destructed at once by a player, I recommend highly increasing this number if you want people to be able to use dynamite
  30.  
  31. "DisableInvisPvP": false, - changes whether invis potions will work when players have PvP enabled or not
  32.  
  33.  
  34.  
  35. ----------
  36.  
  37. TShock Commands
  38.  
  39. -----
  40.  
  41. When something is in "quotes" then make sure you type it with the "quotes", it's so that names with spaces can be recognized properly.
  42.  
  43. -----
  44.  
  45. Common commands while hosting:
  46.  
  47. /kick "player name" - kicks the player from the server
  48.  
  49. /ban add "player name" - bans the player from the server, using their ip
  50.  
  51. /ban del "player name" - unbans the player if they are banned
  52.  
  53. /mute "player name" - prevents the player from saying anything in the chat until they leave the server or you use the command again on them
  54.  
  55. /kill "player name" - kills the player
  56.  
  57. /heal "player name" - fully heals the player
  58.  
  59. /tp "player name" - teleports you to the player
  60.  
  61. /tphere "player name" - teleports the player to you
  62.  
  63. /tphere all - teleports everyone to you
  64.  
  65. /warp add "warp name" - adds a warp to the place you are standing
  66.  
  67. /warp "warp name" - teleports you to that warp place
  68.  
  69. /time noon - sets the time to the middle of the day, most used time setting
  70.  
  71. /time day/night/dusk/midnight - changes the time to start of day/start of night/start of night/middle of night
  72.  
  73. /ui "player name" - gives information about the player, including their ip
  74.  
  75. /i "item name" gives you a full stack of that item
  76.  
  77. /i "item name" amount prefix - gives you the item with that amount with that prefix
  78.  
  79. /g "item name" "player name" - gives the player a full stack of that item
  80.  
  81. /g "item name" "player name" amount prefix - gives the player the item with that amount with that prefix
  82.  
  83. /clear all - removes all items on the server, e.g. the items when someone hardcore dies
  84.  
  85. /sm "mob name" - spawns one of that mob/npc
  86.  
  87. /sm "mob name" amount - spawns the amount specified of that mob/npc
  88.  
  89. /butcher - kills all mobs on the server
  90.  
  91. /maxspawns 0 - turns off natural mob spawns
  92.  
  93. /maxspawns default - changes the mob spawns to normal
  94.  
  95. /antibuild - changes whether people can build in the server or not
  96.  
  97. /protectspawn - changes whether people can build in the spawn or not
  98.  
  99. /additem "item name" - stops people from being able to use that item
  100.  
  101. /delitem "item name" - allows people to use that item
  102.  
  103. /exit - shuts down the server
  104.  
  105.  
  106. ----------
  107.  
  108.  
  109. Setting up regions
  110.  
  111. -----
  112.  
  113. Regions are boxes which certain people can't edit, very useful in some building games.
  114.  
  115. -----
  116.  
  117. Basic Regions:
  118.  
  119. You'll need to make a box, to do so choose 2 opposite corners of the box.
  120.  
  121. To specify a corner type </region set 1> and then try to place a block of mine a block on the corner.
  122.  
  123. Do the same for the other corner, but this time type </region set 2>.
  124.  
  125. After that type </region define "region name"> and then the region will be created, and only admins will be able to edit blocks there
  126.  
  127. -----
  128.  
  129. Region z:
  130.  
  131. Region z allows you to create basically anti regions inside regions. What this means is that you can create a region inside another one and the new region over rides the old one. With this you can do stuff like protect an arena except for a box of blocks which are intended to be mined.
  132.  
  133. Create a larger region which encompasses everything you don't want to be mined/buildable. For example this will be called region1.
  134.  
  135. Then create another region which encompasses everything you want to be able to mined/buildable. For example this will be called region2.
  136.  
  137. Then type "/region z region2 1" and unprotect region2 by doing "/region protect region2 false"
  138.  
  139. Then people can't mine in region1 unless region2 is there too.
  140.  
  141. The priority of the region checked is determined by it's number set using region z. The default is 0, the highest number region will be checked. Change the priority by doing "/region z "region name" prioritynumber"
  142.  
  143. -----
  144.  
  145. Some more useful region commands:
  146.  
  147. /region protect "region name" true/false - makes it so people can build or not in the region
  148.  
  149. /region name - it will tell you the name of the region of the next block you try to place or break
  150.  
  151. /region delete "region name" - deletes the region
  152.  
  153.  
  154.  
  155. ----------
  156.  
  157.  
  158. Plugins
  159.  
  160. -----
  161.  
  162. There are various useful plugins, some are useful generally while other are more related to gamemodes.
  163.  
  164. -----
  165.  
  166. Warp Plates
  167.  
  168. Link: http://tshock.co/xf/index.php?threads/1-12-modified-advanced-warpplates-unofficial.1562/
  169.  
  170. This is very useful for moving players around and is used in various gamemodes.
  171.  
  172. If a player stands on a warp plate they will teleport to another warp plate.
  173.  
  174. List of useful commands:
  175.  
  176. /swp "warp plate name" - creates a warp plate where you are standing
  177.  
  178. /swpd "warp plate 1" "warp plate 2" connects the 2 warp paltes so standing on warp plate 1 warp you to warp plate 2
  179.  
  180. /swpdl "warp plate name" time - changes the time in seconds it takes for the warp plate to work, default is 3 seconds
  181.  
  182. /swpw "warp plate name" width - changes the width of the warp plate, default is 3 blocks
  183.  
  184.  
  185. -Unfinished, will finish this soon
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement