PainlessPVP

This project is abandoned and its default file will likely not work with the most recent version of Minecraft. Whether this project is out of date or its author has marked it as abandoned, this project is no longer maintained.

Painless PVP

Keep inventory and xp based on permissions. WorldGuard region support with permissions: specific regions, owners, members, any region. Tweaks to prevent the mcMMO disarm-skill on no-pvp regions and where a player would keep inventory on death.

This is a quick split off a server core plugin, intended to contain pvp fixes and fun-stuff like keeping inventory on death.

Details

  • If a player may keep inventory and xp on death is determined by checking permissions. Regions are "selected" with permissions, such that you have fine-grained control over worlds, regions and generic properties like "regions present at all" or membership or ownership.
  • No distinction of xp and inventory yet.
  • Highly imprecise (feature!): If you took damage somewhere where you are allowed to keep inventory, you will still keep it within a certain time up to a certain distance, even if walked outside of a pvp region. This allows for fun-pvp regions to just walk in and out.
  • Features are not configurable, yet.

Do not use this together with plugins that ...

  • ... change inventories dependent on the world or location (unless you prevent cross-world respawn). This might not be critical but could conflict, since both plugins try to set items. If the other plugin comes first, PainlessPVP will drop all items in inventory before setting the contents, still conflicts can arise.
  • ... change drops on player death (inconsistencies).
  • ... do the same thing (item duplication).

Permissions

Permissions:

  • painlesspvp.keep.inventory
    Allows to keep inventory and xp everywhere.
  • painlesspvp.keep.inventory.region
    Keep inventory and xp wherever regions are.
  • painlesspvp.keep.inventory.region.owner
    Keep inventory and xp on regions you are owner of.
  • painlesspvp.keep.inventory.region.member
    Keep inventory and xp on regions you are member of.

Permissions containing world and / or region names:

  • painlesspvp.keep.inventory.w.WORLDNAME
    Keep inventory and xp in a certain world.
  • painlesspvp.keep.inventory.w.WORLDNAME.r.REGIONNAME
    Keep inventory and xp in a certain region in a certain world.
  • painlesspvp.keep.inventory.r.REGIONNAME
    Keep inventory and xp in every region of that name.

World and region names have to be set lower-case with permissions, the 'w' and 'r' parts also allow some things for servers which don't use permissions plugins that allow multi-world permissions (e.g. if using the permissions.yml file). Note that players who are allowed to claim regions might claim regions of the same name in a different world, unless there are plugins that take care of that, so just use both 'w' and 'r' if not sure.

Developers

Source: https://github.com/asofold/PainlessPVP

PainlessPVP listens to the PlayerDeathEvent on EventPriority.NORMAL.


Comments

  • To post a comment, please or register a new account.
Posts Quoted:
Reply
Clear All Quotes

About This Project

Categories

Members

Recent Files