Installing the Minecraft plugin
The TehkStore plugin checks your store for purchases and runs their commands on your server. One plugin file works on Paper or Spigot (1.20 and newer), Velocity and BungeeCord.
Install it
- Open Servers in the dashboard and press Download on the TehkStore plugin card.
- Put `TehkStore.jar` in your server's `plugins` folder and restart the server. This creates `plugins/TehkStore/config.yml`.
Pair it with your store
- On the Servers page, press Add a server and give it a name.
- Copy the key it shows. It is only shown once. If you lose it, use Regenerate key.
- Paste it into `config.yml` as `api-key`, then run `/tehkstore reload` (or restart).
The server's card on the Servers page then shows when the plugin was last seen.
Running a network? Add each server separately, each with its own key. A command only runs on the servers you tick for it.
Settings in config.yml
- `api-key`: your server's key.
- `poll-interval-seconds`: how often it checks for purchases (default 45, minimum 10).
- `deliver-on-join`: also check when a player joins (default true).
- `store-url`: where `/buy` sends players.
- `messages`: the plugin's chat messages.
In-game commands
- `/buy` (also `/store` and `/donate`): links players to your store. Everyone can use it.
- `/tehkstore status`: shows whether the plugin is connected.
- `/tehkstore forcecheck`: checks for purchases right now.
- `/tehkstore reload`: reloads the config.
The `/tehkstore` commands need the `tehkstore.admin` permission (ops have it by default).