RegionBlockLimiter
PluginLicenseRef-All-Rights-Reserved

RegionBlockLimiter

This plugin controls which blocks can be placed or broken in which region.

33
Downloads
0
Followers
5 months ago
Updated
📦
1
Versions

📖About RegionBlockLimiter

General Description

This plugin controls which blocks can be placed or broken inside WorldGuard regions.

Config File

default-deny-message: "&cBu bloğu burada kullanamazsın!"

regions:
  spawn:
    allowed-break:
      - STONE
      - DIRT
      - GRASS_BLOCK
    allowed-place:
      - TORCH
      - OAK_PLANKS
    deny-message: "&cSpawn bölgesinde bu bloğu kullanamazsın!"

  market:
    allowed-break:
      - WHEAT
      - CARROTS
      - POTATOES
    allowed-place:
      - CHEST
      - BARREL
      - ITEM_FRAME
    deny-message: "&eMarket bölgesinde sadece ticaret bloklarını kullanabilirsin!"

  pvp_arena:
    allowed-break:
      - AIR
    allowed-place:
      - AIR
    deny-message: "&4PvP alanında blok kullanımı yasak!"

global:
  enabled: false # Global regionu ayarı aktifleşsinmi
  allowed-break: []
  allowed-place: []
  deny-message: "&7Bu bölgede blok sınırları aktif değil ama işlemin yasak."

As you can see, the system is quite simple.
First, let's look at the regions section. In the example, there are three regions defined: spawn, market, and pvp_arena.
Of course, you can add or remove as many regions as you want — it's fully customizable.

Now let's explain how these regions are configured:

spawn:
    allowed-break:
      - STONE
      - DIRT
      - GRASS_BLOCK
    allowed-place:
      - TORCH
      - OAK_PLANKS
    deny-message: "&cSpawn bölgesinde bu bloğu kullanamazsın!"

Here we have the region named spawn, and under it there are two categories: allowed-break and allowed-place.

Blocks listed under allowed-break can be broken by players inside this region.

Blocks listed under allowed-place can be placed by players inside this region.

These permissions apply only inside the defined region.

There is also a deny-message section.
This message is sent to the player whenever they try to place or break a block that is not allowed in that region.

And that's it — the plugin is very easy to use, and this was actually the first plugin I ever created.

If you want to report bugs, share suggestions, or give feedback, my Discord is: nadir_aksolotl.