Garry's Mod

Garry's Mod

66 个评价
[LambdaPlayers] Improved Admin Module
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: NPC
插件标签: 快乐, 写实
文件大小
发表于
更新日期
7.951 MB
2024 年 12 月 26 日 下午 12:41
2024 年 12 月 28 日 下午 6:37
4 项改动说明 ( 查看 )

订阅以下载
[LambdaPlayers] Improved Admin Module

在 somefoolouthere 的 3 个合集中
SFOH's Creations
96 件物品
My Lambda Player Addons
25 件物品
Lambda Player Realism
38 件物品
描述
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
43 条留言
Sockert. 9 月 20 日 上午 2:33 
what if players could also use admin commands? server owner has them by default and he can give it to lambdas and players.
somefoolouthere  [作者] 9 月 19 日 下午 3:42 
Intentional but also could be pretty hard to fix.
archive94 9 月 14 日 下午 3:42 
one of the players in my game has the username 'The Bitch' so that if ANYBODY responds to them/says their name, they get warned, banned, and killed. it's funny but still a bug. devs plz fix.
Wahfulls11 8 月 8 日 上午 11:34 
it's realistic atleast
somefoolouthere  [作者] 7 月 1 日 下午 8:47 
I believe this issue is caused by the friends module itself.
qwertypop727 6 月 27 日 上午 12:37 
why when lambda player is friends with admin and breaks the rule, then admin doesn't notice it
That viking who procrastinates 6 月 5 日 上午 6:25 
I gonna expand on this for myself to work with crap-heads purge addon, this is an amazing upgrade from starfrost's
Shin Sonic 5 月 31 日 上午 8:08 
now we need a improved player admin module!
TF2Player3253 4 月 26 日 下午 5:04 
wait can the bots kick or even ban players?? Please make it so they can
TF2Player3253 4 月 26 日 下午 4:28 
wait nvm
must have been a fluke