Class PaperPermissionCommand
java.lang.Object
io.github.projectunified.craftcommand.example.paper.PaperPermissionCommand
Covers @Permission: class-level, method-level, custom message, method override.
Mirror of Bukkit PermissionCommand with CommandSourceStack sender.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidallowed(io.papermc.paper.command.brigadier.CommandSourceStack sender) voidcustomMsg(io.papermc.paper.command.brigadier.CommandSourceStack sender) voidmethodPerm(io.papermc.paper.command.brigadier.CommandSourceStack sender) voidoverridePerm(io.papermc.paper.command.brigadier.CommandSourceStack sender)
-
Constructor Details
-
PaperPermissionCommand
public PaperPermissionCommand()
-
-
Method Details
-
allowed
public void allowed(io.papermc.paper.command.brigadier.CommandSourceStack sender) -
methodPerm
public void methodPerm(io.papermc.paper.command.brigadier.CommandSourceStack sender) -
customMsg
public void customMsg(io.papermc.paper.command.brigadier.CommandSourceStack sender) -
overridePerm
public void overridePerm(io.papermc.paper.command.brigadier.CommandSourceStack sender)
-