Garry's Mod

Garry's Mod

53 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
26 Dec, 2024 @ 12:41pm
28 Dec, 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
39 Comments
somefoolouthere  [author] 1 Jul @ 8:47pm 
I believe this issue is caused by the friends module itself.
qwertypop727 27 Jun @ 12:37am 
why when lambda player is friends with admin and breaks the rule, then admin doesn't notice it
I gonna expand on this for myself to work with crap-heads purge addon, this is an amazing upgrade from starfrost's
Shin Sonic 31 May @ 8:08am 
now we need a improved player admin module!
TF2Player3253 26 Apr @ 5:04pm 
wait can the bots kick or even ban players?? Please make it so they can
TF2Player3253 26 Apr @ 4:28pm 
wait nvm
must have been a fluke
TF2Player3253 26 Apr @ 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 18 Apr @ 7:00am 
to CaliforniaEAS, maybe making a personality preset for autistic lambdas or lambdas with ADHD
CaliforniaEAS 17 Apr @ 4:45pm 
What If Lambda Players have Autism?
qwertypop727 17 Apr @ 3:51pm 
Thanks