Author Topic: Admin  (Read 4489 times)

0 Members and 1 Guest are viewing this topic.

Offline AJ92

  • Newbie
  • *
  • Posts: 14
  • Karma: 0
Admin
« on: May 23, 2007, 01:54:54 PM »
this has more then likely been asked befor but im have troble with my admin and i have no idea how to add my self i can show you what i have in users but thats about all i changed


"Users"
{
"superadmin" //This is a user group. Groups are useful to LUA coders.
{
"garry" "STEAM_0:0:x38x52xx" //Garry is a user in the superadmin group.
"User2" " " //To be the server admin, your Steam ID should go here
}

"admin" //Another user group.
{
"garry" " " //Your ID could go here as well without a significant decrease in admin power.
"User2" " " //Your ID could go here as well without a significant decrease in admin power.
}
}

Offline AJ92

  • Newbie
  • *
  • Posts: 14
  • Karma: 0
Re: Admin
« Reply #1 on: May 23, 2007, 01:59:52 PM »
Sry for my Spelling I Dont Really Look At The computer y typing thats what i have and it wont work right still the place that i rent my server from says something like the client but i dont see anything in there that would change me to a Superadmin

Offline spbogie

  • Ulysses Team Member
  • Sr. Member
  • *****
  • Posts: 456
  • Karma: 41
Re: Admin
« Reply #2 on: May 23, 2007, 02:24:35 PM »
AJ92,
The easiest way to add an admin is with the "ulx adduser" command. Enter it in console for more info. (This command can only be run by a SuperAdmin, the ListenServer Host, or the DedicatedServer Console)
I have not failed. I've just found 10,000 ways that won't work. - Thomas A. Edison
I reject your reality and substitute my own. - Adam Savage

Offline AJ92

  • Newbie
  • *
  • Posts: 14
  • Karma: 0
Re: Admin
« Reply #3 on: May 23, 2007, 02:36:58 PM »
ok if the command can only be ran by a super then how am i going to add my self that way im trying to get it to work to where i am the superadmin but it doesnt work so what do i do to get it to work where i am the superadmin?

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Admin
« Reply #4 on: May 23, 2007, 03:02:38 PM »
Please spend time writing a post. You may understand reading your stream of consciousness writing, but I promise no one else does.

I'm assuming you're asking how to do an initial admin add. Just use the "ulx adduser" command from the server console.
Experiencing God's grace one day at a time.

Offline AJ92

  • Newbie
  • *
  • Posts: 14
  • Karma: 0
Re: Admin
« Reply #5 on: May 23, 2007, 04:58:22 PM »
it doesnt know the command

Offline AJ92

  • Newbie
  • *
  • Posts: 14
  • Karma: 0
Re: Admin
« Reply #6 on: May 23, 2007, 05:49:38 PM »
does the ulxs dles come this these

ULib/_cl_2.04/defines.lua
ULib/_cl_2.04/misc.lua
ULib/_cl_2.04/util.lua
ULib/_cl_2.04/tables.lua
ULib/_cl_2.04/messages.lua
ULib/_cl_2.04/player.lua
ULib/_cl_2.04/cl_util.lua
ULib/_cl_2.04/autocomplete.lua
ULib/_cl_2.04/draw.lua
ULib/_cl_2.04/concommand.lua
ULib/_cl_2.04/sh_ucl.lua
ULib/_cl_2.04/uroundmenu.lua
ULib/_cl_2.04/uroundbutton.lua
ULib/modules/ulx_init.lua
ulx/cl_init.lua
ulx/sh_defines.lua
ulx/cl_lib.lua
ulx/cl_menu.lua


cuz i only see some of them in the folders

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Admin
« Reply #7 on: May 23, 2007, 07:05:55 PM »
What?
Experiencing God's grace one day at a time.

Offline spbogie

  • Ulysses Team Member
  • Sr. Member
  • *****
  • Posts: 456
  • Karma: 41
Re: Admin
« Reply #8 on: May 23, 2007, 07:34:04 PM »
Megiddo,
It is really time to do the new installer, and you should add an extra page which asks for the users steam id and makes them a superadmin by default.
I have not failed. I've just found 10,000 ways that won't work. - Thomas A. Edison
I reject your reality and substitute my own. - Adam Savage

Offline AJ92

  • Newbie
  • *
  • Posts: 14
  • Karma: 0
Re: Admin
« Reply #9 on: May 23, 2007, 09:20:08 PM »
Sry for my typing i guess i dont like typing thats i have a mic and make alot of error why typing but if i would say why not make a tut for new Server Owners? or somthing telling what you need and what you dont need?


and the new update sounds good to me  :D

Offline AJ92

  • Newbie
  • *
  • Posts: 14
  • Karma: 0
Re: Admin
« Reply #10 on: May 24, 2007, 01:25:00 AM »
ok iv been looking thorgh my ftp and i found this format


"<account_name>"
{
   "id" "<name|ip|steamid|clantag>"
   "type" "<name|ip|steamid|clantag>"
   "pass" "<password>"
   "pass_req" "<0|1>"
   "groups"
   {
      "1"   "superadmin"
      "2"   "immunity"
   }
   "allow"
   {
      "1"   "ulx kick"
      "2"   "ulx ban"
   }
   "deny"
   {
      "1"   "ulx cexec"
   }
}

Example of a superadmin without immunity:
"<account_name>"
{
   "id" "STEAM_0:1:123456"
   "type" "steamid"
   "pass" """
   "pass_req" "0"
   "groups"
   {
      "1"   "superadmin"
   }
   "allow"
   {
   }
   "deny"
   {
   }
}

is there anyone that can help me set this part up so i can do everthing form baning to picking up someone objects and adding other users i dk whats wrong tho it says to me that ulx help is unknowen and it does "ulx unknowen command" and it pis me off cuz i installed it my freind installed it and my rantal place installed all 3 times i had to go in and delet everthing that had to deal with this mod so i could go for some help and the ulx adduser this say unknowen command to? any help?(Sry For My Spelling)

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Admin
« Reply #11 on: May 24, 2007, 01:28:34 AM »
Check for errors on startup, sounds like it's not loading right.
Experiencing God's grace one day at a time.

Offline AJ92

  • Newbie
  • *
  • Posts: 14
  • Karma: 0
Re: Admin
« Reply #12 on: May 24, 2007, 10:36:10 AM »
can you post how its has to go in cuz i put it in the way it said on the readme ill take it out again