PDA

View Full Version : [Guide] Custom GM Level Commands



enegue
12-01-09, 03:19 AM
Tired of gm's that are hired, that don't follow the rules and spawn random crap everywhere!?
I AM...

Here's a custom rank u can assign to new gm's so that u won't find random spawned npc's or objects without knowing it yourself!
It only contains commands a GM really needs to assist players.

Execute this query, into your logon database's "Command_overrides" table

And then go to the accounts table and add "gm" instead of "a" to the accounts you wish!



INSERT INTO command_overrides
(`command_name`, `access_level`)
VALUES
('char learnskill', 'gm');

INSERT INTO command_overrides
(`command_name`, `access_level`)
VALUES
('char additem', 'gm');

INSERT INTO command_overrides
(`command_name`, `access_level`)
VALUES
('char removeitem', 'gm');

INSERT INTO command_overrides
(`command_name`, `access_level`)
VALUES
('playerinfo', 'gm');

INSERT INTO command_overrides
(`command_name`, `access_level`)
VALUES
('paralyze', 'gm');

INSERT INTO command_overrides
(`command_name`, `access_level`)
VALUES
('unparalyze', 'gm');

INSERT INTO command_overrides
(`command_name`, `access_level`)
VALUES
('gm allowwhispers', 'gm');

INSERT INTO command_overrides
(`command_name`, `access_level`)
VALUES
('gm blockwhispers', 'gm');

INSERT INTO command_overrides
(`command_name`, `access_level`)
VALUES
('kick byplayer', 'gm');

INSERT INTO command_overrides
(`command_name`, `access_level`)
VALUES
('kick byaccount', 'gm');

INSERT INTO command_overrides
(`command_name`, `access_level`)
VALUES
('ban ip', 'gm');

INSERT INTO command_overrides
(`command_name`, `access_level`)
VALUES
('unban ip', 'gm');

INSERT INTO command_overrides
(`command_name`, `access_level`)
VALUES
('lookup item', 'gm');

INSERT INTO command_overrides
(`command_name`, `access_level`)
VALUES
('char forcerename', 'gm');

INSERT INTO command_overrides
(`command_name`, `access_level`)
VALUES
('gmannounce', 'gm');

INSERT INTO command_overrides
(`command_name`, `access_level`)
VALUES
('announce', 'gm');

INSERT INTO command_overrides
(`command_name`, `access_level`)
VALUES
('ban account', 'gm');



In short, just type the accounts permissions "gm" for those you wish to make GM and they will only have these limited commands!

Credits to METALIVO from Ac-Web.

Mahado
22-01-09, 06:45 PM
Saves time alot for who don't bother doing this ;P Ty for sharing.

Blindguard
24-01-09, 04:49 PM
Really nice, finaly GM's won't crash the server ;) thanks.

WoW-Plague
08-02-09, 01:22 AM
Thanks again. This is working good so far.

Dr. Emu
08-02-09, 06:46 AM
Thanks alot^^ Just what i needed!