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

Allow fire/lava proximity to be controlled based on world PvP rules #371

Merged
merged 3 commits into from Sep 15, 2018

Conversation

Kittencore2608
Copy link

I proposed this change because there is often a case where one does not want to explicitly allow PvP in a world, but GP's (un)handling of fire and lava placement is more of an annoyance to a server's playerbase than it helps (esp. with collaborative mob-farm building).

The old flag GriefPrevention.PvP.AllowLavaDumpingNearOtherPlayers and it's sibling GriefPrevention.PvP.AllowFlintAndSteelNearOtherPlayers are migrated to the PvPWorlds sub-flag, which should imitate previous behavior without the need for any reconfiguration.

@RoboMWM
Copy link

RoboMWM commented Sep 13, 2018

So from what I understand you want to be able to control if the fire/lava placement near players applies in worlds that don't have PvP rules enabled? Because the current handling is that these features are in fact enabled for worlds that do not have PvP rules applied in config.

@Kittencore2608
Copy link
Author

Correct. This is to make configurable a setting that is otherwise hard-coded on, which may not necessarily be the right choice for some servers.

@RoboMWM
Copy link

RoboMWM commented Sep 13, 2018

Ok, just wanted to clarify because your original description implied GP didn't do anything at all (when it actually does).

Copy link

@RoboMWM RoboMWM left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks okay.

@RoboMWM RoboMWM merged commit 393aa27 into GriefPrevention:master Sep 15, 2018
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

Successfully merging this pull request may close these issues.

None yet

2 participants