Ulysses
Ulysses Stuff => Suggestions => Topic started by: mmavipc on November 26, 2010, 01:02:30 PM
-
Sometimes, you have to go undercover to investigate something. When you have UTeam and SUIScoreBoard this can be hard. So I tried removing myself from users.txt, joined, and was still Owner. ulib_reload_users please?
-
ULib updates access (http://ulyssesmod.net/docs/files/lua/ulib/shared/defines-lua.html#UCLChanged) levels anytime ULX adduser/removeuser is used (http://ulyssesmod.net/docs/files/lua/ulib/server/ucl-lua.html#ucl.removeUser). No need to reload.
If you aren't using ULX, you'd need to write your own function to do that action.
Unless Owner is a group (or UTeam team) you created, there is no Owner group by default in ULib or Gmod.
There are two users.txt files. One ULib creates/updates; /data/ULib/users.txt and one that Gmod uses (and ULib imports) for (all) Lua scripts to determine admin access on a server.
You'd need to use "ulx removeuser" to remove yourself from ULib's by default, edit the Gmod's /settings/users.txt to not include yourself, then rejoin the server.
To my knowledge, /settings/users.txt can't be reloaded dynamically and may require restart of server for its changes to take effect.
-
Owner is a group I created myself, is there a way to make a silent adduser/removeuser?
-
I thought Megiddo was working on a way to add back echo/log levels as in the old release.
In the past, setting echo level would either show all players, show only admins, or show none.
Using console commands would also affect how public the commands were.
-
would removing this line
adduser:logString( "#1s added #2s to group #3s" )
make it silent?
-
I believe so, not 100% sure though.
-
Yes, but, it would also prevent logging to text files.
If someone were to ever add an admin, you'd never know who.
-
Why not set ulx logEcho to 0 to turn off the echoes?
-
If you don't want to do any of the above, I'd be willing to create a quick silent command.