ramidzkh / Essentials

An essential server-side Terraria mod

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Essentials

An essential server-side Terraria mod

Finding libraries

The GAC (Global Assembly Cache) is found in %windir%/Microsoft.NET/assembly, from where the four Xna DLLs can be found. The other Terraria dependencies are embedded inside the Terraria client or server, and can be extracted with a program like ILSpy. Copy the dependencies required by Libraries/README.md

Client setup

If you wish to run this mod locally on the client

  1. Replace TerrariaServer.exe with Terraria.exe in Essentials/mixins.json
  2. Replace TerrariaServer with Terraria in Essentials/Essentials.csproj (two lines)
  3. You must then copy the Terraria.exe into the Libraries folder.

Then follow the instructions below

Setup

  1. Install SharpILMixins.Processor (dotnet tool install --global SharpILMixins.Processor)
  2. Run dotnet build
  3. Open a command prompt in Essentials/bin/Debug/net472
  4. Run sharpilmixins -t . -m Essentials.dll
  5. The generated TerrariaServer-out.exe (or Terraria-out.exe) should be suitable to replace the original Terraria client or server. Also, copy NBrigadier.dll into the same folder as the executable

About

An essential server-side Terraria mod

License:GNU Lesser General Public License v3.0


Languages

Language:C# 100.0%