Page 1 of 1

noob question about admin rights

Posted: Fri Apr 28, 2006 12:27 pm
by joho
How do i make a secondary admin account?
And how do i controll admin account rights?
Like if i notised that my admin can loose his rights, how do i make him admin again?

Thx

Posted: Fri Apr 28, 2006 12:55 pm
by Yukiko
There are several ways to give Admin access to a character. I'll show you the hardest ones first.

One is to add the line:

DefaultCmdLevel admin

to the account info in accounts.txt in the \pol\data directory. See the example below.This will give ALL characters created under that account Admin priviledges.

Code: Select all

Account
{
	Name	fred
	Password	flintstone
	Enabled	1
	Banned	0
	DefaultCmdLevel	admin
	UOExpansion	T2A
	CProp	%UCLang% sENU
	CProp	LastIP a1:a2:S9:127.0.0.1S5:Admin
	CProp	LastLogin i25190471
}
The other method is to add the line:

CmdLevel admin

to the characters info in the file pcs.txt found in \pol\data. This method makes hust that one character have admin priviledges. See below.

Code: Select all

Character
{
	Account	Wilma
	CharIdx	2
	Name	Wilma
	Serial	0x1bd04b
	ObjType	0x191
	Graphic	0x191
	Color	0x3ea
	X	5833
	Y	1234
	Z	0
	Facing	4
	CmdLevel	test
	TrueColor	0x3ea
	TrueObjtype	0x191
	Gender	1
	Strength	100
	Intelligence	100
	Dexterity	100
	Begging	50
	Camping	50
	Life	100
	Mana	100
	Stamina	30
}
The last method, which is the easiest is to use the command .setcmdlevel admin anbd target the intended person.

Posted: Fri Apr 28, 2006 1:14 pm
by joho
Thank you for your reply... i knew that was a noob question.. hihi
thx

Posted: Thu Feb 08, 2007 6:06 pm
by Shiira
"Reloading accounts.txt...Error reading configuration file data/accounts.txt: Didn't understand cmd level of 'admin' Element: Account, found on line 12"

Posted: Thu Feb 08, 2007 7:06 pm
by SMJ
Change "admin" to "4".