mirror of
https://github.com/plexusorg/Plex.git
synced 2024-11-15 08:13:32 +00:00
23 lines
525 B
Java
23 lines
525 B
Java
package dev.plex.rank;
|
|
|
|
import com.google.common.collect.Lists;
|
|
import dev.plex.rank.enums.Rank;
|
|
import java.util.List;
|
|
import lombok.Getter;
|
|
|
|
@Getter
|
|
public class DefaultRankObj
|
|
{
|
|
private final String prefix;
|
|
private final String loginMSG;
|
|
private final List<String> permissions;
|
|
|
|
public DefaultRankObj(Rank rank)
|
|
{
|
|
this.prefix = rank.getPrefix();
|
|
this.loginMSG = rank.getLoginMSG();
|
|
this.permissions = Lists.newArrayList();
|
|
permissions.add("example.permission");
|
|
}
|
|
}
|