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

Essentials compatibility module #337

Open
DwarfyAssassin opened this issue Feb 10, 2019 · 1 comment
Open

Essentials compatibility module #337

DwarfyAssassin opened this issue Feb 10, 2019 · 1 comment
Labels
compatibility Improve the interaction with other things improvement For improvements regarding existing features low priority For something with low priority
Milestone

Comments

@DwarfyAssassin
Copy link

In short disable pvp for AFK players.
This could be useful because on some server killing players who are AFK is forbidden, this would enforce that rule.

From what I have seen and tested this should work to get if a player is AFK.

Essentials ess = (Essentials) Bukkit.getServer().getPluginManager().getPlugin("Essentials");
ess.getUser(BukkitPlayer).isAfk()
@CraftedMods CraftedMods added improvement For improvements regarding existing features compatibility Improve the interaction with other things medium priority For something with medium priority labels Feb 10, 2019
@CraftedMods CraftedMods added this to the 2.0.0-BETA.2 milestone Feb 10, 2019
@CraftedMods
Copy link
Member

CraftedMods commented Feb 10, 2019

We'll also add an event for canDoPvP, which allows compatbility modules to change the behaviour of that function. See #338

@CraftedMods CraftedMods added low priority For something with low priority and removed medium priority For something with medium priority labels Feb 10, 2019
@CraftedMods CraftedMods modified the milestones: 2.0.0-BETA.2, 2.0.0-BETA.4 Jul 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compatibility Improve the interaction with other things improvement For improvements regarding existing features low priority For something with low priority
Projects
None yet
Development

No branches or pull requests

2 participants