Skip to content

A disgusting pile of loose-knit, à la carte scripts for Garry's Mod

License

Notifications You must be signed in to change notification settings

CFC-Servers/cfc_gmod_scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 

Repository files navigation

cfc_gmod_scripts

A disgusting pile of loose-knit, à la carte scripts for Garry's Mod

Development

Halt! Are you 100% sure your idea doesn't fit better in its own repo, or perhaps another one of our addons? Loose-knit script repos like this are in danger of turning into a unmaintainable dumping ground. Please do your best to keep it clean and reasonable.

⚠️ The project structure and these rules are subject to change as we add more scripts.

All scripts should follow these rules:

  • Be contained to a single directory under lua/cfc_gmod_scripts/
  • Have an init.lua at the root of their directory
  • Have a section in this README under the Included Scripts category
  • Ideally, have a convar to enable/disable them

Included Scripts:

anti_joinspam

Description

Prevents players from spam rejoining the server to spam chat messages.


cw_extrema_ratio_fix

Description

Fixes the on-tick hudScaler error spam.


disablebloom

Description

Disables annoying bloom for maps that use bloom.


effects_whitelist

Description

Limits the effects that players can spawn to a pre-defined whitelist.

This affects:

  • Manually spawning effects
  • Spawning effects with E2's Effect Core
  • Spawning effects with Starfall's Effect library

More effects can be whitelisted by adding them to the global GmodScripts_EffectWhitelist table.

hook.Add( "InitPostEntity", "example", function()
    GmodScripts_EffectWhitelist["my_effect"] = true
end )

l4d2_vehicles_fix

Description

Fixes a silly (but absurdly spammy) nil error that occurrs in a popular L4D2 SimfPhys Vehicle Pack (this fix has already been proposed upstream, but the author doesn't appear to want to implement it)


net_remover

Description

Removes certain net messages that are never used or useless for our usecase.


player_pickup_fix

Description

Fixes a weird Garry's Mod exploit that happens if a player issues an absurd amount of Use commands on a single entity.


projectedtexture

Description

env_projectedtexture entities with the enableshadow property enabled (as in wire lights and lamps) appear to cause a huge amount of clientside lag when they face other props (and cast shadows) This disables the enableshadow property on all newly created env_projectedtexture entities.


remove_tabs_ranks

Description

Uses the cfc_remove_tabs addons' hooks to allow Moderators+ access to NPCs.

Config

  • cfc_gmodscripts_enable_removetabs (1/0, replicated, archived)

swep_remover

Description

Prevents configured weapon classes to be prevented from loading, such as abusive admin weapons.


About

A disgusting pile of loose-knit, à la carte scripts for Garry's Mod

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages