Ulysses
Ulysses Stuff => General Chat & Help and Support => Topic started by: Magicnachoz on July 28, 2010, 08:00:40 AM
-
I own a server and I do not know lua at all so can any of you make ranks for me with the following commands
Leader- All ulx commands
Co Leader- All ulx commands except group allow, group deny and overideimmunity
Super Admin- All commands that co leaders have except ragdoll, , noclip, god, blind, add user, add userid, add group, remove group, remove user, ghost, freeze, ulx cexec unghost, unragdoll, unfreeze, ungod, rcon
Admin- All super admin commands except Ignite, Send, maul ,sslay
Donator- All admin commands except Ban cloak uncloak armor hp unban admin menu bansmenu strip csay tsay psay
Mod- All donator commands except Whip,
Member- They get votekick and asay (They cant see admins talk with it though) and they can open up the motd and who
User they get who
-
Must be ULX and ULib SVN!
No need to LUA :)
put this in data/ulib/groups.txt
"leader"
{
"allow"
{
}
"inherit_from" "co_leader"
"team"
{
"name" "Leader"
"color_red" 0
"color_blue" 0
"color_green" 0
"armor" 2000
"health" 2000
}
}
"co_leader"
{
"allow"
{
}
"inherit_from" "superadmin"
"team"
{
"name" "Co-Leader"
"color_red" 0
"color_blue" 0
"color_green" 0
"armor" 1500
"health" 1500
}
}
"superadmin"
{
"allow"
{
}
"inherit_from" "admin"
"team"
{
"name" "Superadmin"
"color_red" 0
"color_blue" 0
"color_green" 0
"armor" 1000
"health" 1000
}
}
"admin"
{
"allow"
{
}
"inherit_from" "donator"
"team"
{
"name" "Admin"
"color_red" 0
"color_blue" 0
"color_green" 0
"armor" 750
"health" 750
}
}
"donator"
{
"allow"
{
}
"inherit_from" "mod"
"team"
{
"name" "Donator"
"color_red" 0
"color_blue" 0
"color_green" 0
"armor" 500
"health" 500
}
}
"mod"
{
"allow"
{
}
"inherit_from" "member"
"team"
{
"name" "Mod"
"color_red" 0
"color_blue" 0
"color_green" 0
"armor" 300
"health" 300
}
}
"member"
{
"allow"
{
}
"inherit_from" "user"
"team"
{
"name" "user"
"color_red" 0
"color_blue" 0
"color_green" 0
"armor" 250
"health" 250
}
}
"user"
{
"allow"
{
}
"team"
{
"name" "User"
"color_red" 0
"color_blue" 0
"color_green" 0
"armor" 100
"health" 100
}
}
Please note: I have not given anyone commands. I will leave that for you to do. it is very simple anyway. it will go like this
"allow"
{
"ulx command here"
}
Also, it follows a hierarchy. So, if you say user can have "ulx motd", all players can have "ulx motd"
if you give Admin "ulx slap", Admin-Leader can perform that action
now, to have teams showing on the scoreboard, get http://forums.ulyssesmod.net/index.php/topic,1118.0.html (http://get http://forums.ulyssesmod.net/index.php/topic,1118.0.html)
If you want to be able to easily see whos who on the map, get http://forums.ulyssesmod.net/index.php/topic,4799.0.html (http://forums.ulyssesmod.net/index.php/topic,4799.0.html)
Good luck :)
-
Thanks