Multitallented / Civs

A town building and modular spell plugin
GNU General Public License v3.0
51 stars 31 forks source link

added a way to bypass town constraints on child regions #206

Closed sergix44 closed 3 years ago

sergix44 commented 3 years ago

This PR add the option to bypass some effects on regions contained inside others: If for example we have a town with the following effects:

effects:
  - deny_pvp
  - block_break
  - block_build
  - block_liquid
  - block_fire
  - deny_mob_spawn
  - power_shield
  - control_override
  - indestructible
  - block_explosion
  - block_tnt
  - block_creeper
  ...

And a region with these:

effects:
  - deny_pvp
  - block_break:bypass
  - block_build:bypass
  - block_liquid

It's now possible to build and break blocks in the region, but not in the parent city. For example, it's possible to create a build area inside a city for foreigns, create a pvp arena inside a non pvp city, etc

Multitallented commented 3 years ago

Thank you very much!