mirror of https://github.com/plexusorg/Plex.git
27 lines
460 B
Java
27 lines
460 B
Java
package dev.plex.api.rank;
|
|
|
|
import net.kyori.adventure.text.Component;
|
|
import net.kyori.adventure.text.format.NamedTextColor;
|
|
import org.json.JSONObject;
|
|
|
|
public interface IRank<T>
|
|
{
|
|
int getLevel();
|
|
|
|
String getLoginMessage();
|
|
|
|
void setLoginMessage(String message);
|
|
|
|
String getReadable();
|
|
|
|
Component getPrefix();
|
|
|
|
void setPrefix(String prefix);
|
|
|
|
NamedTextColor getColor();
|
|
|
|
boolean isAtLeast(T rank);
|
|
|
|
JSONObject toJSON();
|
|
}
|