Hello,
Would anyone be willing to help test a plugin I created? I dont own a server so I can't test it with other players. I've only been able to conduct tests locally. This is the link for the plugin although its still in review: https://umod.org/plugins/xM59MnE5lA. I'm a Software Architect by profession but I dont code in C# and I've never made a plugin before so I'd appreciate a code review or two from more experienced members of the community.
In case the link doesn't work I've provided the plugin details below. Any feedback on the code or functionality would be welcome.
Thanks!
Purpose
Allows casual players to enjoy a better mid and end game PVP experience in Rust. This is a hybrid raid protection system. It is not no raid, it is not noob protect, and it is not PVE. Players can still raid, be killed, and lose their bases with Headquarters mod.
How it works
Headquarters mod allows each player to have one main headquarter base which is protected from attack. All their other bases remain unprotected.
A protected headquarter does have a couple of drawbacks though:
- It’s base location and protection status is shown in the map for all to see.
- It’s members cannot damage any other headquarters (protected, or unprotected). Although they can still raid non headquarter bases.
If a player has a protected headquarter base and wishes to raid non protected headquarters, they first need to disable their headquarter’s protection.
Finally, headquarters supports a free for all mode which allows an admin to make the last hours before a wipe scheduled to be free for all. In free for all no one has headquarter protection. Admins can also manually start or stop FFA to allow for raiding events.
Rules
In order to stop abuse of headquarters protection, there are a few basic rules:
- A player can belong to only one protected headquarter at any given time.
- Once a player has been a founder or member of a headquarter they can’t start a new headquarter.
- A player can join a friend’s headquarter at any time by authorizing with its Tool Cupboard. If the player is already a part of a headquarter this may result in loss of access to the previous headquarter and or it’s building privilege (if it had other members).
- Once a player has authorized with a Tool Cupboard inside a headquarter, they can’t deauthorize (or clear list) from that base until the headquarter’s protection is disabled.
- Only the founder of a headquarter can disable its protection. Once disabled, it can’t be re-enabled again. The protection is gone for good.