Damage to twig onlySolved
I was wondering if it was possible to allow players to damage twig only? Players on my server just make their whole base out of twig since nobody can destroy it and I want them to upgrade to at least wood.
I spent a fair amount of time on another plugin with one intention being to make this possible.  I also find it annoying that people build twig on a non-decay server.  The problem is that if they stock the tool cupboard with wood, I don't believe a plugin can even touch it.  Hopefully, someone will tell me I am both wrong as well as how to fix it ;)  It should probably be the job of another *NoDecay plugin, however.

Merged post

There is another plugin out there called TwigsDecay that might help.  It doesn't show up here yet.  It handles decay by taking over the whole process afaict.
In response to rfc1920 ():
I spent a fair amount of time on another plugin with one intention being to make this possible.  I a...
I think the OP was asking about some how there being a way to make a rule where players can damage/destroy twig buildings?
This is my example (it does not work):
assets/prefabs/building core/foundation/foundation.twig.prefab

"anything can hurt twigs"

{
"name": "twigs",
"members": "foundation.twig",
"exclusions": ""
},

Is this even possible?  I have used TruePVE for so long and love it (I am scared to update TruePVE and ZoneManager since they are both working just fine I don't want to mess anything up).  

But the one main complaint I have about it is the fact that people build these giant twig monstrosity bases because they know twig costs nothing to upkeep and nobody can harm it.

 

Is it possible to make twig be able to be destroyed by anyone as if it were a vanilla server but everything else in my rules stay the same?  Here's my ruleset right now (also on a side note, if I updated ZM and TruePVE would it mess up my settings?  We current use default for the entire map and then we have a PVP zone for PVP stuff)

{
  "Config Version": "0.9.1",
  "Default RuleSet": "default",
  "Configuration Options": {
    "handleDamage": true,
    "useZones": true
  },
  "Mappings": {
    "default": "default",
    "1381901": "pvp",
    "64745994": "pvp"
  },
  "Schedule": {
    "enabled": false,
    "useRealtime": false,
    "broadcast": false,
    "entries": []
  },
  "RuleSets": [
    {
      "name": "default",
      "enabled": true,
      "defaultAllowDamage": false,
      "flags": "HumanNPCDamage, LockedBoxesImmortal, LockedDoorsImmortal, ProtectedSleepers, TrapsIgnorePlayers, TurretsIgnorePlayers",
      "rules": [
        "anything can hurt dispensers",
        "anything can hurt players",
        "players cannot hurt players",
        "anything can hurt traps",
        "traps cannot hurt players",
        "players can hurt barricades",
        "barricades cannot hurt players",
        "highwalls cannot hurt players",
        "anything can hurt heli",
        "anything can hurt npcs",
        "fire cannot hurt players",
        "anything can hurt resources",
        "guards can hurt npcs",
        "guards cannot hurt players",
        "players cannot hurt guards",
        "npcs can hurt zombies",
        "guards can hurt zombies",
        "zombies can hurt npcs",
        "zombies cannot hurt guards",
        "traps cannot hurt npcs",
        "traps cannot hurt zombies"
      ]
    },
    {
      "name": "pvp",
      "enabled": true,
      "defaultAllowDamage": true,
      "flags": "HeliDamageLocked, HumanNPCDamage, SelfDamage",
      "rules": [
        "anything can hurt dispensers",
        "anything can hurt players",
        "anything can hurt traps",
        "players can hurt barricades",
        "anything can hurt heli",
        "anything can hurt npcs",
        "anything can hurt resources"
      ]
    }
  ],
  "Entity Groups": [
    {
      "name": "dispensers",
      "members": "BaseCorpse, HelicopterDebris",
      "exclusions": ""
    },
    {
      "name": "players",
      "members": "BasePlayer",
      "exclusions": ""
    },
    {
      "name": "traps",
      "members": "AutoTurret, BearTrap, FlameTurret, Landmine, GunTrap, ReactiveTarget, spikes.floor",
      "exclusions": ""
    },
    {
      "name": "barricades",
      "members": "Barricade",
      "exclusions": ""
    },
    {
      "name": "highwalls",
      "members": "wall.external.high.stone, wall.external.high.wood, gates.external.high.wood, gates.external.high.wood",
      "exclusions": ""
    },
    {
      "name": "heli",
      "members": "BaseHelicopter",
      "exclusions": ""
    },
    {
      "name": "npcs",
      "members": "NPCPlayerApex, BradleyAPC, NPCmurderer",
      "exclusions": ""
    },
    {
      "name": "zombies",
      "members": "scarecrow",
      "exclusions": ""
    },
    {
      "name": "guards",
      "members": "bandit_guard, scientistpeacekeeper, sentry.scientist.static",
      "exclusions": ""
    },
    {
      "name": "fire",
      "members": "FireBall",
      "exclusions": ""
    },
    {
      "name": "resources",
      "members": "ResourceEntity, TreeEntity, OreResourceEntity",
      "exclusions": ""
    }
  ]
}
Did you ever find a solution to make twig destructable?
I would give anything for a way to jack up twig cost per hour upkeep or to at least make it destructable during TruePVE
The main issue with upgrading is that ZoneManager data has moved from a data file to a different file under the ZoneManager subfolder.  Afaik, you will have to copy the old zone data into the new file.
But that's not even the question .... can we make twig destroyable?
It was part of the question.  I didn't answer regarding twig because I don't have an answer yet that you would like.
I have something setup here but will need to test with another actual player.  Hopefully this week some time.
If you ever need help testing just let me know I have 3 accounts I can run at the same time and I have a testing server I use for testing my custom maps and new plugins.  Gladly fire it up for ya
Yeah, I left debug on.  Update coming.
Awesome look forward to it!
Not sure wth is going on with my threads lately.  I reply to one plugin and it seems to post into a thread for another plugin.  I know this isn't Jira, so I guess I am just losing my mind.
Locked automatically