Plugin Release WorldGuardRegionProtect - 0.7.6

Use the latest dev build
Versions after 0.7.1 for 1.18+ and above require JAVA 17+!

Do you speak multiple languages? If so, we always welcome contributions to our [Crowdin project]

Support

When reporting a bug:
  • Use the issue tracker! Don't report bugs in the reviews and discussions. Please search for duplicates before reporting a new issue!
  • Provide as much information as possible. Provide your WorldGuardRegionProtect version and Spigot/Paper version.
  • Provide any stack traces or "errors" using pastebin.
Join us in the discord!

Opportunities of plugin

  • By entering the name of the region in the plugin config.yml, you will add protection by plugin. Nobody can interact with the region that is registered in config.yml. Even the operators are not able to do this!
  • This plugin is for extended protection of an existing region from WorldGuard. For example, possible damage region from the administration. Who has permission access from plugin WorldGuard, or from operators.

With plugin, you can do advanced protect your region
1. Nobody cannot break or place blocks in region.
2. It is possible to enable/disable the limitation of interaction with the transport.
3. Protecting frame, painting from any damage from arrows, trident, snowball, eggs, enderpearl and player.
4. Protect from any change in the frame (On 1.18 MC glow frame too).
5. Nobody cannot damage armor stand and taking or place armor from it.
6. Cannot use none of the buckets in region.
7. Creeper, Wither, Ghast, Primed TNT, cannot blowing up stuff in the region. Skeleton, Stray and Shulker bullet cannot destroy frame/glow frame and painting.
8. TNT, minecart with TNT, Respawn Anchor and ender crystal can't damage any blocks/frames in region.
9. Support for banned dangerous commands. Separate commands were added and tested used by FastAsyncWorldEdit\WorldEdit in the protected region.
10. Nobody cannot remove region or change flags in protected region. Just example using like:
  • "/rg rem spawn",
  • "/rg rem -f spawn",
  • "/rg rem -f spawn -w world",
  • "/rg addowner spawn Steve" etc.
11. You can specify a special region inside the protected region in which you can "break and place" or "only break" (specified in config.yml)

Permissions
1. If you need give access to region for Builder team or any member from your staff, just add permissions on LuckPerms or PermissionsEx: wgrp.regionprotect
2. Who has the permissions star, I mean '*' in LuckPerms or PermissionsEx may will be given access to protected region by WGRP.
3. By default, all who is operators are not allowed access into the region.


Permissions:
- wgrp.command.wgrpbase
- access to /wgrp command.
- wgrp.command.reload - access to /wgrp reload and /wgrp reloadmsg command to reload the configurations file.
- wgrp.command.spy - notifies the administrator about interacting with the protected region (BREAK or PLACE only now).
- wgrp.regionprotect - access to protected regions.
- wgrp.notify.admin - notifies the administrator when an attempt is made to use WG\WE(FAWE) commands in a protected region.
- wgrp.command.addregion - access to the command with the ability to add a region to the protected region.
- wgrp.command.removeregion - access to the command with the ability to remove the region from the protection.


Commands:
/wgrp help
- help on all commands.
/wgrp about - additional information, useful!
/wgrp reload - reload config.yml and language files.
/wgrp addregion [region] [world] - add a region to the configuration for protection.
/wgrp removeregion [region] [world] - delete a region from the configuration to remove protection.

YAML:
#-------------------------------------------------------------
# Basic configuration settings for the plugin.
#-------------------------------------------------------------
wgRegionProtect:

  #-------------------------------------------------------------
  # Language of this plugins.
  # Loaded languages uploaded in "lang" folder.
  # Languages available:
  # en_US, de_DE, fi_FI, fr_FR, ru_RU, zh_CN, uk_UA, ja_JP
  #-------------------------------------------------------------
  lang: en_US

  #-------------------------------------------------------------
  # Let the admin know if he updated the plugin to the latest version.
  #-------------------------------------------------------------
  updateChecker: true

  #-------------------------------------------------------------
  # List of protected regions.
  # If regions are not needed, specify an empty parameter:
  # Do not delete all worlds, always leave one world,
  # otherwise the structure of the configuration is broken!
  # regionProtect: []
  #   another_world: []
  #-------------------------------------------------------------
  regionProtect:
    world:
    - spawn
    - pvp

  #--------------------------------------------------------------------------------------
  # List of protected regions where breaking is allowed.
  # If regions are not needed, specify an empty parameter:
  # Do not delete all worlds, always leave one world,
  # otherwise the structure of the configuration is broken!
  # regionProtectAllow: []
  #   another_world: []
  #--------------------------------------------------------------------------------------
  regionProtectAllow:
    another_world: []

  #--------------------------------------------------------------------------------------
  # List of protected regions where only breaking is allowed.
  # If regions are not needed, specify an empty parameter:
  # Do not delete all worlds, always leave one world,
  # otherwise the structure of the configuration is broken!
  # regionProtectOnlyBreakAllow:
  #   another_world: []
  #--------------------------------------------------------------------------------------
  regionProtectOnlyBreakAllow:
    another_world: []

  # --------------------------------------------------------------------------------------
  # List of prohibited entity / block for interaction in the protected region.
  # If you don't want to block it, specify an empty parameter:
  #
  # Attention! In interact_type, the block IDs\items are different from Minecraft!
  # list of blocks prohibited by default\items:
  # - armor_stand
  #    - end_crystal
  #    - minecart
  #    - tnt_minecart
  #    - command_block_minecart
  #    - hopper_minecart
  #    - chest_minecart
  #    - furnace_minecart
  #    - oak_boat
  #    - oak_chest_boat
  #    - spruce_boat
  #    - spruce_chest_boat
  #    - birch_boat
  #    - birch_chest_boat
  #    - jungle_boat
  #    - jungle_chest_boat
  #    - acacia_boat
  #    - acacia_chest_boat
  #    - dark_oak_boat
  #    - dark_oak_chest_boat
  #    - mangrove_boat
  #    - mangrove_chest_boat
  #    - bucket
  #    - water_bucket
  #    - lava_bucket
  #    - tropical_fish_bucket
  #    - pufferfish_bucket
  #    - axolotl_bucket
  #    - cod_bucket
  #    - salmon_bucket
  #    - tadpole_bucket
  #
  # interactType: []
  # --------------------------------------------------------------------------------------
  protectInteract:
    interactType:
      - armor_stand
      - end_crystal
      - minecart
      - tnt_minecart
      - command_block_minecart
      - hopper_minecart
      - chest_minecart
      - furnace_minecart
      - oak_boat
      - oak_chest_boat
      - spruce_boat
      - spruce_chest_boat
      - birch_boat
      - birch_chest_boat
      - jungle_boat
      - jungle_chest_boat
      - acacia_boat
      - acacia_chest_boat
      - dark_oak_boat
      - dark_oak_chest_boat
      - mangrove_boat
      - mangrove_chest_boat
      - bucket
      - water_bucket
      - lava_bucket
      - tropical_fish_bucket
      - pufferfish_bucket
      - axolotl_bucket
      - cod_bucket
      - salmon_bucket
      - tadpole_bucket
    #--------------------------------------------------------------------------------------
    # collisionWithVehicle — whether the player can collide with a vehicle. (Boat, Wagon, etc.)
    # canSitAsPassengerInVehicle — whether the player can sit as a passenger in the vehicle.
    # canDamageVehicle — whether the player can damage the vehicle.
    # canTakeLecternBook — whether the player can take a book from the pulpit.
    #--------------------------------------------------------------------------------------
    player:
      collisionWithVehicle: true
      canSitAsPassengerInVehicle: true
      canDamageVehicle: true
      canTakeLecternBook: true
    #--------------------------------------------------------------------------------------
    # denyWaterFlowToRegion — Whether to allow water to flow into protected regions.
    # denyLavaFlowToRegion — Whether to allow lava to flow into protected regions.
    #--------------------------------------------------------------------------------------
    other:
      denyWaterFlowToRegion: true
      denyLavaFlowToRegion: true

  #--------------------------------------------------------------------------------------
  # List of forbidden commands from WE / FAWE.
  #--------------------------------------------------------------------------------------
  noProtectCmd:
    cmdWe:
    - //set
    - //replace
    - //overlay
    - //walls
    - //deform
    - //fill
    - //fillr
    - //fixlava
    - //hollow
    - //move
    - //stack
    - //smooth
    - //cut
    - //replacenear
    cmdWeC:
    - //cyl
    - //hcyl
    - //drain
    - //rep
    cmdWeP:
    - //pyramid
    - //hpyramid
    cmdWeS:
    - //sphere
    - //hsphere
    cmdWeU:
    - //up
    - /up
    cmdWeCP:
    - //paste
    - //place
    - //replacenear
    - //hollow

  #--------------------------------------------------------------------------------------
  # Turn Enable/Disable the exploding from Entity(tnt, creeper and etc.).
  #--------------------------------------------------------------------------------------
  explodeEntity:
    enable: true

  #--------------------------------------------------------------------------------------
  # Turn Enable/Disable the notification if player try to use in the protected region WE\FAWE command.
  #--------------------------------------------------------------------------------------
  spySettings:
    notify:
      #--------------------------------------------------------------------------------------
      # Enable notify of action for admin and console.
      #--------------------------------------------------------------------------------------
      console:
        enable: true
      admin:
        enable: true
      #--------------------------------------------------------------------------------------
      # Settings of sound for admin.
      #--------------------------------------------------------------------------------------
      sound:
        enable: true
        #--------------------------------------------------------------------------------------
        # All sounds can be found here: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html
        #--------------------------------------------------------------------------------------
        type: BLOCK_ANVIL_PLACE

    #--------------------------------------------------------------------------------------
    # A list of commands that will be tracked in the /wgrp spy command
    #--------------------------------------------------------------------------------------
    spyCommandList:
      - //set
      - //replace
      - //overlay
      - //walls
      - //deform
      - //fill
      - //fillr
      - //fixlava
      - //hollow
      - //move
      - //stack
      - //smooth
      - //cut
      - //replacenear

  #--------------------------------------------------------------------------------------
  # Turn Enable/Disable the protected region message.
  #--------------------------------------------------------------------------------------
  regionMessageProtect: true

  #--------------------------------------------------------------------------------------
  # Turn Enable/Disable the protected region message when using the WE\FAWE commands.
  #--------------------------------------------------------------------------------------
  regionMessageProtectWe: true

  #--------------------------------------------------------------------------------------
  # Settings of database.
  #--------------------------------------------------------------------------------------
  dataSource:
    enable: false
    database: wgrp_core
    host: localhost
    port: 3306
    user: root
    password: root
    table: wgrp_logs
    useSsl: true

    #--------------------------------------------------------------------------------------
    # Pool settings...
    #--------------------------------------------------------------------------------------
    maxPoolSize: 10
    maxLifetime: 1800 # 30 minutes
    connectionTimeout: 5000 # 5 second
    intervalReload: 60 #in seconds

bStatistic
WorldGuardRegionProtect.svg

Just rate us already ^^
 
Last edited: