Skip to content
This repository has been archived by the owner on Apr 20, 2019. It is now read-only.

Convert worldguard regions to grief prevention regions #64

Open
wants to merge 538 commits into
base: master
Choose a base branch
from

Conversation

Xsm0deus
Copy link

Hi on our server we use a protection plugin that uses worldguard. Regions have owners and members and I was wondering if it's possible to convert or not?

@RoboMWM
Copy link
Contributor

RoboMWM commented Apr 13, 2019

Can you guys stop doing this.

@Xsm0deus
Copy link
Author

I am confused

@RoboMWM
Copy link
Contributor

RoboMWM commented Apr 18, 2019

Ok, please close this

Jikoo and others added 26 commits August 31, 2020 08:06
* Add a couple of new/missed hostile cases

* "Zoo" friendliness

* Prevent food attack vector for neutral animals
Jikoo and others added 30 commits March 28, 2024 17:14
- Feature: uses CommandMap via reflection if available.
- gpreload command now also reloads bannedwords.txt
De-duplicates code by using a wrapper for the bits of damage events we care about.
* remove economy messages
FallingBlock entities that pass through an end portal no longer double-fire EntityChangeBlockEvent
…rts (#2265)

Includes denying teleportations caused by chorus fruit when the config option `GriefPrevention.Claims.EnderPearlsRequireAccessTrust` is enabled

- refactored nested `if`s in PlayerTeleportEvent handler
Use github desktop's default, with some added statements from jikoo and
visual studio's default

covers #2269
covers #2269
git add --renormalize .

closes #2269
Fire has a real hit box now, clients hit it directly instead of the server raytracing swings at the block beneath it.
This should ideally help prevent some issues with the main reason for having claims extend down instead of snapping to the bottom immediately, namely player mineshafts.

Remove biomes from unsupported versions
Update to current tags/mats
* Update to 1.21
* Update to Java 21
* Move to more maintainable `PotionEffectTypeCategory` for potion handling
* Use `Tag.REPLACEABLE` instead of manual material listing
  * This is the tag of blocks where placement on any surface becomes `BlockFace.SELF`. Includes long grass, dead shrubs, snow, short grass, the works.
* Extract `GriefPrevention#allowBuild`/`GriefPrevention#allowBreak` to a helper method
  * These methods have been hacky since the introduction of the `ClaimPermissionCheckEvent`, and as we saw with damage events, Spigot is serious about event constructors not being API. Moving away from constructing events is a good idea in general.
  * Improves accuracy of event funnel by not masking various events with fake `BlockPlaceEvent`/`BlockBreakEvent` constructions.
* Deprecate `PreventBlockBreakEvent` instead listen to `ClaimPermissionCheckEvent`, check `#getTriggeringEvent`.
* Prevent claim lookup if ignoring the result anyway when milking cows
* Update BanList to use modern version
* Fix wind charges being blocked without `/claimexplosions` enabled

This requires a recent build of Spigot - explosion type was only added to the API in [`a4ee40b7`](https://hub.spigotmc.org/stash/projects/SPIGOT/repos/craftbukkit/commits/a4ee40b749f614482f5b5e52cda1b35c19df75be), 4 days ago as of this edit.

Closes #2320
* Bundle defaults into Messages enum
  * Defaults are guaranteed to be updated this way - no more risk of missing adding the default.
  * IDE can now properly identify unused messages as unused because they are not being used to add defaults.
* Update Minecraft wiki link
* Use new comments API for comments
Additionally:
- removes claimexpiration `unusedclaimdays` feature and config
- gitignores .vscode directory
- refactors `RestoreNatureProcessingTask#getPlayerBlocks` to AutoExtendClaimTask

Closes #2324
Closes #2292
Initialization missed in 5d0ebde#diff-3e987f7e8304fdcbd9f9f571afbbebec186bc70583b97676a68c6b5aac604478L1924
* Migrate database configuration to separate file

* Don't write file if not in use
- Always call AccrueClaimBlocksEvent, even when player is detected as idle
  - Call AccrueClaimBlocksEvent as canceled if player is idle (default behavior)
- Remove idle accrual config options
- Use player direction for idle detection
  - Remove other checks such as location, in water, and in vehicles
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.