Jump to content
  • 0

help disabling "#" command


MxR

Question


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  30
  • Reputation:   3
  • Joined:  02/19/12
  • Last Seen:  

i just transfered from rathena and its command system is quite new to me. i just get a hang of groups.conf

but what bothers me is the "#" commands.

i want my server to disable this command for all except admin, since were strictly against corruption.

how can i do that?

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • -1

  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.01
  • Content Count:  530
  • Reputation:   33
  • Joined:  01/17/12
  • Last Seen:  

command: [@, #]

item: [true, false]

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  30
  • Reputation:   3
  • Joined:  02/19/12
  • Last Seen:  

command: [@, #]

item: [true, false]

where could i find these lines to edit? thanks for your reply.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  75
  • Topics Per Day:  0.02
  • Content Count:  2223
  • Reputation:   593
  • Joined:  10/26/11
  • Last Seen:  

/conf/groups.conf

For example, these give the player @commands:

{
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
	main: true
	autoloot: true
	alootid: true
	autotrade: true
	request: true
	go: true
}
permissions: {
}
},

adding the second true gives them the #command too. [true, true]

{
id: 4
name: "Event Manager"
inherit: ( "Support" )
level: 1
commands: {
	monster: true
	monstersmall: true
	monsterbig: true
	killmonster2: 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
}
log_commands: true
permissions: {
	can_trade: false
	any_warp: true
}
},

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  30
  • Reputation:   3
  • Joined:  02/19/12
  • Last Seen:  

Done! :) thank you v much. so thats how it works.

EDIT:

i see now, so by default they can't really use #commands. silly me.

Edited by MxR
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...