Installation

TPM+ Users

TPM+ is hosted by Coflnet - no installation required. See TPM+ Overview.

Standard TPM (VPS)

1. Setup VPS

Get a VPS with 1GB RAM, 1 CPU core. See VPS Setup Guide.

2. Install Node.js

curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash -
sudo apt-get install -y nodejs

3. Get TPM Files

Contact TPM team for access, then:

mkdir tpm && cd tpm
# Download/clone TPM files (link from TPM team)
npm install

4. Configure

Edit config.json5:

module.exports = {
    igns: ["YourMinecraftUsername"],
    webhook: "your-discord-webhook-url",
    session: "your-coflnet-password",
    // See Config Structure docs for more options
}

Get configs from Config Hub Discord.

5. Start TPM

node index.js

Keep Running (Optional)

Tmux:

sudo apt-get install tmux
tmux  # Start session
node index.js
# Ctrl+B, then D to detach
# tmux a to reattach

PM2:

npm install -g pm2
pm2 start index.js --name tpm
pm2 logs tpm

Troubleshooting

Node.js version: Requires v16+

node --version

Permissions:

sudo chown -R $USER:$USER /path/to/tpm

Authentication cache issues:

sudo rm -rf /root/.minecraft/

Next: Quickstart Guide | Config Structure | Troubleshooting

Last updated

Was this helpful?