Purge

Moved

Total Downloads: 946 - First Release: Jun 2, 2015 - Last Update: Jan 31, 2017

4.83333/5, 12 likes
  1. Hello,

    the plugin support the colors code ?
     
  2. Wulf

    Wulf Community Admin

    All plugins with text support color codes.
     
  3. Okay thank you !
    Can you add the possibility for exemple for the parameter : "Structure Damage (true/false)": false,
    To add the structure damage only for disconnected players structures too ?
     
  4. The monument doors break now, but they respawn instantly.
     
  5. Wulf

    Wulf Community Admin

    This plugin doesn't handle the respawning of them in any way.
     
  6. I cut down the door and another one is there, like they are stacked
     
  7. Wulf

    Wulf Community Admin

    That isn't really something this plugin controls either. The only thing this plugin does is allow/disallow damage.
     
  8. Good working plugin!! Possible suggestions:
    • 10 minute warning or countdown, or configurable warnings
    • some indicator on screen of pvp state on or off
    • option for the player (but not building or loot) to be protected during pvp while in his own cupboard radius
    • option for PVP during airdrop or heli (or both) event only
     
    Last edited by a moderator: Feb 1, 2017
  9. Thanks for those updates Wulf! That fixed it!

    Edit: Someone on my server just pointed out that they couldn't commit suicide during the safe time and i can confirm it. Is there any way to allow self inflicted damage during the safe time? Only time it'd be an issue would be if they got stuck somehow, but thats rare these days.

    Edit2: Same applies for damage on building's you own, such as a twig structure you incorrectly placed.
     
    Last edited by a moderator: Feb 2, 2017
  10. Wulf

    Wulf Community Admin

    The top two are already in the TODO list, partially done. I'll look into the others.

    Sure, added them to the TODO list. The last one was actually possible before, but I forgot about adding it back.
     
  11. Thats awesome, thank you so much!
     
  12. Hey Wulf, awesome Plugin !
    Is there a possibility to allow the purge only on certain days?
    I want to allow the purge only on weekend. But i dont know how to handle that.
    Maybe there is a possibility to expand the config?
     
  13. Wulf

    Wulf Community Admin

    Maybe, I'll add it to the TODO list.
     
  14. Hey Wulf, thanks for the updates! I finally got around to figuring out how to get a hold of Rust's class documentation (or lack thereof) and contribute to the community. I added an option to your plugin/settings to allow suicide during "Safe Hours", would you like me to PM you the files or just post them here?
     
  15. Wulf

    Wulf Community Admin

    Feel free to paste the changed portions here and I'll look into it.
     
  16. config:
    Code:
    "Safe Rules": {
        "Animal Damage (true/false)": true,
        "Heli Damage (true/false)": true,
        "Loot Damage (true/false)": true,
        "Structure Damage (true/false)": false,
        "Turret Damage (true/false)": true,
        "World Damage (true/false)": true,
        "Allow Suicide (true/false)": true
      }
    "#region Initialization":
    Code:
    bool configChanged;
            bool purgeActive;
            bool purgeAnimal;
            bool purgeHeli;
            bool purgeLoot;
            bool purgeStructure;
            bool purgeTurret;
            bool purgeWorld;
            bool realTime;
            bool safeAnimal;
            bool safeHeli;
            bool safeLoot;
            bool safeStructure;
            bool safeTurret;
            bool safeWorld;
            bool safeSuicide;
    "else" in "OnEntityTakeDamage":
    Code:
    else
                {
                    if (safeAnimal && (target.Contains("animals") || target.Contains("corpse") || (attacker != null && attacker.name.Contains("animals")))) return;
                    if (safeHeli && (entity is BaseHelicopter || attacker is BaseHelicopter)) return;
                    if (safeLoot && (target.Contains("loot") || target.Contains("barrel"))) return;
                    if (safeStructure && attacker != null && (entity is Barricade || entity is BuildingBlock || entity is Door || entity is SimpleBuildingBlock)) return;
                    if (safeTurret && (entity is AutoTurret || attacker is AutoTurret)) return;
                    if (safeWorld && (entity is BasePlayer && attacker == null)) return;
                    if (safeSuicide && (entity == attacker)) return;
                }
     
  17. Hey!

    What the fuck, i've the plugin purge, all my campfire, boxes, sleeping bag are invulnerable!!!

    But my wall, doors.. ect it's ok what the fuck?! o_O
     
  18. Just checked this and yea, seems like all deployables? Not being able to damage a turret/flame turret is pretty op.
     
  19. Wulf

    Wulf Community Admin

    I'll likely have to add an option for that.
     
  20. It's the same for Cupboard bro!