Provisions TCAdmin 3 game servers through the TCAdmin 3 REST API. For TCAdmin 2, use the TCAdmin plugin.
- In TCAdmin, sign in as an Admin or SubAdmin and go to Account > API Keys > Create. Copy the key; it is only shown once.
- In Clientexec, add a server using the TCAdmin 3 plugin:
- Hostname: the panel hostname, such as
panel.example.com. - API Key: the key from step 1.
- Port: the panel's HTTPS port. Defaults to 31001.
- Verify SSL Certificate: turn off only for a self-signed certificate.
- Hostname: the panel hostname, such as
- On each package, pick the Game, Location Type and Location ID, and optionally the Slots. A location is required unless the Location custom field provides one.
Optional package custom fields (set their names in the server settings) let clients choose the location, server name, RCON password and private password at order time. A package addon named CUSTOM_<setting> (for example CUSTOM_slots or CUSTOM_memory_limit) overrides that package setting.
Memory Limit, Disk Space and CPU Limit are optional. Blank uses the TCAdmin default. Changing a client's package sends the new package's limits to TCAdmin; a blank limit leaves the service's current limit unchanged. Limits can't exceed the maximums set on the TCAdmin server.
- The game service's TCAdmin
billingIdis the Clientexec package ID. - The TCAdmin user's
billingIdis the Clientexec client ID, so all of a client's packages share one TCAdmin user. The TCAdmin username is saved to the package's User Name field. - Terminating a package also deletes the TCAdmin user once it owns no other services.
Giving the key full access is simplest. Otherwise it needs:
| Action | Permissions |
|---|---|
| Create | User.Get, User.Create, User.SetRoleType, GameService.Create, Game.Get |
| Suspend / Unsuspend | Billing.Suspend, Billing.Unsuspend |
| Terminate | Billing.Terminate, User.Delete, GameService.Get, DockerService.Get, Server.Get, VirtualServer.Get |
| Change password | User.ChangePassword |
| Change package | GameService.ServiceSettings |
| Login to TCAdmin link | Sso.Create, ServiceCategory.Get |