Giter VIP home page Giter VIP logo

grocel / anti-noclip-field Goto Github PK

View Code? Open in Web Editor NEW
5.0 3.0 1.0 99 KB

It is a Garry's Mod addon that allows you to create anti-noclip fields. Players in these fields are unable to noclip.

Home Page: https://steamcommunity.com/sharedfiles/filedetails/?id=165559580

Batchfile 4.31% Lua 95.69%
garrysmod-addon garrysmodlua garrysmod-tool garrysmod garrys-mod gmod gmod-lua gmodaddon gmodlua noclip admin anit-noclip enitity addon wiremod permaprops anti-noclip-field

anti-noclip-field's Introduction

Anti-Noclip Field

This tool allows you to create anti-noclip fields in Garry's Mod. Players in these fields are unable to noclip.

Workshop Installation

The Anti-Noclip Field is available on the Steam Workshop! Go to its Workshop page and press Subscribe, and it will automatically appear in Garry's Mod.

Requirements

  1. Up to date Garry's Mod Server/Client.

Recommended addons

  1. Wiremod for Wiremod functionalities.
  2. PermaProps 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.

Tool Menu Preview

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

License

Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.

anti-noclip-field's People

Contributors

grocel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

elpatitoloco

anti-noclip-field's Issues

lua error

Lua Error:
[ERROR] addons/tool_all/lua/entities/anti_noclip_field/shared.lua:69: attempt to call method 'GetShapeInt' (a nil value)

  1. UpdateShape - addons/tool_all/lua/entities/anti_noclip_field/shared.lua:69
  2. unknown - addons/tool_all/lua/entities/sent_anti_noclip_control/shared.lua:310

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.