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

PVP death cause #14

Closed
1 task done
TrueGame776 opened this issue Jan 2, 2024 · 1 comment
Closed
1 task done

PVP death cause #14

TrueGame776 opened this issue Jan 2, 2024 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@TrueGame776
Copy link

What and How?

There is no such property that defines a player killing another player. Only [ENTITY_ATTACK] and [ENTITY_SWEEP_ATTACK] come close, both with problems. ENTITY_ATTACK can include any entity killing another one, like a zombie or a player killing another player. Sweep attack depends if the final hit on the player was a sweep hit, which considering most people do crits to do most damage, is not common. A property should be created that only defines a player killing another player.

Why?

I am the owner of an SMP, where PvP is very common. Stealing lives becomes a huge problem, as players also lose lives to some mobs 'slaying' them, like zombies, but not creepers exploding or skeletons shooting.

Are there alternatives?

Nope, other than ENTITY_ATTACK, which is not the best.

Checks

  • I have used the search at least once to check if my idea has already been suggested and perhaps already implemented.

Anything else

A craftable (custom recipe that can be configured) item that opens a GUI of players who are banned by losing their lives that can revive a configurable amount of players.

@TrueGame776 TrueGame776 added the enhancement New feature or request label Jan 2, 2024
@srnyx srnyx changed the title Property of only a player killing another player PVP death cause Jan 2, 2024
@srnyx
Copy link
Owner

srnyx commented Jan 2, 2024

I just remembered there is obtaining.stealing config option. This will prevent players from gaining lives when they kill other players, however, those who die will still lose lives. I'll keep this issue open though, as there still isn't a way to prevent players from losing lives in PVP.

@srnyx srnyx closed this as completed in cddc062 May 24, 2024
@srnyx srnyx added this to the 3.1.0 milestone May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants