Commands & Permissions - Drawethree/X-Prison GitHub Wiki
Commands
[] - Required argument {} - Optional argument
Currencies
- /[currency] {player} - Display your or other player's currency.
- /[currency] give [player] [amount] - Admin command to give player specified amount of currency .
- /[currency] remove [player] [amount] - Admin command to remove specified amount of currency from player.
- /[currency] set [player] [amount] - Admin command to set specified amount of currency to player.
- /[currency] pay [player] [amount] - Player command to pay other player specified amount of currency.
- /[currency] withdraw [amount] [value] - Player command to withdraw currency and turn them into physical item.
- /[currency] help - Display command help.
Bombs
- /bombs give [player] [bomb_type] [amount] - Gives a player specific bomb
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.
Multipliers
- /gmulti [currency] [multiplier] [duration] [time_unit] - Admin command to set the global currency multiplier for specified amount of time. Supported time units are: DAYS,HOURS,MINUTES,SECONDS
- /gmulti [currency] reset - Admin command to reset the global multiplier
- /pmulti [player] [currency] [multiplier] [duration] [time_unit] - Admin command to set the player's currency multiplier for specified amount of time. Supported time units are: DAYS,HOURS,MINUTES,SECONDS
- /pmulti [player] [currency] reset - Admin command to reset the player's currency multiplier
Ranks & Prestiges & Rebirths
- /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.
- /rebirth - Attempts to rebirth
- /rebirth set [player] [rebirth] - Admin command to set player to specific rebirth
- /rebirth reset [player] - Resets player rebirth
- /rebirth info - Shows current rebirth
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.
Currencies
- xprison.currency.admin - Admin permission
- xprison.currency.command.give - Permission to give currency to a player
- xprison.currency.command.pay - Permission to allow sending of currency between players
- xprison.currency.command.remove - Permission to remove currency from a player
- xprison.currency.command.set - Permission to set currency of a player
- xprison.currency.command.withdraw - Permission to withdraw currency 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.