PvP is off until you switch it on, and a fight only happens when both players have it on.
Switching it
| Command | What it does |
|---|---|
| Switch PvP on or off | |
| / | Pick one |
| Check yours |
You can switch every 30 seconds. After a PvP hit you're in combat for 15 seconds, and PvP can't be switched off until that ends.
While your PvP is on, a red ⚔ shows after your name in the tab list, so everyone can see who is up for a fight.
What PvP off keeps away
With PvP off, other players can't hurt you with hits, arrows, tridents, fireworks, harmful potions, fire, fishing rods, wind charges or their tamed wolves. They can't pour lava or light fire right next to you either, and TNT, end crystals, beds and respawn anchors other players set off don't hurt you. Healing potions still reach you.