War declaration and nations (Rust)

I am attempting to start up a new rust server with a unique Idea but I cannot find any plugins that come close to what I need.

A /war plugin, so players can declare war on another clan.

anybody who has PvP off gets turned on, friendly fire remains off. etc ; Just like the reign of kings plugin.

An ability to be a neautral player if your solo, you can have pvp but otherwise cant be raided, nobody can be raided unless they're classified as imperialist or hostile, they can do slightly less damage to bases unless theyve declared war and its accepted get the jist?

I just cannot find a plugin or a proper plugin for custom permissions to enable this to happen.

I feel as if I did not provide anything in depth or any explanation whatsoever so I am back again ; I have tried looking into zone manager as it provides no raiding zones but its so much to skim through and understand while a simple plugin that I'd gladly pay you to make that enables what I need to happen would be great. -

/declarewar (clan-name)

/calltoarms (sends everyone In your clan and on your team a message (could use a PM api to have this happen) that the clan leader has initiated a raid and needs your support. Alternatively, this could be done when a war is declared. Announcing it to chat would be simpler.

/surrender - request the enemy to agree to surrender and initiate a peace treaty that has to be accepted by both clan owners.

/peacetreaty (clan name) (duration) (custom agreement fields i.e has to honor a no fire agreement or resource sharing)

/neautral (become a neautral nation)

/nationcreate (name) (friendly|hostile|neutral|town|city)
or alternatively /town or /city create ; automatically neutral unless provoked.

/ndisband (name) -disbands your nation (can be claimed by another leader, putting the team members of that clan under the other clan)

/nleader (name) - changes leader status to another player

/impeach leader - initiates a vote within that clan to impeach the leader, 1/n (n) being total clan members - if successful the user whom initiated the vote becomes the clan leader.

Furthermore, I found a plugin with API's that may be able to handle the raid protection part.

https://umod.org/plugins/anti-noob-raid

That or the anti offline raid plugin, as it has the ability to have lowered damage output? If players really want they can craft a lot of explosives and get through a neutral base if they're unable to defend, unlikely but it's the idea.

perhaps repurposing some of this plugin and using it as a dependency to protect neutral or friendly bases from raid damage.



Merged post

Edit: I apologize for the third reply to my own post.

I would just like to add onto /declarewar (clan-name)

Wars have a prep time of 30 minutes and an active time of raidable damage to other (clan-name) base, say 6 hours.
Furthermore, I realized having the plugin detect who owns what to verify the owner of the nation would be faulty if other players have built inside the walls. There would have to be a radius on the owner of the clans tc to affect all surrounding bases, not just his property.

I am looking for somthing just like this.. i got some people on my server who want to pvp and some who don't.