Plex/src/main/java/dev/plex/rank/DefaultRankObj.java

23 lines
525 B
Java
Raw Normal View History

2021-01-03 07:21:15 +00:00
package dev.plex.rank;
import com.google.common.collect.Lists;
2021-01-03 07:21:15 +00:00
import dev.plex.rank.enums.Rank;
2020-10-28 03:49:56 +00:00
import java.util.List;
import lombok.Getter;
@Getter
public class DefaultRankObj
{
private final String prefix;
private final String loginMSG;
2020-10-28 03:49:56 +00:00
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");
}
}