Jump to content

Add Offline Protection or Integrate with Raid Protection

Not a Bug 1.2.0

dustyhansen
dustyhansen

Posted

It would be nice if this plugin had offline raid protection built-in to prevent PVP players from getting raided while they were offline. It would also be nice if this plugin only allowed raiding if a PVP player was online when there are a mix of PVP/PVE players on the TC. This could be a config option. We have clans that have PVP and PVE players that are on the same TC and we would prefer that the base not be raidable if only PVE players are online, since they can't defend. 

If you want to make this part of your Raid Protection plugin and make the two work together, I would be fine with that as well, as I am using both at the moment to protect bases when players are offline.

Mr01sam

Posted

It should work with Raid Protection already, but you would need to turn off Raid Protection for WarMode so that it doesnt conflict with Raid Protection.

Mr01sam

Posted

Changed Status from Pending to Not a Bug

dustyhansen

Posted

6 minutes ago, Mr01sam said:

It should work with Raid Protection already, but you would need to turn off Raid Protection for WarMode so that it doesnt conflict with Raid Protection.

I don't understand what you are saying here. I can't turn off War Mode Raid Protection and just use Raid Protection, since Raid Protection doesn't know anything about what mode you are set to.

I have Raid Protection on and setup for preventing offline raiding and that works fine. But the issue is when a TC has both PVP and PVE players on it and a PVE player comes online, the base becomes raidable. I need for it to only be raidable when a PVP player is online since the PVE player cannot defend the base.

Mr01sam

Posted

Sorry for the confusion. What I meant was that RaidProtection and WarMode will play nicely together (will not have conflicts) as long as raiding protection is turned off for WarMode so that RaidProtection can solely handle it.

Currently, RaidProtection does not take into account or respect and modes that you create in WarMode, I would have to update RaidProtection to have the functionality - I will gladly add it to my suggestion board!

dustyhansen

Posted

Just so you know, I have been using both War Mode and Raid Protection together and it is working well for the most part. My goal is to offer offline raid protection to all bases where a PVP player is not online. 

I cannot disable War Mode protection because I need it to protect the bases of PVE players when they are online. Raid Protection isn't able to add online protection to only PVE players as far as I can tell. So, right now PVE bases are double protected by War Mode and Raid Protection when PVE players are offline, which is fine.

I can give the raidprotection.ignore permission to the "warmodepve" group so that if a PVE player is online it does not disable offline raid protection for the base, thus requiring that a PVP player be online in order for the base to be raidable. This works how I want, but there are 2 issues with this approach.

1) If the TC was placed (founder) by a PVE player, then the base has no raid protection at all because of this bug with Raid Protection: https://codefling.com/files/support/16917-offline-protection-not-working/

2) If the player switches to PVE or to PVP, the raid protection is not updated automatically unless the plugin is reloaded because of this bug with Raid Protection: https://codefling.com/files/support/16868-ignore-permission-not-working/

It would still be nice if the Raid Protection plugin was updated to integrate with War Mode more easily, but if these 2 bugs were fixed it would address my use case and allow your customers to add offline raid protection to War Mode and solve for the issue of bases with both PVP and PVE players on the TC.

  • Like 1
Mr01sam

Posted

Thanks for documenting these issues. Raid Protection is a super large plugin with a lot of customization - so it will take some time to support WarMode for every situation. I'm also working on a big update for WarMode that will allow more granular control which would affect how this integration would work, so it will probably have to wait until that WarMode update is out, but I will put it on my board.

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.1k

Files Sold

Total number of files sold.

2m

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.