Garry's Mod

Garry's Mod

PatchProtect (PProtect)
194 Comments
aeiou [DFS] 18 Aug, 2024 @ 1:25am 
wow, such a big PProtect
The Sexiest Duck 14 Nov, 2019 @ 3:27pm 
I figured it out, you have to click on the buddy menu and then press and hold 'c' and the boxes will show up. Poorly designed and poorly explained though
The Sexiest Duck 14 Nov, 2019 @ 2:31pm 
Where is the right box to add buddies? it doesnt show up for me
Synk 6 Oct, 2019 @ 6:49pm 
The blocks list doesnt block people from duping it
ZeeZy 2 Feb, 2019 @ 8:55am 
It messes with targeting system for ulx other then that it's great
extremebball 16 Jul, 2018 @ 10:28pm 
heyo, i get the same problem as sherman, but whenever i close my menu i get script errors and have to relog off the server
MeeM 13 Jun, 2018 @ 1:50pm 
I can't see the boxes to the right of the Buddy tab, make the instructions alot more simpler


לעולם לא אישן שוב 18 Apr, 2018 @ 6:58pm 
how i can off buddy's?
24/7 Alpha 27 Sep, 2016 @ 2:53pm 
This addon looks intresting but 2 questions

1. Is this ULX compatible because i know it states superadmins can do everything but that can relate to any admin mod

2. can i make tool groups like Donator,user and admin seprately

if so i would happly change from FPP to this
Arbeo 15 Jul, 2016 @ 3:11am 
This addon is working.
Ickycoolboy 2 Jan, 2016 @ 8:48am 
Is development for this on pause currently? This addon is made really well and is important to my sandbox server, It would be terrible if a gmod update broke this addon.
Arwwarr 20 Dec, 2015 @ 7:14pm 
no work to my server .. need CPPISetOwnerless(bool)
Mgd84 16 Aug, 2015 @ 1:27pm 
Very good. Have been running this on my server for a week now.
Superzoki 9 Aug, 2015 @ 10:54am 
Hello i found an error where some people on the server cant see the red cross to buddy some one in the buddy list.Plz reply thanks.
BONES 27 Jul, 2015 @ 4:40pm 
This makes the server too strict: I cant dupe any thing. i cant kill NPC's that people spammed\spawned. cant use the buttons on other peoples dupes for like fun for something. Cant sit in a dupe with friends. cant help build anything (even with permission!) i mean cmon too strict.
pepperjack 6 Jun, 2015 @ 7:33pm 
hello, I am trying to spawn in a dupe and it says you arent allowed to spawn a prop inside another. help! (i have full permissions)
domi  [author] 21 May, 2015 @ 1:54am 
Hey Icky:
I added your suggested feature.
It will be on workshop soon :)
Ickycoolboy 24 Apr, 2015 @ 5:54pm 
An example of the advantage of this is in the map gm_mobenix_v3_final where there is a race track and you are supposed to weld things to your car that were spawned by the world. Currently you can't.
Ickycoolboy 24 Apr, 2015 @ 5:51pm 
Basically like more percise configuration abilities on prop protection.
Ickycoolboy 24 Apr, 2015 @ 5:50pm 
I have a request. Can there be a feature added that allows players to use toolgun on world props, but keeps them from using physgun on them?
pati  [author] 4 Apr, 2015 @ 3:36am 
PatchProtect is online again - sorry for that.
domi  [author] 24 Mar, 2015 @ 6:25am 
Hey guys, I think it is time for a new update. But I have to say, that there is nothing special for you. It is just a update for some fixes, which came up with the new gmod version. If there are any other bugs, please just give me a shout. Thanks :)
domi  [author] 1 Mar, 2015 @ 3:11am 
Hey guys,
we just released a new update of PatchProtect.
Here is the list of all changes:
- updated cppi (fits now more to the cppi-standard)
- major buddy overhaul (we completely changed our buddy-system. It works now completely different. We hope that you like it :)
- some internal stuff (you can check that on our github page if you're interested)

Usage of the new buddy-system: (also shortly explained in the buddy-panel)
- if you check the right checkbox after the name of him, you add/remove him from your buddy-list
- if you click on the name, you can change his permissions (what he is allowed to do with your stuff)
- That's it! Enjoy! :D

As always: If there are any errors, feel free to post them here or on github. Thanks :)
domi  [author] 9 Feb, 2015 @ 4:20am 
@Ghostlymatter6000
Hey, I just fixed this issue, you should be able to use world-buttons as expected.
Exo-U 8 Feb, 2015 @ 3:48pm 
As owner/superadmin im not able to use world buttons/doors when I set prop protection as Ignore Superadmin. Help!
domi  [author] 1 Feb, 2015 @ 6:15am 
@Albertitoeo:
Thanks, I already fixed that issue and this fix is also live on workshop. (just tested it for myself and everything worked fine)
domi  [author] 1 Feb, 2015 @ 6:14am 
@Raspy:
Normally you should be able to add buddies from the patchprotect-menu, which you can find in the "utilities"-tab of the 'q'-menu. If you have any more issues, feel free to report them here or in the bug-report-discussion. Thanks
Raspy 31 Jan, 2015 @ 10:07am 
How the fuq do i add buddy?
Arbeo 31 Jan, 2015 @ 2:58am 
E2 = to owner.

I found no fix for this. Just place a E2 anywhere and it is red, saying no owner.
Only way to workaround this is duping the E2 in singleplayer and then pasting it on multiplayer.
Its really awful as a server owner.
domi  [author] 27 Jan, 2015 @ 1:15pm 
@|TBB| Xer0n_
I just tested that bug on the new version and I wasn't able to reproduce it. Hopefully this fixes your issue. If not then please give me a short feedback that this issue still exists and we will try to handle it out :)

Also regarding to your suggestion:
All your suggestions should work, if you set the settings correctly with one exception. I need to change something for the player-physgun-system. This will come in the next few days. Thanks for mentioning it :)
domi  [author] 27 Jan, 2015 @ 12:54pm 
Hey guys, we decided to release now a new big update for you.
We tested that stuff for a long time now, and we think it is ready for the mass.
So here are the changes:
- added Blocked-Entities (same behavior as Blocked-Props)
- changed method to detect spawned entities (patchprotect should detect now more props than before (more addon-friendly))
- big optimizations in all parts of patchprotect (more performance, better overview, less lines of code)
- panel improvements (the Cleanup-Panel now updates correctly after pressed any button, more performance, ...)
- another (hopefully last) settings overhaul
#############################################################################################
WARNING: THIS WILL RESET ALL YOUR SETTINGS!!! SO PLEASE CHECK ALL SETTINGS. SORRY FOR THAT :/
#############################################################################################
domi  [author] 27 Jan, 2015 @ 12:53pm 
- New SQL-Reset-System ('write pprotect_reset help' into server console to get more information)
- changed Owner-HUD a bit
- added No-Owner-Exception (props which are spawned after map load)
- updated Damage-Protection (works now more stable, faster protection-checks)
- added Damage-Vehicle-Protection (players in vehicles can't damage other players/objects)
- Added a server-command to import a blocked-props-list from a text file (you can get more information in the description)
- many other fixes
Xer0n_ 27 Jan, 2015 @ 7:54am 
When pasting dupes, even parented it's not allowing props to be spawed in props even though they were placed with Precision Alignment. Also I cannot get Spam Protection to work, I have a guest rank and it's permitting me to spam them without cleanup or running a command.

Also my idea of disabling the touching of world props for my admins while still allowing them to physgun people & their props hasn't been implemented since I suggested it and you agreed it would be a good idea?
Kothana 25 Jan, 2015 @ 4:42pm 
@Reth For that I recommend Mercury Admin Mod
domi  [author] 12 Jan, 2015 @ 1:10pm 
@Reth
Sorry, this feature is not included to patchprotect. But is this really a "propprotection" feature? (I am just thinking, where I could place that code and I don't find any solution. It doesn't wether into buddy, antispam, cleanup or propprotection) - Well, I don't think so.
Maybe you have a look on some admin mods?
Reth 12 Jan, 2015 @ 11:32am 
So how can i make some Weapons Admin only? I can't find it.
domi  [author] 10 Jan, 2015 @ 1:39pm 
@CaptainPRICE
Thank you :)
7 Jan, 2015 @ 10:27am 
Recommended for PP! Good job.
domi  [author] 3 Jan, 2015 @ 4:08pm 
@All

We released recently a little update, which should fix following issues:

AntiSpam: Ignore Admins:
There was an issue, that you were not able to change this setting in the AntiSpam-Menu. This should be fixed now

PropProtection: World-Props:
There was an issue, that you were still not able to touch props, if you checked the "World-Props" setting. If you still experience this error, then please give me a little report about it. To fix that for yourself, just type into the console "pprotect_reset_propprotection".
domi  [author] 30 Dec, 2014 @ 2:47pm 
@All

We released a new big update, which will change quite some stuff. You can expect this update in some hours/days. ( Who knows ;) )
Especially on the settings-part:
Because of that we had to remove the old antispam and patchprotect setting-tables. So please check if all settings are set as you wished to, after you downloaded the new version of patchprotect.

In general there are not much changes which you can actually see, because this big update changed almost internal things. But here are all remarkable changes:
- Changed the design of checkboxes/labels/sliders (We hope that you enjoy the new design)
- Added a client-setting to disable/enable all notifications (cooldown times, notifications that you are not allowed to touch/use/tool/damage stuff)
- Also we fixed an issue, when combined with PropHunt

So hopefully you are enjoying the new update. If there are any problems or wishes, please just mention them here or in the bug section or on our github page. Thanks!
domi  [author] 30 Dec, 2014 @ 2:34pm 
@Sergeant Blueforce: This feature is already added xD. Maybe you have a closer look at the "propprotection-settings" ;)

@XCode:
The rank "Owner", which you create by an admin mod, is just a modded rank. But every rank needs kind of "backend" privileges, which are officially set by garrysmod. Because of the reason, that we need to support more than just one admin mod, we can only use that official backend priviledges.
In patchprotect, only superadmins are allowed to change the settings of patchprotect. (except of the cleanup menu: you can set that also admins are allowed to have control on the cleanup menu)
So just keep in mind that you give those ranks superadmin privileges, which should really have them. Otherwise there will happending creepy things on your server ;)
Xcode 30 Dec, 2014 @ 12:51pm 
If im set us Owner , why im need Super-Admin privileges?
Target Practice 26 Dec, 2014 @ 5:16am 
Can you add settings to allow finer control of how users can interact with world props?
For instance I don't want users to be able to physgun or toolgun world objects, but I want them to be able to use key pickup and gravgun them.
domi  [author] 13 Dec, 2014 @ 1:25am 
@BuzzKill
Thank you for that hint. I fixed it. Hopefully patcher will update the workshop version soon.
Buzz 28 Nov, 2014 @ 11:11am 
This is a pretty simple bug. In antispam.lua, you're returning true on some checks for CanSpam. These should be simple returns, otherwise it overrides later checks (like entity count limits, etc).

function sv_PProtect.CanSpawn( ply, mdl )

if sv_PProtect.CheckASAdmin( ply ) then return true end
if ply.duplicate then return true end

-- Cooldown
if CurTime() > ply.propcooldown then
ply.props = 0
ply.propcooldown = CurTime() + sv_PProtect.Settings.Antispam[ "cooldown" ]
return true
end
Buzz 25 Nov, 2014 @ 6:50pm 
I can confirm. Without PatchProtect, my entity limits are enforced. Adding PatchProtect allows unlimited spawning (ie, PP's spawn protection is in place, but the entity limits are ignored)
domi  [author] 23 Nov, 2014 @ 4:58am 
Patchprotect doesn't use convars to save things. I also know some people, who are using patchprotect with ulx and they don't have that problem. Maybe you also installed other addons at the same time. Maybe you completely reinstall your server (deleting everything and recreate a clean server).

I am pretty sure, that patchprotect is not the reason for this bug.
Slodrein 12 Nov, 2014 @ 7:35am 
why when I put this addon, my ulx limits or cvar don't work's ?? HELP
domi  [author] 2 Nov, 2014 @ 6:20am 
@OncomingStorm
Sry, I didn't see your comment.
Try to use an admin mod or something to get an admin on your server.
domi  [author] 2 Nov, 2014 @ 6:19am 
Yeah, try to think about each scenario of the settings. If you deactivate "allow world props" and activate "igonre admins", which means that admins are not affected by the prop protection, you should have your wished result