Plugin installation & commands
Paper, Fabric and Forge builds, config options and commands.
Pick the right build
| Server type | Folder | Notes |
|---|---|---|
| Paper or Spigot | plugins/ | Plugin build. |
| Fabric | mods/ | Also install Fabric API. |
| Forge | mods/ | Server-side only; players don’t need it. |
Builds are on the Download page and on each server’s Plugin tab. Match the Minecraft version your server runs.
Connect it
The quickest way: open your server in the dashboard, go to the Plugin tab and download the build there. It has your Server ID and key built in, so install it, restart the server and it connects by itself.
Using a build from the Download page, or replacing an older LinkNSync JAR that already wrote a config file? Connect it with the register command instead:
- Restart the server after installing so LinkNSync creates its config file.
- Open your server in the dashboard and go to the Plugin tab.
- Copy the register command and run it in the server console:
/linknsync register <server id> <server key>Either way, the plugin registers with LinkNSync and starts sending heartbeats. The dashboard shows the server as Online once the first one arrives.
Commands
| Command | What it does |
|---|---|
/linknsync register <id> <key> | Saves the credentials and connects the server. |
/linknsync status | Shows the LinkNSync address, Server ID, whether a key is set, whether the server is registered, and whether access is enforced. |
/linknsync check [player] | Asks LinkNSync whether a player (or you) would be allowed in. |
/linknsync reload | Reloads the config file after you edit it. If the file has an error, it says so and keeps the settings it already had. |
On Paper, commands need the linknsync.admin permission (operators have it). On Fabric and Forge they need operator permission level 2.
Config file
Paper keeps it at plugins/LinkNSync/config.yml; Fabric and Forge use config/linknsync.json. A Plugin tab download fills in the address, ID and key when the file is first created; otherwise the register command fills in the ID and key. Values already in the file always win.
| Setting | Default | Meaning |
|---|---|---|
api-base-url | — | The LinkNSync address, without a trailing slash: https://v2.linknsync.live |
public-id | — | Your Server ID. |
server-api-key | — | Your private server key. |
heartbeat-interval-seconds | 60 | How often the server checks in and reports who’s online. |
enforce-access | true | Turn players away when they don’t have access. Set to false to only log checks while testing. |
allow-on-api-error | false | If LinkNSync can’t be reached, let players in anyway instead of refusing them. |
deny-message | — | Fallback kick message, used only if LinkNSync doesn’t send one. |
linknsync.bypass permission skip the join check. It’s off for everyone by default.Bans and rechecks
Bans you make with the normal Minecraft ban commands sync to your dashboard. When you pardon someone or accept their appeal in the dashboard, the plugin applies the pardon in-game within seconds, or on its next heartbeat if its live connection is down. When you change groups, roles or blocks, the plugin rechecks the players who are online just as quickly.