Skip to content

Real-MTR/Aroze

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Aroze

A simple NameTags API for bukkit created by MTR.

Requirements

  • PacketEvents 2.8.0 (or higher)
  • A minecraft server (obviously)
  • A brain (some people don't have that. MAKE SURE YOU DO)

How do I use that?

In your main class, you need to register the Aroze class.

@Override
public void onEnable() {
    new Aroze(this, new Adapter());
}

The adapter class is a class that allows you to set the prefix, suffix and priority of the player.

public class ArozeExample implements ArozeAdapter {

    @Override
    public String getPrefix(Player player) {
        return "test "; // Make sure there is a space here, because it doesn't seperate from the name.
    }

    @Override
    public String getSuffix(Player player) {
        return " a"; // Same here...
    }

    @Override
    public int getSorting(Player player) {
        if (player.getName().equalsIgnoreCase("EmpireMTR")) {
            return 1;
        }

        return 0; // The higher the sorting is, the higher you will be in tablist.
    }
}

Terms of Use

I don't care if you guys wanna be cringe and skid this.

If you guys like it, you can use it.

About

A simple NameTags API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages