An golang Client/Server appliaction for TES3MP utilizing golang and IRC for server communication and features such as a Discord-Chat bridge, anti-VPN protection and more.
The previous depricated version of this is: TES3MP_DiscordRelay
- Discord-Chatbridge to/from TES3MP and Discord
- Anti-VPN protection, using publicly available apis
- Ability to do remote TES3MP commands from Discord.
-
TES3MP does not shutdown correctly most of the time with SIGINT, or closing the application, It's recommended to use another script for this, such as ShutdownServer.
-
Sometimes goTES3MP fails to connect to Discord, this usually fixes itself after a couple of minutes, if not try running the "reloaddiscord" command on goTES3MP.
- Golang version >= 1.20
- An IRC Server, I recommend my personal fork of ergo found here
- *cjson (Included in tes3mp-scripts.zip)
Methods Documentation found Here
One line autoinstall for goTES3MP Requirements (Ubuntu/Debian): Installer.sh
Note: This will not auto install TES3MP or setup the TES3MP's lua scripts.
curl -fsSL https://raw.githubusercontent.com/HotaruBlaze/goTES3MP/main/autoinstaller/ubuntu/autoInstall.sh | bash
- Download the latest build with accompanying tes3mp-scripts.zip
- Extract and copy the custom and lib folders to
server
folder. - Add the following to your server/customScripts.lua file, making sure DataManager is above the following
IrcBridge = require("custom/IrcBridge/IrcBridge")
goTES3MP = require("custom/goTES3MP/main")
- Download and place the correct
goTES3MP
binary for your platform - Run the binary to generate the default configuration file(
config.yaml
)
version: "3"
services:
irc-server:
image: mrflutters/oragono:tes3mp-fork
ports:
- 172.17.0.1:6667:6667 #Plaintext
restart: unless-stopped
volumes:
- irc_data:/ircd
- ./oragono/ircd.yaml:/ircd/ircd.yaml
- ./oragono/fullchain.pem:/ircd/fullchain.pem
- ./oragono/privkey.pem:/ircd/privkey.pem
networks:
- relay-net
container_name: irc-server
gotes3mp:
image: 'ghcr.io/hotarublaze/gotes3mp:v0.3.4'
volumes:
- './logs:/app/logs'
- './config.yaml:/app/config.yaml'
networks:
- relay-net
networks:
relay-net:
volumes:
irc_data:
sudo apt install golang-go git
git clone https://github.com/HotaruBlaze/goTES3MP
cd goTES3MP
./scripts/build.sh