Garry's Mod
450 evaluări
Anti-Noclip Field
   
Premiază
Adaugă la preferate
Preferat
Elimină din preferate
Content Type: Addon
Addon Type: Tool
Addon Tags: Build
Dimensiunea fișierului
Postat
Actualizat
217.068 KB
31 iul. 2013 la 15:02
4 ian. 2024 la 15:07
38 jurnale de actualizare ( vizionare )

Abonează-te pentru a descărca
Anti-Noclip Field

Descriere
About
This tool allows you to create anti-noclip fields.
Players in these fields are unable to noclip.

Requirement
No addtional requirements.

Recommended addons
  1. Wiremod[github.com] for Wiremod functionalities.
  2. PermaProps[github.com] for saving the fields permanently.

How to use
You spawn the an Anti-Noclip Field with the toolgun. You find this tool in the 'Construction' section of your tool menu.

The settings in the toolgun have tooltips, mouse over them to see them.
They may help you if you need to know something about an option.

Features
  • Blocks players noclip inside an anti-noclip area.
  • Built-in admin checks to prevent abuse.
  • Extended features for admins.
  • CPPI Support
  • PermaProps Support

If you an admin you can also disallow these actions:
  • Spawning objects
  • Tool use
  • Entity drive
  • Changing entity properties
  • Using physgun, gravitygun
  • Entering vehicles
  • Picking up props
  • Killing or damaging themselves
  • Killing or demaging others or props
  • Options to enable protection from outside

Additional Notes
If you try to disallow the above options as a non-admin it wont work.
Bypassing by duping, won't work either. (Please report exploits if you find them)

ConVars and ConCommands
  • sv_anti_noclip_field_adminonly 0/1 (Default: 0)
    • Disables this tool for non-admins.
  • sv_anti_noclip_field_maxsize 128-16384 (Default: 512)
    • Change the max size of the fields, it will also clamp already placed ones.
  • sv_anti_noclip_field_freeforall 0/1 (Default: 0)
    • Allows admin only features of the tool for everyone.
  • sv_anti_noclip_field_blocksuperadmin 0/1 (Default: 0)
    • Allows superadmins to be blocked.
  • sv_anti_noclip_field_rechecktime 0.01-5 (Default: 0.25)
    • Changes the interval of how often the field checks for players.
    • Increase for better server performance. Higher values are less accurate.

Credits
Code: Grocel

GitHub Version
https://github.com/Grocel/Anti-Noclip-Field

Commenting
Fell free to posts bug reports, requests or feedback.

However if you post bug reports, please include the error message and the steps to reproduce it. An undetailed report is invaild and can't be treated. If I ask for more information, please give them to me or the bug can't be fixed.

Please don't add me to just report a bug. Please use the comment section below. If you still think you need to add me, then ask me in the comment section or in my profile first. I explain only once. Crap and idiot comments will be deleted.
253 comentarii
CyberNeo 21 apr. 2022 la 13:59 
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 mart. 2022 la 5:35 
parameters to spawn a field using Starfall?
adrenochrome 26 nov. 2021 la 11:52 
total supreme addon
adrenochrome 26 nov. 2021 la 11:51 
i have been looking for some addon that is perfect for almost all my points :D thanks alooooooooooooot :)
Grocel  [autor] 25 sept. 2021 la 8:02 
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 sept. 2021 la 7:07 
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 la 15:25 
the ultimate addon ! THANKS!
gmodrozhtttt 2 apr. 2021 la 15:21 
top 1 of 500+ addons in 15 years the best
Grocel  [autor] 25 aug. 2020 la 9:11 
Make sure to disable the "always be affected" option aswell.
Grocel  [autor] 25 aug. 2020 la 9:09 
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.