Jump to content
Message added by P1S4G0R,

Feel free to ask any question on Discord pisagor0104  or join my discord channel (link in description)

2 Screenshots

About Wipe Protect


This plugin provides two types of protection for players in Rust.

Firstly, you can enable general protection. General protection provides universal protection for all players starting from when the server wipe occurs, and during the duration specified in the configuration file, no player can damage another player's base.

Secondly, you can enable player-based protection. In player-based protection, each player has protection starting from when they first join the server after a wipe, for the duration specified in the configuration file. During this period, the player cannot damage another player's base, and other players cannot damage their base.

To activate general protection, the 'Protect Type' setting in the configuration file should be set as follows:

"Protect Type": 2,

To activate player-based protection, the 'Protect Type' setting in the configuration file should be set as follows:

"Protect Type": 1,

Along with player-based protection, you can allow players to purchase extra protection time. To enable players to purchase extra protection time, the 'Buy Protect Enabled' setting in the configuration file should be set as follows:

"Buy Protect Enabled": true,

With this setting, players can use the '/buyprotect amount' command to purchase protection time (the amount should be a whole number representing minutes). To configure the unit for protection cost ('rp', 'scrap', or 'economics'), the cost per minute of protection, and the duration after which the protection becomes active if the player doesn't have an active protection, you need to modify the respective settings:

"How many minutes after purchase should it be active?": 60,
"Cost of Protect for a Minute": 100,
"Protect Cost Type? scrap / rp, economy": "rp",
"How often should it check purchase requests? (enter minute example 5)": 5

Using the above settings as an example, if the player doesn't have an active protection, they will pay 100 RP for 1 minute of protection, and the purchase will be processed at 19:00 if made at 18:00 in real time. If the player already has an active protection, they will pay 100 RP for 1 minute, and the time will be added on top of their existing protection time.

If you set "How many minutes after purchase should it be active?" to 0, the purchased protection will be immediately added to the player.

To enable notifications on the right side above the health bar, the following settings should be configured, and the ImageLibrary and CustomStatusFramework plugins should be installed. If you prefer to use chat notifications only, you don't need to install these two plugins.

"Gui Enabled": true,

 


Admin Commands
The plugin includes the following commands that can only be used by admins:

/addprotect player_nick_name_part x -> Adds x minutes of protection to the player.
/removeprotect player_nick_name_part -> Removes the player's protection.
/checkprotect player_nick_name_part -> Displays how much protection time the player has remaining.


Player Commands 

/noprotect          -> Player’s can remove protect theirself.
/buyprotect minute  ->(minute must be intger) if player has enough  cost added protect to player


Console Commands

addprotect steam64id minute 

All Config Settings

{
  "Protect Enabled": true, / Protect enabled => true, disbled => false
  "Custom Status Framework Gui Enabled": false, // Gui Enabled notification right bottom
  "Simple Status  Gui Enabled" : true, //Gui Enabled notification right bottom
  "Protect Type": 1,  // Protect Type  player => 1 , General => 2;
  "Chat Message Enabled": true, //chat message  enabled => true, disabled => false
  "Protect Time": 120, // how many minute player has protect after first login  or general protect
  "Protect Icon Url": "https://icon-library.com/images/protect-icon/protect-icon-18.jpg", //icon image url
  "Player Has Protect Notification Color Code": "0.46275 0.22745 0.18431 1", //color rgba massive code
  "Notification Title Color Code": "0.91373 0.77647 0.75686 1", //color rgba massive code
  "Notification Text Color Code": "0.91373 0.77647 0.75686 1", //color rgba massive code
  "Notification Image Color Code": "0.91373 0.77647 0.75686 1", //color rgba massive code
  "Wipe Protect Enabled Notification Background Color Code": "0.46275 0.22745 0.18431 1", //color rgba massive code
  "Check Status Gui Time": 1,   // Check Time interval As Like Minute
  "Give Back C4, Rocket, Satchel Enabled": true, //control giveback item
  "Buy Protect Enabled": true,  // 
  "How many minutes after purchase should it be active?": 60, // as like minute 
  "Cost of Protect for a Minute": 60, // Cost of protect minute
  "Protect Cost Type? scrap / rp, economy": "rp",   //cost type  
  "How often should it check purchase requests? (enter minute example 5)": 5  // Check Time interval As Like Minute
  "Dont Protect this Prefabs (Twigs, Metal, Stone, TopTier)" : 
	[
		"Twigs", 
		"Stone"
	]
}

 

Language Settings:
You can modify the notification messages in different languages under the 'Language' folder.

Discord:
If you find any bugs, need assistance, or have suggestions related to the plugin, you can reach out on Discord. Discord pisagor0104

https://discord.gg/JnQftZeSXD

  • Like 2

User Feedback

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

103.4k

Files Sold

Total number of files sold.

2.1m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.