Skip to content

9. Permissions Reference ​

All permissions are declared in common/.../Types/Permissions.java as nested static String constants. The full string is appeltools.command.<path>. They are referenced from command classes via @Permission(Permissions.Command.<Category>.<PERM>) and from runtime checks via player.hasPermission(node).

9.1 Layout ​

java
public class Permissions {
    public static class Command {
        public static class Teleport { public static final String BACK = "appeltools.command.teleport.back"; ... }
        public static class Home     { public static final String SET = "..."; ... }
        public static class Speed    { public static final String SPEED = "..."; ... }
        public static class Gamemode { public static final String CREATIVE = "..."; ... }
        public static class Economy  { public static final String BALANCE = "..."; ... }
        public static class Friends  { public static final String ROOT = "..."; ... }
        public static class Party    { public static final String ROOT = "..."; ... }
        public static class Message  { public static final String MESSAGE = "..."; ... }
        public static class Report   { public static final String REPORT = "..."; ... }
        public static class Staff    { public static class ROOT { ... } public static class STAFFCHAT { ... } }
        public static class Punishment { ... }
        public static class Admin    { ... }
    }
}

9.2 Teleport ​

ConstantNode
Permissions.Command.Teleport.BACKappeltools.command.teleport.back
Permissions.Command.Teleport.TPappeltools.command.teleport.tp
Permissions.Command.Teleport.TPHEREappeltools.command.teleport.tphere
Permissions.Command.Teleport.TPPOSappeltools.command.teleport.tppos
Permissions.Command.Teleport.TP_TOGGLEappeltools.command.teleport.tptoggle
Permissions.Command.Teleport.TP_AUTOappeltools.command.teleport.tpauto
Permissions.Command.Teleport.TPASKappeltools.command.teleport.tpask
Permissions.Command.Teleport.TPAHEREappeltools.command.teleport.tpahere
Permissions.Command.Teleport.TPACCEPTappeltools.command.teleport.tpaccept
Permissions.Command.Teleport.TPDENYappeltools.command.teleport.tpdeny
Permissions.Command.Teleport.TPACANCELappeltools.command.teleport.tpacancel
Permissions.Command.Teleport.BYPASS_COOLDOWNappeltools.command.teleport.bypasscooldown

9.3 Home ​

ConstantNode
Permissions.Command.Home.LISTappeltools.command.home.list
Permissions.Command.Home.TELEPORTappeltools.command.home.teleport
Permissions.Command.Home.SETappeltools.command.home.set
Permissions.Command.Home.DELETEappeltools.command.home.delete
Permissions.Command.Home.RENAMEappeltools.command.home.rename
Permissions.Command.Home.ADMINappeltools.command.home.admin

9.4 Speed & Flight ​

ConstantNode
Permissions.Command.Speed.SPEEDappeltools.command.speed.speed
Permissions.Command.Speed.WALKappeltools.command.speed.walk
Permissions.Command.Speed.FLYappeltools.command.speed.fly
Permissions.Command.Speed.FLYINGappeltools.command.speed.flying

9.5 Gamemode ​

ConstantNode
Permissions.Command.Gamemode.GAMEMODEappeltools.command.gamemode.gamemode
Permissions.Command.Gamemode.CREATIVEappeltools.command.gamemode.creative
Permissions.Command.Gamemode.SURVIVALappeltools.command.gamemode.survival
Permissions.Command.Gamemode.ADVENTUREappeltools.command.gamemode.adventure
Permissions.Command.Gamemode.SPECTATORappeltools.command.gamemode.spectator
Permissions.Command.Gamemode.OTHERSappeltools.command.gamemode.others

9.6 Economy ​

ConstantNode
Permissions.Command.Economy.BALANCEappeltools.command.economy.balance
Permissions.Command.Economy.BALANCE_OTHERSappeltools.command.economy.balance.others
Permissions.Command.Economy.PAYappeltools.command.economy.pay
Permissions.Command.Economy.TOGGLEPAYappeltools.command.economy.togglepay
Permissions.Command.Economy.BALTOPappeltools.command.economy.baltop
Permissions.Command.Economy.ADMINappeltools.command.economy.admin

9.7 Friends ​

ConstantNode
Permissions.Command.Friends.ROOTappeltools.command.friends.root
Permissions.Command.Friends.ADDappeltools.command.friends.add
Permissions.Command.Friends.ACCEPTappeltools.command.friends.accept
Permissions.Command.Friends.DENYappeltools.command.friends.deny
Permissions.Command.Friends.REMOVEappeltools.command.friends.remove
Permissions.Command.Friends.LISTappeltools.command.friends.list
Permissions.Command.Friends.NOTIFICATIONS_TOGGLEappeltools.command.friends.notificationstoggle
Permissions.Command.Friends.REQUESTS_TOGGLEappeltools.command.friends.requeststoggle
Permissions.Command.Friends.BYPASS_LIMITappeltools.command.friends.bypasslimit

9.8 Parties ​

ConstantNode
Permissions.Command.Party.ROOTappeltools.command.party.root
Permissions.Command.Party.INVITEappeltools.command.party.invite
Permissions.Command.Party.ACCEPTappeltools.command.party.accept
Permissions.Command.Party.LEAVEappeltools.command.party.leave
Permissions.Command.Party.LISTappeltools.command.party.list
Permissions.Command.Party.PROMOTEappeltools.command.party.promote
Permissions.Command.Party.DEMOTEappeltools.command.party.demote
Permissions.Command.Party.TRANSFERappeltools.command.party.transfer
Permissions.Command.Party.REMOVEappeltools.command.party.remove
Permissions.Command.Party.WARPappeltools.command.party.warp
Permissions.Command.Party.DISBANDappeltools.command.party.disband
Permissions.Command.Party.CHATappeltools.command.party.chat
Permissions.Command.Party.MUTEappeltools.command.party.mute
Permissions.Command.Party.ALL_INVITEappeltools.command.party.allinvite
Permissions.Command.Party.ADMINappeltools.command.party.admin

9.9 Private Messaging ​

ConstantNode
Permissions.Command.Message.MESSAGEappeltools.command.message.message
Permissions.Command.Message.REPLYappeltools.command.message.reply
Permissions.Command.Message.IGNOREappeltools.command.message.ignore
Permissions.Command.Message.UNIGNOREappeltools.command.message.unignore
Permissions.Command.Message.TOGGLEappeltools.command.message.toggle

9.10 Reports ​

ConstantNode
Permissions.Command.Report.REPORTappeltools.command.report.report
Permissions.Command.Report.LISTappeltools.command.report.list
Permissions.Command.Report.REMOVEappeltools.command.report.remove

9.11 Staff ​

ConstantNode
Permissions.Command.Staff.ROOTappeltools.command.staff.root
Permissions.Command.Staff.STAFFCHATappeltools.command.staff.staffchat
Permissions.Command.Staff.STAFFCHAT_TOGGLEappeltools.command.staff.staffchattoggle
Permissions.Command.Staff.STAFFMODE_TOGGLEappeltools.command.staff.staffmodetoggle
Permissions.Command.Staff.STAFFNOTIFICATIONS_TOGGLEappeltools.command.staff.staffnotificationstoggle
Permissions.Command.Staff.STAFFSPY_TOGGLEappeltools.command.staff.staffspytoggle
Permissions.Command.Staff.STAFFLISTappeltools.command.staff.stafflist
Permissions.Command.Staff.VERSIONLISTappeltools.command.staff.versionlist
Permissions.Command.Staff.BROADCASTappeltools.command.staff.broadcast
Permissions.Command.Staff.NOTESappeltools.command.staff.notes
Permissions.Command.Staff.NOTESGUIappeltools.command.staff.notesgui
Permissions.Command.Staff.FREEZEappeltools.command.staff.freeze
Permissions.Command.Staff.INVSEEappeltools.command.staff.invsee

9.12 Punishment ​

ConstantNode
Permissions.Command.Punishment.BANappeltools.command.punishment.ban
Permissions.Command.Punishment.TEMP_BANappeltools.command.punishment.tempban
Permissions.Command.Punishment.UNBANappeltools.command.punishment.unban
Permissions.Command.Punishment.IP_BANappeltools.command.punishment.ipban
Permissions.Command.Punishment.TEMP_IP_BANappeltools.command.punishment.tempipban
Permissions.Command.Punishment.IP_UNBANappeltools.command.punishment.ipunban
Permissions.Command.Punishment.KICKappeltools.command.punishment.kick
Permissions.Command.Punishment.IP_KICKappeltools.command.punishment.ipkick
Permissions.Command.Punishment.MUTEappeltools.command.punishment.mute
Permissions.Command.Punishment.TEMP_MUTEappeltools.command.punishment.tempmute
Permissions.Command.Punishment.UNMUTEappeltools.command.punishment.unmute
Permissions.Command.Punishment.IP_MUTEappeltools.command.punishment.ipmute
Permissions.Command.Punishment.TEMP_IP_MUTEappeltools.command.punishment.tempipmute
Permissions.Command.Punishment.IP_UNMUTEappeltools.command.punishment.ipunmute
Permissions.Command.Punishment.HISTORYappeltools.command.punishment.history

9.13 Admin ​

ConstantNode
Permissions.Command.Admin.RELOADappeltools.command.admin.reload
Permissions.Command.Admin.UPDATERappeltools.command.admin.updater
Permissions.Command.Admin.MAINTENANCE_BYPASSappeltools.command.admin.maintenancebypass
Permissions.Command.Admin.MAINTENANCEappeltools.command.admin.maintenance
Permissions.Command.Admin.RESTARTappeltools.command.admin.restart
Permissions.Command.Admin.SERVERSappeltools.command.admin.servers
Permissions.Command.Admin.WHITELIST_BYPASSappeltools.command.admin.whitelistbypass
Permissions.Command.Admin.DISCORD_LOGappeltools.command.admin.discordlog

9.14 Star Permissions ​

ConstantNode
Permissions.Command.ROOTappeltools.command.*
Permissions.STAFF_ROOTappeltools.staff.root

appeltools.command.* is the meta-permission that grants all command nodes.

9.15 LuckPerms integration ​

The Velocity and Paper modules both resolve the LuckPerms API on startup:

java
RegisteredServiceProvider<LuckPerms> provider = ...;
if (provider == null) throw new StartupException("LuckPerms not found");
LuckPerms api = provider.getProvider();

ATPlayer.hasPermission(node) is implemented as a LuckPerms lookup on the Velocity side. On the Paper side, player.hasPermission(node) is delegated to the LuckPerms Paper bridge.

Built with VitePress.