Commands#
The main command is /pass. The aliases are /battlepass, /bp and /otpass. All of them need otpass.use.
| Command | What it does | Permission |
|---|---|---|
/pass |
Opens the battle pass | otpass.use |
/pass quests |
Opens the daily, weekly and season quests | otpass.use |
/pass claim |
Claims every reward you unlocked | otpass.use |
/pass premium |
Buys the premium track with money | otpass.use |
/pass premium confirm |
Buys the premium track without asking again | otpass.use |
/pass top |
Shows the ten players with the most XP | otpass.use |
/pass help |
Shows the player commands | otpass.use |
/pass admin xp <player> add <amount> |
Adds XP | otpass.admin |
/pass admin xp <player> take <amount> |
Takes XP, never below 0 | otpass.admin |
/pass admin xp <player> set <amount> |
Sets the XP | otpass.admin |
/pass admin premium <player> give |
Gives the premium track | otpass.admin |
/pass admin premium <player> take |
Takes the premium flag | otpass.admin |
/pass admin reset <player> |
Resets the pass of the player for this season | otpass.admin |
/pass admin info <player> |
Shows tier, XP and premium of the player | otpass.admin |
/pass admin reload |
Reloads config.yml, quests.yml, rewards.yml and messages.yml |
otpass.admin |
Notes:
- Every other word after
/passshows the help text.questandqalso open the quests,buyalso starts the premium purchase. /pass,/pass quests,/pass claimand/pass premiumneed a player./pass top,/pass helpand all admin commands work from the console.- Admin commands accept online players, players the server knows, and players that OtPass has stored by name. XP and premium of players who are offline are changed in the database.
- The XP amount must be a whole number of 0 or more.
/pass admin resetremoves the XP, the premium flag, the quest progress and the claimed rewards of the player for the current season. The player can claim rewards again after that.- Changing XP with
addfor an online player can trigger the tier-up message and title.
Permissions#
| Permission | Allows | Default |
|---|---|---|
otpass.use |
Open the pass, do quests and claim rewards. Needed for /pass. |
Everyone |
otpass.premium |
Have the premium track without buying it. The name can be changed in premium.permission. |
Nobody |
otpass.admin |
The /pass admin commands. Includes otpass.use. |
Operators |