Jump to content
  • 0
Brynner

how can i rename the group name category?

Question

how can i change this?

 

  id: 1
 name: "Super Player"

  id: 2
 name: "Support"

  id: 3
 name: "Script Manager"

  id: 4
 name: "Event Manager"

  id: 10
 name: "Law Enforcement"

 

when i try to rename the id 1 into this 1.

  id: 1
 name: "Super Player2"

 

i got this error.

[Warning]: pc_groups:read_config: non-existent group name "Super Player", removi
ng... (conf/groups.conf:157)

Share this post


Link to post
Share on other sites

11 answers to this question

Recommended Posts

  • 0

Support group inherits from Super Player by default, so if you change Super Player name, you should change Super Player inheritances too, as Fatalis said:

{id: 2name: "Support"inherit: ( "Super Player" )level: 1commands: {version: truewhere: truejumpto: truewho: truewho2: truewho3: truewhomap: truewhomap2: truewhomap3: trueusers: truebroadcast: truelocalbroadcast: true}log_commands: truepermissions: {receive_requests: trueview_equipment: true}},

See the inherit parameter at the third line? That's it.

Share this post


Link to post
Share on other sites
  • 0

Just remember that if you want to change a group name, you'll have to change all appearances of that group name and you'll be fine.

Share this post


Link to post
Share on other sites
  • 0

I don't get what are you trying to do.

 

In case you want to change a player's group (which is what I can suppose from that screen), you may do so directly at the `login` table inside your SQL database.

Share this post


Link to post
Share on other sites
  • 0

on my screenshot. you'll see the (Super Player). the group name id. i just want to change it.

Share this post


Link to post
Share on other sites
  • 0

You just need to change "name" entry of the group and make sure all the inheritted groups use the new group name (Which is what your first error was about). After that simply @reloadatcommand or restart the server. 

Share this post


Link to post
Share on other sites
  • 0

You just need to change "name" entry of the group and make sure all the inheritted groups use the new group name (Which is what your first error was about). After that simply @reloadatcommand or restart the server. 

Yes just change name entry, and if you dont want to disturb existing groups, just create a new group, its easy instead of renaming groups and inherit

Share this post


Link to post
Share on other sites
  • 0

still not working.

qwe.jpg

 

 

{    id: 1    name: "Super Player2"    inherit: ( "Player" ) /* can do everything Players can and more */    level: 0    commands: {

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.