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 intended for discussion and questions. Please use the support area for reporting issues or getting help.

Recommended Comments



TheRedFox

Posted

Failed to call hook 'OnEntityTakeDamage' on plugin 'OfflineRaidProtection v1.1.2' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.OfflineRaidProtection.GetCachedDamageScale (System.UInt64& targetID) [0x0002d] in <e2a3342ab43e436d825f5d5d0880bde1>:0
at Oxide.Plugins.OfflineRaidProtection.OnStructureAttack (BaseCombatEntity& entity, HitInfo& hitInfo) [0x000de] in <e2a3342ab43e436d825f5d5d0880bde1>:0
at Oxide.Plugins.OfflineRaidProtection.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00f3b] in <e2a3342ab43e436d825f5d5d0880bde1>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <cd9a02fd331347bd82d550bb1a9c8e9f>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <b76ec77c47d1449e92b2baab8603843d>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <b76ec77c47d1449e92b2baab8603843d>:0

New error that pops up in console. 

CsaszyKJ

Posted

(12:23:33) | Failed to call hook 'OnEntityTakeDamage' on plugin 'OfflineRaidProtection v1.1.2' (NullReferenceException: Object reference not set to an instance of an object)

at Oxide.Plugins.OfflineRaidProtection.GetCachedDamageScale (System.UInt64& targetID) [0x0002d] in <a5b90b0cafbd4b53a3aa84613b8335b4>:0

at Oxide.Plugins.OfflineRaidProtection.OnStructureAttack (BaseCombatEntity& entity, HitInfo& hitInfo) [0x000de] in <a5b90b0cafbd4b53a3aa84613b8335b4>:0

at Oxide.Plugins.OfflineRaidProtection.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00f3b] in <a5b90b0cafbd4b53a3aa84613b8335b4>:0

at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <cd9a02fd331347bd82d550bb1a9c8e9f>:0

at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <b76ec77c47d1449e92b2baab8603843d>:0

at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <b76ec77c47d1449e92b2baab8603843d>:0

(12:23:45) | [Solo Notifier] ✠CsaszyKJ✠ notified of solo base

(12:23:45) | Failed to call hook 'OnEntityTakeDamage' on plugin 'OfflineRaidProtection v1.1.2' (NullReferenceException: Object reference not set to an instance of an object)

at Oxide.Plugins.OfflineRaidProtection.GetCachedDamageScale (System.UInt64& targetID) [0x0002d] in <a5b90b0cafbd4b53a3aa84613b8335b4>:0

at Oxide.Plugins.OfflineRaidProtection.OnStructureAttack (BaseCombatEntity& entity, HitInfo& hitInfo) [0x000de] in <a5b90b0cafbd4b53a3aa84613b8335b4>:0

at Oxide.Plugins.OfflineRaidProtection.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00f3b] in <a5b90b0cafbd4b53a3aa84613b8335b4>:0

at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <cd9a02fd331347bd82d550bb1a9c8e9f>:0

at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <b76ec77c47d1449e92b2baab8603843d>:0

at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <b76ec77c47d1449e92b2baab8603843d>:0

realedwin

Posted

On 11/9/2023 at 3:52 PM, TheRedFox said:
Failed to call hook 'OnEntityTakeDamage' on plugin 'OfflineRaidProtection v1.1.2' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.OfflineRaidProtection.GetCachedDamageScale (System.UInt64& targetID) [0x0002d] in <e2a3342ab43e436d825f5d5d0880bde1>:0
at Oxide.Plugins.OfflineRaidProtection.OnStructureAttack (BaseCombatEntity& entity, HitInfo& hitInfo) [0x000de] in <e2a3342ab43e436d825f5d5d0880bde1>:0
at Oxide.Plugins.OfflineRaidProtection.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00f3b] in <e2a3342ab43e436d825f5d5d0880bde1>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <cd9a02fd331347bd82d550bb1a9c8e9f>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <b76ec77c47d1449e92b2baab8603843d>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <b76ec77c47d1449e92b2baab8603843d>:0

New error that pops up in console. 

When you first put it on your server or deleted the data files, run the orp.fill.onlinetimes command in RCON or in-game.

realedwin

Posted

On 11/12/2023 at 1:25 PM, CsaszyKJ said:

(12:23:33) | Failed to call hook 'OnEntityTakeDamage' on plugin 'OfflineRaidProtection v1.1.2' (NullReferenceException: Object reference not set to an instance of an object)

at Oxide.Plugins.OfflineRaidProtection.GetCachedDamageScale (System.UInt64& targetID) [0x0002d] in <a5b90b0cafbd4b53a3aa84613b8335b4>:0

at Oxide.Plugins.OfflineRaidProtection.OnStructureAttack (BaseCombatEntity& entity, HitInfo& hitInfo) [0x000de] in <a5b90b0cafbd4b53a3aa84613b8335b4>:0

at Oxide.Plugins.OfflineRaidProtection.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00f3b] in <a5b90b0cafbd4b53a3aa84613b8335b4>:0

at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <cd9a02fd331347bd82d550bb1a9c8e9f>:0

at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <b76ec77c47d1449e92b2baab8603843d>:0

at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <b76ec77c47d1449e92b2baab8603843d>:0

(12:23:45) | [Solo Notifier] ✠CsaszyKJ✠ notified of solo base

(12:23:45) | Failed to call hook 'OnEntityTakeDamage' on plugin 'OfflineRaidProtection v1.1.2' (NullReferenceException: Object reference not set to an instance of an object)

at Oxide.Plugins.OfflineRaidProtection.GetCachedDamageScale (System.UInt64& targetID) [0x0002d] in <a5b90b0cafbd4b53a3aa84613b8335b4>:0

at Oxide.Plugins.OfflineRaidProtection.OnStructureAttack (BaseCombatEntity& entity, HitInfo& hitInfo) [0x000de] in <a5b90b0cafbd4b53a3aa84613b8335b4>:0

at Oxide.Plugins.OfflineRaidProtection.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00f3b] in <a5b90b0cafbd4b53a3aa84613b8335b4>:0

at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <cd9a02fd331347bd82d550bb1a9c8e9f>:0

at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <b76ec77c47d1449e92b2baab8603843d>:0

at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <b76ec77c47d1449e92b2baab8603843d>:0

When you first put it on your server or deleted the data files, run the orp.fill.onlinetimes command in RCON or in-game.

Rust Admin

Posted (edited)

I ran the orp.fill.onlinetimes command, but this still isnt working.
I looked in the data file and everyone has the same exact value of : "Last Online": 5250048453312293074,
All good.

Edited by Rust Admin
realedwin

Posted

On 11/22/2023 at 10:54 AM, Rust Admin said:

I ran the orp.fill.onlinetimes command, but this still isnt working.
I looked in the data file and everyone has the same exact value of : "Last Online": 5250048453312293074,
All good.

This is the correct behaviour of the command. So it still doesn't work? I will test it when I have time, maybe a rust update broke something.

DoKZaMmer

Posted

Good afternoon to all! I started this plugin and it doesn't work, can you fix this misunderstanding?

Failed to initialize plugin 'OfflineRaidProtection v1.1.3' (ArgumentException: Can not convert Object to String.)
  at Newtonsoft.Json.Linq.JToken.op_Explicit (Newtonsoft.Json.Linq.JToken value) [0x00032] in <271c58b7a8684db5a2c92be17a81f252>:0
  at Oxide.Plugins.OfflineRaidProtection.CacheAllClans () [0x00041] in <a02f2af0d50b4a04a8f2e8be801e6665>:0 n, 0b/s out
  at Oxide.Plugins.OfflineRaidProtection.CacheData () [0x00006] in <a02f2af0d50b4a04a8f2e8be801e6665>:0
  at Oxide.Plugins.OfflineRaidProtection.Loaded () [0x0003c] in <a02f2af0d50b4a04a8f2e8be801e6665>:0
  at Oxide.Plugins.OfflineRaidProtection.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x001db] in <a02f2af0d50b4a04a8f2e8be801e6665>:0
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <cd9a02fd331347bd82d550bb1a9c8e9f>:0
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <b76ec77c47d1449e92b2baab8603843d>:0
  at Oxide.Plugins.CSharpPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x000cf] in <cd9a02fd33

 

offlineraid.jpg

realedwin

Posted

3 minutes ago, DoKZaMmer said:

Good afternoon to all! I started this plugin and it doesn't work, can you fix this misunderstanding?

Failed to initialize plugin 'OfflineRaidProtection v1.1.3' (ArgumentException: Can not convert Object to String.)
  at Newtonsoft.Json.Linq.JToken.op_Explicit (Newtonsoft.Json.Linq.JToken value) [0x00032] in <271c58b7a8684db5a2c92be17a81f252>:0
  at Oxide.Plugins.OfflineRaidProtection.CacheAllClans () [0x00041] in <a02f2af0d50b4a04a8f2e8be801e6665>:0 n, 0b/s out
  at Oxide.Plugins.OfflineRaidProtection.CacheData () [0x00006] in <a02f2af0d50b4a04a8f2e8be801e6665>:0
  at Oxide.Plugins.OfflineRaidProtection.Loaded () [0x0003c] in <a02f2af0d50b4a04a8f2e8be801e6665>:0
  at Oxide.Plugins.OfflineRaidProtection.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x001db] in <a02f2af0d50b4a04a8f2e8be801e6665>:0
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <cd9a02fd331347bd82d550bb1a9c8e9f>:0
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <b76ec77c47d1449e92b2baab8603843d>:0
  at Oxide.Plugins.CSharpPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x000cf] in <cd9a02fd33

 

offlineraid.jpg

What version of the Clans plugin are you using? I haven't checked the changes. Seems like the author has updated things that break this plugin.

  • Like 1
DoKZaMmer

Posted

On 11/28/2023 at 8:19 PM, realedwin said:

What version of the Clans plugin are you using? I haven't checked the changes. Seems like the author has updated things that break this plugin.

image.png.836d4e30a8e0497f7c1de28620ae71cc.png
Is my version.

realedwin

Posted

14 hours ago, DoKZaMmer said:

image.png.836d4e30a8e0497f7c1de28620ae71cc.png
Is my version.

I cannot reproduce the error. Please update the plugin to version 1.1.4.

  • Love 1
Rust Admin

Posted (edited)

Error while compiling OfflineRaidProtection: #endregion directive expected | Line: 861, Pos: 44

Never mind.  Needed to unload the plugin before replacing.

Edited by Rust Admin
CsaszyKJ

Posted

Failed to initialize plugin 'OfflineRaidProtection v1.1.4' (NullReferenceException: Object reference not set to an instance of an object)

at Oxide.Plugins.OfflineRaidProtection.CachePrefabs () [0x00000] in <9d1252ba943f4898a895ad3d079ed10a>:0

at Oxide.Plugins.OfflineRaidProtection.CacheData () [0x00000] in <9d1252ba943f4898a895ad3d079ed10a>:0

at Oxide.Plugins.OfflineRaidProtection.Loaded () [0x0003c] in <9d1252ba943f4898a895ad3d079ed10a>:0

at Oxide.Plugins.CSharpPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x000cf] in <122610edeac6402c8915b76845a2714f>:0

realedwin

Posted

1 hour ago, CsaszyKJ said:

Failed to initialize plugin 'OfflineRaidProtection v1.1.4' (NullReferenceException: Object reference not set to an instance of an object)

at Oxide.Plugins.OfflineRaidProtection.CachePrefabs () [0x00000] in <9d1252ba943f4898a895ad3d079ed10a>:0

at Oxide.Plugins.OfflineRaidProtection.CacheData () [0x00000] in <9d1252ba943f4898a895ad3d079ed10a>:0

at Oxide.Plugins.OfflineRaidProtection.Loaded () [0x0003c] in <9d1252ba943f4898a895ad3d079ed10a>:0

at Oxide.Plugins.CSharpPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x000cf] in <122610edeac6402c8915b76845a2714f>:0

It compiles without errors. Please reload the plugin. This is happening since the new update on Oxide, when the server boots.

CsaszyKJ

Posted

Thanks, on uMod Discord been told there was some issues.

 

realedwin

Posted

1 minute ago, CsaszyKJ said:

Thanks, on uMod Discord been told there was some issues.

 

I fixed it a few minutes ago just to be on the safe side

CsaszyKJ

Posted

Seen it, which I really appreciate it!

HunterZ

Posted

Not sure if I believe it, but someone on my server got raided when the base owners were offline, and the raiders claimed they pulled it off via a combination of MLRS and baiting patrol helicopter. Does or could this mod protect from damage caused by those?

realedwin

Posted

On 12/26/2023 at 6:28 PM, HunterZ said:

Not sure if I believe it, but someone on my server got raided when the base owners were offline, and the raiders claimed they pulled it off via a combination of MLRS and baiting patrol helicopter. Does or could this mod protect from damage caused by those?

There is only protection from other players.

 

If a player leaves the MLRS vehicle immediately, only 1 missile won't do any damage. If a player stays in the vehicle, it won't do any damage. This bug has been around for years.

HunterZ

Posted

7 hours ago, realedwin said:

There is only protection from other players.

 

If a player leaves the MLRS vehicle immediately, only 1 missile won't do any damage. If a player stays in the vehicle, it won't do any damage. This bug has been around for years.

Okay, I think what I'm asking then is for an option to also apply damage mitigation when the source doesn't trace back to a player. I don't know Rust/Oxide API or performance considerations very well yet, but it seems that this could work:

  • have `OnEntityTakeDamage()` allow the `OnStructureAttack()` call to go through when `hitInfo.InitiatorPlayer is null`
  • have `OnStructureAttack()` skip the `authorizedPlayers.Contains(hitInfo.InitiatorPlayer.userID)` check when `hitInfo.InitiatorPlayer is null`
  • Like 1
JackMachine

Posted

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!

realedwin

Posted

18 hours ago, 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!

What does your configuration file look like?

There is protection when all authorised players are offline.

JackMachine

Posted

On 1/1/2024 at 12:04 PM, realedwin said:

What does your configuration file look like?

There is protection when all authorised players are offline.

Hi realedwin,

Thank you to your answer.


This is my config file :

 

{
  "Raid Protection Options": {
    "Scale of damage depending on the current hour of the real day": {},
    "Scale of damage depending on the offline time in hours": {
      "12": 0.0,
      "24": 0.0,
      "48": 0.0
    },
    "Cooldown in minutes": 1,
    "Scale of damage between the cooldown and the first configured time": 0.0,
    "Protect all prefabs": true,
    "Protect vehicles": true,
    "Prefabs to protect": [
      "abovegroundpool.deployed",
      "advendcalendar.deployed",
      "andswitch.entity",
      "audioalarm",
      "autoturret_deployed",
      "barricade.concrete",
      "barricade.cover.wood",
      "barricade.metal",
      "barricade.sandbags",
      "barricade.stone",
      "barricade.wood",
      "barricade.woodwire",
      "bathtub.planter.deployed",
      "bbq.deployed",
      "beachchair.deployed",
      "beachparasol.deployed",
      "beachtable.deployed",
      "beachtowel.deployed",
      "beartrap",
      "bed_deployed",
      "black_berry.entity",
      "blue_berry.entity",
      "boogieboard.deployed",
      "boombox.deployed",
      "box.wooden.large",
      "button",
      "cabletunnel",
      "campfire",
      "cardtable.deployed",
      "carvable.pumpkin",
      "cctv_deployed",
      "ceilinglight.deployed",
      "chair.deployed",
      "chair.icethrone",
      "chineselantern.deployed",
      "chippyarcademachine",
      "christmas_door_wreath_deployed",
      "clantable.deployed",
      "coffinstorage",
      "composter",
      "computerstation.deployed",
      "confetticannon.deployed",
      "connectedspeaker.deployed",
      "corn.entity",
      "counter",
      "cupboard.tool.deployed",
      "cursedcauldron.deployed",
      "discoball.deployed",
      "discofloor.deployed",
      "discofloor.largetiles.deployed",
      "door.double.hinged.bardoors",
      "door.double.hinged.metal",
      "door.double.hinged.toptier",
      "door.double.hinged.wood",
      "door.hinged.industrial.a",
      "door.hinged.industrial.d",
      "door.hinged.metal",
      "door.hinged.toptier",
      "door.hinged.wood",
      "doorcloser",
      "doorcontroller.deployed",
      "doorgarland.deployed",
      "double_doorgarland.deployed",
      "dragondoorknocker.deployed",
      "drone.deployed",
      "dropbox.deployed",
      "drumkit.deployed",
      "easter_door_wreath_deployed",
      "electric.flasherlight.deployed",
      "electric.sirenlight.deployed",
      "electric.sprinkler.deployed",
      "electric.windmill.small",
      "electrical.blocker.deployed",
      "electrical.branch.deployed",
      "electrical.combiner.deployed",
      "electrical.heater",
      "electrical.memorycell.deployed",
      "electrical.modularcarlift.deployed",
      "electrical.random.switch.deployed",
      "electricfurnace.deployed",
      "elevator",
      "fireplace.deployed",
      "fishtrophy.deployed",
      "flameturret.deployed",
      "floor.grill",
      "floor.ladder.hatch",
      "floor.triangle.grill",
      "floor.triangle.ladder.hatch",
      "fluid.combiner.deployed",
      "fluidsplitter",
      "fluidswitch",
      "fogmachine",
      "frankensteintable.deployed",
      "fridge.deployed",
      "frontiermirror.large",
      "frontiermirror.medium",
      "frontiermirror.small",
      "frontiermirror.standing",
      "furnace",
      "furnace.large",
      "gates.external.high.stone",
      "gates.external.high.wood",
      "generator.small",
      "giantcandycane.deployed",
      "giantlollipops.deployed",
      "goldframe.large",
      "goldframe.medium",
      "goldframe.small",
      "goldframe.standing",
      "goldmirror.large",
      "goldmirror.medium",
      "goldmirror.small",
      "goldmirror.standing",
      "gravestone.stone.deployed",
      "gravestone.wood.deployed",
      "graveyardfence",
      "green_berry.entity",
      "guntrap.deployed",
      "hbhfsensor.deployed",
      "hemp.entity",
      "hitchtrough.deployed",
      "hobobarrel.deployed",
      "huntingtrophylarge.deployed",
      "huntingtrophysmall.deployed",
      "icewall",
      "igniter.deployed",
      "industrial.wall.lamp.deployed",
      "industrial.wall.lamp.green.deployed",
      "industrial.wall.lamp.red.deployed",
      "industrialcombiner.deployed",
      "industrialconveyor.deployed",
      "industrialcrafter.deployed",
      "industrialsplitter.deployed",
      "innertube.deployed",
      "innertube.horse.deployed",
      "innertube.unicorn.deployed",
      "jackolantern.angry",
      "jackolantern.happy",
      "kayak",
      "ladder.wooden.wall",
      "landmine",
      "lantern.deployed",
      "large.rechargable.battery.deployed",
      "largecandleset",
      "laserdetector",
      "laserlight.deployed",
      "legacy.shelter.wood.deployed",
      "legacy_furnace",
      "lightupframe.large",
      "lightupframe.medium",
      "lightupframe.small",
      "lightupframe.standing",
      "lightupmirror.large",
      "lightupmirror.medium",
      "lightupmirror.small",
      "lightupmirror.standing",
      "lock.code",
      "lock.key",
      "locker.deployed",
      "mailbox.deployed",
      "medium.rechargable.battery.deployed",
      "microphonestand.deployed",
      "minecart.planter.deployed",
      "mining.pumpjack",
      "mining_quarry",
      "mixingtable.deployed",
      "mortarblue",
      "mortarchampagne",
      "mortargreen",
      "mortarorange",
      "mortarpattern",
      "mortarred",
      "mortarviolet",
      "newyeargong.deployed",
      "orswitch.entity",
      "paddlingpool.deployed",
      "photoframe.landscape",
      "photoframe.large",
      "photoframe.portrait",
      "piano.deployed",
      "pinata.deployed",
      "planter.large.deployed",
      "planter.small.deployed",
      "pookie_deployed",
      "potato.entity",
      "poweredwaterpurifier.deployed",
      "pressurepad.deployed",
      "ptz_cctv_deployed",
      "pumpkin.entity",
      "railroadplanter.deployed",
      "reactivetarget_deployed",
      "red_berry.entity",
      "refinery_small_deployed",
      "repairbench_deployed",
      "researchtable_deployed",
      "rfbroadcaster",
      "rfreceiver",
      "rockingchair.deployed",
      "rockingchair.rockingchair2.deployed",
      "rockingchair.rockingchair3.deployed",
      "romancandle",
      "romancandle-blue",
      "romancandle-green",
      "romancandle-violet",
      "rug.bear.deployed",
      "rug.deployed",
      "rustigeegg_a.deployed",
      "rustigeegg_b.deployed",
      "rustigeegg_c.deployed",
      "rustigeegg_d.deployed",
      "rustigeegg_e.deployed",
      "rustigeegg_f.deployed",
      "sam_site_turret_deployed",
      "scarecrow.deployed",
      "scrapframe.large",
      "scrapframe.medium",
      "scrapframe.small",
      "scrapframe.standing",
      "scrapmirror.large",
      "scrapmirror.medium",
      "scrapmirror.small",
      "scrapmirror.standing",
      "searchlight.deployed",
      "secretlabchair.deployed",
      "shelves",
      "shutter.metal.embrasure.a",
      "shutter.metal.embrasure.b",
      "shutter.wood.a",
      "sign.hanging",
      "sign.hanging.banner.large",
      "sign.hanging.ornate",
      "sign.huge.wood",
      "sign.large.wood",
      "sign.medium.wood",
      "sign.neon.125x125",
      "sign.neon.125x215",
      "sign.neon.125x215.animated",
      "sign.neon.xl",
      "sign.neon.xl.animated",
      "sign.pictureframe.landscape",
      "sign.pictureframe.portrait",
      "sign.pictureframe.tall",
      "sign.pictureframe.xl",
      "sign.pictureframe.xxl",
      "sign.pole.banner.large",
      "sign.post.double",
      "sign.post.single",
      "sign.post.town",
      "sign.post.town.roof",
      "sign.small.wood",
      "simplelight",
      "skull_door_knocker.deployed",
      "skull_fire_pit",
      "skullspikes.candles.deployed",
      "skullspikes.deployed",
      "skullspikes.pumpkin.deployed",
      "skulltrophy.deployed",
      "skulltrophy.jar.deployed",
      "skulltrophy.jar2.deployed",
      "skulltrophy.table.deployed",
      "skylantern.deployed",
      "skylantern.skylantern.green",
      "skylantern.skylantern.orange",
      "skylantern.skylantern.purple",
      "skylantern.skylantern.red",
      "sled.deployed",
      "sled.deployed.xmas",
      "sleepingbag_leather_deployed",
      "small_fuel_generator.deployed",
      "small_stash_deployed",
      "smallcandleset",
      "smallrechargablebattery.deployed",
      "smartalarm",
      "smartswitch",
      "snowmachine",
      "snowman.deployed",
      "sofa.deployed",
      "sofa.pattern.deployed",
      "solarpanel.large.deployed",
      "soundlight.deployed",
      "spiderweba",
      "spikes.floor",
      "spinner.wheel.deployed",
      "splitter",
      "spookyspeaker",
      "stocking_large_deployed",
      "stocking_small_deployed",
      "storage_barrel_a",
      "storage_barrel_b",
      "storage_barrel_c",
      "storageadaptor.deployed",
      "storagemonitor.deployed",
      "strobelight",
      "survivalfishtrap.deployed",
      "switch",
      "table.deployed",
      "telephone.deployed",
      "teslacoil.deployed",
      "timer",
      "torchholder.deployed",
      "trophy.deployed",
      "trophy_2023.deployed",
      "tunalight.deployed",
      "twitchrivals2023_desk",
      "twowaymirror.window",
      "vendingmachine.deployed",
      "volcanofirework",
      "volcanofirework-red",
      "volcanofirework-violet",
      "wall.external.high.ice",
      "wall.external.high.stone",
      "wall.external.high.wood",
      "wall.frame.cell",
      "wall.frame.cell.gate",
      "wall.frame.fence",
      "wall.frame.fence.gate",
      "wall.frame.garagedoor",
      "wall.frame.netting",
      "wall.frame.shopfront",
      "wall.frame.shopfront.metal",
      "wall.window.bars.metal",
      "wall.window.bars.toptier",
      "wall.window.bars.wood",
      "wall.window.glass.reinforced",
      "wantedposter.deployed",
      "wantedposter.wantedposter2",
      "wantedposter.wantedposter3",
      "wantedposter.wantedposter4",
      "watchtower.wood",
      "water.pump.deployed",
      "water_catcher_large",
      "water_catcher_small",
      "waterbarrel",
      "waterpurifier.deployed",
      "weaponrack_horizontal.deployed",
      "weaponrack_single1.deployed",
      "weaponrack_single2.deployed",
      "weaponrack_single3.deployed",
      "weaponrack_stand.deployed",
      "weaponrack_tall.deployed",
      "weaponrack_wide.deployed",
      "white_berry.entity",
      "windowgarland.deployed",
      "woodbox_deployed",
      "woodframe.large",
      "woodframe.medium",
      "woodframe.small",
      "woodframe.standing",
      "woodmirror.large",
      "woodmirror.medium",
      "woodmirror.small",
      "woodmirror.standing",
      "workbench1.deployed",
      "workbench2.deployed",
      "workbench3.deployed",
      "xmas.lightstring.deployed",
      "xmas_tree.deployed",
      "xorswitch.entity",
      "xylophone.deployed",
      "yellow_berry.entity",
      "_base_car_chassis.entity",
      "_basetrainwagon.entity",
      "_cardtable_base",
      "_snowmobilebase",
      "1module_cockpit",
      "1module_cockpit_armored",
      "1module_cockpit_with_engine",
      "1module_engine",
      "1module_flatbed",
      "1module_passengers_armored",
      "1module_rear_seats",
      "1module_storage",
      "1module_taxi",
      "2module_camper",
      "2module_car_spawned.entity",
      "2module_flatbed",
      "2module_fuel_tank",
      "2module_passengers",
      "3module_car_spawned.entity",
      "4module_car_spawned.entity",
      "attackhelicopter.entity",
      "blackjackmachine.caboose",
      "blackjackmachine.static",
      "car_2mod_01",
      "car_2mod_02",
      "car_2mod_03",
      "car_2mod_04",
      "car_2mod_05",
      "car_2mod_06",
      "car_2mod_07",
      "car_2mod_08",
      "car_3mod_01",
      "car_3mod_02",
      "car_3mod_03",
      "car_3mod_04",
      "car_3mod_05",
      "car_3mod_06",
      "car_3mod_07",
      "car_3mod_08",
      "car_3mod_09",
      "car_3mod_10",
      "car_3mod_11",
      "car_3mod_12",
      "car_4mod_01",
      "car_4mod_02",
      "car_4mod_03",
      "car_4mod_04",
      "car_4mod_05",
      "car_4mod_06",
      "car_4mod_07",
      "car_4mod_08",
      "car_4mod_09",
      "car_4mod_10",
      "car_4mod_11",
      "car_chassis_2module.entity",
      "car_chassis_3module.entity",
      "car_chassis_4module.entity",
      "cardtable.caboose",
      "cardtable.caboose_static",
      "cardtable.static_configa",
      "cardtable.static_configa_hidden",
      "cardtable.static_configb",
      "cardtable.static_configc",
      "cardtable.static_configd",
      "ch47.entity",
      "ch47scientists.entity",
      "chippyarcademachine.static",
      "locomotive.entity",
      "magnetcrane.entity",
      "minicopter.entity",
      "parachute",
      "rhib",
      "rowboat",
      "scraptransporthelicopter",
      "sedanrail.entity",
      "sedantest.entity",
      "snowmobile",
      "sofa.static",
      "sofa_pattern.static",
      "submarineduo.entity",
      "submarinesolo.entity",
      "testridablehorse",
      "tomahasnowmobile",
      "traincaboose.entity",
      "trainwagona.entity",
      "trainwagonb.entity",
      "trainwagonc.entity",
      "trainwagonunloadable.entity",
      "trainwagonunloadablefuel.entity",
      "trainwagonunloadableloot.entity",
      "tugboat",
      "twitchbus",
      "workcart.entity",
      "workcart_aboveground.entity",
      "workcart_aboveground2.entity"
    ],
    "Prefabs blacklist": []
  },
  "Team Options": {
    "Enable team offline protection sharing": true,
    "Mitigate damage by the team-mate who was offline the longest": false,
    "Include players that are whitelisted on Codelocks": false,
    "Prevent players from leaving or disbanding their team if at least one team member is offline": false,
    "Enable offline raid protection penalty for leaving or disbanding a team": false,
    "Penalty duration in hours": 24.0
  },
  "Command Options": {
    "Commands to check offline protection status": [
      "ao",
      "orp"
    ],
    "Command to display offline raid protection information": "raidprot",
    "Command to fill the offline times of all players": "orp.fill.onlinetimes",
    "Command to change a player's offline time": "orp.test.offline",
    "Command to change a player's offline time to the current time": "orp.test.online",
    "Command to change a player's penalty duration": "orp.test.penalty"
  },
  "Permission Options": {
    "Permission required to enable offline protection": "offlineraidprotection.protect",
    "Permission required to check offline protection status": "offlineraidprotection.check",
    "Permission required to use admin functions": "offlineraidprotection.admin"
  },
  "Other Options": {
    "Play sound when damage is mitigated": false,
    "Asset path of the sound to be played": "assets/prefabs/locks/keypad/effects/lock.code.denied.prefab",
    "Display a game tip message when a prefab is protected": true,
    "Message duration in seconds": 3.0
  },
  "Timezone Options": {
    "Timezone": ""
  },
  "Version": {
    "Major": 1,
    "Minor": 1,
    "Patch": 5
  }
}

 

Kleementin

Posted

What does "Scale 0" mean?

20240104233439_1.jpg

Kleementin

Posted

2 hours ago, Kleementin said:

What does "Scale 0" mean?

20240104233439_1.jpg

Ok. So this does mean the actual damage scale? Can you please change this to be translated into the percent of protection? Players don't get what this means and therefore the command is kinda useless.

They would rather see how much protection there is instead.

  • Like 1
Kleementin

Posted (edited)

Could you also add an option to integrate the time of protection left in the message you get when hitting a base?

Edited by Kleementin
  • Like 1

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.3k

Files Sold

Total number of files sold.

2.3m

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.