Actually, I've just written a Guild Info plugin that checks the number of members in a guild, so I could pull this out of there quite easily.

War Tracker
Make wars official! Get regular updates for all players in warring guilds on the server.
Total Downloads: 1,293 - First Release: Jun 6, 2015 - Last Update: Jul 1, 2015
- 5/5, 4 likes
-
noticed a issue where the 10 min prep time never decreases may just be a bug with the server ill check again after restart
-
-
[DOUBLEPOST=1433834607][/DOUBLEPOST] -
Seems to fix after restart not a permanent issue. have't noticed it happening again yet probably just a problem on my end.
-
It's possible that there may have been a conflict somewhere.
Glad it's working again though! ;-) -
If your plugin could combine the day/night cycle PvP toggling of the NightKillsOnly plugin, with an automatic PvP On function for warring guilds even during day, and combine the same concepts with the blocks/crests taking 0 damage from WarTime with auto-toggle on just for warring guilds, it'd be perfect!!!!! -
I'll see what I can do... -
Ha ha this is what happens when you make a plugin everyone has been begging for and now everyone wants it to be the best it can be
But in all honesty I can't wait to see what you will add next. Also agree with the day and night cycle to toggle player damage if war is declared. Would be awesome!
-
- Damage to bases and players blocked when not at war.
Coupled with the no-war-declaration with offline players, this would also prevent offline base destruction. -
Well that would be way more awesome cause then players can pvp day and night and non waring factions dont have to worry about being KOS
-
Scorpyon updated War Tracker with a new update entry:
Fix - Name Capitalisation
-
Scorpyon updated War Tracker with a new update entry:
Features Added - "No KoS"; "No Crest Kill"
-
Nice! A great leap forward with this plugin. Now we just need the protection added for blocks. Let me know if you need example code, I have a plugin that nulls the damage of siege weapons and player damage against blocks. Is the crest protection automatically turned off when war is declared? And, is it just for those two guilds?
Idea: Allow other guilds to Ally with one side or the other during the prep phase.
Great work on all of your plugins!
[DOUBLEPOST=1434021368][/DOUBLEPOST]Tested: Crest still takes damage outside of war. -
"Let me know if you need example code, I have a plugin that nulls the damage of siege weapons and player damage against blocks."
Yes please! This was intended to be added with the last update, but discovering that player / crest entities were different from cube entities proved a setback.
If you already have this code, that would be a great help!
[DOUBLEPOST=1434021435][/DOUBLEPOST]"Is the crest protection automatically turned off when war is declared? And, is it just for those two guilds?"
The way it works is that when a crest takes damage, it checks if the guilds are currently at war.
If they are, then it allows the damage. If not, it prevents it.
[DOUBLEPOST=1434021494][/DOUBLEPOST] -
-
[DOUBLEPOST=1434023080][/DOUBLEPOST]Idea: Allow other guilds to Ally with one side or the other during the prep phase.
You can use the Alliance Tracker especially for this! ;-) -
I know, but it'd be nice if they showed up publicly as part of the war, and for their stuff to become vulnerable during the war.
I'll test the plugin again.
[DOUBLEPOST=1434023465][/DOUBLEPOST]You are right about the crests!
I forgot to use the command, like an idiot.
Sorry to doubt you! -
Just a few suggestions that other can do to their plugin or you can make it official. I like to edit pretty much all of these plugins to fit what I need, but I do give full credit to the Original creator. That being said, I have added a command to list all war tracker commands that players can use, I also change War Report to only tell the player who types the command what the server report is. It is still global on the original plugin. And then I've taken out some things anf added my own, but I thought those two points were the bigger highlights.
// LIST WAR COMMANDS
[ChatCommand("warcommands")]
private void ListAllAllianceCommands(Player player, string cmd)
{
PrintToChat(player, "[FF0000]War Organiser[FFFFFF] : Use the following commands for Wars :");
PrintToChat(player, "[00FF00]/declarewar [FF00FF]<player_name> [FFFFFF] - Declare war on players guild");
PrintToChat(player, "[00FF00]/endwar [FF00FF]<player_name> [FFFFFF] - End current war on players guild");
PrintToChat(player, "[00FF00]/warreport [FFFFFF] - View all active wars");
}
// Get current War Report
[ChatCommand("warreport")]
private void GetWarReport(Player player, string cmd)
{
if(WarList.Count <= 0) PrintToChat(player, "[FF0000] War Report [FFFFFF] : There are currently no active wars. The land is finally at peace once more.");
WarReport();
} -
I was intending to add a command list today, but since you've already done this, I'll update with the code you kindly wrote!
(If that's cool with you?)