Star Pvp Plugin lets players turn their own PvP on or off with a simple chat command. This plugin includes a nearby-player distance check with a 200-block default radius so nobody can turn off combat right in the middle of a fight. Players cannot change anyone else’s combat status, which keeps survival servers fair for peaceful builders and fighters alike. It runs on Paper 26.3 servers with Java 25 and stores player choices in a data file.

Star Pvp Plugin

Features:

  • Personal PvP Toggle: Players can switch their own combat status on or off at any time using simple commands.
  • Combat Escape Protection: Stops players from turning off PvP when another player is within a 200-block 3D radius.
  • Blocks anyone from changing another player’s PvP status through commands.
  • Lets server admins set the starting PvP state for new players who have never used the toggle command.
  • Includes a same-world check so players in other dimensions do not block someone from turning off PvP.
  • Saves player PvP states to data.yml either right after every change or only when the server stops.
  • Replaces bad config values with safe defaults and shows a warning in the console.

Commands:

  • /pvp: Toggles your own PvP state on or off (uses permission starpvp.use, given to everyone by default).
  • /pvp on: Turns your PvP on (uses permission starpvp.use).
  • /pvp off: Turns your PvP off as long as no other player is inside the protection radius (uses permission starpvp.use).
  • /pvp toggle: Works the exact same as /pvp to switch your combat state (uses permission starpvp.use).
  • /pvpa reload: Reloads config.yml and messages.yml without resetting saved player data (uses permission starpvp.admin, given to operators by default).

Configuration:

  • starpvp.use: Permission that lets players run /pvp, /pvp on, /pvp off, and /pvp toggle (enabled for everyone by default).
  • starpvp.admin: Permission that lets operators reload the plugin files with /pvpa reload.
  • starpvp.bypass: Permission that lets a player turn off PvP even when other players are nearby, if bypass is turned on in the config.
# StarPvP configuration
# Invalid values are ignored with a console warning and replaced by safe defaults.

Settings:
  # Master switch. When false, /pvp is refused and PvP states are not enforced.
  # (/pvpa reload still works so you can switch it back on.)
  enabled: true

  # PvP state for players who have never used /pvp.
  # true = PvP enabled, false = PvP disabled.
  Default-state: true

  protection:
    # Block disabling PvP while another player is nearby.
    Enabled: true
    # Radius in blocks (real 3D distance). Must be greater than 0.
    Radius: 200
    # true  = only players in the same world count.
    # false = players in other worlds also count, comparing raw X/Y/Z numbers
    #         (no Nether 8:1 scaling is applied).
    Same-world-only: true

  bypass:
    # If false, nobody can bypass the protection, not even operators.
    Enabled: true
    permission: "starpvp.bypass"

  data:
    # true  = data.yml is saved every time a player changes their state.
    # false = data.yml is saved only when the server stops or the plugin is disabled.
    Save-on-change: true

How to Use:

  1. Type /pvp or /pvp toggle in chat to switch your current PvP status between on and off.
  2. Type /pvp on when you want to enter combat and allow other players to fight you.
  3. Move at least 200 blocks away from other players in your world and type /pvp off to safely turn off combat.
  4. As an operator, edit config.yml or messages.yml and run /pvpa reload to apply your changes without wiping player data.

Screenshots:

Star Pvp Plugin Screenshot 1
Toggling personal combat status on with the simple chat command in Star Pvp
Star Pvp Plugin Screenshot 2
Combat escape protection blocking a player from disabling PvP while enemies are nearby
Star Pvp Plugin Screenshot 3
Safely turning off personal PvP after moving outside the 200-block protection radius
Star Pvp Plugin Screenshot 4
Peaceful builder working safely while personal combat status is turned off
Star Pvp Plugin Screenshot 5
Two players fighting in survival after both enabling their PvP status
Star Pvp Plugin Screenshot 6
Using the toggle command to quickly switch between peaceful and combat states
Star Pvp Plugin Screenshot 7
Same-world distance check ignoring players located in other dimensions like the Nether
Star Pvp Plugin Screenshot 8
Operator reloading plugin settings and messages in chat without resetting player data
Star Pvp Plugin Screenshot 9
Testing the 3D distance check radius between two players on a Paper server
Star Pvp Plugin Screenshot 10
Bypassing the nearby player distance check using the operator bypass permission

Star Pvp Plugin Download Links

For Minecraft 26.3

Click to rate this post!
[Total: 0 Average: 0]