Skip to main content

Permissions

ArenaPvP uses a flat permission system under the arenapvp namespace. All permissions are checked through the server's permission API, and work seamlessly with LuckPerms if installed.

User Permissions

These permissions should be granted to all players who should have access to ArenaPvP:

PermissionDescription
haporelab.arenapvp.command.arenaRoot permission
arenapvp.useBase permission to use the ArenaPvP system
arenapvp.joinJoin arena matchmaking queues
arenapvp.leaveLeave a queue or arena match
arenapvp.kitSelect kits in the arena
arenapvp.uiOpen the arena menu UI
arenapvp.leaderboardView the leaderboard
arenapvp.spectateSpectate matches (HyTv and direct)
arenapvp.hytvAccess the HyTv match browser

Group Permissions

These permissions control access to the party/group system:

PermissionDescription
arenapvp.group.*Grants all group permissions
arenapvp.group.inviteCreate groups and invite players
arenapvp.group.acceptAccept group invitations
arenapvp.group.declineDecline group invitations
arenapvp.group.leaveLeave a group
arenapvp.group.kickKick members from a group (leader only)
arenapvp.group.transferTransfer group leadership
arenapvp.group.disbandDisband a group
arenapvp.group.infoView group information
arenapvp.group.uiOpen the group management UI
arenapvp.group.confirmToggle invitation confirmation UI

Admin Permissions

These permissions should only be granted to server staff:

PermissionDescription
arenapvp.admin.*Grants all admin permissions
arenapvp.admin.debugToggle debug mode and use test commands
arenapvp.admin.cancelCancel active arena matches
arenapvp.admin.kitcreateCreate kit presets from inventory
arenapvp.admin.reloadReload the plugin configuration

For a typical server, here's a suggested permission setup:

Default Players

Grant these to all players:

arenapvp.use
arenapvp.join
arenapvp.leave
arenapvp.kit
arenapvp.ui
arenapvp.leaderboard
arenapvp.spectate
arenapvp.hytv
arenapvp.group.*

Moderators

In addition to player permissions:

arenapvp.admin.cancel

Administrators

Full access:

arenapvp.admin.*

Permission Groups in Arenas

The DisableGroupPermission setting in config.json allows you to temporarily revoke permission groups from players while they are inside an arena. This is useful for disabling fly, creative mode, or other abilities that would be unfair in PvP:

{
"DisableGroupPermission": ["creative", "fly-access"]
}

Permission groups listed here are revoked when a player enters an arena and restored when they leave.