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.

 

Message added by realedwin,

Starting today, I will be testing & reviewing all reported issues. There will be updates over the next few weeks, including some requested features and QOL updates

2 Screenshots

  • 40.3k
  • 1.5k
  • 158.85 kB

Recommended Comments



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

Link to comment
Share on other sites

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
Link to comment
Share on other sites
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.

Link to comment
Share on other sites

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?

 

Link to comment
Share on other sites

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
Link to comment
Share on other sites
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
Link to comment
Share on other sites
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
Link to comment
Share on other sites

[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

Link to comment
Share on other sites
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? 

Link to comment
Share on other sites
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.

Link to comment
Share on other sites
On 6/25/2024 at 11:35 PM, EasyServer said:

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?

 

1. A base requires a TC and at least one authorised player at the TC for ORP. All members of an authorised player's team are members of the base.
2. Protection never restarts, but a player's offline time does.

 

On 6/26/2024 at 12:04 PM, 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)

3. You can reload the plugin with o.reload OfflineRaidProtection or c.reload OfflineRaidProtection.
You can use the orp.fill.onlinetimes command to reset the players' offline time, or delete the data/OfflineRaidProtection/LastOnlineData.json file and reload the plugin.

  • Love 1
Link to comment
Share on other sites

Thank you for your understanding ! And answering my questions! You have created a very good plugin!

  • Love 1
Link to comment
Share on other sites
On 6/27/2024 at 5:53 PM, Stark said:

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 15.41 kB · 3 downloads

All I can say is that everything works for me with your configuration. Have you configured the permissions?

Link to comment
Share on other sites
On 7/3/2024 at 10:51 PM, Flint Monkey said:

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?

 

Have you configured "Scale of damage depending on the current hour of the real day"? I need more information about how you use the plugin.
Setting no values for "Scale of damage depending on offline time in hours" does not currently work, i.e. no protection at all, because "Scale of damage between the cooldown and the first configured time".

My recommendation would be to use the "Scale of damage depending on the current hour of the real day" option and set the 12 hour range there.

Link to comment
Share on other sites

No matter what I change the timezone to,

/raidprot sometimes shows up in UTC.

Is there anything else I should set?

Link to comment
Share on other sites
1 hour ago, hid333 said:

No matter what I change the timezone to,

/raidprot sometimes shows up in UTC.

Is there anything else I should set?

Solved. I had overlooked the fact that Windows has another time zone setting.

Link to comment
Share on other sites
1 hour ago, hid333 said:

Solved. I had overlooked the fact that Windows has another time zone setting.

Once again windows being selfish. Only cares about its own time zone and no one else's.

Link to comment
Share on other sites

Would anyone be able to add me or my friend on discord and go through how to set this up having a little bit of trouble  .chroma and starplat7112 would be really appreciated. 

Link to comment
Share on other sites

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 6

User Feedback

1.3m

Downloads

Total number of downloads.

6.6k

Customers

Total customers served.

97.3k

Files Sold

Total number of files sold.

1.9m

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.