PvE Guard
A downloadable mod
PvE Guard
Block player-vs-player damage on your Rust server. Protect players and their builds from griefing while keeping PvE threats intact.
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 ProtectionBlocks all damage from non-team players. Self-damage like falls and self-inflicted explosions still applies normally. |
๐๏ธ
Structure ProtectionBuildings and deployed entities are protected from non-team player damage. No more raiding or griefing in PvE zones. |
|
๐บ
PvE Threats PreservedNPCs, animals, radiation, cold, and other environmental hazards still deal damage as usual. The survival challenge stays real. |
๐
Toast NotificationsAttackers see an in-game toast when their damage is blocked. Configurable style with multiple options. |
|
๐
Permission-BasedProtection applies only to players with the permission. Admins get a separate bypass permission to deal damage when needed. |
๐
Localized MessagesBuilt-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
Enables PvE damage protection for the player. When this player is the victim, non-team player damage is blocked.
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
Teammates can still damage each other and each other's structures. The plugin only blocks damage from players outside the victim's team.
Fall damage, self-inflicted explosions, and other self-harm are never blocked. The plugin only intercepts damage from other players.
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
Download
Click download now to get access to the following files:

Leave a comment
Log in with itch.io to leave a comment.