Garry's Mod

Garry's Mod

43 ratings
[LambdaPlayers] Improved Admin Module
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: NPC
Addon Tags: Fun, Realism
File Size
Posted
Updated
7.951 MB
Dec 26, 2024 @ 12:41pm
Dec 28, 2024 @ 6:37pm
4 Change Notes ( view )

Subscribe to download
[LambdaPlayers] Improved Admin Module

In 3 collections by somefoolouthere
SFOH's Creations
96 items
My Lambda Player Addons
25 items
Lambda Player Realism
38 items
Description
Merry late Christmas! Have you ever felt that the original Admin module was lacking or unrealistic? Whether you have or not, I'm happy to present [pun not intended] my version with fixes and improved behavior, using my limited knowledge and experience in GLua.

[Please disable the original module before using this one, as they share the same files. If you need a basic guide on how to use this module, see the description of the original module, linked above.]

This forked module was developed with the Reborn version of Lambda Players, but should work with the original and old versions of Lambda Players as well.

Want the usernames seen in the images? Check out my More Usernames addon.

What is this?
This is a module for Lambda Players that allows Lambdas to become admins and enforce rules.

Admin Lambdas have the power to jail, kill, kick, or ban others who are breaking the rules. They can also bring them into a sit.

This edited version brings several improvements compared to the original module, including the ability to address offenders without putting them in a sit, improved behavior for the "No Bad Words" rule, the ability to kick, and more!

Fixes & Improvements
  • Admins now have a 50/50 chance to directly warn or punish offenders, rather than bringing them into a sit first.
  • Overhauled the punishment process. Admins now randomly choose from either 2 or 4 commands to execute on the offender, depending on how many warnings they have.
  • Fixed admins ignoring bad words if they aren't all lowercase. Lambdas can get in trouble for typing swear words in ALL CAPS now!
  • Admins now ban Lambdas for realistic preset durations of up to 1 year, rather than a random number of minutes. Do note that the bans still don't persist across sessions.
  • Fixed admins not being able to kick offenders. There was an error in the code where an incorrect parameter was used, which resulted in the kick function always ending early, and admins simply unjailing the offender and teleporting them back. This broken behavior was preserved, though, now in the form of a warning as one of their "punishment" options.
  • Renamed the kill command that admins used on real players to slay, to match ULX's command.
  • Admins can now slay Lambdas along with real players.
  • Fixed and better exposed the hidden custom bad words feature by creating the file when it doesn't exist.
  • Slightly expanded the list of words that are considered bad. The list is still missing some important words, though.
  • Improved the typed versions of some commands to make more sense. For example, admins now only type !god instead of !god (their name).
  • Improved descriptions for the settings.

Known Issues
  • Due to admins being very fast at typing !god, their reactions to offenses feel unnaturally fast.
  • Admins still ignore Lambdas if an admin that tried to address them died in the process (help wanted).
  • Admins hate words that start with "as".

Performance
This version technically runs worse than the original, but shouldn't bog down performance by much or run much worse compared to the original in most cases or when not in use. The actual difference in performance is unknown and not measured.

Contributing
The source code of this addon is available on GitHub[github.com].

Feel free to submit pull requests.

Credits


Tags: fake players player bots lambda player admin module lambda player admins lambda players fixed admin module fixed lambda players admin module
35 Comments
Tf2player3253 Apr 26 @ 5:04pm 
wait can the bots kick or even ban players?? Please make it so they can
Tf2player3253 Apr 26 @ 4:28pm 
wait nvm
must have been a fluke
Tf2player3253 Apr 26 @ 4:25pm 
I dont ever Get Punished I know i own the server But is there a way to like demote myself so i will get punished too
Kaiden Apr 18 @ 7:00am 
to CaliforniaEAS, maybe making a personality preset for autistic lambdas or lambdas with ADHD
CaliforniaEAS Apr 17 @ 4:45pm 
What If Lambda Players have Autism?
qwertypop727 Apr 17 @ 3:51pm 
Thanks
somefoolouthere  [author] Apr 17 @ 12:26pm 
@qwertypop727 You add them into the file as JSON entries. Each word should be surrounded by quotation marks and separated by a comma. See the GitHub page linked in the description for an example.
Nowin Never Cry Apr 17 @ 8:49am 
Can you make module for Text Chat? Where you can see chat from other lambdas based on distance. It's was goat thing in Zeta Players
qwertypop727 Apr 17 @ 12:48am 
by the way, how can I make my own banwords for the admins so that they throw a warning for example for the word "Hello"? because I saw the file admin-bannedwords.json in the lambdaplayers folder.
somefoolouthere  [author] Apr 12 @ 3:08pm 
Could be interesting in a multiplayer environment. Could be doable for me if I were to figure out how to make it use ULX's ban.