DEsMOn Posted April 6, 2022 Group: Members Topic Count: 63 Topics Per Day: 0.04 Content Count: 172 Reputation: 1 Joined: 11/16/20 Last Seen: November 4, 2023 Share Posted April 6, 2022 (edited) Hello Scripters, My low lvl GM can use @item admin commands i can't figure out how to fix this...!! My Admin & All GM ID can't create more than 1 character how to disable this? Is there any one can guide ? Edited April 6, 2022 by DEsMOn Quote Link to comment Share on other sites More sharing options...
0 mR L Posted April 6, 2022 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 177 Reputation: 26 Joined: 12/24/14 Last Seen: December 25, 2024 Share Posted April 6, 2022 36 minutes ago, DEsMOn said: My low lvl GM can use @item admin commands i can't figure out how to fix this...!! https://github.com/rathena/rathena/blob/master/conf/groups.conf 36 minutes ago, DEsMOn said: My Admin & All GM ID can't create more than 1 character how to disable this? Quote Link to comment Share on other sites More sharing options...
0 cook1e Posted April 6, 2022 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 172 Reputation: 68 Joined: 10/25/20 Last Seen: May 12 Share Posted April 6, 2022 Patch 1 char per account (GM/Admins Only) https://github.com/coookie1010/Server-Patches/blob/main/rA-onechar.patch If you want to remove @item from a GM/Admin you just have to create a new group or give them another group instead of 99. https://github.com/rathena/rathena/blob/master/conf/groups.conf Quote Link to comment Share on other sites More sharing options...
0 Chaos92 Posted April 7, 2022 Group: Members Topic Count: 49 Topics Per Day: 0.01 Content Count: 1846 Reputation: 290 Joined: 08/03/12 Last Seen: 1 hour ago Share Posted April 7, 2022 Make sure that groupid for that low level GM doesnt have @item and didnt inherit @item commands in groups.conf Quote Link to comment Share on other sites More sharing options...
0 DEsMOn Posted April 12, 2022 Group: Members Topic Count: 63 Topics Per Day: 0.04 Content Count: 172 Reputation: 1 Joined: 11/16/20 Last Seen: November 4, 2023 Author Share Posted April 12, 2022 Check there is nothing related @item commands for any group ID /* 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: { rates: true showdelay: true mobinfo: true iteminfo: true whodrops: true whereis: true time: true uptime: true commands: true jailtime: true packetfilter: true hideview: true showview: true listenbg: true go: true hominfo: true homstats: true autoloot: true alootid: true autoloottype: true autotrade: true refresh: true noask: true noks: true breakguild: true channel: true storage: true guildstorage: true duel: true accept: true reject: true storeall: true pettalk: true } permissions: { /* without this basic permissions regular players could not trade or party */ can_trade: true can_party: true attendance: 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: { attendance: false } }, { id: 2 name: "Support" inherit: ( "Super Player" ) level: 1 commands: { version: true where: true jumpto: true afk: true autoattack: true who: true warp: true go: 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 all_commands: 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: { 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 noask: true noks: true autoloot: true alootid: true autoloottype: true autotrade: 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 command_enable: true all_skill: false all_equipment: false skill_unconditional: false use_check: true use_changemaptype: true all_commands: true channel_admin: true attendance: true can_trade_bounded: true item_unconditional: false bypass_stat_onclone: true bypass_max_stat: true /* all_permission: true */ } } ) On 4/7/2022 at 3:54 AM, cook1e said: Patch 1 char per account (GM/Admins Only) https://github.com/coookie1010/Server-Patches/blob/main/rA-onechar.patch If you want to remove @item from a GM/Admin you just have to create a new group or give them another group instead of 99. https://github.com/rathena/rathena/blob/master/conf/groups.conf Check group conf file there is nothing related to @item commands in any group level ID, All Group ID can use @item, @reloadscripts all admin commands except Lvl 0 & lvl 1 ID. If u can provide solution for this would be greatefull. Quote Link to comment Share on other sites More sharing options...
0 cook1e Posted April 12, 2022 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 172 Reputation: 68 Joined: 10/25/20 Last Seen: May 12 Share Posted April 12, 2022 (edited) Group ID 2, Name Support have permisison all_commands: true and others Group ID inherits the permissions and commands from Support. For example Group ID 3 is inheriting all the commands and permissions from Group ID 2, Support. { 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 } }, Edited April 12, 2022 by cook1e 1 Quote Link to comment Share on other sites More sharing options...
Question
DEsMOn
Hello Scripters,
My low lvl GM can use @item admin commands i can't figure out how to fix this...!!
My Admin & All GM ID can't create more than 1 character how to disable this?
Is there any one can guide ?
Edited by DEsMOnLink to comment
Share on other sites
5 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.