Ulysses
Ulysses Stuff => General Chat & Help and Support => Topic started by: nzkfc on April 03, 2014, 11:24:22 PM
-
Hi,
I know there is a file containing users in their respective ULX groups.
Is there a way to bulk add a range of users to a group, I have 300+ users I need to add in and don't want to do it maunally.
I used a script to copy them into a file but it didn't work.
-
Why and how do you have 300+ users to add into ULib?
Don't get me wrong, I do want to help, but there's no way for me to do so
with only this amount of information.
-
Why and how do you have 300+ users to add into ULib?
Possibly changing things around on his server, most likely.
Don't get me wrong, I do want to help, but there's no way for me to do so
with only this amount of information.
I'm confused as to what you need from him- he has a bunch of SteamIDs that he wants to move form one group to another. I interpreted that fine... hmmm...
-
I'm asking how he has obtained 300+ Steam IDs.
And if he is moving from another admin mod.
-
I'm asking how he has obtained 300+ Steam IDs.
And if he is moving from another admin mod.
Ahhhhhh, okay. That makes more sense.
I'm tired today- ignore my stupidity. :P
-
ULX has no default method to add many at once.
Though Ulib's users.txt file is easy to see what it does, the simplest method would be to use Gmod's normal user.txt file and format.
Issue is, I don't remember if we(ULX) will store them in ULX own user files, so that you could remove them from Gmod's, and change/promote them later using only ULX.
(I know we load Gmod's at startup)
As for the amount, yeah, just crazy, but, to each their own.
Gmod users.txt file is this format, in gmod_server_path/settings/users.txt
"Users"
{
"<groupname01>"
{
"<playername01" "STEAM_0:1:###1",
"<playername02" "STEAM_0:1:###2",
}
"<groupname02>"
{
"<playername03" "STEAM_0:1:###3",
"<playername04" "STEAM_0:1:###4",
}
}
-
Hi,
300+ users are donators to the server, so I need to add them to donator rank so they can use jobs/tools etc.
OK so manual is the only way, I can write a script to automate that from a excel sheet.
Question I have though, do I HAVE to have a player name or can I leave it blank (e.g. what happens when you add a steamID to a rank and they have not connected, I assume it updates the file once he connects with a player name to his already added steamID.
Cheers
-
Hi,
300+ users are donators to the server, so I need to add them to donator rank so they can use jobs/tools etc.
OK so manual is the only way, I can write a script to automate that from a excel sheet.
Question I have though, do I HAVE to have a player name or can I leave it blank (e.g. what happens when you add a steamID to a rank and they have not connected, I assume it updates the file once he connects with a player name to his already added steamID.
Cheers
Yes you are correct, it will add the name once they connect. As for adding those 300 users try using a for loop.
-
Sorry to necro the thread.
I just wanted to check if this code layout would still be read correctly?
http://imgur.com/rhf2gk1 (http://imgur.com/rhf2gk1)
-
Anyone?
-
Have you tried the code yet?
-
Yeah but I think it caused a bunch of issues so I stopped using it.
We made a automatic donation system instead. Ulx really needs a bulk group add tool.