use of io.github.nucleuspowered.nucleus.internal.permissions.PermissionInformation in project Nucleus by NucleusPowered.
the class GodCommand method permissionSuffixesToRegister.
@Override
public Map<String, PermissionInformation> permissionSuffixesToRegister() {
Map<String, PermissionInformation> m = new HashMap<>();
m.put(OTHER_SUFFIX, new PermissionInformation(plugin.getMessageProvider().getMessageWithFormat("permission.others", this.getAliases()[0]), SuggestedLevel.ADMIN));
m.put("pvp.override", PermissionInformation.getWithTranslation("permission.god.pvp.override", SuggestedLevel.ADMIN));
return m;
}
use of io.github.nucleuspowered.nucleus.internal.permissions.PermissionInformation in project Nucleus by NucleusPowered.
the class SkullCommand method permissionSuffixesToRegister.
@Override
public Map<String, PermissionInformation> permissionSuffixesToRegister() {
Map<String, PermissionInformation> m = new HashMap<>();
m.put("others", new PermissionInformation(plugin.getMessageProvider().getMessageWithFormat("permission.others", this.getAliases()[0]), SuggestedLevel.ADMIN));
return m;
}
use of io.github.nucleuspowered.nucleus.internal.permissions.PermissionInformation in project Nucleus by NucleusPowered.
the class IgniteCommand method permissionSuffixesToRegister.
@Override
public Map<String, PermissionInformation> permissionSuffixesToRegister() {
Map<String, PermissionInformation> m = new HashMap<>();
m.put("others", new PermissionInformation(plugin.getMessageProvider().getMessageWithFormat("permission.others", this.getAliases()[0]), SuggestedLevel.ADMIN));
return m;
}
Aggregations