HomeJavaModsSimple PVP restrictions
Simple PVP restrictions
ModsJava

Simple PVP restrictions

by Ayoree · on Modrinth

PVP timer + gamemode restrictions. A plugin that allows configuring PVP logic on the server. Free Minecraft Java mod for 1.17, 1.17.1, 1.18.

⬇ Download on Modrinth

Simple PVP

A plugin that allows configuring PVP logic on the server.

Translation

Features

Permissions

config.yml

# PVP is regulated by the permission `simplepvp.gamemode.<gamemode>`
# For example, players with the permission `simplepvp.gamemode.creative` can hit players while in creative mode.

# Start the PVP timer when attacking another player (not enabled for players with the permission `simplepvp.timer.bypass`).
pvp-timer: true

# Duration of the PVP mode
pvp-time: 10

# Kill the player when exiting the game during PVP mode
exit-pvp-kill: true

# These commands cannot be used during PVP mode
blocked-cmds:
- '/spawn'
- '/tp'
- '/tpo'

# -=-=-=-=-=- MESSAGES -=-=-=-=-=-
# For color, use the symbol '§'
# If you want to disable any message, make it empty.

# Displayed in ActionBar during PVP mode
on-pvp-msg: '§cYou are in §lPVP§r§c. §e{time}§c seconds remaining until exit from §lPVP'

# Displayed when entering a blocked command during PVP mode
command-on-pvp-msg: '§f[§4§lPVP§r§f] §cYou cannot execute this command during PVP'

# Broadcast to all players on the server if a player exits during PVP
exit-on-pvp-msg: '§f[§4§lPVP§r§f] §e{player} exited during §cPVP§e and was punished!'

# Displayed in ActionBar when the PVP mode ends
end-pvp-msg: '§aYou exited from §lPVP§r§a mode'

# Displayed when a player does not have permission for PVP in their current gamemode
no-permission-msg: '§cYou do not have permission for PVP in this gamemode.'
Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more