Initial commit

This commit is contained in:
Luck committed 2016-05-22 01:57:10 +01:00
commit dc1e06ebce
70 files changed
+4044

No files matched your search

@@ -0,0 +1,31 @@
package me.lucko.luckperms.groups;
import lombok.Getter;
import me.lucko.luckperms.LuckPermsPlugin;
import me.lucko.luckperms.utils.PermissionObject;
public class Group extends PermissionObject {
/**
* The name of the group
*/
@Getter
private final String name;
public Group(String name, LuckPermsPlugin plugin) {
super(plugin, name);
this.name = name;
}
/**
* Clear all of the groups permission nodes
*/
public void clearNodes() {
getNodes().clear();
}
@Override
public String toString() {
return getName();
}
}