SamsRank · Developers
Developer API
Use SamsRank tags in your own plugin!
1 min read · Updated
The API is public on GitHub: Sam1qkk/SamsRank-API.
repositories { maven { url = 'https://jitpack.io' } }
dependencies { compileOnly 'com.github.Sam1qkk:SamsRank-API:3.6.0' }SamsRankAPI ranks = SamsRankProvider.get(); // null without SamsRank
String tag = ranks.tag("owner", "aurora"); // the same text as %samsrank_aurora_owner%
player.sendMessage(tag + " " + player.getName());Also rankIds(), hasRank(id), effects(), glyph(rank) and platform(). Tags only show as images for players
with the resource pack, see Resource Pack Hosting. See the
repository's README for every method.
