Before you start
- You have Manage Server or are a bot owner.
- You can access GTPS Cloud and upload protected .plua scripts.
- The bot can send and edit messages in the status channel.
Step by step
- 01
Generate a Secret Key
Run /genkey and copy the key from the bot DM before the message is deleted after five minutes. Never post the key in a public channel.
/genkey - 02
Get Lua files and instructions
Run /luascript. The bot privately sends Bot-CMDs-setupsk.plua and Discord_External_API.plua with the latest instructions.
/luascript - 03
Configure GTPS Cloud
Upload the setup helper to GTPS Cloud. In Dashboard → Discord Bot, set the Discord Owner ID and PUBLIC_SERVER_COMMANDS_CHANNEL_ID. As the owner, run -setupsk in that configured channel and enter the same Secret Key. Upload the status API script too.
- 04
Connect from Discord
Run /setupserver and fill in your GTPS Server ID, API port, the same Secret Key, and a status channel. Choose Show Player Names True or False before saving.
/setupserver - 05
Check the result
The status panel refreshes automatically. Use /status gtps for detail and /setupserver config to review setup without exposing the Secret Key. If enabled, up to ten player names appear under Players Online.
/status gtps