PainlessPVP
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.
-
View User Profile
-
Send Message
Posted Jun 21, 2013@McJellyGooby
I am still maintaining virtually all my plugins, since i use most of them on a server anyway. Will at some point change some of the descriptions...
However i am not sure about "fancy additions" and speed of adding features.
Controlling exp separately would be logical, though it would mean using either a different concept or more permission checks, not sure what i will do technically, likely i will add a config flag if to use separate permissions for exp, so the server owner has the choice. Can't promise any timing right now...
-
View User Profile
-
Send Message
Posted Jun 20, 2013perhaps KeepInventory? I would love to see this plugin further developed. I'm looking for a lightweight, standalone solution that controls item/exp drops. I would prefer to control items and exp separately. Is this a plugin you plan on maintaining?
-
View User Profile
-
Send Message
Posted May 31, 2013@vaxjo
You mean there already exists a plugin of this name or you use this one :) ?
-
View User Profile
-
Send Message
Posted May 31, 2013Famous plugin :O I use on my RPG/PVP server :)))
-
View User Profile
-
Send Message
Posted May 30, 2013Should rename the project, it does in fact not refer to pvp only... AlmostDead, SelectiveDeath, LesserDeath, Weavil?
-
View User Profile
-
Send Message
Posted May 29, 2013First beta upload pending. The detached version has not been extensively tested, it is "on-server" and basic features have in fact been tested. The core code has not been changed, which was "on-server" for quite some time now. Changes mostly concern the design to be able to run the plugin without Worldguard or mcMMO, with reduced features for such case.