> For the complete documentation index, see [llms.txt](https://royalerealm.gitbook.io/docs-oficiales/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://royalerealm.gitbook.io/docs-oficiales/royale-protection-blocks-premium/commands.md).

# Commands

<>: required, \[]: optional

### Manage protection

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

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

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

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

<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.<br>

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

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

<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.<br>

<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.<br>

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

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

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

<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.<br>

<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.<br>

<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.<br>

<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.<br>

<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.<br>

### Add/Remove in protection

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

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

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

<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)*<br>

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

<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.<br>

<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.<br>

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

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

<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.<br>

<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.<br>

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

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

<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://pages/fjtNPJhEEQzvGiRORQVo) **page**
