Ive used this plugin for years and yesterday I had to restore my server to default..Ive reinstalled TruePve but for the the life of me cant get the setting right, I either allow damage to base with TC auth or Dont allow damage..heres what I want,,Server is Vanilla all i want the TruePve to do is block NON authorized players from doing damage to players bases and allow Authorized players on TC to do damage, this seams so simple but for some reason I cant get it done, Ive added AuthorizedDamageCpboardOwnership to flags but that doesnt solve it, btw Im not using any other game plugins o nthe server as its pure vanilla.. Thanks in advance for any help ..I feel like im missing something so stupid but im jus a lil stressed trying to get it working
Need help for vanilla server to jsu block nonauth players from doing damage
heya np, add the AuthorizedDamage and CupboardOwnership flags. they are two separate flags and both are required.
damage is allowed when there is no TC, or when there is a TC and you're authed.
Thank you so much Nivex !!!!!!!!!!!
Merged post
Nivex I have another question, again I jus wanted TruePve to protect bases from being raided from nonauthorized players, I noticed attackhelicopters and minis didnt take damage when crashing so I added the vehiclestakecollsionDamage flag but while testing to fight bradley with attack helicopter and mini neither take damage from the bradley shooting at them..Ive checked over the configs and not sure how to make this vanilla so they take damage when hit with ammo or boom rom bradley..I also tried to add them to the list that anything can hurt them ... again appreciate ur help
"RuleSets": [
{
"name": "default",
"enabled": true,
"defaultAllowDamage": false,
"flags": ", AuthorizedFarmableDamage,CupboardOwnership, HumanNPCDamage,VehiclesTakeCollisionDamage, AuthorizedDamage, LockedBoxesImmortal, LockedDoorsImmortal,",
"rules": [
"anything can hurt dispensers",
"anything can hurt resources",
"anything can hurt barricades",
"anything can hurt traps",
"anything can hurt ridablehorses",
"anything can hurt heli",
"anything can hurt minicopter",
"anything can hurt attackhelicopter",
"anything can hurt npcs",
"anything can hurt players",
"npcs can hurt players",
"junkyard can hurt cars",
"players cannot hurt tugboats",
"heliturrets cannot hurt players",
"ramhead can hurt ramhead",
"siege cannot hurt players"
Merged post
Ok I minicopter to just mini and now the bradley guns do damage to the minicopter but not the cannons,,Attack helicopter still doesnt take any damage
Merged post
Ok i just changed minicopter to jus mini **** anything can hurt mini
Merged post
Not sure if it matters but mini and attackhelicopter both take damage from samsites
heya, npcs can hurt mini should work. BradleyAPC is already in the npcs entity group (after all of the rules) by default but you might need to add maincannonshell
someone has removed HopperCannotTargetEnemyLoot, TrapsIgnorePlayers, TurretsIgnorePlayers, PlayerSamSitesIgnorePlayers from your flags as those are there by default.
here are the sam site flags
StaticSamSitesIgnorePlayers - Static sam sites ignore all players, such as from Launch Site or a plugin that has set SamSite.staticRespawn to true.
PlayerSamSitesIgnorePlayers - Player sam sites ignore all players, such as from deployed sam sites. If another plugin sets SamSite.staticRespawn to true then this flag will not work for that sam site.
SamSitesIgnoreMLRS - Prevent SAM sites from targetting MLRS rockets