Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WorldGuard Region priority not respected ! #1

Open
paris-ci opened this issue May 13, 2015 · 6 comments
Open

WorldGuard Region priority not respected ! #1

paris-ci opened this issue May 13, 2015 · 6 comments
Assignees

Comments

@paris-ci
Copy link

Good plugin. But... When you are in two regions at a time

==========  .. spawn_miniwarzone == Spawn
=   .... =
=   .... =
==========

example : Spawn (no pvp; priority 100) and spawn_miniwarzone (In the spawn region; pvp allowed; priority 200)
If someone pvp'ed in spawn_miniwarzone, they are knockbaced by the plugin :/ That's bad !
Anyway good job !

@Techcable
Copy link
Member

Dang, this will require lots of work to the backend of the plugin.

@Techcable Techcable self-assigned this May 14, 2015
@paris-ci
Copy link
Author

That will make your plugin a lot more helpful

@paris-ci
Copy link
Author

Any update 'bout that ?

@L4BORG
Copy link

L4BORG commented Feb 15, 2016

@paris-ci
Copy link
Author

Sounds cool

@Techcable
Copy link
Member

The issue is calculating the edges of a region (at least for forcefeilding).
I assume all regions are squares, and calculate the edges like that.
For forcefielding, I could switch to the algorithm used by CombatTagPlus, which is just brute-force calculating what is the edges (which would work on all regions).

The general issue though, is that when you configure a region (for example spawn), to be blocked it assumes the entire region should be blocked.
What I could do is make it possible for regions to be 'unblocked', so the plugin doesn't knock people back (as if they were in the region).
This issue also arises with forcefielding, so I have to fix it before I switch forcefielding algorithms.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants