You are not logged in.

1

Saturday, October 4th 2008, 1:02pm

2 Admins

Kann mir jemand folgenden Code verdoppeln, sodass ich einen zweiten Admin eintragen kann? Ich komme mit den Klammern durcheinander.
Anmerkung: Der erste Admin soll von jeglichen Aktionen (Kicken, Bannen, Slayen usw.) des zweiten Admins befreit werden.

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
"clients.txt"
{
        "version"        "1"

        // This key group lists all your client players
        "players"
        {
                // This must be a unique client name
                "Client_1"
                {
                        // Client real name
                        "name"        "Team_Rdn | Big D"
                        // Steam ID for client
                        "steam"        "STEAM_0:1:19990136"
                        // These are personal access flags for a player
                        "flags"
                        {
                                "Admin"        "grav pban A B C D E F G H I J K L M N O P Q R S T U V W X Y"
                                "Admin"        "Z a b c d e f g i j k l m o p q r s t v w x y z client admin"
                                "Admin"        "spray"
                        }
                }
        }

}

Danke im vorraus.

2

Saturday, October 4th 2008, 3:59pm

Re: 2 Admins

einfach folgende befehle in der ingame console ausführen wenn du auf den server connected bist:

Source code

1
2
3
ma_client addclient "adminname"
ma_client addsteam "adminname" STEAM_X:X:XXXXXXX
ma_client setaflag "adminname" +#


übrigens enthält deine datei einen fehler.
der teil in dem bei dir "Cient_1" steht, und der wert der bei name gesetzt wird, müssen identisch sein. sobald du das korrigiert hast (könnte sogar sein dass man das von selber macht wenn du den admin so wie oben gesagt erstellst), musst du folgenden befehl noch ausführen um dich gegen die anderen admins immun zu machen:

Source code

1
ma_client setiflag "deinadminname" +#

3

Saturday, October 4th 2008, 7:39pm

Re: 2 Admins

Klappt so nicht. Kannst du den Code bitte einmal verdoppeln? :P

hEiNz

Professional

Posts: 705

Location: Deutschland

Occupation: Freischaffender Künstler

wcf.user.option.userOption53: Nein

  • Send private message

4

Monday, October 6th 2008, 11:54am

Re: 2 Admins

reicht dir das???sind admins mit verschiedenen rechten. einfacher wäre es für dich wenn du es einfach im game machst geht ja super über das admin interface

client.tx

"clients.txt"
{
"version" "1"

// This key group lists all your client players
"players"
{
// This must be a unique client name
"Big D"
{
// Client real name
"name" "Team_Rdn | Big D"
// Steam ID for client
"steam" "STEAM_0:1:19990136"
// These are personal access flags for a player
"flags"
{
"Admin" "grav pban A B C D E F G H I J K L M N O P Q R S T U V W X Y"
"Admin" "Z a b c d e f g i k l m o p q r s t v w x y z client admin"
"Admin" "spray"
}
}

// This must be a unique client name
""
{
// Client real name
"name" ""
// Steam ID for client
"steam" ""
// These are personal access flags for a player
"flags"
{
"Immunity" "grav ping afk a b c d e f g h i k l m n o p q r s t u v w x"
"Immunity" "y autojoin"
"Admin" "grav pban A B C D E F G H I J K L M N O P Q R S T U V W X Y"
"Admin" "Z a b c d e f g i k l m o p s t v w z client admin spray"
}
}

// This must be a unique client name
""
{
// Client real name
"name" ""
// Steam ID for client
"steam" ""
// These are personal access flags for a player
"flags"
{
"Immunity" "grav ping afk a b c d e f g h i k l m n o p q r s t u v w x"
"Immunity" "y autojoin"
"Admin" "grav pban A B C D E F G H I J K L M N O P Q R S T U V W X Y"
"Admin" "Z a b c d e f g i k l m o p s t v w z client admin spray"
}
}

// This must be a unique client name
""
{
// Client real name
"name" ""
// Steam ID for client
"steam" ""
// These are personal access flags for a player
"flags"
{
"Admin" "grav pban A B C D E F G H I J K L M N O P Q R S T U V W X Y"
"Admin" "Z a b c d e f g i k l m o p s t v w z client admin spray"
}
}

// This must be a unique client name
""
{
// Client real name
"name" ""
// Steam ID for client
"steam" ""
// These are personal access flags for a player
"flags"
{
"Admin" "grav pban A B C D E F G H I J K L M N O P Q R S T U V W X Y"
"Admin" "Z a b c d e f g i k l m o p s t v w z client admin spray"
}
}

// This must be a unique client name
""
{
// Client real name
"name" ""
// Steam ID for client
"steam" ""
// These are personal access flags for a player
"flags"
{
"Immunity" "grav ping afk a b c d e f g h i k l m n o p q r s t u v w x"
"Immunity" "y autojoin"
"Admin" "grav pban A B C D E F G H I J K L M N O P Q R S T U V W X Y"
"Admin" "Z a b c d e f g i k l m o p q r s t v w x y z client admin"
"Admin" "spray"
}
}

// This must be a unique client name
""
{
// Client real name
"name" "iceman"
// Steam ID for client
"steam" ""
// These are personal access flags for a player
"flags"
{
"Admin" "grav pban A B C D E F G H I J K L M N O P Q R S T U V W X Y"
"Admin" "Z a b c d e f g i k l m o p s t v w z client admin spray"
}
}

// This must be a unique client name
""
{
// Client real name
"name" ""
// Steam ID for client
"steam" ""
// These are personal access flags for a player
"flags"
{
"Admin" "q2 q3 grav pban A B C D E F G H I L M N O Q R S T U V W Y a"
"Admin" "c d e f g i k l m o p q r s v w admin spray"
}
}

// This must be a unique client name
""
{
// Client real name
"name" ""
// Steam ID for client
"steam" ""
// These are personal access flags for a player
"flags"
{
"Immunity" "grav ping afk a b c d e f g h i k l m n o p q r s t u v w x"
"Immunity" "y autojoin"
"Admin" "q2 q3 grav pban A B C D E F G H I K L M N O Q R S T U V W X"
"Admin" "Y Z a b c d e f g i k l m o p q r s t v w z admin spray"
}
}

// This must be a unique client name
""
{
// Client real name
"name" ""
// Steam ID for client
"steam" ""
// These are personal access flags for a player
"flags"
{
"Immunity" "grav ping afk a b c d e f g h i k l m n o p q r s t u v w x"
"Immunity" "y autojoin"
"Admin" "q2 q3 grav pban A B C D E F G H I K L M N O Q R S T U V W X"
"Admin" "Y Z a b c d e f g i k l m o p q r s t v w z admin spray"
}
}

// This must be a unique client name
""
{
// Client real name
"name" ""
// Steam ID for client
"steam" ""
// These are personal access flags for a player
"flags"
{
"Immunity" "grav ping afk a b c d e f g h i k l m n o p q r s t u v w x"
"Immunity" "y autojoin"
"Admin" "q2 q3 grav pban A B C D E F G H I J K L M N O P Q R S T U V"
"Admin" "W X Y Z a b c d e f g i k l m o p q r s t v w x y z client"
"Admin" "admin spray"
}
}

// This must be a unique client name
""
{
// Client real name
"name" ""
// Steam ID for client
"steam" "
// These are personal access flags for a player
"flags"
{
"Admin" "q2 q3 grav pban A B C D E F G H I J K L M N O P Q R S T U V"
"Admin" "W X Y Z a b c d e f g i k l m o p q r s t v w x y z client"
"Admin" "admin spray"
}
}

// This must be a unique client name
""
{
// Client real name
"name" ""
// Steam ID for client
"steam" ""
// These are personal access flags for a player
"flags"
{
"Admin" "q2 q3 pban A B C D E F G H I L O R T U V W Y Z a c d e f g i"
"Admin" "k l m o p q r s v w admin spray"
}
}
}

}