Skip to content

Commands & Permissions

Ján Kluka edited this page Jan 13, 2021 · 26 revisions

Commands

[] - Required argument {} - Optional argument

  • /prison reload - Reloads the plugin.
  • /prison cleardb - Clear all players data of the plugin from SQL database. Use with caution.

Auto Miner

  • /autominer - Shows a remaining time of player's auto-miner
  • /adminautominer give [player] [time_in_seconds] - Admin command to give a player autominer time in seconds.

Auto Sell

  • /autosell - Toggle auto-sell mode.
  • /sellprice [price] - Sets the sell price for item your are holding in your hand and for the mine region you currently are in.
  • /sellall - Player command to sell all inventory contents. They must be in prison mine!

Enchants

  • /givepickaxe {player} [enchant:id=level,enchant:id=level...] - Admin command to give pickaxes with custom enchants.
  • /disenchant - Opens up disenchanting GUI. Player needs to have pickaxe in hand.
  • /explosive - Toggle explosive enchant.
  • /layer - Toggle layer enchant.
  • /value - Display all users value of player's current pickaxe in hand. There is by default 30 seconds cooldown for players.

Gems

  • /gems {player} - Command to show your or other player's gems.
  • /gemstop - Display leaderboard of gems.
  • /gems give [player] [amount] - Admin command to give player specified amount of gems.
  • /gems remove [player] [amount] - Admin command to remove specified amount of gems from player.
  • /gems set [player] [amount] - Admin command to set specified amount of gems to player.
  • /gems pay [player] [amount] - Player command to pay other player specified amount of gems.
  • /gems help - Display command help.

Multipliers

  • /gmulti [multiplier] [duration_in_minutes] - Admin command to set the global multiplier for all online players.
  • /pmulti [player] [multiplier] [duration_in_minutes] - Admin command to set a player multiplier.
  • /multi - Player command to see his current active multipliers.

Ranks & Prestiges

  • /rankup - Attempt to rank-up. If player has enough money for next rank, rank-up will be successful.
  • /maxrankup - Attempt to buy maximal rank player can afford.
  • **/setrank [player] [rank_id] ** - Admin command to force-set rank of online player.
  • /prestige - Attempt to prestige. If player has enough money for next prestige, prestige will be successful.
  • /maxprestige - Attempt to buy maximal prestige player can afford.
  • /prestigetop - Display leaderboard of prestiges.
  • /prestigeadmin add [player] [amount] - Add prestige levels to player.
  • /prestigeadmin set [player] [amount] - Set prestige levels to player.
  • /prestigeadmin remove [player] [amount] - Remove prestige levels from player.

Tokens

  • /tokens {player} - Display your or other player's tokens.
  • /tokenmessage - Turn off messages when you receive tokens from enchants.
  • /tokens give [player] [amount] - Admin command to give player specified amount of tokens.
  • /tokens remove [player] [amount] - Admin command to remove specified amount of tokens from player.
  • /tokens set [player] [amount] - Admin command to set specified amount of tokens to player.
  • /tokens pay [player] [amount] - Player command to pay other player specified amount of tokens.
  • /tokens withdraw [amount] [value] - Player command to withdraw tokens and turn them into physical item.
  • /tokens help - Display command help.

Permissions

Note: There are no more permissions yet. I will add any permission on request, lot of admin commands are executable only by opped users.

  • ultraprison.value - Player permission to display value of his pickaxe.
  • ultraprison.gems.admin - Admin permission to manage gems.
  • ultraprison.autosell.admin - Admin permission to set sell price of item for specific mine and other auto-sell related things.
  • ultraprison.autosell.toggle - Player permission to toggle /autosell
  • ultraprison.tokens.admin - Admin permission to manage tokens.
  • ultraprison.multiplier.{} - Player permission to receive rank multipliers.
  • ultraprison.admin - Admin permission to reload plugin or reset databases.
  • ultraprison.tokens.admin - Admin permission to manage tokens.
  • ultraprison.ranks.admin - Admin permission to manage ranks & prestiges.
  • ultraprison.autominer.admin - Admin permission to manage auto-miner things.
  • ultraprison.multipliers.admin - Admin permission to manage multipliers (global/personal).