EndyDev Read the docs
Esc

Commands and permissions

/erankgenerator, also /erank and /eranks. <required> and [optional]. Every command works in game and in the console.

Commands

CommandWhat it does
/erank editorGives you a link to the web editor, linked to this server and valid for 1 hour
/erank apply <code>Downloads the version you deployed, builds the packs, installs them and sends them to players
/erank download <code>Only builds the packs into plugins/eRankGenerator/output/. Nothing goes live
/erank list [id]Your ranks, with buttons to copy each badge, its code and its placeholder. [id] filters them
/erank resend [player|all]Sends the Java pack again: to you, to one player, or to everyone online
/erank reloadReads config.yml again

The code is the one the editor shows after Deploy (8 letters and digits, not case-sensitive), and works for 10 minutes.

/erank apply

In this order, it:

  1. downloads that version of your ranks;
  2. checks no rank moved to another character (prefixes you pasted would break), and refuses the version if one did;
  3. builds output/java.zip, output/bedrock.mcpack and the files for each pack plugin;
  4. copies those files into ItemsAdder, Nexo, Oraxen or CraftEngine, if one is installed, and runs its reload command;
  5. without a pack plugin, uploads the Java pack and sends it to the Java players online;
  6. gives the Bedrock pack to Geyser, for Bedrock players’ next join.

The chat says what it did at each step, for example Applied version 4 (6 ranks).. One apply runs at a time.

Use /erank download to look at the packs first, or to install them by hand. It doesn’t change what players get.

/erank list

Shows every rank with three buttons:

ButtonCopiesFor
The badgeThe character itselfLuckPerms prefixes, chat, commands
\uE900Its codeConfig files, inside double quotes
%erank_<id>%The placeholder (with PlaceholderAPI)TAB, scoreboards, holograms, any plugin that reads placeholders

On Paper 1.21.7 or newer, with a 1.21.6 or newer client, the list opens as a window with a search box; older versions get a book. From the console or a Bedrock client (which has no clipboard for this) it prints one line per rank.

/erank resend

Only for the standalone pack, the one eRankGenerator sends itself. With a pack plugin, resend that plugin’s pack instead (the ranks are inside it). Bedrock players never get the Java pack.

Permissions

PermissionDefaultLets the player
erankgenerator.adminopEvery /erank command

Players need no permission to see the badges: everyone with the resource pack sees them.

Messages you may see

MessageMeans
eRankGenerator is not licensed on this server yet. Check the console.The license check hasn’t passed. The console says why
No ranks yet. Run /erank editor, design a rank and click Deploy.Nothing was applied on this server yet
Rank 'owner' would change its character, which breaks prefixes that use it.The version moves a rank to a new character. Deploy again from the editor linked to this server
Another apply is still running.Wait for the first one to finish