On the Minecraft side of things, this it's PaperMC Plugin.
On the Terraria side of things, this it's TShock plugin.
Works using a gRPC bi-directional stream.
demo.mp4
For security reasons, the Minecraft server and the Terraria server must share a token of 32 bytes.
This token will be used to encrypt and decrypt the messages sent between the games.
This token can be generated with the gen_token.ps1 or gen_token.sh scripts.
./gen_token.ps1
# OR
./gen_token.shMalicious users that don't have the token will not be able to send messages.
- Run the server once to generate the
pluginsfolder. - Drop the
TerraCraft.jarinto thepluginsfolder. - Start once again the server to generate the
plugins/TerraCraftfolder. - Copy the token to the
plugins/TerraCraft/config.ymlfile.
- Drop all the .dll files into the
ServerPluginsfolder. - Start the server to generate the
<tshock_install_dir>/tshock/terracraft_config.jsonfile. - Copy the token to the
terracraft_config.jsonfile.
cd minecraft/TerraCraft
./gradlew proguardcd terraria/TerraCraft
./build.ps1
# OR
./build.sh