TruePvePurge

PAID TruePvePurge 2.0.8

Required Dependencies
TruePVE
For Use With TruePVE.
Create In game Or Real Timer to start a PVP Mapping of your Choice From TruePVE.. Ingame Ui with Message or icon when purge active.

{
"General": {
"Default TruePVE Mapping Name": "default",
"Default TruePVE Mapping Name When Purge": "pvpenable",
"Time to start Purge": "18:00",
"Time to Stop Purge": "19:00",
"Use InGame Time": true,
"Use Server Time": false
},
"UI": {
"AnchorMax": "0.540 0.024",
"AnchorMin": "0.445 0.001",
"Background Color": "#202020DF",
"Message": "Purge Active"
},
"UI Image": {
"AnchorMax": "0.540 0.024",
"AnchorMin": "0.525 0.001",
"Background Image URL": "https://www.dropbox.com/s/xc8xsb5rsxo1whc/pvp.png?dl=1",
"Use Background Image": true
}
}

Warning:
If using in game timer if they skip time using night votes to skip the night the purge end will be skipped over.
There is a quick edit that needs to be done to TruePVE for this plugin to work. TruePVE author is adding it in but for now needs to be added manually to the cs.

Search for line // remove a mapping
add Above.


Code:
       bool ResetRules(string key)
       {
            if (!serverInitialized) return false;
            if (string.IsNullOrEmpty(key)) return false;
            string old = data.defaultRuleSet;
            data.defaultRuleSet = key;
            currentRuleSet = data.GetDefaultRuleSet();
            if (currentRuleSet == null)
            {
                data.defaultRuleSet = old;
                currentRuleSet = data.GetDefaultRuleSet();
                return false;
            }
            return true;
        }
Author
Razor
Downloads
0
Type
Digital product
License duration
Unlimited
Views
239
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from Razor