ULX

Author Topic: Multiple Admins  (Read 10519 times)

0 Members and 3 Guests are viewing this topic.

Offline BloodySocks

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
  • Bloody Clothing Server
Multiple Admins
« on: January 07, 2006, 02:06:37 PM »
I cannot figure out how to make more than one person an admin. In the ulx_users.lua file, I wrote, at the bottom, addUser( "STEAM_0:1:1234567", "abcdefghijklmnopqrstuz" ) [with the right steam ID] And it worked, then I skipped a line and did the same for a diffirent person. That did not work.  Is there a maximum of one admin, or is there a different way of writing it. Can anyone help on this?  ??? ??? ???
           

Offline Golden-Death

  • Hero Member
  • *****
  • Posts: 751
  • Karma: 0
  • Honored Lua Scripter
    • BlueFire
Re: Multiple Admins
« Reply #1 on: January 07, 2006, 02:19:53 PM »
does it look like this?
Code: [Select]
-- Add users here, in the following format:
-- addUser( <steamid>, <access flags> )
--
-- Example:
-- addUser( "STEAM_0:1:1234567", "abcdefghijklmnopqrstuz" )
--
-- Access flags:
-- a - immunity (can't be kicked/baned/slayed/slaped and affected by other commmands)
-- b - reservation (can join on reserved slots) ( NOT IMPLEMENTED )
-- c - ulx_kick command
-- d - ulx_ban and ulx_unban commands
-- e - ulx_slay and ulx_slap commands
-- f - ulx_map command
-- g - ulx_cvar command (not all cvars will be available)
-- h - ulx_cfg command
-- i - ulx_chat and other chat commands
-- j - ulx_vote and other vote commands
-- k - access to sv_password cvar (by ulx_cvar command)
-- l - access to ulx_rcon command and rcon_password cvar (by ulx_cvar command)
-- m - spawned props will be "protected", only other users with this access will be able to delete them ( ALSO UNAFFECTED BY PROP ANTI SPAM )
-- n - custom level A
-- o - custom level B
-- p - custom level C
-- q - custom level D
-- r - custom level E
-- s - custom level F
-- t - custom level G
-- u - custom level H
-- z - custom level I

addUser( "STEAM_0:1:1234567", "abcdefghijklmnopqrstuz" )
addUser( "STEAM_0:1:1234567", "abcdefghijklmnopqrstuz" )


Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Multiple Admins
« Reply #2 on: January 07, 2006, 02:21:19 PM »
Indeed, it will work just as GD said, it should work even if you skip lines. Make sure you put in the right steamid.

Nice timely answer GD   ;)
Experiencing God's grace one day at a time.

Offline BloodySocks

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
  • Bloody Clothing Server
Re: Multiple Admins
« Reply #3 on: January 07, 2006, 03:05:39 PM »
It does look like that (when I copy paste it.) Like this when I don't *without the IDs*

I made sure the steam ID was right many times. Worked for the 1st, not the 2nd.
Is there an extra something I need to remove from there?
           

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Multiple Admins
« Reply #4 on: January 07, 2006, 03:26:53 PM »
Something screwed up your newlines. Delete all those unknown characters and put a newline there.
Experiencing God's grace one day at a time.

Offline BloodySocks

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
  • Bloody Clothing Server
Re: Multiple Admins
« Reply #5 on: January 07, 2006, 04:01:06 PM »
Code: [Select]
-- Add users here, in the following format:
-- addUser( <steamid>, <access flags> )
--
-- Example:
-- addUser( "STEAM_0:1:1234567", "abcdefghijklmnopqrstuz" )
--
-- Access flags:
-- a - immunity (can't be kicked/baned/slayed/slaped and affected by other commmands)
-- b - reservation (can join on reserved slots) ( NOT IMPLEMENTED )
-- c - ulx_kick command
-- d - ulx_ban and ulx_unban commands
-- e - ulx_slay and ulx_slap commands
-- f - ulx_map command
-- g - ulx_cvar command (not all cvars will be available)
-- h - ulx_cfg command
-- i - ulx_chat and other chat commands
-- j - ulx_vote and other vote commands
-- k - access to sv_password cvar (by ulx_cvar command)
-- l - access to ulx_rcon command and rcon_password cvar (by ulx_cvar command)
-- m - spawned props will be "protected", only other users with this access will be able to delete them ( ALSO UNAFFECTED BY PROP ANTI SPAM )
-- n - custom level A
-- o - custom level B
-- p - custom level C
-- q - custom level D
-- r - custom level E
-- s - custom level F
-- t - custom level G
-- u - custom level H
-- z - custom level I

addUser( "STEAM_0:1:-------", "abcdefghijklmnopqrstuz" )
adduser( "STEAM_0:1:-------", "abcdefghijklmnopqrstuz" )
adduser( "STEAM_0:0:-------", "abcdefghijklmnopqrstuz" )

Doesn't work for the guy, still. He says he sees only 3 commands when he types "ulx_help" and says insufficiant privilages when he tries to change maps.
           

Offline Golden-Death

  • Hero Member
  • *****
  • Posts: 751
  • Karma: 0
  • Honored Lua Scripter
    • BlueFire
Re: Multiple Admins
« Reply #6 on: January 07, 2006, 05:32:28 PM »
Try opening the file with wordpad, and not notepad.

, Not


Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Multiple Admins
« Reply #7 on: January 07, 2006, 05:44:04 PM »
Wordpad sucks, he just has to convert his newlines. He's forcing me to get technical... so here goes...

The newline format you had pictured above uses the escape character "\n". This is fine for linux, but not for windows, windows uses "\r\n" ( that's a carriage return and a newline ) for it's newlines. You need to make your file have windows newlines, not linux newlines.
Experiencing God's grace one day at a time.

Offline BloodySocks

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
  • Bloody Clothing Server
Re: Multiple Admins
« Reply #8 on: January 07, 2006, 05:46:26 PM »
Thank you, it looks normal now, people I designated as admins are not online though, I'll tell you if it worked.
           

Offline BloodySocks

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
  • Bloody Clothing Server
Re: Multiple Admins
« Reply #9 on: January 07, 2006, 06:59:10 PM »
Here it is exactly.
Code: [Select]
-- Add users here, in the following format:
-- addUser( <steamid>, <access flags> )
--
-- Example:
-- addUser( "STEAM_0:1:1234567", "abcdefghijklmnopqrstuz" )
-- DO NOT INCLUDE THE '--' BEFORE addUser( "STEAM_0:0:590757", "Bloody Socks" ), '--' DENOTES A COMMENT
--
-- Access flags:
-- a - immunity (can't be kicked/baned/slayed/slaped and affected by other commmands)
-- b - reservation (can join on reserved slots)
-- c - ulx_kick command
-- d - ulx_ban and ulx_unban commands
-- e - ulx_slay and ulx_slap commands
-- f - ulx_map command
-- g - ulx_cvar command (not all cvars will be available)
-- h - ulx_cfg command
-- i - ulx_chat and other chat commands
-- j - ulx_vote and other vote commands
-- k - access to sv_password cvar (by ulx_cvar command)
-- l - access to ulx_rcon command and rcon_password cvar (by ulx_cvar command)
-- m - spawned props will be "protected", only other users with this access will be able to delete them ( ALSO UNAFFECTED BY PROP ANTI SPAM )
-- n - ulx_ent command - CAUTION, PLAYERS MAY BE ABLE TO CRASH THE SERVER WITH THIS ACCESS
-- o - custom level A
-- p - custom level B
-- q - custom level C
-- r - custom level D
-- s - custom level E
-- t - custom level F
-- u - custom level G
-- z - custom level H

addUser( "STEAM_0:1:6629083", "abcdefghijklmnopqrstuz" )
adduser( "STEAM_0:1:8159098", "abcdefghijklmnopqrstuz" )
adduser( "STEAM_0:0:6341402", "abcdefghijklmnopqrstuz" )
Looks like yours, I can't see what could be wrong.
EDIT: sorry for all the trouble I'm causing  :(
« Last Edit: January 07, 2006, 07:01:53 PM by BloodySocks »
           

Offline Golden-Death

  • Hero Member
  • *****
  • Posts: 751
  • Karma: 0
  • Honored Lua Scripter
    • BlueFire
Re: Multiple Admins
« Reply #10 on: January 07, 2006, 07:10:22 PM »
Its no problem, Help and supports here for help and support
Don't bother editing out the steamIDs, no one an do anything with them and its no threat if any one online gets a hold of one.

Don't see whats wrong though.


Offline spykie

  • Newbie
  • *
  • Posts: 3
  • Karma: 1
Re: Multiple Admins
« Reply #11 on: January 09, 2006, 08:12:46 AM »
he guys sorry about my englise not so good  :P ::)
if i look at your us id i see no
-- This is the access of the listen server admin
LISTEN_ADMIN_ACCESS      =   "bcdefghijklmnopqrstuz"
do i need to delete this or put it under it?? thanks anyways nice mod :)

Offline Golden-Death

  • Hero Member
  • *****
  • Posts: 751
  • Karma: 0
  • Honored Lua Scripter
    • BlueFire
Re: Multiple Admins
« Reply #12 on: January 09, 2006, 03:29:14 PM »
he guys sorry about my englise not so good  :P ::)
if i look at your us id i see no
-- This is the access of the listen server admin
LISTEN_ADMIN_ACCESS      =   "bcdefghijklmnopqrstuz"
do i need to delete this or put it under it?? thanks anyways nice mod :)

If your running a listen server (server made in gmod) then copy:

LISTEN_ADMIN_ACCESS      =   "bcdefghijklmnopqrstuz"

to the very bottom. If your running a dedicated server (serve outside gmod) then you need to add steamIDS




Offline BloodySocks

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
  • Bloody Clothing Server
Re: Multiple Admins
« Reply #13 on: January 10, 2006, 03:31:13 PM »
I am hosting a Gmod dedicated server, and I just realised it said listen access, is there something different for dedicated, or is it all the same?
           

Offline Golden-Death

  • Hero Member
  • *****
  • Posts: 751
  • Karma: 0
  • Honored Lua Scripter
    • BlueFire
Re: Multiple Admins
« Reply #14 on: January 10, 2006, 04:21:28 PM »
Here it is exactly.
Code: [Select]
-- Add users here, in the following format:
-- addUser( <steamid>, <access flags> )
--
-- Example:
-- addUser( "STEAM_0:1:1234567", "abcdefghijklmnopqrstuz" )
-- DO NOT INCLUDE THE '--' BEFORE addUser( "STEAM_0:0:590757", "Bloody Socks" ), '--' DENOTES A COMMENT
--
-- Access flags:
-- a - immunity (can't be kicked/baned/slayed/slaped and affected by other commmands)
-- b - reservation (can join on reserved slots)
-- c - ulx_kick command
-- d - ulx_ban and ulx_unban commands
-- e - ulx_slay and ulx_slap commands
-- f - ulx_map command
-- g - ulx_cvar command (not all cvars will be available)
-- h - ulx_cfg command
-- i - ulx_chat and other chat commands
-- j - ulx_vote and other vote commands
-- k - access to sv_password cvar (by ulx_cvar command)
-- l - access to ulx_rcon command and rcon_password cvar (by ulx_cvar command)
-- m - spawned props will be "protected", only other users with this access will be able to delete them ( ALSO UNAFFECTED BY PROP ANTI SPAM )
-- n - ulx_ent command - CAUTION, PLAYERS MAY BE ABLE TO CRASH THE SERVER WITH THIS ACCESS
-- o - custom level A
-- p - custom level B
-- q - custom level C
-- r - custom level D
-- s - custom level E
-- t - custom level F
-- u - custom level G
-- z - custom level H

addUser( "STEAM_0:1:6629083", "abcdefghijklmnopqrstuz" )
adduser( "STEAM_0:1:8159098", "abcdefghijklmnopqrstuz" )
adduser( "STEAM_0:0:6341402", "abcdefghijklmnopqrstuz" )
Looks like yours, I can't see what could be wrong.
EDIT: sorry for all the trouble I'm causing  :(

Should be like that, with the steam IDs of your admins like that.