Ulysses Stuff > Ulysses Release Archives

AntiAFK v2.2 - ULib Module

<< < (3/10) > >>

spbogie:
Garry hasn't blocked name changing, it's just that the name command no longer changes your name. With the new engine, your name is now pulled from Friends (just like in tf2). If you want, you can still temporarily change your name with "setinfo name <new_name>".

MrPresident:
Thanks boogie.. I'll patch this up! =)

MrPresident:
Patched.

I'm pretty sure I've ironed out all the issues caused by the update..

Avien:
Question regarding admin check.  I made a few groups that i want to be immune from the kicking feature of this addon. Does this addon support the use of pl:IsUserGroup( "custom") if i added it to the admin check part, lines 29-40?

example:

--- Code: ---If pl:IsUserGroup( "owner" ) then
return true
end

--- End code ---

spbogie:
Yes, assuming you change pl to ply so it matches the player object it was passed.

Edit: No, nevermind, the AdminCheck at the top if for access to changing the convars. The admin check for kicking is hardcoded further down.

zakap, this is a feature you may want to add. Another function at the top called immuneCheck or even better, an access string such as "aafk_immune". The function for registering an access string is ULib.ucl.registerAccess. Then you can check for it with ULib.ucl.query(or ply:query). With inheritance, setting the default group to admin will also apply it to superadmin, and it's rather easy for anyone to add it to any other group, or individual player.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version