Jump to content
  • 0

Where to change this?


Question

7 answers to this question

Recommended Posts

Posted (edited)
I mean I want newbie or new character will become gm lvl 1 when creating a new account.

You can use this SQL query to make group_id default to 1.

ALTER TABLE `login` CHANGE `group_id` `group_id` TINYINT(3) DEFAULT 1 NOT NULL;

That should be compatible with most CPs because they insert new accounts with NULL for group_id, causing it to take the default defined in the SQL table.

PS: why not just give all the @commands to group_id 0, if all normal players are going to be in the same group?

Edited by Brian
Posted

PS: why not just give all the @commands to group_id 0, if all normal players are going to be in the same group?

I agree! You can configure @commands on conf/groups.conf

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...