# Getting Started

# Installation


This plugin requires [worldguard](https://dev.bukkit.org/projects/worldguard), make sure it is installed and enabled on your server.


# Create a profile

Profiles are the core of respawnblocks. A profile is like a template, you can use it to configure blocks with respawn times and then apply this profile to multiple regions.


```javascript
/rb profile create <name>
```


# Configure profile

You can add any block to a profile and set it with a respawn time. You can also define a replacement type that will take the block’s place while the timer is running.


```javascript
/rb profile block add <type> <replacementType> <duration>
```


For example if you want Iron Ore to respawn every 15 seconds with cobblestone as replacement:

```javascript
/rb profile block add minecraft:iron_ore minecraft:cobblestone 15
```


# Apply profile to region

Now that you’ve created and configured a profile, you can apply it to any number of regions. You can only apply 1 profile per region.


```javascript
/rb enable <region> <profile>
```

---

**Documents**

- [Getting Started](https://wiki.guflimc.com/s/17e61fd7-9731-4b15-bcc8-8b25f17babe5/doc/getting-started-rk1JfIms8N)
- [Commands](https://wiki.guflimc.com/s/17e61fd7-9731-4b15-bcc8-8b25f17babe5/doc/commands-Xfb8CkZJhn)