Garry's Mod

Garry's Mod

Anti-Noclip Field
253 Comments
CyberNeo 21 Apr, 2022 @ 1:59pm 
is it possible to force equip Players inside the Field as a loop to prevent any Weapon Use? I ask because I want to use it for my DarkRP Server.
purposedfox 2 Mar, 2022 @ 5:35am 
parameters to spawn a field using Starfall?
adrenochrome 26 Nov, 2021 @ 11:52am 
total supreme addon
adrenochrome 26 Nov, 2021 @ 11:51am 
i have been looking for some addon that is perfect for almost all my points :D thanks alooooooooooooot :)
Grocel  [author] 25 Sep, 2021 @ 8:02am 
This might be a left over debug print. You can ignore it for now. I will patch it out in an update maybe.
NextKurome76TheSoldier 25 Sep, 2021 @ 7:07am 
idk if its this addon or a different one but something keeps printing
__ancf_owner = Player [1][NextKuromeThe76Soldier]
in console when i spawn a prop
gmodrozhtttt 2 Apr, 2021 @ 3:25pm 
the ultimate addon ! THANKS!
gmodrozhtttt 2 Apr, 2021 @ 3:21pm 
top 1 of 500+ addons in 15 years the best
Grocel  [author] 25 Aug, 2020 @ 9:11am 
Make sure to disable the "always be affected" option aswell.
Grocel  [author] 25 Aug, 2020 @ 9:09am 
It uses these function:
https://wiki.facepunch.com/gmod/Player:IsAdmin for Admin
https://wiki.facepunch.com/gmod/Player:IsSuperAdmin for SuperAdmin

These are the default functions in GMod and are used in any addon that needs to check for admin privileges. This addon (and many other addons) does not support custom ranks with admin like privileges, when these don't override the Player:IsAdmin() logic.
FelixKLG 25 Aug, 2020 @ 7:19am 
quick question, how does this determine who is an admin? on my server I can't seem to be able to no-clip in the fields. We have "Don't block admins" enabled but my role and is "Co-Owner" and I think that is not registering as an admin.
IvanTheRexouium 29 Feb, 2020 @ 1:10pm 
Thanks Grocel, I'll check it out soon
Grocel  [author] 29 Feb, 2020 @ 12:56pm 
A new update:
- Separated "Suicide" and "Damage" properly
- Added CPPI support
- Added PermaProps support
- Properly take entity owners into account when checking actions to be blocked.

@Ivan: That should fix your problem of NPCs unable to damage you
IvanTheRexouium 23 Feb, 2020 @ 5:00pm 
so if for example, you made like a npc arena you don't want to noclip in, you can't do that because the npcs can't hurt anyone inside the field
IvanTheRexouium 23 Feb, 2020 @ 4:59pm 
I mean, the configuration options don't seem to change that behaviour, even with everything disabled, including the anti noclip effect itself, it still disallows npcs damaging players
Grocel  [author] 23 Feb, 2020 @ 12:05pm 
The field can be confiurated that it also protects things outside from stuff that is in the inside. It should be able to be disabled via the toolgun. There is a minor update planned as there were other issues aswell, but I haven't got the time to do something about jet.
IvanTheRexouium 23 Feb, 2020 @ 11:31am 
I'm not sure if this is a bug or not, but npcs don't seem to be able to damage players at all if they're inside a anti noclip field, even with all the anti noclip field settings disabled. Is it possible to disable this, and if not, would it maybe be possible to add in a future update?
Mr.Willer 13 Jan, 2020 @ 6:52pm 
I was wondering if you could add a feature to make the cube get as big as a whole map?
as it would make it a whole lot easier on me. thx
[Trg] Raiom 1 Jan, 2019 @ 3:48pm 
So, in this case, i am the only admin in the server because i am allays hosting a game, so i will try to disable all other addons to test this one alone so i know if this is a issue with this mod or if it is a addon compatibility issue.
Grocel  [author] 1 Jan, 2019 @ 2:22pm 
No it shouldn't, but there are some cases where it is intended to happen. If the owner of the field is not an admin or the player is an admin, it still works depending on the server configuration (see description above).

There could also be a conflicting addon overriding the hook that handles the privilege, that is something this addon could have no influence on. Usually this isn't a problem when all addon are programmed right. At the moment there are no conflicts known to me, though.
[Trg] Raiom 1 Jan, 2019 @ 1:57pm 
Other Players can change the properties of props that are inside of the field in non-dedicated multiplayer, even if the options ''block changing properties" and "block actions from outside too" is enabled. Is that suposed to happen?
Grocel  [author] 3 Mar, 2018 @ 1:15am 
@SpringsterRingster317: Problems with the addon mounting system are not a part of this addon. Maybe you joined a server that had it...
SpringsterR.317 2 Mar, 2018 @ 10:57pm 
i didn't subscribe to that addon but i had it! what the heck?!
Grocel  [author] 26 Feb, 2018 @ 8:45am 
@[CSOFFER.ME] ur grandpa: No it isn't. I don't know such an addon.
milkers 26 Feb, 2018 @ 7:39am 
if*
milkers 26 Feb, 2018 @ 7:39am 
is this a addon that allows you to noclip props? of not pelase tell me the link if you know!
Grocel  [author] 2 Feb, 2018 @ 11:41am 
You mark an entity as persistent so it will respawn on every server start. The state of those entities is also saved.
NorthAlaska 2 Feb, 2018 @ 11:37am 
how would the persistance tool help?
Grocel  [author] 2 Feb, 2018 @ 4:16am 
Yes you can use the GMod persistance tool or an persisting addon for that.
NorthAlaska 2 Feb, 2018 @ 3:22am 
is there a way for me to just put a perm where users can noclip? instead of doing the work of trying to set fields everywhere but the area
Grocel  [author] 1 Feb, 2018 @ 6:23pm 
You could get an addon that changes noclip to be flying only (disabled clipping through walls) and block nocliping at the entrance to an enclosed area where nocliping is allowed.

Implementing your case only using fields is impossible as it would result in disabling noclip everywhere but inside the field. That would break everything and is outside of proportion for this addon.
NorthAlaska 1 Feb, 2018 @ 5:15pm 
urg ive been searching for a addon that makes noclip fields not anti for so long rn
Grocel  [author] 1 Feb, 2018 @ 5:13pm 
@SpicyPepperSauce: No, you can't do that with this addon.
NorthAlaska 1 Feb, 2018 @ 4:34pm 
is there a way where i can make people no clip in it and and not out of it?
VaporousCreeper 17 Dec, 2017 @ 4:55am 
ok
Grocel  [author] 17 Dec, 2017 @ 3:49am 
Those are individual for each field and not global.
However I will not add E2 functions. Instead I can add wiremod inputs for these options later on You can already use wiremod for turning these fields on and off.
VaporousCreeper 17 Dec, 2017 @ 3:37am 
the Anti-noclip field admin settings
Grocel  [author] 17 Dec, 2017 @ 1:47am 
What server settings do you mean? The Convars listed above or the setting of the field which are set by the tool individually for each field?
VaporousCreeper 16 Dec, 2017 @ 5:32pm 
You Should Make A E2 function that makes a noclip field but still apply the server settings
AUSTIN 26 Nov, 2017 @ 6:08am 
is there a way to see the noclip fields
==Lucanmoonshadow== 13 Nov, 2017 @ 10:10am 
Oh okay. Sorry for the disturbance. Thank you for the help! :)
Grocel  [author] 13 Nov, 2017 @ 10:09am 
Turn off the "owner can noclip" option. Superadmins can always noclip unless it is turn off via server convar (sv_anti_noclip_field_blocksuperadmin). Admin blocking only works when an admin has created the field. (sv_anti_noclip_field_freeforall)

Everything else is written in the description. Always read it first before posting "is not working", please.
==Lucanmoonshadow== 13 Nov, 2017 @ 9:47am 
I even turned off the admin can noclip thing.
==Lucanmoonshadow== 13 Nov, 2017 @ 9:46am 
It won work. How do I use it> I spawned it but I can still noclip.
crazy263apple sups.gg 18 Sep, 2017 @ 1:29pm 
this shit is so usefull dude thanks
Seductive Lamia Noises 21 Jul, 2017 @ 7:38pm 
Ahh ok, Thanks for the information and great addon though!
Grocel  [author] 21 Jul, 2017 @ 6:44pm 
No it's used to check if a player is inside the field. It could be that the function the game api provides to get all players entities is slow on high entity (prop) count.
Seductive Lamia Noises 21 Jul, 2017 @ 5:14pm 
Does it only index props in the field so that anti-prop drive and such works? Would it be possible to have it run the prop checking script only when those options are enabled on the field?
Grocel  [author] 21 Jul, 2017 @ 3:49pm 
Unfortunately these lags are impossible to avoid, but you can increase the ConVar sv_anti_noclip_field_rechecktime to reduce it.
Seductive Lamia Noises 21 Jul, 2017 @ 1:51pm 
Gread addon but it seems to cause server lag when being placed around large amount of props. Might just be me though