---
description: '<>: required, []: optional'
---

# Commands

### Manage protection

<mark style="color:blue;">`/pb`</mark> _(Permission: N/A)_\
_Main command._\


<mark style="color:blue;">`/pb list`</mark> _(Permission: N/A)_\
_Open a list with all your protections._\


<mark style="color:blue;">`/pb leave`</mark> _(Permission: N/A)_\
Leave a protection, stop being an owner or a member.\


<mark style="color:blue;">`/pb unclaim`</mark> _(Permission: N/A)_\
Remove the protection you're currently in.\


<mark style="color:blue;">`/pb sethome`</mark> _(Permission: N/A)_\
Allows you to specify the home of the protection you're on. You must be the main owner of the protection.\


<mark style="color:blue;">`/pb home <id/name>`</mark> _(Permission: N/A)_\
Which allows to teleport to the home of a specified protection.\


<mark style="color:blue;">`/pb hide/show`</mark> _(Permission: N/A)_\
Allows you to hide or show the protection block.\


<mark style="color:blue;">`/pb rename <name>`</mark> _(Permission: N/A)_\
Modify the name of how you identify your protection in the list of active protections.\


<mark style="color:blue;">`/pb view`</mark> _(Permission: N/A)_\
Shows the edges and protection block; It doesn't matter if the block is hidden, it lights up anyway.\


<mark style="color:blue;">`/pb kick <player>`</mark> _(Permission: N/A)_\
Allows you to remove full access to your protection from a user.\


<mark style="color:blue;">`/pb ban <player>`</mark> _(Permission: N/A)_\
Allows you to remove full access to your protection from a user.\


<mark style="color:blue;">`/pb unban <player>`</mark> _(Permission: N/A)_\
Remove the ban applied to a user in your protection.\


<mark style="color:blue;">`/pb public`</mark> & <mark style="color:blue;">`/pb public`</mark>_(Permission: N/A)_ <mark style="color:green;">**(NEW)**</mark>\
Which allows you to define if a protection is public or not.\


<mark style="color:blue;">`/pb sell <price>`</mark> _(Permission: N/A)_ <mark style="color:green;">**(NEW)**</mark>\
Allows a user to put their protection up for sale.\


<mark style="color:blue;">`/pb buy`</mark> _(_&#x59;ou must be within the protectio&#x6E;_)(Permission: N/A)_ <mark style="color:green;">**(NEW)**</mark>\
Buy the protection you are in, this only if it is for sale.\


<mark style="color:blue;">`/pb publiclist`</mark> _(Permission: N/A)_ <mark style="color:green;">**(NEW)**</mark>\
Allows players to see a list full of public protections.\


<mark style="color:blue;">`/pb transfer <player>`</mark> _(Permission: N/A)_ <mark style="color:green;">**(NEW)**</mark>\
Allows players to transfer they protections to other players.\




### Add/Remove in protection

<mark style="color:blue;">`/pb <addmember> <player>`</mark> _(Permission: N/A)_\
Add a member on your current protection\


<mark style="color:blue;">`/pb <removemember> <player>`</mark> _(Permission: N/A)_\
Remove a member on your current protection\


<mark style="color:blue;">`/pb <addowner> <player>`</mark> _(Permission: N/A)_\
Add an owner on your current protection\


<mark style="color:blue;">`/pb <removeowner> <player>`</mark> _(Permission: N/A)_\
Remove an owner on your current protection



### Economy

<mark style="color:blue;">`/pb store`</mark> _(protectionblocks.blocks)_ <mark style="color:yellow;">**(CHANGED)**</mark>\
Allows you to purchase protection blocks through a purchase menu.



### Administration

<mark style="color:blue;">`/pb admin`</mark> _(protectionblocks.admin)_\


<mark style="color:blue;">`/pb admin reload`</mark> _(protectionblocks.admin.reload)_\
Reload the plugin.\


<mark style="color:blue;">`/pb admin setspawn`</mark> _(protectionblocks.admin.setspawn)_\
Specify the spawn configured for the plugin. This one is mostly used to send players after being kicked or banned from a protection.\


<mark style="color:blue;">`/pb admin resetflatgs [--all] [--flags <flag1;flag2;flag3...>]`</mark> _(protectionblocks.admin.resetflags)_\
Resets the flags of all protections or the protection in which one is located.\


<mark style="color:blue;">`/pb files <export> blocks`</mark> _(protectionblocks.admin.resetflags)_\
Export in-game blocks to .yml file\


<mark style="color:blue;">`/pb files <import> blocks`</mark> _(protectionblocks.admin.resetflags)_\
Import the blocks inside the .yml file into the game.\


<mark style="color:blue;">`/pb purge [--days] [--hours] [--minutes] [--config] [show-ignored-players] [export-only] <confirm>`</mark> _(protectionblocks.admin.resetflags)_\
Delete protections older than the specified time, based on the last connection of the owner or their creation date.\


<mark style="color:blue;">`/pb admin list <player>`</mark> _(protectionblocks.list.others)_ <mark style="color:yellow;">**(CHANGED)**</mark>\
Muestra la lista de protecciones de un jugador en especifico.



### Block Management

<mark style="color:blue;">`/pb blocks`</mark> _(protectionblocks.blocks)_\
Open a list with all the blocks.\


<mark style="color:blue;">`/pb blocks give <id> <player>`</mark> _(protectionblocks.blocks.give)_\
Give an existing block to yourself or a player.\


<mark style="color:blue;">`/pb blocks add <id> <x> <y> <z> [permission]`</mark> _(protectionblocks.blocks.create)_\
Create a new block without gui.\


<mark style="color:blue;">`/pb blocks remove <id>`</mark> _(protectionblocks.blocks.remove)_\
Remove an existing block without gui.



### ProtectionStone Import

<mark style="color:blue;">`/pb transfer ProtectionStones <confirm>`</mark> _(protectionblocks.blocks)_\
Transfer files from ProtectionStone, this for RoyaleProtectionBlocks to handle now.



**Some functions do not have fully dedicated commands, I recommend you also check the** [<mark style="color:blue;">**permissions**</mark>](broken-reference) **page**
