Commands & Permissions

Here you can view all the available commands and permissions for Player Elections.

Player Commands

Command
Description
Permission

/elections

Open the elections menu.

playerelections.manager

/elections exportall <election id>

Export all data for a specific election to a file.

playerelections.exportall

/elections export <election id>

Export data to hastebin.

playerelections.export

/elections ballot <election id> [player]

Open the polling booth to cast a vote.

playerelections.ballot

/elections votes <election id> [player]

View the votes for a specific election.

playerelections.votes

Admin Commands

Command
Description
Permission

/elections reload

Reloads all the config files.

playerelections.admin.reload

Rest API Commands

Command
Description
Permission

/elections apikeys

Shows the help menu.

playerelections.apikeys

/elections apikeys delete <player>

Delete your API key.

playerelections.apikeys.delete

/elections apikeys generate <player>

Generate a new API key.

playerelections.apikeys.generate

Permissions not working?

The <> in some permissions are placeholders, you will need to replace them with a valid value like requested.

Admin Permissions

Permission
Description

playerelections.admin.update

When a player joins they receive update notifications.

playerelections.admin.apikeys

Remove/Generate other players' API keys.

Last updated