Ulysses
General => Off-Topic => Topic started by: Dartouious on August 19, 2016, 09:11:44 PM
-
Is it possible to change the default group player are set to when joining a server. Currently is it set to user. Possible to change that to a different custom rank? If so, How?
-
You could probably make a script that automatically adds them to a group. I don't think there is a way to change the default group, though. If you don't know how to do that, just lmk
-
Im not fluent enough in lua to do that. It should only be a few lines script. Next issue i would need to know is where to put that. Could you possible help?
-
This has been answered before in developers corner or off topic I think. Forget where, just know it's been asked.
Gmod expects plain user to be "user", else it's custom, and requires special storage.
It's not recommended, as after about 50 joins, the server would start lagging every time someone joined with the size of the users file.
This is not a ULX question.
Moving to Offtopic for now
-
Alright. It would hurt the server if it had them join another rank automatically would it?
-
Yeah, what JamminR said... if you did have something that added someone to a different group it would fill up that group in the users.txt and it would become a really (and I mean really) big file... One way I could think is removing someone from the group every time they leave, and add them back when then join... but I think that would cause a lot of lag on connect/disconnect, too... not sure.
-
The server I'm working with is a MilitaryRP server. So everyone gets added to a different Rank/Group when they join anyways. But I have to add them to it. I'm trying to have it so I don't have to add them to it when they do.
-
Don't use group changes.
Learn to use teams instead.
Teams were meant for what you're describing.
Groups were intended for server administration access levels.