I did have the flag AuthorizedDamage set, and I've double and triple checked. Yet I still have this issue; you still cannot damage a building you own. Any suggestions?
TruePVE
Better PVE/PVP implementation
Total Downloads: 4,637 - First Release: Mar 25, 2016 - Last Update: Mar 7, 2018
- 5/5, 26 likes
-
-
Code:
{ "Config Version": "0.7.15", "Default RuleSet": "default", "Configuration Options": { "handleDamage": true, "handleLooting": true, "useZones": true }, "Mappings": { "default": "default" }, "Schedule": { "enabled": false, "useRealtime": false, "broadcast": false, "entries": [] }, "RuleSets": [ { "name": "default", "enabled": true, "defaultAllowDamage": false, "flags": "HumanNPCDamage, LockedBoxesImmortal, LockedDoorsImmortal, AuthorizedDamage, LootableCorpses, HeliDamageLocked", "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" ] } ], "Entity Groups": [ { "name": "dispensers", "members": "TreeEntity, BaseResource, 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": "" } ] }
Edit: Also, is there a way for Admins to override the ruleset? (i.e. admin damage buildings not owned by them) -
If the buildings were protected before the flag was inserted, means the plugin is working so putting that flag in should allow you to damage your own build.
Admin, have the ability to kill an entity with "ent kill" just bind a key with bind <key> "ent kill" using f1 console. if you don't know already.
everytime you make a change to the config of a plugin, you have to reload it for the changes to take affect. again you might have already done this. reload TruePVE in rcon console.
also depending on what flags you have set might interfere with damaging some stuff. IE Boxes being immortal, but I'm not sure, . I have never tested it.
some grades seem inpenetrable to some weapons and ammo. as far as a few tests I've done with AuthorizedDamage.
Code:{ "Config Version": "0.7.15", "Default RuleSet": "default", "Configuration Options": { "handleDamage": true, "handleLooting": true, "useZones": true }, "Mappings": { "default": "default" }, "Schedule": { "enabled": false, "useRealtime": false, "broadcast": false, "entries": [] }, "RuleSets": [ { "name": "default", "enabled": true, "defaultAllowDamage": false, "flags": "AuthorizedDamage, HumanNPCDamage, LockedBoxesImmortal, LockedDoorsImmortal, LootableCorpses, HeliDamageLocked", "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" ] } ], "Entity Groups": [ { "name": "dispensers", "members": "TreeEntity, BaseResource, 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": "" } ] }
-
Well that's been solved, onto problem two! I had NOT been 'reloading' the plugin (though I did attempt restarting the server), so thank you!
NOW, however, if I attempt to add a PvP zone, then the plugin will revert the ENTIRE config file back to a default.
I'm not 100% clear on the instruction for adding a zone to mapping. The Zone I want to add has the ID of 5, so I've done it like so;
Code:"Mappings": { "default": "default", "5": "exclude" // exclude zone from TruePVE handling }
-
so it would be like this:
"default": "default",
"zoneid": "zoneruleset"
rulesets: you have create the second ruleset for the zone. like below. pay attention to commas and brackets. misplace one of those. it will default to the default config.
{
"name": "default",
"enabled": true,
"defaultAllowDamage": false,
"flags": "AuthorizedDamage, HumanNPCDamage, LockedBoxesImmortal, LockedDoorsImmortal, LootableCorpses, HeliDamageLocked",
"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"
]
},
{
"name": "zoneruleset",
"enabled": true,
"defaultAllowDamage": true,
"flags": "AuthorizedDamage, HumanNPCDamage, LockedBoxesImmortal, LockedDoorsImmortal, LootableCorpses, HeliDamageLocked",
"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"
]
} -
-
good morning, @ignignokt84,
I was wondering if you had any more information on the "rocket turret" situation ?
Also, I don't know why I keep getting spammed by these?
I know I keep posting but it keeps happening. It is almost always caught when im not in game and am looking at rcon so not sure what causes it most times.
Code:(19:37:07) | Calling hook CanBeTargeted resulted in a conflict between the following plugins: Vanish - False (Boolean), TruePVE (False (Boolean))(03:40:11) | Failed to call hook 'OnEntityTakeDamage' on plugin 'TruePVE v0.7.15' (NullReferenceException: Object reference not set to an instance of an object)
Last edited by a moderator: May 27, 2017 -
-
Tbh if you only read the conversation between me and Igni from last week or so, you`ll figure out everything.
-
if not, TurretsIgnorePlayers it is! lol
-
I DID finally get it to work (thanks for all the help!), I copied/pasted it directly from the FAQ but it was missing a comma on the FAQ, I added it and it's working just fine now! Most of the server is completely PvE, but some sections (a PvP Arena, admin made raid bases, etc.) are all vanilla rust / PvP.
The final thing I'd like to be able to do; though I'm not sure if it can be done; is shut off TruePvE entirely on a specific day. Namely, the day before the wipe (i.e., first Wednesday of every month). I usually like to make that a 'free for all' day.Last edited by a moderator: May 28, 2017 -
I have a server that is setup that way. starts on Tues and ends on Thursday. (manually have to turn it on before the set pvp time starts and ends)
I also have a weekend raid server that pvp is on during the weekend. (runs automatically all month.)
read the overview. see if you can get it to work. if you can't I'm always glad to assist. -
Need some help. i miss the old True or false.
All i need is for traps to hurt player.
I have it set for traps to hurt player
but they dont hurt player.
"name": "default",
"enabled": true,
"defaultAllowDamage": false,
"flags": "NoHeliDamage, HumanNPCDamage, LockedBoxesImmortal, LockedDoorsImmortal, AdminsHurtSleepers",
"rules": [
"anything can hurt dispensers",
"anything can hurt players",
"players cannot hurt players",
"anything cannot hurt traps",
"traps can hurt players",
"players cannot hurt barricades",
"barricades can hurt players",
"highwalls can hurt players",
"anything can hurt heli" -
can you post that too ? -
TruePVE.json
Attached Files:
Last edited by a moderator: May 28, 2017 -
-
{
"name": "players",
"members": "",
"exclusions": ""
},
it should be this:
{
"name": "players",
"members": "BasePlayer",
"exclusions": ""
},
try that and let me know -
Ok. Thanks. I'll give it a shot. Off for tonight. Will try tomorrow. Thanks for your help.
-
-