xlaws27 Posted March 3, 2015 Group: Members Topic Count: 36 Topics Per Day: 0.01 Content Count: 57 Reputation: 2 Joined: 03/03/15 Last Seen: February 7, 2018 Share Posted March 3, 2015 how can i add another gm command?? please teach me step by step thanks!! Quote Link to comment Share on other sites More sharing options...
Nero Posted March 3, 2015 Group: Members Topic Count: 74 Topics Per Day: 0.02 Content Count: 194 Reputation: 2 Joined: 12/18/11 Last Seen: April 8, 2020 Share Posted March 3, 2015 Groups.conf For example Commands: True But if you want Custom GM command i think some Source coding should be done. Quote Link to comment Share on other sites More sharing options...
xlaws27 Posted March 4, 2015 Group: Members Topic Count: 36 Topics Per Day: 0.01 Content Count: 57 Reputation: 2 Joined: 03/03/15 Last Seen: February 7, 2018 Author Share Posted March 4, 2015 i already have the codes, but where do i have to put it? bump Quote Link to comment Share on other sites More sharing options...
1 EL Dragon Posted March 4, 2015 Group: Members Topic Count: 86 Topics Per Day: 0.02 Content Count: 591 Reputation: 146 Joined: 06/19/12 Last Seen: December 10, 2016 Share Posted March 4, 2015 open groups.con whit editor 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 } ID = Group IDName = Name of this GroupInherit = This Group Inherit What other Group Permissions / CommandsCommand = Available Command for this GroupPermission = Permission of this Group let say now you wanna add @go and @autoloot command to players...so you just simply add this line into the command field.. autoloot: true go: true True = EnableFalse = Disableand now..if you wanna add a new permission to the group...add like this in the permission field... can_trade: true can_party: true here is my Groups.conf /* 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 go: 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 whereis: true showexp: true showzeny: true refresh: true noask: true noks: true autoloot: true autotrade: true alootid: true request: true kill: true who: true feelreset: true changegm: true breakguild: true changeleader: true guildstorage: true storage: 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 */ 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 - Removed by eAmod autoloottype: true autotrade: true request: true go: true breakguild: 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 mute: true unmute: true jail: true speed: true unjail: true killmonster2: true cleanmap: true disguise: [true, true] undisguise: [true, true] size: [true, 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 hide: true warp: true go: true ban: true unban: 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: ( "Support" ) level: 1 commands: { killmonster2: true cleanmap: true disguise: [true, true] undisguise: [true, true] size: [true, 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 hide: true warp: true go: true doommap: true recall: true speed: true storage: true } log_commands: true permissions: { can_party: true can_trade: true 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: { monster: true monstersmall: true monsterbig: true killmonster2: true cleanmap: true disguise: [true, true] undisguise: [true, true] size: [true, true] raise: true raisemap: true npctalk: true day: true night: true skillon: true skilloff: true pvpon: true pvpoff: true broadcast: true localbroadcast: true gvgon: true gvgoff: true allowks: true me: true marry: true divorce: true refreshall: true hide: true warp: true go: true who: true mute: true unmute: true jail: true unjail: true jlvl: true blvl: true doommap: true recall: true speed: true storage: true tonpc: true hidenpc: true shownpc: true loadnpc: true unloadnpc: true npcmove: true addwarp: true all_skill: true } log_commands: true permissions: { can_party: true any_warp: 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: true all_equipment: true skill_unconditional: true use_check: true use_changemaptype: true all_commands: true can_trade_bounded: true item_unconditional: true /* all_permission: true */ } } ) when you finish save the conf and make @reloadatcommand Quote Link to comment Share on other sites More sharing options...
Question
xlaws27
how can i add another gm command??
please teach me step by step thanks!!
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.