Jump to content

Players can change walls

Closed 2.8.5 2.8.6

Sharkey
Sharkey

Posted

I have a problem with players being able to change walls from, say, stone to wood using the wooden hammer/pistol Garry's Mod. 

After changing the material, they can easily shoot a few times at such a wall/foundation and raid the base without the slightest difficulty.

I looked in the config and such options despite setting to false, still players can do so:
   

"Allow Players To Build": false,
"Allow Players To Build (Exclusions)": [],
"Allow Players To Use Ladders": true,
"Allow Players To Upgrade Event Buildings": false,
"Do Not Destroy Player Built Deployables": true,
"Do Not Destroy Player Built Structures": true,

It's also a shame that I can't even block items like the wooden hammer/pistol Garry's Mod in such a case

nivex

Posted

ill implement a list for next update

nivex

Posted

add this to line 8958 in the .cs

StopUsingWeapon(player, "toolgun");

i'll have it configurable in next update

nivex

Posted

youll have to add this to line 12880 too

Subscribe(nameof(OnActiveItemChanged));

 

Sharkey

Posted

Okay, I added and work well. Thank you 🙂

Sharkey

Posted

Can you tell me how to turn on PVP delay? 
I don't see anywhere this option and I just need it

nivex

Posted

np. PVP Delay is in the config.

Sharkey

Posted

Yes, you are right. Sorry, it's just that PVP delay works a little differently than in DynamicPVP. 
Like I have PVP zones on monuments then just enter and exit the zone to get PVP Delay.

In your plugin you have to start raiding the base/kill npc to get PVP Delay that's why I was surprised why it doesn't work but I just misunderstood how PVP delay works in your plugin 😅

 

Anyway, thank you for your help and I look forward to future updates 🙂

nivex

Posted

no problem.  the pvp delay starts whenever you exit the event. you don't need to interact with anything. simply enter then leave the bubble

Sharkey

Posted

Well, then it doesn't work in my case.

After entering and exiting the PVP zone, I only see "PVP" when I enter and "PVE" when I exit. But after attacking an NPC or base and exiting the PVP zone, it's only then that I have "PVP delay"

nivex

Posted (edited)

heya. I've tested 2.8.5 for you and it works

events cannot change from PVP to PVE so you can't see PVP when you enter and PVE when you exit

noclip and vanish will bypass triggering PVP delay to start, and many other features. attacking an NPC or a base doesn't trigger it

PVP Delay Triggers When Entity Destroyed From Outside Zone can trigger when you kill a building block outside of the zone (disabled by default)

Edited by nivex
nivex

Posted

Changed Status from Pending to Closed

Changed Fixed In to Next Version

1.6m

Downloads

Total number of downloads.

7.7k

Customers

Total customers served.

116.1k

Files Sold

Total number of files sold.

2.4m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.