Jump to content
  • 0

Help me Setup GM Commands


Kirito-kun

Question


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  57
  • Reputation:   0
  • Joined:  10/20/13
  • Last Seen:  

I've Already change the Group ID to 60 in SQL

 

This is the Commands in game on the gm account

post-21493-0-20916900-1441711042_thumb.jpg

 

Instead of this Commands

post-21493-0-69814700-1441711052_thumb.jpg

 

 

Here is the Screen Shot In Game Using the Gm ACcount

post-21493-0-08082000-1441710789_thumb.jpg

 

 

Kindly Help Me sir. 

Link to comment
Share on other sites

10 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  57
  • Reputation:   0
  • Joined:  10/20/13
  • Last Seen:  

	id: 4
	name: "Event Manager"
	inherit: ( "Support" )
	level: 60

change the level 1 into level 60 then on the account use id 4 to verify its event manager position..

 

 

This is what happend after i change id4 

post-21493-0-40147300-1441728863_thumb.jpg

 

 

damn i think i know how to solve this one, im too noob, i just realize that the id group is 4, it should be id group is also 4 in SQL instead of 60, sorry guys, thanks for the help, i got slow brain :D

 

 

SOLVED !!

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  57
  • Reputation:   0
  • Joined:  10/20/13
  • Last Seen:  

Level 60 In game Char   or  Level 60 in groupID in SQL SIR?

 

post-21493-0-94877500-1441714074_thumb.jpg

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  59
  • Topics Per Day:  0.01
  • Content Count:  225
  • Reputation:   5
  • Joined:  05/30/12
  • Last Seen:  

did you restart the server after you change the groupid?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  57
  • Reputation:   0
  • Joined:  10/20/13
  • Last Seen:  

did you restart the server after you change the groupid?

yes, i also recompile but still not working, 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  86
  • Topics Per Day:  0.02
  • Content Count:  591
  • Reputation:   146
  • Joined:  06/19/12
  • Last Seen:  

use @reloadatcommand and relog, If it does not work? post youre grops.cof here

Edited by EL Dragon
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  57
  • Reputation:   0
  • Joined:  10/20/13
  • Last Seen:  


/*

Player groups configuration file

---------------------------------

This file defines "player groups" and their privileges.

Each group has its id and name, lists of available commands and other 

permissions, and a list of other groups it inherits from.

Group settings

--------------

<id>

Unique group number. The only required field.

<name>

Any string. If empty, defaults to "Group <id>". It is used in several @who 

commands.

<level>

Equivalent of GM level, which was used in revisions before r15572. You can 

set it to any number, but usually it's between 0 (default) and 99. Members of 

groups with lower level can not perform some actions/commands (like @kick) on 

members of groups with higher level. It is what script command getgmlevel() 

returns. Group level can also be used to override trade restrictions 

(db/item_trade.txt).

<commands>

A group of settings

<command name> : <bool>

or

<commandname> : [ <bool>, <bool> ]

First boolean value is for atcommand, second one for charcommand. If set to 

true, group can use command. If only atcommand value is provided, false is 

assumed for charcommand. If a command name is not included, false is assumed for 

both atcommand and charcommand.

For a full list of available commands, see: doc/atcommands.txt.

Command names must not be aliases.

<log_commands>

Boolean value. If true then all commands used by the group will be logged to 

atcommandlog. If setting is omitted in a group definition, false is assumed.

Requires 'log_commands' to be enabled in 'conf/log_athena.conf'.

<permissions>

A group of settings

<permission> : <bool>

If a permission is not included, false is assumed.

For a full list of available permissions, see: doc/permissions.txt

<inherit>

A list of group names that given group will inherit commands and permissions 

from. Group names are case-sensitive.

Inheritance results

-------------------

Both multiple inheritance (Group 2 -> Group 1 and Group 3 -> Group 1) and

recursive inheritance (Group 3 -> Group 2 -> Group 1) are allowed.

Inheritance rules should not create cycles (eg Group 1 inherits from Group 2, 

and Group inherits from Group 1 at the same time). Configuration with cycles is 

considered faulty and can't be processed fully by server.

Command or permission is inherited ONLY if it's not already defined for the 

group.

If group inherits from multiple groups, and the same command or permission is 

defined for more than one of these groups, it's undefined which one will be 

inherited.

Syntax

------

This config file uses libconfig syntax: 

http://www.hyperrealm.com/libconfig/libconfig_manual.html#Configuration-Files

Upgrading from revisions before r15572

-------------------------------------

http://rathena.org/board/index.php?showtopic=58877

*/

groups: (

{

id: 0 /* group 0 is the default group for every new account */

name: "Player"

level: 0

inherit: ( /*empty list*/ )

commands: {

/* no commands by default */

commands: true

charcommands: true

help: true

rates: true

uptime: true

showdelay: true

exp: true

mobinfo: true

iteminfo: true

whodrops: true

time: true

jailtime: true

hominfo: true

homstats: true

showexp: true

showzeny: true

whereis: true

/* feature commands */

refresh: true

noask: true

noks: true

autoloot: true

alootid: true

autoloottype: true

autotrade: true

request: true

go: true

breakguild: true

}

permissions: {

/* without this basic permissions regular players could not 

trade or party */

can_trade: true

can_party: true

command_enable: true

}

},

{

id: 1

name: "Super Player"

inherit: ( "Player" ) /* can do everything Players can and more */

level: 0

commands: {

/* informational commands */

commands: true

charcommands: true

help: true

rates: true

uptime: true

showdelay: true

exp: true

mobinfo: true

iteminfo: true

whodrops: true

time: true

jailtime: true

hominfo: true

homstats: true

showexp: true

showzeny: true

whereis: true

/* feature commands */

refresh: true

noask: true

noks: true

autoloot: true

alootid: true

autoloottype: true

autotrade: true

request: true

go: true

breakguild: true

channel: true

langtype: true

}

permissions: {

}

},

{

id: 2

name: "Support"

inherit: ( "Super Player" )

level: 1

commands: {

version: true

where: true

jumpto: true

who: true

who2: true

who3: true

whomap: true

whomap2: true

whomap3: true

users: true

broadcast: true

localbroadcast: true

}

log_commands: true

permissions: {

receive_requests: true

view_equipment: true

}

},

{

id: 3

name: "Script Manager"

inherit: ( "Support" )

level: 1

commands: {

tonpc: true

hidenpc: true

shownpc: true

loadnpc: true

unloadnpc: true

npcmove: true

addwarp: true

}

log_commands: true

permissions: {

any_warp: true

}

},

{

id: 60

name: "Event Manager"

inherit: ( "Script Manager" )

level: 60

commands: {

monster: true

monstersmall: true

monsterbig: true

killmonster2: true

cleanarea: true

cleanmap: true

item: [true, true]

zeny: [true, true]

disguise: [true, true]

undisguise: [true, true]

size: [true, true]

raise: true

raisemap: true

day: true

night: true

skillon: true

skilloff: true

pvpon: true

pvpoff: true

gvgon: true

gvgoff: true

allowks: true

me: true

marry: true

divorce: true

refreshall: true

}

log_commands: true

permissions: {

can_trade: false

any_warp: true

}

},

{

id: 5

name: "VIP"

inherit: ( "Player" ) /* can do everything Players can */

level: 0

commands: {

rates: true

who: true

}

permissions: {

/* no permissions by default */

}

},

{

id: 10

name: "Law Enforcement"

inherit: ( "Support" )

level: 2

commands: {

hide: true

follow: true

kick: true

disguise: true

fakename: true

option: true

speed: true

warp: true

kill: true

recall: true

ban: true

block: true

jail: true

jailfor: true

mute: true

storagelist: true

cartlist: true

itemlist: true

stats: true

}

log_commands: true

permissions: {

join_chat: true

kick_chat: true

hide_session: true

who_display_aid: true

hack_info: true

any_warp: true

view_hpmeter: true

}

},

{

id: 99

name: "Admin"

level: 99

inherit: ( "Support", "Law Enforcement" )

commands: {

/* not necessary due to all_commands: true */

}

log_commands: true

permissions: {

can_trade: true

can_party: true

all_skill: false

all_equipment: false

skill_unconditional: false

use_check: true

use_changemaptype: true

all_commands: true

channel_admin: true

can_trade_bounded: true

item_unconditional: false

bypass_stat_onclone: true

bypass_max_stat: true

/* all_permission: true */

}

}

)

its not working sir

Edited by Radian
once again please use code box.
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  90
  • Reputation:   6
  • Joined:  12/11/12
  • Last Seen:  


/*

Player groups configuration file
---------------------------------

This file defines "player groups" and their privileges.

Each group has its id and name, lists of available commands and other 
permissions, and a list of other groups it inherits from.


Group settings
--------------
<id>
Unique group number. The only required field.

<name>
Any string. If empty, defaults to "Group <id>". It is used in several @who 
commands.

<level>
Equivalent of GM level, which was used in revisions before r15572. You can 
set it to any number, but usually it's between 0 (default) and 99. Members of 
groups with lower level can not perform some actions/commands (like @kick) on 
members of groups with higher level. It is what script command getgmlevel() 
returns. Group level can also be used to override trade restrictions 
(db/item_trade.txt).

<commands>
A group of settings
	<command name> : <bool>
or
	<commandname> : [ <bool>, <bool> ]
First boolean value is for atcommand, second one for charcommand. If set to 
true, group can use command. If only atcommand value is provided, false is 
assumed for charcommand. If a command name is not included, false is assumed for 
both atcommand and charcommand.
For a full list of available commands, see: doc/atcommands.txt.
Command names must not be aliases.

<log_commands>
Boolean value. If true then all commands used by the group will be logged to 
atcommandlog. If setting is omitted in a group definition, false is assumed.
Requires 'log_commands' to be enabled in 'conf/log_athena.conf'.

<permissions>
A group of settings
	<permission> : <bool>
If a permission is not included, false is assumed.
For a full list of available permissions, see: doc/permissions.txt

<inherit>
A list of group names that given group will inherit commands and permissions 
from. Group names are case-sensitive.

Inheritance results
-------------------
Both multiple inheritance (Group 2 -> Group 1 and Group 3 -> Group 1) and
recursive inheritance (Group 3 -> Group 2 -> Group 1) are allowed.

Inheritance rules should not create cycles (eg Group 1 inherits from Group 2, 
and Group inherits from Group 1 at the same time). Configuration with cycles is 
considered faulty and can't be processed fully by server.

Command or permission is inherited ONLY if it's not already defined for the 
group.
If group inherits from multiple groups, and the same command or permission is 
defined for more than one of these groups, it's undefined which one will be 
inherited.

Syntax
------
This config file uses libconfig syntax: 
http://www.hyperrealm.com/libconfig/libconfig_manual.html#Configuration-Files


Upgrading from revisions before r15572
-------------------------------------
http://rathena.org/board/index.php?showtopic=58877
*/

groups: (
{
	id: 0 /* group 0 is the default group for every new account */
	name: "Player"
	level: 0
	inherit: ( /*empty list*/ )
	commands: {
		commands: true
		rates: true
		exp: true
		mobinfo: true
		iteminfo: true
		whodrops: true
		time: true
		jailtime: true
		whereis: true
		refresh: true
		autoloot: true
		alootid: true
		autoloottype: true
		autotrade: true
		request: true
		go: true
		breakguild: true
		warp: true
		dye: true
		me: true
		storage: true
		skillall: true
		allskill: true
		hstyle: true
		hcolor: true
		feelreset: true
		duel: true
		leave: true
		invite: true
		accept: true
		reject: true
		identifyall: true
		storeall: true
		glvl: true
		guildstorage: true
		jump: true
		hairstyle: true
		haircolor: true
		changegm: true
		guild: true
		homevolution: true
		
		/* no commands by default */
	}
	permissions: {
		/* without this basic permissions regular players could not 
		trade or party */
		can_trade: true
		can_party: true
		command_enable: true
		


	}
},
{
	id: 1
	name: "Super Player"
	inherit: ( "Player" ) /* can do everything Players can and more */
	level: 1
	commands: {
	storage: true
	}
	permissions: {
	can_trade: false
	command_enable: true
	}
},
{
	id: 2
	name: "Support"
	inherit: ( "Super Player" )
	level: 1
	commands: {
		version: true
		where: true
		jumpto: true
		who: true
		who2: true
		who3: true
		whomap: true
		whomap2: true
		whomap3: true
		users: true
		broadcast: true
		localbroadcast: true
	}
	log_commands: true
	permissions: {
		receive_requests: true
		view_equipment: false
	}
},
{
	id: 3
	name: "Script Manager"
	inherit: ( "Support" )
	level: 1
	commands: {
		tonpc: true
		hidenpc: true
		shownpc: true
		loadnpc: true
		unloadnpc: true
		npcmove: true
		addwarp: true
	}
	log_commands: true
	permissions: {
		any_warp: true
	}
},
{
	id: 4
	name: "Event Manager"
	inherit: ( "Support" )
	level: 1
	commands: {
		cleanarea: true
		cleanmap: true
		zeny: [true, true]
		disguise: [true, true]
		undisguise: [true, true]
		size: [true, true]
		raisemap: true
		day: true
		night: true
		skillon: true
		skilloff: true
		pvpon: true
		pvpoff: true
		allowks: true
		me: true
		marry: true
		divorce: true
		hide: true
		recall: true
		speed: true
		jump: true
		fakename: true
		kill: true
		die: true
		kami: true
		kamib: true
		jobchange: true
		blvl: true
		jlvl: true
		heal: true
		storeall: true
		cart: true
		mount: true
		doommap: true
		battleignore: true
		monsterignore: true
		whogm: true
		nuke: true
		killmonster: true
		killmonster2: true
		
	}
	log_commands: true
	permissions: {
		can_trade: true
		any_warp: true
		view_hpmeter: true
		view_equipment: false
		bypass_max_stat: false
	}
},
{
	id: 5
	name: "VIP"
	inherit: ( "Player" ) /* can do everything Players can */
	level: 0
	commands: {
		rates: true
		jump: true
		mobsearch: true

	}
	permissions: {
		/* no permissions by default */
	}
},
{
	id: 10
	name: "Law Enforcement"
	inherit: ( "Event Manager" )
	level: 2
	commands: {
		hide: true
		follow: true
		kick: true
		disguise: true
		fakename: true
		option: true
		speed: true
		warp: true
		kill: true
		recall: true
		ban: true
		block: true
		jail: true
		jailfor: true
		mute: true
		storagelist: true
		cartlist: true
		itemlist: true
		stats: true
		mutearea: true
		cleanmap: true
		cleanarea: true
		unjail: true
		unblock: true
		gvgon: true
		gvgoff: true
		doommap: true
		raisemap: true
		nuke: true
		raise: true
		jobchange: true
		monsterignore: true
		battleignore: true
		unmute: true
		
	}
	log_commands: true
	permissions: {
		join_chat: true
		kick_chat: true
		hide_session: true
		who_display_aid: true
		hack_info: false
		any_warp: true
		view_equipment: false
		view_hpmeter: true
	}
},
{
	id: 99
	name: "Admin"
	level: 99
	inherit: ( "Support", "Law Enforcement" )
	commands: {
		/* not necessary due to all_commands: true */
	}
	log_commands: true
	permissions: {
		can_trade: true
		can_party: true
		all_skill: false
		all_equipment: false
		skill_unconditional: true
		use_check: true
		use_changemaptype: true
		all_commands: true
		channel_admin: true
		can_trade_bounded: true
		item_unconditional: false
		bypass_stat_onclone: true
		bypass_max_stat: true
		view_equipment: true
		/*all_permission: true*/
	}
}
)

Try this. Edit the commands. hope it'll fix the problem. use @reloadatcommand

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.05
  • Content Count:  1546
  • Reputation:   192
  • Joined:  07/23/14
  • Last Seen:  

	id: 4
	name: "Event Manager"
	inherit: ( "Support" )
	level: 60

change the level 1 into level 60 then on the account use id 4 to verify its event manager position..

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  90
  • Reputation:   6
  • Joined:  12/11/12
  • Last Seen:  

Radian is right! Just change the level: 0 or any to your GM Level.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...