This is a complete guide on creating a tShock Terraria Server for all your multiplayer (and cheating) needs.
Why do I want this?
There are a few reasons you'd want to do this. Listed are some of the reasons.
- You can use plugins like WorldEdit to get a building done REALLY fast
- You can cheat in items using the /i command for when you need something
- If you make this a dedicated server, you can play with your friends
Go to the tShock Website and navigate to the Download section. Grab the latest release on the GitHub repo. Extract the archive to somewhere you can find it (eg. your desktop).
Run the TerrariaServer.exe file. Pick a word to load on the server. You can make a new world by typing "N". Otherwise, type the number next to the world to load and hit Enter. Pick a port to run your server on (7777 is default). Wait for the world to load on the server.
Load up your Terraria installation on Steam or your shortcut. On first load, the server will have a message saying "To become superadmin, join the game and type /auth [authcode]." It will give you a one-time superadmin login code. Connect to your server by going to Multiplayer and connecting to server IP "localhost" OR "127.0.0.1" and the port you specified during startup.
Type /auth [authcode] in your Terraria window. You will be logged in as a superadmin.
Type /user add [username] [password] superadmin. This will add a new user with superadmin functions. Call it the name of your character.
Type /login [username] [password]. You will now be logged in as yourself.
Type /auth-verify. This removes the /auth [authcode] functionality. You are now finished setting up a Terraria LAN Server and can now play around with it!
Thanks for reading. I hope this helps!