Jump to content
  • 0
XenaNyx

about group id to connect to server.

Question

// Required account group id to connect to server

// -1: disabled

// 0 or more: group id

group_id_to_connect: 1

rathena not like eathena ? i set 1 only level 1 can connect , other level can't connect

because i want to set min level to connect to server.

rathena can set like this ?

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

what if i dont want normal players to connect while maintenance only gm with group id 4 and group id 99 can join the server

what will i put here:

 

Quote

// Required account group id to connect to server.
// -1: disabled
// 0 or more: group id
group_id_to_connect: 99

ive try to put 4 but gm id 99 cant login only gm group id 4 can

i want them both to have access to login in the server

Link to comment
Share on other sites

  • 0
On 2/16/2022 at 10:30 AM, chadness said:

what if i dont want normal players to connect while maintenance only gm with group id 4 and group id 99 can join the server

what will i put here:

 

ive try to put 4 but gm id 99 cant login only gm group id 4 can

i want them both to have access to login in the server

Please don't reopen so old threads. It's a bit confusing cuz the date and the sort of the posts.

 

// Minimum account group id required to connect to server.

// Will not function if group_id_to_connect config is enabled.

// -1: disabled

// 0 or more: group id

min_group_id_to_connect: -1

 

 

Rynbef~

Link to comment
Share on other sites

I'm sorry but, I don't understand your question!!! :<

What are you going on about?

What is it that your trying to do?

Link to comment
Share on other sites

src/login/login.c

find

if( login_config.group_id_to_connect >= 0 && sd->group_id != login_config.group_id_to_connect )

you can try changed != to < and recompile..

that should be as you want

  • Upvote 2
Link to comment
Share on other sites

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.



×
×
  • Create New...

Important Information

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