Sie sind nicht angemeldet.

1

Mittwoch, 8. Juli 2009, 22:03

Admin Gruppen

Bin grad am erstellen von Admingruppen möchte 3 verschiedene haben(Superadmin/Moderator/User)

Der Superadmin soll alles machen dürfen
Die Moderatoren nur Mapchange/Kick/Votes/Sounds
Die User nur Sounds abspielen

Hab jetzt mal ne clients.txt erstellt und wollt mal fragen ob die so ungefähr hinhaut.

Quellcode

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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
"clients.txt"
{
	// This key group lists all your client players
	"players"
	{
		// This must be a unique client name
		"Client_1_superadmin"
		{
			// Client real name
			"name"	"Xandi"
			// Steam ID for client
			"ip"	"192.168.0.2"
			// These are personal admin flags for a client
			"adminflags"
			{
				"flags1"	"admin client"
			}
			// This is the admin group the client is subscribed to
			"admingroups"	"Superadmin"
			// This is the immunity group the client is subscribed to
			"immunitygroups"	"Superadmin Immunity"
		}
		// This must be a unique client name
		"Client_2_Moderator"
		{
			// Client real name
			"name"	"DeinName2_teilrechte"
			// Steam ID for client
			"ip"	"192.168.0.3"
			// These are personal admin flags for a client
			"adminflags"
			{
				"flags1"	"admin"
			}
			// This is the admin group the client is subscribed to
			"admingroups"	"Admin"
			// This is the immunity group the client is subscribed to
			"immunitygroups"	"Admin Immunity"
		}


		"Client_3_Moderator"
		{
			// Client real name
			"name"	"DeinName3_teilrechte"
			// Steam ID for client
			"ip"	"192.168.0.4"
			// These are personal admin flags for a client
			"adminflags"
			{
				"flags1"	"admin"
			}
			// This is the admin group the client is subscribed to
			"admingroups"	"Admin"
			// This is the immunity group the client is subscribed to
			"immunitygroups"	"Admin Immunity"
		}

		"Client_4"
		{
			// Client real name
			"name"	"DeinName4_teilrechte"
			// Steam ID for client
			"ip"	"192.168.0.5"
			// These are personal admin flags for a client
			"adminflags"
			{
				"flags1"	"user"
			}
			// This is the admin group the client is subscribed to
			"admingroups"	"user"
			// This is the immunity group the client is subscribed to
			"immunitygroups"	"user Immunity"
		}

		"Client_5"
		{
			// Client real name
			"name"	"DeinName6_teilrechte"
			// Steam ID for client
			"ip"	"192.168.0.6"
			// These are personal admin flags for a client
			"adminflags"
			{
				"flags1"	"user"
			}
			// This is the admin group the client is subscribed to
			"admingroups"	"user"
			// This is the immunity group the client is subscribed to
			"immunitygroups"	"user Immunity"
		}

		"Client_6"
		{
			// Client real name
			"name"	"DeinName7_teilrechte"
			// Steam ID for client
			"ip"	"192.168.0.7"
			// These are personal admin flags for a client
			"adminflags"
			{
				"flags1"	"user"
			}
			// This is the admin group the client is subscribed to
			"admingroups"	"user"
			// This is the immunity group the client is subscribed to
			"immunitygroups"	"user Immunity"
		}

		"Client_7"
		{
			// Client real name
			"name"	"DeinName7_teilrechte"
			// Steam ID for client
			"ip"	"192.168.0.8"
			// These are personal admin flags for a client
			"adminflags"
			{
				"flags1"	"user"
			}
			// This is the admin group the client is subscribed to
			"admingroups"	"user"
			// This is the immunity group the client is subscribed to
			"immunitygroups"	"user Immunity"
		}

		"Client_8"
		{
			// Client real name
			"name"	"DeinName7_teilrechte"
			// Steam ID for client
			"ip"	"192.168.0.9"
			// These are personal admin flags for a client
			"adminflags"
			{
				"flags1"	"user"
			}
			// This is the admin group the client is subscribed to
			"admingroups"	"user"
			// This is the immunity group the client is subscribed to
			"immunitygroups"	"user Immunity"
		}

	
		"Client_9"
		{
			// Client real name
			"name"	"DeinName7_teilrechte"
			// Steam ID for client
			"ip"	"192.168.0.10"
			// These are personal admin flags for a client
			"adminflags"
			{
				"flags1"	"user"
			}
			// This is the admin group the client is subscribed to
			"admingroups"	"user"
			// This is the immunity group the client is subscribed to
			"immunitygroups"	"user Immunity"
		}

	
		"Client_10"
		{
			// Client real name
			"name"	"DeinName7_teilrechte"
			// Steam ID for client
			"ip"	"192.168.0.11"
			// These are personal admin flags for a client
			"adminflags"
			{
				"flags1"	"user"
			}
			// This is the admin group the client is subscribed to
			"admingroups"	"user"
			// This is the immunity group the client is subscribed to
			"immunitygroups"	"user Immunity"
		}

	}
	// These are the admins groups a client can subscribed to
	"admingroups"
	{
		"Superadmin"	"j k r q e m b s o a c p w z x y i l f t d g R B v V Q D C A E F G H I J K L M N O P S T U W X Y Z admin client pban spray grav"
		"Admin"		"j k q m b s o a c p w y i l f d g B v V D C A E F I O T U W Y admin spray grav"
		"user"		"A B D Q R V o p s v"
	}
	// These are the immunity groups a client can subscribed to
	"immunitygroups"
	{
		"Superadmin Immunity"	"j k m b x i l f t d g a c e h n o p q r s u v w y Immunity grav autojoin afk"
		"Admin Immunity"	"n v Immunity afk"
		"user Immunity"		""
	}
}

Beiträge: 1 537

Wohnort: Krefeld

Beruf: Student

Rootserver vorhanden: Nein

  • Nachricht senden

2

Donnerstag, 9. Juli 2009, 07:36

Re: Admin Gruppen

Mach das einfach Ingame ... dort kannst Du:

1. Admin Gruppen erstellen
2. Gruppen Rechte verteilen
3. Spieler ID`s Speichern und der Gruppe zuteilen

und sounds abspielen für alle, würde ich einfach nach diesem Tut vorgehen .

http://www.mani-admin-plugin.info/viewto…d753ea8920da903

oder ein extra Plugin installieren zum sounds abspielen. Da gibt es unzählige. Ich persönlich fnde es über die Chatbox am besten.

LG GeNeRaL
LG
GeNeRaLbEaM

Wer Rechtschreibfehler findet, darf sie behalten.