Garry's Mod

Garry's Mod

Nadmod Prop Protection
132 commentaires
NuggetLovah#!!!!!!!!!!!!!!!!!! 17 sept. à 11h05 
i cant open the spawnmenu and when i try to it does that error
NuggetLovah#!!!!!!!!!!!!!!!!!! 17 sept. à 11h05 
[Nadmod Prop Protection] lua/autorun/client/cl_nadmodpp.lua:141: attempt to call method 'ClearControls' (a nil value)
1. AdminPanel - lua/autorun/client/cl_nadmodpp.lua:141
2. fn - lua/autorun/client/cl_nadmodpp.lua:261
3. Call - lua/ulib/shared/hook.lua:109
4. Run - gamemodes/sandbox/gamemode/spawnmenu/spawnmenu.lua:262
5. unknown - gamemodes/base/gamemode/cl_spawnmenu.lua:11
6. unknown - lua/includes/modules/concommand.lua:54

how tf do i fix dis!11
autism is my superpower 24 juil. à 2h03 
always wear protection while trainbuilding
Etbysnex 22 mars à 7h06 
i can't delete this addon in some mode
Pelumo 64 17 févr. à 13h44 
Yo, it might have totaled my save function, since all the props belong to the world, apparently.
the scrombler 13 févr. à 3h17 
fucked up my toolgun, can someone help me
.Den4thrius. 30 nov. 2022 à 17h34 
I'm having a recurring problem with the protection of the nadmod prop, when a prop damages the character sometimes it happens that the Spawn menu (Q or F1) simply stops working and I have to restart the game, can you help me?
party 18 nov. 2022 à 4h44 
[Nadmod Prop Protection] Warning! A net message (tsayc) is already started! Discarding in favor of the new message! (nadmod_propowners)
1. SendPropOwners - lua/autorun/server/nadmod_pp.lua:84
2. unknown - lua/autorun/server/nadmod_pp.lua:112
The Doctor 19 mars 2022 à 11h58 
How do I protect spawn?
DAMAGEPLAN 31 aout 2021 à 13h15 
can i claim doors on a map with this?
www.xvideos.com 8 aout 2021 à 2h21 
please run CPPI hooks (CPPI doc @ http://ulyssesmod.net/archive/CPPI_v1-1.pdf , II.e)
MeQQs 25 déc. 2020 à 12h17 
How to make auto cleanup work? No matter what I set up it doesn't work.
Florida East Coast #427 13 déc. 2020 à 19h37 
there's an autoclean timer that cleans up everyone's entities and constraints after a set time that they disconnect
Lambda 11 juil. 2020 à 19h02 
What does it do to the props of players who disconnect?
Jagger 23 juin 2020 à 16h49 
I also have an issue with the HUD, specifically the font used, which throws errors when looking at props, I'll put the issue and error message on github
camelCase 16 avr. 2020 à 14h32 
Does this work for restricting tools such as rope?
SammyT291 11 mars 2020 à 2h07 
@Canhead , Again; id like to help, but you answered none of my questions, nor have you posted any errors on the github, and as stated I cannot seem to replicate your issue..

-Post the error(s) on github https://github.com/Nebual/NadmodPP
-What OS are you on
-Try run with no workshop or legacy addons enabled
Super Senior Sergei 5 mars 2020 à 15h23 
@Sammy there's multiple People with problem it says the hud is set to 0 in multiplayer but works in sp
SammyT291 5 mars 2020 à 6h27 
@Canhead, can you open an issue request on the github and give us the exact error your getting?
Im not having any issues with the overlay, nor does anyone else i play with.

Does it still break without any Folder/Workshop addons running?
What OS are you on?
Super Senior Sergei 4 mars 2020 à 14h21 
OVERLAY DOESN'T WORK IT NEEDS FIXED

Nebual  [créateur] 4 mars 2020 à 2h06 
v1.5.1 update:
- Fixed clientside lua errors when opening spawnmenu with a bot on the server (thanks @sammyt291)
Brakeman Hornet 20 févr. 2020 à 17h40 
the nadmod_overlay wont work
kyaing goat 27 déc. 2019 à 12h17 
same issue. fix it please
Nebual  [créateur] 27 oct. 2019 à 13h48 
v1.5 update, brought to us by @thegrb93/Sparky!
- Add CPPI Clientside support, eg. for use in Starfall
- Optimized networking
Super Senior Sergei 12 sept. 2019 à 16h02 
the overlay doesnt show up on multiplayer servers with the mod
Bet-Trey 10 juin 2019 à 8h11 
the Client error multiple times and it makes me unable to access q menu and it stuck forever until I rejoin the server. As long as i don't go into Client in Nadmod prop protection I can normally acess q menu. The Error occured when I try to access q menu after the Client error, it gives me this error.


[ERROR] lua/autorun/client/cl_nadmodpp.lua:191: attempt to concatenate a nil value
1. ClientPanel - lua/autorun/client/cl_nadmodpp.lua:191
2. fn - lua/autorun/client/cl_nadmodpp.lua:203
3. Run - addons/ulib/lua/ulib/shared/hook.lua:109
4. Call - gamemodes/sandbox/gamemode/spawnmenu/spawnmenu.lua:222
5. unknown - gamemodes/base/gamemode/cl_spawnmenu.lua:56
6. unknown - lua/includes/modules/concommand.lua:54


[ERROR] lua/autorun/client/cl_nadmodpp.lua:157: attempt to concatenate a nil value
1. func - lua/autorun/client/cl_nadmodpp.lua:157
2. unknown - lua/includes/extensions/net.lua:32
Monaco 13 janv. 2019 à 13h27 
Can you add Entity Damage as an option for Admins?
Cougarmint 15 juil. 2018 à 4h31 
I don't know if this is a common error with everyone else, but whenever press the Use key or touch anything with the Physgun when this is enabled, I get the following error in my console:

[ERROR] addons/nadmod prop protection/lua/autorun/server/nadmod_pp.lua:369: attempt to index a nil value
1. v - addons/nadmod prop protection/lua/autorun/server/nadmod_pp.lua:369
2. unknown - lua/includes/modules/hook.lua:84

I've checked for mod conflicts and it seems to be just this one.

(comment edit note: spelling corrections)
Tomoli75 28 juin 2018 à 22h58 
This should have been in the vanilla game!
Sanders 7 juin 2018 à 18h08 
this addon is good but the CPPIGetFriends part of this addon is trash it breaks damage core e2 functions when using it on an npc or a prop..................this is the full error: addons/wire/lua/entities/gmod_wire_expression2/core/e2lib.lua:708: attempt to call method 'CPPIGetFriends' (a nil value)
Sanders 2 mai 2018 à 11h39 
where is the black list on this addon? as there are models that should be spawnable but can't
happypug 10 mars 2018 à 16h53 
help it's not showing up
Chainzprodigy 27 févr. 2018 à 14h20 
How would I go about assinging ownership to an entity that is spawned by another entity. I have a money entity that a printer prints out and I only want the owner of the printer to be able to pick up that money
GenStone 30 janv. 2018 à 14h57 
Hopefully we should see an option to disable prop protection on certain props. I have a prop-based claim flag that we change the color of to indicate ownership when we take a base over. Specifically, I want to be able to enable specific tools if I wanted to, like this prop can't be moved with the physgun, but it can be removed or modified with the tool gun, etc.
Nebual  [créateur] 4 janv. 2018 à 0h59 
v1.4 Update:
- Cleaning up the map now restores ownership to the World
- Singleplayer now defaults to PP being off
- Admin menu can now be opened during high ping (useful for cleaning the source of the ping)
- Add nadmod_overlay convar (0 = off, 1 = owner info only, 2 = owner + model + entityID + class)

@Nightly: Get an admin mod. I have one linked in the description.
@sol: That has annoyed me in the past! I've rejiggered the cpanel so it remains visible if you've ever loaded it before.
@georgeravenholm!: Alright, disabled by default in Singleplayer
@[SMOL]SwerveSwerve: Alright, added nadmod_overlay convar
@FreezeBug: I think I need to keep a delay after map start (later than InitPostEntity) to catch _all_ maps' world ents; but I've added PostCleanupMap, thanks!
@Chillstice: I've documented my concommands, that one would be nadmod_cdp
Buttons 7 nov. 2017 à 19h58 
what do i do if it says im not a admin
ABTTEX 24 aout 2017 à 2h44 
How should I prevent players from moving N / A props
sol 26 juil. 2017 à 16h17 
it takes a while for the admin menu to load, and when someone spams often times you can't delete their stuff only because the menu won't load :\
Grey 24 juin 2017 à 17h41 
Is there a way you can add allowing certain groups to be able to move props like an admin? cause there's no prop protection mod that lets operators from ulx move other peoples props without permission. operators technically are not admin so thats why im asking. also are you able to clean individual players props like simple prop protection? thanks your mod is great.
bveezey 13 mai 2017 à 19h06 
it would be nice if you disabled it for singleplayer as its pretty annoying installing a server collection then going in single player to be locked out of world props
Colton 13 mai 2017 à 12h48 
is there a way to turn off the overlay that shows owner id etc.
FreezeBug 11 févr. 2017 à 14h12 
Hey Nebual,

Was hoping that you could change a few things regarding this for better support with cleanups.

At line 327 of nadmod_pp.lua you're calling the function that locates world props and sets their owner to "World". However, the way it's done isn't exactly reliable.

"if CurTime() < 5 then timer.Create("NADMOD.PPFindWorldProps",7,1,NADMOD.WorldOwner) end"

Can you replace it with this?

hook.Add("PostCleanupMap","NADMOD.PPFindWorldProps",NADMOD.WorldOwner)
hook.Add("InitPostEntity","NADMOD.PPFindWorldProps",NADMOD.WorldOwner)

Your current implementation is causing world props to be unowned on cleanup :p
Chillstice 16 déc. 2016 à 14h38 
Also are you planning to add a switch that prevents world props from being picked up by admins when the "admins can touch anything" setting is turned on?
Chillstice 15 déc. 2016 à 22h41 
Simple Prop Protection had a command that admins could run from the console to clean up disconnected player's props (spp_cdp) Is there a command that has a similar effect with Nadmod?
Nebual  [créateur] 4 oct. 2016 à 2h09 
v1.3.1 Tiny update:

* Protection is now enabled by default
* Improved support for E2 protection checks

Everything still seems to work in my testing.
@Lyzz Admins show up as "friends" that you can't untick, so you know who's capable of touching your stuff.
Corn Bread 22 aout 2016 à 14h03 
This allows players to own world entities like buttons and doors.. and when auto clean runs the owned entities get deleted
Odey555 21 aout 2016 à 8h37 
Doesn't work
looter 20 juil. 2016 à 21h35 
this seems to have bugs with permissions and friends now
Funion 16 juil. 2016 à 10h20 
Oh sorry, i wasnt reading :PPPP. it clearly says "Note: Initially Protection is disabled serverwide, just tick on the Main Power Switch in the Admin CPanel and hit Apply."
Funion 15 juil. 2016 à 16h10 
Hey prop protection is broken, Can you update it please?