Link a Minecraft account: the code /noti link printed in a connected Minecraft server. The link counts only
in that server's Discord server. 400 for a wrong or expired code (it is spent either way), 409 when that
Minecraft account is already linked to someone else there. Linking again in the same server replaces the old one.
Optionalstate?: stringIn-game P13, step 1: Discord's Authorize screen sent the player to noti.bot with code and state in the URL. Pass
both as they arrived. NO auth: authorizing with Discord is the sign-in, for this link only. Answers what the
confirm screen shows - whose Minecraft account, which Discord server, and who is authorizing. Nothing is linked
yet. 400 with a ready-to-show message (expired link, Discord refused); 403 when the feature is not available.
Take the upgrade back off whichever server holds it. Starts the cooldown, same as placing it.
Optionalrefresh?: booleanEvery server this user has linked a Minecraft account in, newest first.
The one server upgrade that comes with User Premium: where it currently sits, and whether it can
be moved yet. Everything the dashboard needs is inside data - a field beside it would exist at
runtime and be invisible to these types.
Place the upgrade on a server. Refuses with 409 when it is already placed, or still on cooldown.
Unlink in one server. 404 when nothing is linked there.
In-game P13, step 2: "Link to @you" on the confirm screen. Links, and adds the player to the Discord server(s) whose owner or Noti staff turned that on. Single-use: 400 "This confirm page has expired" after 5 minutes or a second click. 403 / 409 with the same ready-to-show messages as connectMinecraft (locked, cooldown, taken).