Rename /f perm show2 to /f perm view

This commit is contained in:
Magnus Ulf 2018-12-30 10:25:21 +01:00
parent 6690a63ed0
commit 1dd2356c0f
4 changed files with 7 additions and 8 deletions

View File

@ -1,5 +1,4 @@
main: ${project.groupId}.${project.name}
main: ${project.groupId}.${project.name}
name: ${project.name}
version: ${project.version}
website: ${project.url}
@ -64,7 +63,7 @@ permissions:
factions.perm.list: {description: list perms, default: false}
factions.perm.set: {description: set perms, default: false}
factions.perm.show: {description: show who has perm, default: false}
factions.perm.show2: {description: show perms given to, default: false}
factions.perm.view: {description: view perms given to, default: false}
factions.player: {description: show player information}
factions.powerboost: {description: manage powerboost, default: false}
factions.powerboost.faction: {description: show faction powerboost, default: false}
@ -163,7 +162,7 @@ permissions:
factions.perm.list: true
factions.perm.set: true
factions.perm.show: true
factions.perm.show2: true
factions.perm.view: true
factions.player: true
factions.powerboost: true
factions.powerboost.faction: true
@ -285,7 +284,7 @@ permissions:
factions.perm.list: true
factions.perm.set: true
factions.perm.show: true
factions.perm.show2: true
factions.perm.view: true
factions.player: true
factions.promote: true
factions.powerboost: true

View File

@ -58,7 +58,7 @@ public enum Perm implements Identified
PERM_LIST,
PERM_SET,
PERM_SHOW,
PERM_SHOW2,
PERM_VIEW,
PLAYER,
POWERBOOST,
POWERBOOST_PLAYER,

View File

@ -8,7 +8,7 @@ public class CmdFactionsPerm extends FactionsCommand
CmdFactionsPermList cmdFactionsPermList = new CmdFactionsPermList();
CmdFactionsPermShow cmdFactionsPermShow = new CmdFactionsPermShow();
CmdFactionsPermShow2 cmdFactionsPermShow2 = new CmdFactionsPermShow2();
CmdFactionsPermView cmdFactionsPermView = new CmdFactionsPermView();
CmdFactionsPermSet cmdFactionsPermSet = new CmdFactionsPermSet();
}

View File

@ -15,13 +15,13 @@ import org.bukkit.ChatColor;
import java.util.stream.Collectors;
public class CmdFactionsPermShow2 extends FactionsCommand
public class CmdFactionsPermView extends FactionsCommand
{
// -------------------------------------------- //
// CONSTRUCT
// -------------------------------------------- //
public CmdFactionsPermShow2()
public CmdFactionsPermView()
{
// Parameters
this.addParameter(TypeMPermable.get(), "rank/rel/player/faction");