Jump to content
  • 0

atcommand_athena.conf


Freya Jorgenson

Question


  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  146
  • Reputation:   1
  • Joined:  11/22/11
  • Last Seen:  

Forgive me for being noob. I tried to search for any information about the new atcommand_athena.conf , since way far different from the old one.. I dont know how to adjust/enable the player commands .. and others for the GMs .. Please enlighten me. I dont wish to be spood fed.. Just to have an idea where to start.. Thank you.

Mine currently shows:

/* Atcommands and charcommands configuration file */
/* The symbol that will be used to recognize commands.
You can set any one character except:
- control-characters (0x00-0x1f),
- '%' (party chat symbol)
- '$' (guild chat symbol)
- '/' (client commands symbol)
atcommand_symbol represents @commands used locally.
charcommand_symbol represents #commands used on other players.
*/
atcommand_symbol : "@"
charcommand_symbol: "#"
/* Command aliases
You can define aliases for any command. Aliases work just like original
command.
Format is
<commandname>: ["<alias>", ...]
*/
aliases: {
mobinfo: ["monsterinfo", "mi"]
iteminfo: ["ii"]
time: ["date", "serverdate", "servertime"]
autotrade: ["at"]
help: ["h"]
jumpto: ["goto", "warpto"]
mount: ["mountpeco"]
who: ["whois"]
npctalk: ["npctalkc"]
gvgon: ["gpvpon"]
gvgoff: ["gpvpoff"]
jobchange: ["job"]
load: ["return"]
warp: ["rura", "mapmove"]
dye: ["ccolor"]
hairstyle: ["hstyle"]
haircolor: ["hcolor"]
monster: ["spawn"]
blvl: ["lvup", "blevel", "baselvl", "baselvup", "baselevel", "baselvlup"]
jlvl: ["jlevel", "joblvl", "joblvup", "joblevel", "joblvlup"]
glvl: ["glevel", "guildlvl", "guildlvup", "guildlevel", "guildlvlup"]
allskill: ["allskills", "skillall", "skillsall"]
allstats: ["allstat", "statall", "statsall"]
ban: ["banish"]
unban: ["unbanish"]
unjail: ["discharge"]
homlevel: ["hlvl", "hlevel", "homlvl", "homlvup"]
homevolution: ["homevolve"]
mutearea: ["stfu"]
monsterignore: ["battleignore"]
raise: ["revive"]
kill: ["die"]
}
/* Commands help file */
help: {
@include "conf/help.txt"
}

Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.00
  • Content Count:  713
  • Reputation:   70
  • Joined:  11/08/11
  • Last Seen:  

start at groups.conf xD

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  138
  • Topics Per Day:  0.03
  • Content Count:  835
  • Reputation:   25
  • Joined:  11/22/11
  • Last Seen:  

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 */
}
permissions: {
 /* without this basic permissions regular players could not
 trade or party */
 can_trade: true
 can_party: true
 commands: true
 time: true
 duel: true
 invite: true
 accept: true
 reject: true
 leave: true
 autoloot: true
 autotrade: true
 changegm: true
 jailtime: true
 changeleader: true
}
},

in group.conf. like Evilpuncker say. here also need add =) i think?

Edited by manabeast
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  32
  • Topics Per Day:  0.01
  • Content Count:  386
  • Reputation:   28
  • Joined:  01/16/12
  • Last Seen:  

Alright, for commands you want to edit groups.conf. Make sure you make no duplicated, or else non will work.

/*
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
 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
	 warp: true
 duel: true
 accept: true
 storage: true
 //afk: true
 invite: true
 reject: true
 //dance: true
 who: true
 save: true
 whogm: true
 changesex: true
 repairall: true
 storeall: true
 //die: true
}
permissions: {
 /* without this basic permissions regular players could not
 trade or party */
 can_trade: true
 can_party: true
}
},
{
id: 1
name: "Super Player"
inherit: ( "Player" ) /* can do everything Players can and more */
level: 0
commands: {
 /* informational commands */


}
permissions: {
}
},
{
id: 2
name: "Support"
inherit: ( "Super Player" )
level: 1
commands: {
 version: true
 where: true
 jumpto: 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: 4
name: "Event Manager"
inherit: ( "Law Enforcement" )
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
 jlvl: true
 blvl: true
 hide: true
 fakename: true
 ban: true
 jail: true
 jailfor: true
 mute: true
 recall: true
 speed: true
 nuke: true
 //job: true
}
log_commands: true
permissions: {
 can_trade: false
 any_warp: true
}
},
{
id: 10
name: "Law Enforcement"
inherit: ( "Support" )
level: 2
commands: {
 follow: true
 kick: true
 option: true
 warp: true
 kill: true
 block: 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 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
}
}
)

That's what mine looks like.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  146
  • Reputation:   1
  • Joined:  11/22/11
  • Last Seen:  

Thank you for the prompt responses. I found the groups.conf and also reading this article.... http://rathena.org/board/topic/58877-r15572-new-gm-commands-permissions-system/ ... I think Im gonna puke =) .. kiddin' .. this one is too technical for me.. but Im going to read further....

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...