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

Flag to prevent visitors picking up XP #217

Closed
TheWranger opened this issue Jul 31, 2018 · 4 comments
Closed

Flag to prevent visitors picking up XP #217

TheWranger opened this issue Jul 31, 2018 · 4 comments
Assignees
Labels
Type: Enhancement Improvement or modification which is usually a new feature.

Comments

@TheWranger
Copy link

TheWranger commented Jul 31, 2018

A setting for preventing visitors from picking up xp orbs. Players are making automatic public AFK farms for experience.

@Poslovitch Poslovitch changed the title Visitors picking up XP Flag to prevent visitors picking up XP Aug 2, 2018
@Poslovitch Poslovitch added the Type: Enhancement Improvement or modification which is usually a new feature. label Aug 2, 2018
@Poslovitch
Copy link
Member

That is an interesting feature request, however, I need to ask a few questions :

  1. Do you expect this flag to be editable by players or only by admins ?
  2. Do you expect this flag to just be a "toggle" or to allow specifying a special island rank?

@TheWranger
Copy link
Author

TheWranger commented Aug 2, 2018

  1. I was thinking this could be like other flag/setting where players can edit the option for their island if they have the permission.
  2. Just a toggle to prevent visitors to your island from picking up xp orbs. Co-op'd players and team members should still be able to collect them.

@tastybento
Copy link
Member

Got it.

@Poslovitch Poslovitch self-assigned this Dec 1, 2018
@Poslovitch
Copy link
Member

Experience related events cannot be cancelled : https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/event/player/PlayerExpChangeEvent.html
I will write a suggestion request on Spigot's bug tracker.

Poslovitch added a commit that referenced this issue Dec 12, 2018
#217
* Added EXPERIENCE_PICKUP flag (as a PROTECTION flag)
* Created ExperiencePickupListener
* Updated en-US locale accordingly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement Improvement or modification which is usually a new feature.
Projects
None yet
Development

No branches or pull requests

3 participants