Skip to Content
ModulesGame kits

Minecraft

The Minecraft module: Java, Bedrock and offline accounts, launcher sign-in over AzAuth, skins and capes, player values in profiles and tops, the site balance in game.

The module prepares the site for a Minecraft server. Players set a skin and a cape in their profile and sign in to the server launcher with their site login and password, while profiles and tops show the in-game values that the FluteMCLink plugin reports.

The Minecraft card in a player profile with the skin and values
DependenciesGamesPermissionsStudio blocksBot commandsCron tasks
Flute 2.0; suggests Stats and RewardsMinecraftadmin.minecraft, admin.minecraft.view"Minecraft first screen", "My skin"none"Minecraft: prune old values and renders", daily

Install and first setup

Install the module from the marketplace as described in first steps, and connect the server with the FluteMCLink plugin. Without the plugin the module works only with skins that players upload themselves.

The settings open from the module card: AdminExtensionsModulesMinecraftSettings. The page address is /admin/modules/Minecraft/settings. The module has no item of its own in the admin menu.

Minecraft module settings: launcher, skins and capes, in-game values

The module also ships the "Minecraft" starter for Studio: a big copyable server address, world tiles, a voting goal and top players.

Java, Bedrock and offline accounts

The site accepts three kinds of players and labels them differently in profiles: "Java (licence)", "Bedrock" and "Name only". This module registers the Bedrock type with an XUID; such players arrive through Floodgate.

A name from an offline server is marked "unverified": anyone can take it. The module ignores the skin such a server reports for its player. How each server checks its players is chosen on the server side, see offline servers.

Launcher sign-in

Launchers built on AzAuth sign in with the site login and password. Turn on "Launcher sign-in with the site account" in the "Launcher" group and give the launcher your site address: it calls https://<YOUR_DOMAIN>/api/auth/authenticate, /api/auth/verify and /api/auth/logout.

If the account has two-factor authentication, the launcher asks for the code. A banned player is refused with the ban reason. Every sign-in opens a session, and a sign-in over the limit closes the oldest one.

Players see their sessions in the profile under Settings → Minecraft → "Launcher sessions" and can click "End all". An administrator does the same on the "Minecraft" tab of the player card.

Skins and capes

A player uploads a skin in the profile on the "Minecraft" tab: PNG 64×64 or legacy 64×32, up to 64 KB, with the classic or slim arm model. A cape is PNG 64×32 or legacy 22×17, up to 64 KB. Without an uploaded skin, the module takes the Minecraft licence skin, the Bedrock skin through GeyserMC or the one a game server reported.

The skin face can replace the avatar on the site. Players can opt out with the "Skin as avatar" switch.

When a skin is reported, a moderator answers with "Reset skin" and a reason, and the player gets the "Skin reset" notification. A temporary "Minecraft skins" restriction stops the player from uploading new ones.

The site serves skins and capes at https://<YOUR_DOMAIN>/api/skin-api/skins/<name> and /api/skin-api/capes/<name>. On a server with SkinsRestorer, players set the site skin with /skin url https://<YOUR_DOMAIN>/api/skin-api/skins/<name>.png.

Player values

The plugin can evaluate PlaceholderAPI placeholders for every player and send them to the site. Add a row to "Tracked values": a placeholder in % signs such as %vault_eco_balance%, a label and where to show it.

ColumnMeaning
"Placeholder"what the server evaluates
"Label"its name on the site
"Type""Number" or "Text"
"Profile"show it in the player profile
"Public"everyone sees the value; unchecked, only the player and staff do
"Top"the value goes into tops
"Main"the single value in the mini profile
"To stats"send it to the Stats leaderboard as points, kills, deaths, assists, headshots or time
"Section"group on the card: combat, progress, economy, world, or "From the name"
"Server"which server to take it from, or "All"

If the server runs Plan (Player Analytics) 5.4.1616 or newer, Stats can take kills, deaths and play time from its database. Connect the Plan database on the server's "Plugins" tab, among the plugin databases. If several servers write to it, fill in "Server in Plan: name or UUID".

Site balance in game

/balance in game always shows the account's site balance. The "Site balance in game" switch also sends the balances of online players to the %flutelink_site_balance% placeholder, for a scoreboard or another plugin's menu.

Items as rewards

With the Rewards module, "Minecraft item" appears in a product's reward list. The server gives it to an online player and, if the inventory is full, either waits for room or drops the rest at the player's feet.

FieldMeaning
"Item"item ID, for example minecraft:diamond or diamond
"Amount"from 1 to 6400
"Item name"replaces the usual name; colours with codes like &a, up to 64 characters
"If the inventory is full""Wait for room" or "Drop at the feet"

Settings

FieldWhat it changesDefault
"Launcher sign-in with the site account"turns on /api/auth for AzAuth launchersoff
"Launcher sessions per account"from 1 to 205
"Notify about launcher sign-ins"the player is notified of every new sessionon
"Uploading own skins"when off, the skin comes only from the licence, Bedrock or a serveron
"Capes"cape uploads and serving them to launchers and serverson
"Skin as avatar"the skin face instead of the default avataron
"Minecraft" card in the profileskin figure and values on the profile overviewon
"Profile skin moves"the figure turns and walkson
"Tracked values"PlaceholderAPI placeholders, see aboveempty
"Show the world to everybody"the "In game: server · world" line in the mini profileon
"Show K/D"kill to death ratio in the profileon
"Site balance in game"the %flutelink_site_balance% placeholderoff
"Keep values, days"values a server has not updated for longer are deleted; 0 keeps them180

Permissions

admin.minecraft opens the module settings and players' launcher sessions. admin.minecraft.view shows private player values and the state of server integrations: on the server card the module shows whether PlaceholderAPI, Vault, SkinsRestorer, EssentialsX, LuckPerms and Floodgate work, and which sign-in mode is set.

For developers

The module adds the minecraft.item.give action, the minecraft_bedrock identity type and the "Minecraft: skin changed" webhook event. API tokens for the launcher get a separate ability, so an ordinary API token never works as a launcher session.

How a module sends actions to a server and receives its events: Game servers from a module.

Troubleshooting

For any other message, use the error lookup.

Auth API is not enabled

The launcher gets this answer while "Launcher sign-in with the site account" is off. Turn it on in the module settings.

Bedrock players arrive as Java (type minecraft): the server plugin does not tell Floodgate apart. Update FluteMCLink.

The plugin on the server is older than the module needs. Download a fresh build on the server's "Plugins" tab and replace the jar.

MessageWhat to do
"The file is larger than 64 KB."make the PNG smaller
"Wrong image size."a skin is 64×64 or 64×32, a cape 64×32 or 22×17
"This PNG is not supported: save it as 8-bit, non-interlaced."re-save the file in an image editor
"Uploading own skins is switched off on this site."turn on "Uploading own skins"
"Capes are switched off on this site."turn on "Capes"
"Minecraft does not answer right now, try again later."Mojang servers are down; "Refresh from Minecraft" will work later

On this page