Jump to content
Message added by realedwin,

 

This plugin is compatible with both Carbon & Oxide (as of v2.0.6011).


If you encounter a bug or problem with this plugin, it is a good idea to report it. When reporting a bug, please be as descriptive as possible so that it can be addressed more quickly and is more likely to be fixed. Please state whether you are using Carbon or Oxide and which version.

 

2 Screenshots

This area is for discussion and questions. Please use the support area for reporting issues or getting help.

Recommended Comments



Uzumi

Posted

Would it be possible to also print the "server time" when players use the /raidprot command? seeing the time it protects means nothing if they dont know what timezone the plugin was configured in

  • Like 1
realedwin

Posted

22 hours ago, oldmenrust said:

Hi All,

 

my players have reported, that turrets of a base under protection make no damage to enemies so they can be drain easily.

Is that a feature which can be configured or a bug, or maybe something else related to this plug-in?

Please send the configuration file

  • Like 1
realedwin

Posted

On 4/7/2024 at 6:36 PM, oldmenrust said:

Hi All,

 

my players have reported, that turrets of a base under protection make no damage to enemies so they can be drain easily.

Is that a feature which can be configured or a bug, or maybe something else related to this plug-in?

Fixed
"Protect AI" must be set to false

  • Like 1
Bear Grills

Posted

Can you confirm the below is what I think it is. Player logs off, 15 minutes later they have 100% protection. After 1 hour they have 75%. After 2 hours they have half and after 4 hours they have no protection and take full damage?

 

    "Scale of damage depending on the offline time in hours": {
      "0.25": 0,
      "1": 0.25,
      "2": 0.5,
      "4": 1.0

  • Like 1
HunterZ

Posted

Heads up: Carbon is making an API change that breaks ORP. If a fix isn't out yet, here's guidance from the author of Carbon:

Quote

replace `Community.Runtime.CorePlugin` to `Community.Runtime.Core`

 

  • Like 1
kokobeware

Posted

Is there a setting for AFK players? 

realedwin

Posted

12 hours ago, kokobeware said:

Is there a setting for AFK players? 

No, there isn't. AFK players are considered to be online.

  • Like 1
EasyServer

Posted

1. Is the protection TC bound? (also in the team)  2. And does protection restart for a team if the last member of the team goes offline?

 

EasyServer

Posted

3. And what command do you have to enter as an admin if a change has been made to the plugin so that it has to be reloaded and every player should get new protection? (I'm sorry I can only speak German)

realedwin

Posted

10 hours ago, EasyServer said:

3. And what command do you have to enter as an admin if a change has been made to the plugin so that it has to be reloaded and every player should get new protection? (I'm sorry I can only speak German)

You can write to me in German on discord (realedwin).

I will also answer your questions here soon, although the description already answers them.

Stark

Posted

On 12/31/2023 at 5:23 PM, Jack said:

Hi!
This plugin looks awesome but I don't know why I can make it work.

  • I added the offlineraidprotection protect permission to my Default Group and Admin Group.
  • I put the  "Protect all prefabs": to TRUE,
  • We added a toolbox, 
  • We built some structures AFTER the plugin is activated and permissions properly setted.
  • We built structure after disconnect / reconnect AFTER the plugin is activated and permissions properly setted.

I tested a raid with another admin and regular players but everyone can raid.
No message, no protection, and raid protection check for protected players are OK, it shows damage scale at 0%

I don't know if I forgot to do something, but if not, the plugin don't seems to work for me.
It's too bad, because a lot of work seems to be done on this plugin and the result is really cool for a PVE serrver.

If anyone have an idea ....


Happy new year!

I'm having this exact same issue. I've configued everything and yet nothing has changed. No Game Tips show. The Time Zone didn't even change. 

I can't even check protection status it gives me Synatx Error with the command 

OfflineRaidProtection.json

Stark

Posted

Hello

Stark

Posted

This  --->    "/orp or /ao <steam id or full name> — Check a player's offline protection status." Is pretty stupid. The idea players need to type in names in order to check raid statues is pretty dumb. The command doesn't work with players that have spaces in their name either. 

realedwin

Posted

9 minutes ago, Stark said:

This  --->    "/orp or /ao <steam id or full name> — Check a player's offline protection status." Is pretty stupid. The idea players need to type in names in order to check raid statues is pretty dumb. The command doesn't work with players that have spaces in their name either. 

If a player has spaces in their name, you must use quotation marks. "<name>".

I will improve the command in a future update. It is possible to check the offline protection status by using the command /ao & /orp when looking towards a player's structure or vehicle.

Stark

Posted

I tried that doesn't work. Gives Synatx error or nothing at all. 

HunterZ

Posted

You can also just hit a base with a bullet or melee attack to get a status banner if it's being protected.

  • Like 1
realedwin

Posted

8 hours ago, Stark said:

I tried that doesn't work. Gives Synatx error or nothing at all. 

It works 100% on Carbon. I will check the Oxide version of the plugin. I would rather use Carbon than Oxide to avoid problems with ORP.

Flint Monkey

Posted

I am looking to use this plugin with a PvE plugin (in my case, Simple PvE), such that:

  1. PvP is enabled the last 12 hours of a wipe cycle
  2. Offline raid protection is enabled for players who are not online during that last 12 hour period.
  3. If a player logs offline, their base can only be damaged for 15 minutes after they log off.

From what I can tell, this plugin will work to cover that time period if I:

  1. Set no values for
    "Scale of damage depending on the offline time in hours": {}
  2. And 
    "Cooldown in minutes": 15,

Do I have this right?

 

mgUber

Posted

Hi. I believe that this morning's update has created an issue with this plugin. When I try to reload the plugin after failing to load on server start, I am getting an error that says the following:

" Error while compiling OfflineRaidProtection: Base Player.Encrypted Value<ulong> does not contain a definition for 'HasPermission' and the best extension method overload 'ExtensionMethods.HasPermission(BasePlayer, string)' requires a receiver of type 'BasePlayer'

Any fix or update would be very much appreciated, currently all of my offline players are vulnerable.

  • Like 1
realedwin

Posted

1 hour ago, mgUber said:

Hi. I believe that this morning's update has created an issue with this plugin. When I try to reload the plugin after failing to load on server start, I am getting an error that says the following:

" Error while compiling OfflineRaidProtection: Base Player.Encrypted Value<ulong> does not contain a definition for 'HasPermission' and the best extension method overload 'ExtensionMethods.HasPermission(BasePlayer, string)' requires a receiver of type 'BasePlayer'

Any fix or update would be very much appreciated, currently all of my offline players are vulnerable.

 I will fix it when I get home tomorrow.

  • Like 1
Flint Monkey

Posted

23 hours ago, realedwin said:

 I will fix it when I get home tomorrow.

Same here:

OfflineRaidProtection - Failed to compile: 'BasePlayer.EncryptedValue' does not contain a definition for 'HasPermission' and the best extension method overload 'ExtensionMethods.HasPermission(BasePlayer, string)' requires a receiver of type 'BasePlayer' | Line: 2613, Pos: 69

 

  • Like 1
CsaszyKJ

Posted

[Offline Raid Protection] Config update detected! Update config values...

[Offline Raid Protection] There is an error in your configuration file. Using default settings

System.ArgumentNullException: Value cannot be null.

Parameter name: source

at System.Linq.Enumerable.Select[TSource,TResult] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] selector) [0x0000d] in <53d9c9e3ddfd44bba9f7bd7413478f07>:0

at Oxide.Plugins.OfflineRaidProtection.GetPrefabNames () [0x00000] in <84e925f34b06498ca164da77da6733fc>:0

at Oxide.Plugins.OfflineRaidProtection.GetBaseConfig () [0x0008f] in <84e925f34b06498ca164da77da6733fc>:0

at Oxide.Plugins.OfflineRaidProtection.UpdateConfigValues () [0x00010] in <84e925f34b06498ca164da77da6733fc>:0

at Oxide.Plugins.OfflineRaidProtection.LoadConfig () [0x0002e] in <84e925f34b06498ca164da77da6733fc>:0

Could not initialize plugin 'OfflineRaidProtection v1.1.14' (ArgumentNullException: Value cannot be null.

Parameter name: source)

at System.Linq.Enumerable.Select[TSource,TResult] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] selector) [0x0000d] in <53d9c9e3ddfd44bba9f7bd7413478f07>:0

at Oxide.Plugins.OfflineRaidProtection.GetPrefabNames () [0x00000] in <84e925f34b06498ca164da77da6733fc>:0

at Oxide.Plugins.OfflineRaidProtection.GetBaseConfig () [0x0008f] in <84e925f34b06498ca164da77da6733fc>:0

at Oxide.Plugins.OfflineRaidProtection.LoadDefaultConfig () [0x00000] in <84e925f34b06498ca164da77da6733fc>:0

at Oxide.Plugins.OfflineRaidProtection.LoadConfig () [0x00065] in <84e925f34b06498ca164da77da6733fc>:0

at Oxide.Core.Plugins.Plugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x0000f] in <beb2b64691c64e2b95b99491bd85442c>:0

at Oxide.Core.Plugins.CSPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <beb2b64691c64e2b95b99491bd85442c>:0

at Oxide.Plugins.CSharpPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <795304323ac74a298b8ed190a1dfa739>:0

at Oxide.Plugins.RustPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x0028e] in <2251535bc8844098950abb2982661eaa>:0

at Oxide.Core.Plugins.PluginManager.AddPlugin (Oxide.Core.Plugins.Plugin plugin) [0x00027] in <beb2b64691c64e2b95b99491bd85442c>:0

at Oxide.Core.OxideMod.PluginLoaded (Oxide.Core.Plugins.Plugin plugin) [0x00035] in <beb2b64691c64e2b95b99491bd85442c>:0

No previous version to rollback plugin: OfflineRaidProtection

realedwin

Posted

32 minutes ago, CsaszyKJ said:

[Offline Raid Protection] Config update detected! Update config values...

[Offline Raid Protection] There is an error in your configuration file. Using default settings

System.ArgumentNullException: Value cannot be null.

Parameter name: source

at System.Linq.Enumerable.Select[TSource,TResult] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] selector) [0x0000d] in <53d9c9e3ddfd44bba9f7bd7413478f07>:0

at Oxide.Plugins.OfflineRaidProtection.GetPrefabNames () [0x00000] in <84e925f34b06498ca164da77da6733fc>:0

at Oxide.Plugins.OfflineRaidProtection.GetBaseConfig () [0x0008f] in <84e925f34b06498ca164da77da6733fc>:0

at Oxide.Plugins.OfflineRaidProtection.UpdateConfigValues () [0x00010] in <84e925f34b06498ca164da77da6733fc>:0

at Oxide.Plugins.OfflineRaidProtection.LoadConfig () [0x0002e] in <84e925f34b06498ca164da77da6733fc>:0

Could not initialize plugin 'OfflineRaidProtection v1.1.14' (ArgumentNullException: Value cannot be null.

Parameter name: source)

at System.Linq.Enumerable.Select[TSource,TResult] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] selector) [0x0000d] in <53d9c9e3ddfd44bba9f7bd7413478f07>:0

at Oxide.Plugins.OfflineRaidProtection.GetPrefabNames () [0x00000] in <84e925f34b06498ca164da77da6733fc>:0

at Oxide.Plugins.OfflineRaidProtection.GetBaseConfig () [0x0008f] in <84e925f34b06498ca164da77da6733fc>:0

at Oxide.Plugins.OfflineRaidProtection.LoadDefaultConfig () [0x00000] in <84e925f34b06498ca164da77da6733fc>:0

at Oxide.Plugins.OfflineRaidProtection.LoadConfig () [0x00065] in <84e925f34b06498ca164da77da6733fc>:0

at Oxide.Core.Plugins.Plugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x0000f] in <beb2b64691c64e2b95b99491bd85442c>:0

at Oxide.Core.Plugins.CSPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <beb2b64691c64e2b95b99491bd85442c>:0

at Oxide.Plugins.CSharpPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <795304323ac74a298b8ed190a1dfa739>:0

at Oxide.Plugins.RustPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x0028e] in <2251535bc8844098950abb2982661eaa>:0

at Oxide.Core.Plugins.PluginManager.AddPlugin (Oxide.Core.Plugins.Plugin plugin) [0x00027] in <beb2b64691c64e2b95b99491bd85442c>:0

at Oxide.Core.OxideMod.PluginLoaded (Oxide.Core.Plugins.Plugin plugin) [0x00035] in <beb2b64691c64e2b95b99491bd85442c>:0

No previous version to rollback plugin: OfflineRaidProtection

Back up your config and delete it from the config directory, then reload the plugin. Which version are you upgrading from? 

CsaszyKJ

Posted

4 hours ago, realedwin said:

Back up your config and delete it from the config directory, then reload the plugin. Which version are you upgrading from? 

Hi mate,

1.1.12 - was for me. 

I'll do it as you mentioned now. 

Thanks for your quick reply.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Like 7

User Feedback

1.6m

Downloads

Total number of downloads.

7.7k

Customers

Total customers served.

115.6k

Files Sold

Total number of files sold.

2.4m

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.