Package org.kingdoms.managers.structures
Class RankEditor
java.lang.Object
org.kingdoms.managers.structures.RankEditor
-
Constructor Summary
ConstructorsConstructorDescriptionRankEditor(org.bukkit.entity.Player player, Rank rank, Group group, Consumer<org.kingdoms.gui.InteractiveGUI> ranksGUIEditor, KingdomsGUI ranksGUIPath) -
Method Summary
Modifier and TypeMethodDescriptionstatic RankcreateNewRank(RankMap ranks, boolean nation) static MessageBuildergetRankEdits(Rank rank) org.kingdoms.gui.InteractiveGUIopenPermissions(Consumer<org.kingdoms.gui.InteractiveGUI> editor, int page) org.kingdoms.gui.InteractiveGUIopenRankEditor(Consumer<org.kingdoms.gui.InteractiveGUI> editor) org.kingdoms.gui.InteractiveGUIopenRankEditor(KingdomsGUI guiPath, Consumer<org.kingdoms.gui.InteractiveGUI> editor) protected static org.kingdoms.gui.InteractiveGUIopenRanks(KingdomsGUI guiPath, org.bukkit.entity.Player player, KingdomPlayer kp, Group group, Consumer<org.kingdoms.gui.InteractiveGUI> editor) static com.cryptomorin.xseries.XMaterialorg.kingdoms.gui.InteractiveGUIrankSelector(Consumer<org.kingdoms.gui.InteractiveGUI> editor)
-
Constructor Details
-
RankEditor
public RankEditor(org.bukkit.entity.Player player, Rank rank, Group group, Consumer<org.kingdoms.gui.InteractiveGUI> ranksGUIEditor, KingdomsGUI ranksGUIPath)
-
-
Method Details
-
getRankEdits
-
randomMaterial
public static com.cryptomorin.xseries.XMaterial randomMaterial() -
createNewRank
-
openRanks
protected static org.kingdoms.gui.InteractiveGUI openRanks(KingdomsGUI guiPath, org.bukkit.entity.Player player, KingdomPlayer kp, Group group, Consumer<org.kingdoms.gui.InteractiveGUI> editor) -
openRankEditor
public org.kingdoms.gui.InteractiveGUI openRankEditor(Consumer<org.kingdoms.gui.InteractiveGUI> editor) -
openRankEditor
public org.kingdoms.gui.InteractiveGUI openRankEditor(KingdomsGUI guiPath, Consumer<org.kingdoms.gui.InteractiveGUI> editor) -
openPermissions
public org.kingdoms.gui.InteractiveGUI openPermissions(Consumer<org.kingdoms.gui.InteractiveGUI> editor, int page) -
rankSelector
public org.kingdoms.gui.InteractiveGUI rankSelector(Consumer<org.kingdoms.gui.InteractiveGUI> editor)
-