Skip to content

Commands & Permissions

Ján Kluka edited this page Feb 1, 2023 · 26 revisions

Commands

[] - Required argument {} - Optional argument

Auto Miner

  • /autominer - Shows a remaining time of player's auto-miner
  • /adminautominer [give/remove] [player] [time] [time_unit] - Admin command to give/remove player autominer time. Supported time units are: DAYS,HOURS,MINUTES,SECONDS

Auto Sell (Not enabled if UltraBackpacks is in use)

  • /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.
  • /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.
  • /gemsmessage - Turn off messages when you receive gems from mining.

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 redefine [name] - Redefines mine region for a mine
  • /mines rename [name] [new_name] - Renames 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 xprison.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.

  • xprison.admin - Admin permission to reload plugin or reset databases.

Tokens

  • xprison.tokens.admin - Admin permission
  • xprison.tokens.command.give - Permission to give tokens to a player
  • xprison.tokens.command.pay - Permission to allow sending of tokens between players
  • xprison.tokens.command.remove - Permission to remove tokens from a player
  • xprison.tokens.command.set - Permission to set tokens of a player
  • xprison.tokens.command.withdraw - Permission to withdraw tokens to physical item

Gems

  • xprison.gems.admin - Admin permission
  • xprison.gems.command.give - Permission to give gems to a player
  • xprison.gems.command.pay - Permission to allow sending of gems between players
  • xprison.gems.command.remove - Permission to remove gems from a player
  • xprison.gems.command.set - Permission to set gems of a player
  • xprison.gems.command.withdraw - Permission to withdraw gems to physical item

Ranks

  • xprison.ranks.admin - Admin permission to manage ranks & prestiges.
  • xprison.ranks.maxrankup - Permission to run /maxrankup command

Prestiges

  • xprison.prestiges.admin - Admin permission to manage ranks & prestiges.
  • xprison.prestiges.maxprestige - Permission to run /maxprestige command

Mines

  • xprison.mines.admin - Admin permission to manage mines.

Gangs

  • xprison.gangs.admin - Admin permission to manage gangs.
  • xprison.gangs.create - Player permission to create a gang.

Multipliers

  • xprison.multipliers.admin - Admin permission to manage multipliers (global/personal).
  • xprison.multiplier.{rank} - Player permission to receive rank multipliers.

AutoSell

  • xprison.autosell.admin - Admin permission to set sell price of item for specific mine and other auto-sell related things.
  • xprison.autosell.toggle - Player permission to toggle /autosell

AutoMiner

  • xprison.autominer.admin - Admin permission to manage auto-miner things.