A downloadable mod

Download NowName your own price

PvE Guard

Block player-vs-player damage on your Rust server. Protect players and their builds from griefing while keeping PvE threats intact.

Oxide Plugin Rust PvE Anti-Grief
๐Ÿ›ก๏ธ

Peace on Your Server

Block all non-team player damage to people and structures. NPCs, animals, and the environment still pose a threat. Admins can bypass when needed.

Features

๐Ÿ‘ฅ

Player Damage Protection

Blocks all damage from non-team players. Self-damage like falls and self-inflicted explosions still applies normally.

๐Ÿ˜๏ธ

Structure Protection

Buildings and deployed entities are protected from non-team player damage. No more raiding or griefing in PvE zones.

๐Ÿบ

PvE Threats Preserved

NPCs, animals, radiation, cold, and other environmental hazards still deal damage as usual. The survival challenge stays real.

๐Ÿ””

Toast Notifications

Attackers see an in-game toast when their damage is blocked. Configurable style with multiple options.

๐Ÿ”

Permission-Based

Protection applies only to players with the permission. Admins get a separate bypass permission to deal damage when needed.

๐ŸŒ

Localized Messages

Built-in English and Japanese translations. Customize messages by editing the language files.

How It Works

โ†’ A player attacks another player or their structure.
โ†’ The plugin checks if the victim has the pveguard.use protection permission.
โ†’ If the attacker is not on the victim's team and doesn't have admin bypass, the damage is canceled.
โ†’ The attacker receives a toast notification that their damage was blocked.
โ†’ NPC, animal, and environmental damage always passes through unaffected.

Configuration

A configuration file is automatically generated at oxide/config/PvEGuard.json on first load.

{
  "Enable toast notification": true,
  "Toast style (GameTip.Styles enum name)": "Server_Event"
}
Option Default Description
Enable toast notification true Show a toast notification to the attacker when damage is blocked.
Toast style (GameTip.Styles enum name) Server_Event Toast notification style. Options: Blue_Normal, Blue_Long, Blue_Short, Red_Normal, Server_Event, Error.

Installation

1 Copy the plugin file
Place PvEGuard.cs into your server's oxide/plugins/ directory.
2 Start or restart your server
The config and language files will be generated automatically.
3 Grant the protection permission
Grant pveguard.use to players or groups who should be protected.
4 Optionally configure toast and language
Edit the config to change toast style, or customize language files in oxide/lang/.

Permissions

pveguard.use

Enables PvE damage protection for the player. When this player is the victim, non-team player damage is blocked.

pveguard.admin

Bypasses PvE protection. Players with this permission can deal damage to protected players and structures. Takes priority over pveguard.use.

Grant Protection

oxide.grant group default pveguard.use

Grant Admin Bypass

oxide.grant user <SteamID> pveguard.admin

Important Notes

Team Damage Allowed

Teammates can still damage each other and each other's structures. The plugin only blocks damage from players outside the victim's team.

Self-Damage

Fall damage, self-inflicted explosions, and other self-harm are never blocked. The plugin only intercepts damage from other players.

โš  Admin Bypass Priority

The pveguard.admin permission always overrides pveguard.use. Be careful who you grant admin bypass to.

PvE Guard — An Oxide plugin for Rust dedicated servers.

Made by little method

Updated 7 days ago
StatusReleased
CategoryGame mod
Authorlittle method
Tagsmod, plugin, rust
LinksPatreon
AI DisclosureAI Assisted, Code, Graphics, Sounds, Text

Download

Download NowName your own price

Click download now to get access to the following files:

PvEGuard.cs 4.5 kB
CHANGELOG.md 770 bytes

Leave a comment

Log in with itch.io to leave a comment.