Class PaperPermissionCommand

java.lang.Object
io.github.projectunified.craftcommand.example.paper.PaperPermissionCommand

public class PaperPermissionCommand extends Object
Covers @Permission: class-level, method-level, custom message, method override. Mirror of Bukkit PermissionCommand with 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)