Jump to content

r15572: New GM, Commands & Permissions system


Gepard

Recommended Posts


  • Group:  Members
  • Topic Count:  47
  • Topics Per Day:  0.01
  • Content Count:  633
  • Reputation:   78
  • Joined:  11/14/11
  • Last Seen:  

Question, is group.conf being reloaded too when I use @reloadatcommand?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  2244
  • Reputation:   182
  • Joined:  11/19/11
  • Last Seen:  

yes

Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.01
  • Content Count:  120
  • Reputation:   0
  • Joined:  01/03/12
  • Last Seen:  

anyone can gv me svn have command @afk?

:P

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  1315
  • Reputation:   372
  • Joined:  12/10/11
  • Last Seen:  

anyone can gv me svn have command @afk?

:P

This is not the place to ask for that.

Search or post here: http://rathena.org/board/forum/36-source-requests/

Link to comment
Share on other sites

  • 1 month later...

  • Group:  Members
  • Topic Count:  142
  • Topics Per Day:  0.03
  • Content Count:  511
  • Reputation:   7
  • Joined:  02/15/12
  • Last Seen:  

I don't know how to edit this, Still Player Level can use # command. How to remove that to them? Can you give me one of your work guys =/

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  123
  • Reputation:   4
  • Joined:  11/21/11
  • Last Seen:  

Where can you see atcommands list now since atcommands.conf is just for aliases and other configurations. Halp.

Im transferring now from eAthena to rAthena xD.

Link to comment
Share on other sites


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

atcommands are still in that file, the alias thing is a plus

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  142
  • Topics Per Day:  0.03
  • Content Count:  511
  • Reputation:   7
  • Joined:  02/15/12
  • Last Seen:  

How to fix #command? I wanted that ONLY GMs can use it, no one replies in my recent posts, I don't understand how they explain it =/ any good way? My players can use # command ... I only want to make it available for GMs. Anyone?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  123
  • Reputation:   4
  • Joined:  11/21/11
  • Last Seen:  

I found it, it is in the doc folder lol

docatcommands.txt

Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  439
  • Reputation:   29
  • Joined:  12/08/11
  • Last Seen:  

What Paulinds pointed out is true. The old command system lets you disable charcommands or set the minimum level.

With the new system, we are unable to do the same. I suggest implementation of this feature.

All in all, I'm starting to like this new command system, easy to setup but due to what I mentioned above it restrains me

to fully like the system.

  • Upvote 2
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  37
  • Topics Per Day:  0.01
  • Content Count:  149
  • Reputation:   12
  • Joined:  02/17/12
  • Last Seen:  

What Paulinds pointed out is true. The old command system lets you disable charcommands or set the minimum level.

With the new system, we are unable to do the same. I suggest implementation of this feature.

All in all, I'm starting to like this new command system, easy to setup but due to what I mentioned above it restrains me

to fully like the system.

agreed, that way no accidents can happen.

Edited by sizenine
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  47
  • Topics Per Day:  0.01
  • Content Count:  633
  • Reputation:   78
  • Joined:  11/14/11
  • Last Seen:  

you can disable a char command of a specific command by making the value of a command to [true,false]

ex:

go: [true,false]

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  439
  • Reputation:   29
  • Joined:  12/08/11
  • Last Seen:  

you can disable a char command of a specific command by making the value of a command to [true,false]

ex:

go: [true,false]

True, you can disable specific commands and as we know there are two (2) types of commands, atcommand (@) and charcommand (#).

I was referring to charcommands such as #go or #warp.

  • Upvote 1
Link to comment
Share on other sites

  • 3 weeks later...

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

I suggest the addition of setgroupid() command, so we don't need to relay on sql queries at script side

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.01
  • Content Count:  587
  • Reputation:   104
  • Joined:  11/19/11
  • Last Seen:  

Since I noticed the Removed of @adjcmdlvl command,

I wonder is it possible to add a command @adjcomdgroup

which temporarily adjust the specified group can use.

e.g.

During woe I want to disable some commands from normal player.

Link to comment
Share on other sites

  • 4 weeks later...

  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  134
  • Reputation:   35
  • Joined:  02/27/12
  • Last Seen:  

Since I noticed the Removed of @adjcmdlvl command,

I wonder is it possible to add a command @adjcomdgroup

which temporarily adjust the specified group can use.

e.g.

During woe I want to disable some commands from normal player.

It's a little old topic, but you can use: @adjgroup

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  20
  • Reputation:   2
  • Joined:  05/28/12
  • Last Seen:  

nice job,well as Matheus said

I loved the new structure of config files. Congratulations.

Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  49
  • Reputation:   0
  • Joined:  06/28/12
  • Last Seen:  

Are there any converters out there? I personally dislike the new GM system..I dont want to spend an entire afternoon on this...again.

Edit: Nevermind! Got it going.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  44
  • Reputation:   5
  • Joined:  02/07/12
  • Last Seen:  

So is there any way to enable # for GMs?

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2345
  • Joined:  10/28/11
  • Last Seen:  

So is there any way to enable # for GMs?

post#62

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  44
  • Reputation:   5
  • Joined:  02/07/12
  • Last Seen:  

Nevermind. I think that I understand now. Thanks anyway.

Edited by Decimal
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.01
  • Content Count:  132
  • Reputation:   8
  • Joined:  07/19/12
  • Last Seen:  

you can disable a char command of a specific command by making the value of a command to [true,false]

ex:

go: [true,false]

True, you can disable specific commands and as we know there are two (2) types of commands, atcommand (@) and charcommand (#).

I was referring to charcommands such as #go or #warp.

you can disable a char command of a specific command by making the value of a command to [true,false]

ex:

go: [true,false]

True, you can disable specific commands and as we know there are two (2) types of commands, atcommand (@) and charcommand (#).

I was referring to charcommands such as #go or #warp.

Same examination here.

The charcommand is working, all I need to do was type the player's name while using the command. But where can we set the permissions though?

Edited by Valiente
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:  

But where can we set the permissions though?

permissions - you mean which GM level(s) can use the command?

That's the whole idea of groups instead of levels.

Within the group config, you set which commands they can use in the commands: { } block.

trunk/conf/groups.conf

Link to comment
Share on other sites

  • 1 month later...

  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  36
  • Reputation:   0
  • Joined:  11/21/11
  • Last Seen:  

Someone please Help Me to GM command to Normal Player I've edited in group.conf but it does not work what are other examples?

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
       mobinfo: true
       iteminfo: true
       whodrops: true
       whereis: true
       jailtime: true
       autoloot: true
       alootid: true
       autotrade: true
       go: true
   }
   permissions: {
       /* without this basic permissions regular players could not
       trade or party */
       can_trade: true
       can_party: true
   }
},

Is there any other Config should change except in grup.conf?

Link to comment
Share on other sites

  • 3 months later...

  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.01
  • Content Count:  59
  • Reputation:   0
  • Joined:  12/13/12
  • Last Seen:  

Help! i have an error after i edit the group.conf , even changing back to original still shows the same problem

[Warning]: pc_group_pc_load: (AID:2000000) logged in with unknown group id (99)! kicking...

it cant identify my group id already. same for 0 groups - 99.

groups.conf

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...