Ulysses
Ulysses Stuff => General Chat & Help and Support => Topic started by: Donkie on May 24, 2009, 01:41:33 AM
-
Okay this is the deal. Me and 2 other guys just rented a server, i installed Ulx ulib sui_scoreboard and uteam. They work abit as i want... And here i got 2 problems currently.
1.
I can only use the "default" ranks with the uteam grouping, like i can only make people superadmin admin and regular, but not my custom ranks, code:
"Out"
{
"teams"
{
"1"
{
"name" "Server Owner"
"group" "owner"
"armor" "1337"
"hp" "1337"
"color"
{
"a" "255"
"B" "150"
"g" "150"
"r" "150"
}
"plytable"
{
"1" "SprintSpeed:1000"
"2" "WalkSpeed:500"
}
}
"2"
{
"name" "Founders"
"group" "founder"
"armor" "1337"
"hp" "1337"
"color"
{
"a" "255"
"B" "100"
"g" "100"
"r" "100"
}
"plytable"
{
"1" "SprintSpeed:1000"
"2" "WalkSpeed:500"
}
}
"3"
{
"name" "Superadmins"
"group" "superadmin"
"armor" "500"
"hp" "500"
"color"
{
"a" "255"
"B" "255"
"g" "255"
"r" "255"
}
"plytable"
{
"1" "SprintSpeed:800"
"2" "WalkSpeed:300"
}
}
"4"
{
"name" "Admins"
"group" "admin"
"armor" "300"
"hp" "300"
"color"
{
"a" "255"
"B" "255"
"g" "100"
"r" "0"
}
}
"5"
{
"name" "Moderators"
"group" "mod"
"armor" "150"
"hp" "150"
"color"
{
"a" "255"
"B" "255"
"g" "0"
"r" "255"
}
}
"6"
{
"name" "V.I.P"
"group" "vip"
"armor" "400"
"hp" "400"
"color"
{
"a" "255"
"B" "0"
"g" "195"
"r" "255"
}
}
"7"
{
"name" "Regulars"
"group" "user"
"armor" "100"
"hp" "100"
"color"
{
"a" "255"
"B" "0"
"g" "255"
"r" "0"
}
}
"gamemodes"
{
"1" "Sandbox"
"2" "SpaceBuild"
"3" "darkrp"
}
}
2.
When people join the server first time, they can see what admin ranks people got and thier colors, but second time they join, everybody is yellow and there is no text under admin rank.
-
Anyone? :S
-
Not sure about 2; but I want to focus on 1 first.
Have you created the groups using ULX for the custom groups?
You must have ULib groups already created, which can be done in two ways.
2) Through ulx addgroup (then adduser) command, or, /settings/users.txt, the standard default GMod way of creating groups/assigning people to those groups.
Also, if you've used the users.txt file for gmod, you can't have them in more than one group, even using ULX. They'll always be assigned the lowest group from /settings/users.txt
UTeam has no effect on actually creating the groups. It only reads what ULib say's they're in and assigns them accordingly.
Off the top of my head, it sounds as though you have some people listed in more than one group.
-
Well i have only edited UTeam.txt, so there is somewhere else you need to change with the groups for em to work?
-
\so there is somewhere else you need to change with the groups for em to work?
Have you created the groups using ULX for the custom groups?
You must have ULib groups already created, which can be done in two ways.
2) Through ulx addgroup (then adduser) command, or, /settings/users.txt, the standard default GMod way of creating groups/assigning people to those groups.
-
Oke, i added my custom groups with
- ulx addgroup owner
- ulx addgroup founder
- ulx addgroup vip
- ulx addgroup mod
When i restarted server, they wont show up in groups.txt. Is that ment to be so? And what do i do next now?
-
Which groups file... ULib's?
They're not appearing in gmod/data/ULib/groups.txt ??
Did you get errors in console after adding them?
Did you/are you capable of adding people to those groups using adduser?
-
Okay the groups shows up in groups.txt now, but one thing i dont understand is the inherit_from. Lets say the admin rank got ulx slap and ulx kick, then if superadmin got ulx whip, ulx ragdoll and ulx unragdoll and superadmin does inherit from admin, makes that superadmin got ulx slap, ulx kick, ulx whip, ulx ragdoll and ulx unragdoll? So inherit takes the group it inherit from and adds that groups commands with the selected group?
-
Beutiful, right now i just broke admins on ulx. Hers my groups.txt:
"owner"
{
"deny"
{
}
"allow"
{
}
"inherit_from"
{
"founder"
}
}
"founder"
{
"deny"
{
}
"allow"
{
"ulx luarun"
"ulx cexec"
"ulx adduser"
"ulx adduserid"
"ulx userallow"
"ulx userdeny"
"ulx addgroup"
"ulx removegroup"
}
"inherit_from"
{
"superadmin"
}
}
"superadmin"
{
"deny"
{
}
"allow"
{
"ulx hiddenecho"
"ulx rcon"
"ulx ent"
"ulx removeuser"
"ulx groupallow"
"ulx groupdeny"
"overcomeimmunity"
}
"inherit_from"
{
"admin"
}
}
"admin"
{
"deny"
{
}
"allow"
{
"ulib_passtime"
"ulib_passtimeout"
"ulx spawnecho"
"ulx tsay"
"ulx csay"
"ulx gimp"
"ulx mute"
"ulx ungimp"
"ulx unmute"
"ulx gag"
"ulx ungag"
"ulx chattime"
"ulx welcomemessage"
"ulx slap"
"ulx whip"
"ulx slay"
"ulx sslay"
"ulx ignite"
"ulx unignite"
"ulx playsound"
"ulx freeze"
"ulx unfreeze"
"ulx god"
"ulx ungod"
"ulx noclip"
"ulx hp"
"ulx armor"
"ulx cloak"
"ulx uncloak"
"ulx blind"
"ulx unblind"
"ulx jail"
"ulx unjail"
"ulx ghost"
"ulx unghost"
"ulx ragdoll"
"ulx unragdoll"
"ulx maul"
"ulx strip"
"ulx adminmenu"
"ulx clientmenu"
"ulx mapsmenu"
"ulx showmotd"
"ulx banmenu"
"ulx bring"
"ulx goto"
"ulx send"
"ulx teleport"
"ulx map"
"ulx kick"
"ulx ban"
"ulx banid"
"ulx unban"
"ulx spectate"
"ulx vote"
"ulx votemap2"
"ulx votekick"
"ulx voteban"
"ulx veto"
}
"inherit_from"
{
"mod"
}
}
"mod"
{
"deny"
{
}
"allow"
{
"ulib_passtime"
"ulib_passtimeout"
"ulx spawnecho"
"ulx tsay"
"ulx csay"
"ulx gimp"
"ulx mute"
"ulx ungimp"
"ulx unmute"
"ulx gag"
"ulx ungag"
"ulx chattime"
"ulx welcomemessage"
"ulx slap"
"ulx slay"
"ulx freeze"
"ulx unfreeze"
"ulx noclip"
"ulx hp"
"ulx armor"
"ulx cloak"
"ulx uncloak"
"ulx blind"
"ulx unblind"
"ulx jail"
"ulx unjail"
"ulx ghost"
"ulx unghost"
"ulx ragdoll"
"ulx unragdoll"
"ulx strip"
"ulx adminmenu"
"ulx clientmenu"
"ulx mapsmenu"
"ulx showmotd"
"ulx banmenu"
"ulx goto"
"ulx send"
"ulx teleport"
"ulx kick"
"ulx ban"
"ulx unban"
"ulx vote"
"ulx votemap2"
"ulx votekick"
"ulx voteban"
"ulx veto"
}
"inherit_from"
{
"user"
}
}
"vip"
{
"deny"
{
}
"allow"
{
"ulib_passtime"
"ulib_passtimeout"
"ulx spawnecho"
"ulx tsay"
"ulx csay"
"ulx gimp"
"ulx mute"
"ulx ungimp"
"ulx unmute"
"ulx gag"
"ulx ungag"
"ulx chattime"
"ulx welcomemessage"
"ulx slap"
"ulx slay"
"ulx freeze"
"ulx unfreeze"
"ulx noclip"
"ulx hp"
"ulx armor"
"ulx cloak"
"ulx uncloak"
"ulx blind"
"ulx unblind"
"ulx jail"
"ulx unjail"
"ulx ghost"
"ulx unghost"
"ulx ragdoll"
"ulx unragdoll"
"ulx strip"
"ulx adminmenu"
"ulx clientmenu"
"ulx mapsmenu"
"ulx showmotd"
"ulx banmenu"
"ulx goto"
"ulx send"
"ulx teleport"
"ulx kick"
"ulx ban"
"ulx unban"
"ulx vote"
"ulx votemap2"
"ulx votekick"
"ulx voteban"
"ulx veto"
}
"inherit_from"
{
"user"
}
}
"user"
{
"deny"
{
}
"allow"
{
"ulx"
"ulx help"
"ulx psay"
"ulx asay"
"ulx thetime"
"ulx menu"
"ulx_valueupdate"
"ulx_cvar"
"ulx_getgamemodes"
"ulx motd"
"ulx_getbans"
"ulx usermanagementhelp"
"ulx who"
"ulx votemap"
}
"inherit_from"
{
"none"
}
}
"none"
{
"deny"
{
}
"allow"
{
"ulx logecho"
"ulx logfile"
"ulx logevents"
"ulx logchat"
"ulx logspawns"
"ulx logspawnsecho"
"ulx logdir"
"ulx addgimpsay"
"ulx addadvert"
"ulx addcsayadvert"
"ulx addforceddownload"
"ulx debuginfo"
"ulx voteecho"
"ulx votemap2successratio"
"ulx votemap2minvotes"
"ulx votekicksuccessratio"
"ulx votekickminvotes"
"ulx votebansuccessratio"
"ulx votebanminvotes"
"ulx votemapenabled"
"ulx votemapmintime"
"ulx votemapwaittime"
"ulx votemapsuccessratio"
"ulx votemapminvotes"
"ulx votemapvetotime"
"ulx votemapmapmode"
"ulx votemapaddmap"
}
"inherit_from"
{
}
}
And here is uteam.txt:
"Out"
{
"teams"
{
"1"
{
"name" "Server Owner"
"group" "owner"
"armor" "1337"
"hp" "1337"
"color"
{
"a" "255"
"B" "150"
"g" "150"
"r" "150"
}
"plytable"
{
"1" "SprintSpeed:1000"
"2" "WalkSpeed:500"
}
}
"2"
{
"name" "Founders"
"group" "founder"
"armor" "1337"
"hp" "1337"
"color"
{
"a" "255"
"B" "100"
"g" "100"
"r" "100"
}
"plytable"
{
"1" "SprintSpeed:1000"
"2" "WalkSpeed:500"
}
}
"3"
{
"name" "Superadmins"
"group" "superadmin"
"armor" "500"
"hp" "500"
"color"
{
"a" "255"
"B" "0"
"g" "0"
"r" "255"
}
"plytable"
{
"1" "SprintSpeed:800"
"2" "WalkSpeed:300"
}
}
"4"
{
"name" "Admins"
"group" "admin"
"armor" "300"
"hp" "300"
"color"
{
"a" "255"
"B" "255"
"g" "100"
"r" "0"
}
}
"5"
{
"name" "Moderators"
"group" "mod"
"armor" "150"
"hp" "150"
"color"
{
"a" "255"
"B" "255"
"g" "0"
"r" "255"
}
}
"6"
{
"name" "V.I.P"
"group" "vip"
"armor" "400"
"hp" "400"
"color"
{
"a" "255"
"B" "0"
"g" "195"
"r" "255"
}
}
"7"
{
"name" "Regulars"
"group" "user"
"armor" "100"
"hp" "100"
"color"
{
"a" "255"
"B" "0"
"g" "255"
"r" "0"
}
}
}
"gamemodes"
{
"1" "Sandbox"
"2" "SpaceBuild"
"3" "darkrp"
}
}
And yes, i added myself in users.txt altough when i join im still regular :S
-
:S Our servers ULX has broken and noone exept for FTP owners can be admins. Help please!
-
The person who owns your FTP removed all other users but him/herself?
-
No but, only FTP owners that got access to serverconsole can do trough there.
-
I honestly haven't the slightest idea what you're saying.
-
Meh nvm then ^^. Got slightest idea of what the problem is? ???