Skip to content

Commands & Permissions

Ján Kluka edited this page Sep 25, 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] [time_unit] - Admin command to give a player autominer time. Supported time units are: DAYS,HOURS,MINUTES,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

  • /givefirstjoinpickaxe {player} - Admin command to give first join pickaxe defined in enchants.yml to specific player.
  • /givepickaxe {player} [enchant:rawName=level,enchant:rawName=level...] - Admin command to give pickaxes with custom enchants. (Eg. /givepickaxe Drawethree fortune=10,efficiency=50)
  • /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 [sell/token] [multiplier] [duration] [time_unit] - Admin command to set the global sell/token multiplier for specified amount of time. Supported time units are: DAYS,HOURS,MINUTES,SECONDS
  • /gmulti [sell/token] reset - Admin command to reset the global sell/token multiplier
  • /sellmulti [player] [multiplier] [duration] [time_unit] - Admin command to set the player's sell multiplier for specified amount of time. Supported time units are: DAYS,HOURS,MINUTES,SECONDS
  • /tokenmulti [player] [multiplier] [duration] [time_unit] - Admin command to set the player's token multiplier for specified amount of time. Supported time units are: DAYS,HOURS,MINUTES,SECONDS
  • /multi - Player command to display all currently 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.

Gangs

  • /gang create [name] - Create a new gang with specified name
  • /gang invite [player] - Invite a player to your gang
  • /gang kick [player] - Kick a player from your gang
  • /gang info [player/gang]- Displays info about gang
  • /gang chat - Toggles your gang chat mode
  • /gang top - Displays Top 10 Gangs
  • /gang accept - Accept invitation to a gang (join a gang)
  • /gang value add [gang] [value] - Add points to a gang
  • /gang value remove [gang] [value] - Remove points from a gang
  • /gang admin add [player] [gang] - Force-add player to a specific gang
  • /gang admin remove [player] [gang] - Force-remove player from a specific gang
  • /gang admin disband [gang] - Force-disband a gang

Mines

  • /mines create [name] - Create a new mine
  • /mines delete [name] - Deletes a mine
  • /mines reset [name] - Force a mine to reset based on its reset type (instant/gradual)
  • /mines panel [name]- Opens a Panel (Setup GUI) for specific mine
  • /mines save [name] - Force save a mine
  • /mines addblock [name] - Adds a block you hold in hand into specified mine
  • /mines settp [name] - Sets a teleport location for specific mine
  • /mines tp [name] - Teleports you to a mine (Requires ultraprison.mines.tp.[name] permission)
  • /mines list - Shows you all mines in GUI
  • /mines tool - Gives you a selection tool to create a mine

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.mines.admin - Admin permission to manage mines.
  • 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).
  • ultraprison.gangs.admin - Admin permission to manage gangs.