Source-checkedTechnology & automation

PowerRank

by md_5 · for Minecraft

Rank users based on mcMMO power levels

5.9KDownloads
11 yr agoLast updated
Spigot · PaperLoaders
SpigotMCSource

About PowerRank

From SpigotMC

Rank users based on mcMMO power levels

Requirements: mcMMO, Vault

What it does: Assigns users to groups based on their mcMMO power level.

Config:

Code (YAML):

rank:
  '1' : noob
  '5' : potato
  '50' : experienced
  '500' : god
interval : 60
 
Installation:
Configure your ranks in the form of powerlevel: group. The interval is the time in seconds between trying to rank players.

Note:
This plugin will remove users from all other "rank" groups, except the highest one they are meant to be in.

Source (BSD Licensed):
<button type="button" class="button bbCodeSpoilerButton ToggleTrigger Tooltip JsOnly" title="Click to reveal or hide spoiler" data-target="> .SpoilerTarget">Spoiler</button>
Code (Java):
package net.md_5 ;

import com.gmail.nossr50.datatypes.player.McMMOPlayer ;
import com.gmail.nossr50.events.experience.McMMOPlayerLevelUpEvent ;
import com.gmail.nossr50.util.player.UserManager ;
import java.util.Map ;
import java.util.TreeMap ;
import net.milkbowl.vault.permission.Permission ;
import org.bukkit.configuration.ConfigurationSection ;
import org.bukkit.entity.Player ;
import org.bukkit.event.EventHandler ;
import org.bukkit.event.Listener ;
import org.bukkit.plugin.RegisteredServiceProvider ;
import org.bukkit.plugin.java.JavaPlugin ;

public class PowerRank extends JavaPlugin implements Listener, <a target="_blank" rel="nofollow" href="http://www.google.com/search?hl=en&amp;q=allinurl%3Adocs.oracle.com+javase+docs+api+runnable">Runnable
{

&nbsp; &nbsp; private final Map &lt; <a target="_blank" rel="nofollow" href="http://www.google.com/search?hl=en&amp;q=allinurl%3Adocs.oracle.com+javase+docs+api+integer">Integer, String &gt; ranks = new TreeMap &lt; <a target="_blank" rel="nofollow" href="http://www.google.com/search?hl=en&amp;q=allinurl%3Adocs.oracle.com+javase+docs+api+integer">Integer, String &gt; ( ) ;
&nbsp; &nbsp; private <a target="_blank" rel="nofollow" href="http://www.google.com/search?hl=en&amp;q=allinurl%3Adocs.oracle.com+javase+docs+api+permission">Permission permission ;

&nbsp; &nbsp; @Override
&nbsp; &nbsp; public void onEnable ( )
&nbsp; &nbsp; {
&nbsp; &nbsp; &nbsp; &nbsp; RegisteredServiceProvider &lt;Permission &gt; permissionProvider = getServer ( ). getServicesManager ( ). getRegistration ( <a target="_blank" rel="nofollow" href="http://www.google.com/search?hl=en&amp;q=allinurl%3Adocs.oracle.com+javase+docs+api+permission">Permission. class ) ;
&nbsp; &nbsp; &nbsp; &nbsp; if ( permissionProvider != null )
&nbsp; &nbsp; &nbsp; &nbsp; {
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; permission = permissionProvider. getProvider ( ) ;
&nbsp; &nbsp; &nbsp; &nbsp; }

&nbsp; &nbsp; &nbsp; &nbsp; if ( !getConfig ( ). contains ( "rank" ) )
&nbsp; &nbsp; &nbsp; &nbsp; {
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; getConfig ( ). addDefault ( "rank.1", "noob" ) ;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; getConfig ( ). addDefault ( "rank.5", "potato" ) ;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; getConfig ( ). addDefault ( "rank.50", "experienced" ) ;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; getConfig ( ). addDefault ( "rank.500", "god" ) ;
&nbsp; &nbsp; &nbsp; &nbsp; }

&nbsp; &nbsp; &nbsp; &nbsp; getConfig ( ). addDefault ( "interval", 60 ) ;

&nbsp; &nbsp; &nbsp; &nbsp; getConfig ( ). options ( ). copyDefaults ( true ) ;
&nbsp; &nbsp; &nbsp; &nbsp; saveConfig ( ) ;

&nbsp; &nbsp; &nbsp; &nbsp; ConfigurationSection rankSection = getConfig ( ). getConfigurationSection ( "rank" ) ;
&nbsp; &nbsp; &nbsp; &nbsp; for ( <a target="_blank" rel="nofollow" href="http://www.google.com/search?hl=en&amp;q=allinurl%3Adocs.oracle.com+javase+docs+api+string">String key : rankSection. getKeys ( false ) )
&nbsp; &nbsp; &nbsp; &nbsp; {
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a target="_blank" rel="nofollow" href="http://www.google.com/search?hl=en&amp;q=allinurl%3Adocs.oracle.com+javase+docs+api+string">String group = rankSection. getString ( key ) ;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ranks. put ( <a target="_blank" rel="nofollow" href="http://www.google.com/search?hl=en&amp;q=allinurl%3Adocs.oracle.com+javase+docs+api+integer">Integer. parseInt ( key ), group ) ;
&nbsp; &nbsp; &nbsp; &nbsp; }

Read the full description on SpigotMC →

Highlights

From source data

Loaders

Runs on Spigot and Paper.

Footprint

Rated a light load on a server.

Last update

Its author last shipped an update 11 yr ago.

PowerRank on Nxeon

From our catalogue
One-click install
Supported on Nxeon Minecraft servers, for Paper servers. We download it from SpigotMC, place it, and restart the server.
Server side
Required on the server
Server type needed
Spigot, Paper
Server load
light
Smallest plan we suggest
Minecraft — 2 GB (2 GB RAM). This follows our own load rating above, not a benchmark.
Latest build
1.0.5-b, released 2016-03-05

Game versions by loader

LoaderGame versionsNewest
Paper
Spigot

From 2 recorded builds of PowerRank.

Recent builds

BuildReleasedGame versionsLoaders
1.0.5-b2016-03-05n/aSpigot, Paper
1.0.52015-05-30n/aSpigot, Paper

Run PowerRank on a Minecraft server

Pick a server or deploy a new one above; it is installed in one click.

What kind of mod it is

From the catalog
Listed on SpigotMC as “Misc”

Technology & automation

Machines, power, logistics and automation.

Runs on your server

From source side support

SpigotMC lists PowerRank as required on the server. Check its SpigotMC page to see whether players need it too.

Compatibility

Game
Minecraft
Loaders
SpigotPaper
Runs on
Serverrequired on the server
Requires
One-click install needs a Paper server.

Verified at the source

  • ✓SpigotMCOfficial listing, checked 2026-10-02Open ↗
  • ✓Authormd_5, as published on SpigotMC
  • ✓LicenseNot published by the sourceFree

PowerRank, answered

Generated from the mod’s own source data.

Do my players need to install PowerRank?

SpigotMC lists PowerRank as required on the server. Check its SpigotMC page to see whether players need it too.

Which loaders does it support?

Spigot and Paper.

Is it free?

Yes. PowerRank is free to download from SpigotMC.

How do I add it to my Nxeon server?

Use “Add to a server” on this page, or open NxLabs from your dashboard. We install it, restart your server and switch it on.

NxLabs

Run PowerRank on a Minecraft server.

Deploy in about a minute from $4.99 a month, then add PowerRank in one click.