Jump to content
  • 0
Sign in to follow this  
Samuel

Reloading Groups.conf

Question

4 answers to this question

Recommended Posts

  • 0

Is there a way to reload this config file?

You can always check with the source: atcommand

 

 

/*==========================================* @reloadatcommand - reloads conf/atcommand.conf conf/groups.conf*------------------------------------------*/void atcommand_doload();ACMD(reloadatcommand) {	config_t run_test;	 if (conf_read_file(&run_test, "conf/groups.conf")) {		clif->message(fd, msg_txt(1036)); // Error reading groups.conf, reload failed.		return false;	}	 config_destroy(&run_test);	 if (conf_read_file(&run_test, iMap->ATCOMMAND_CONF_FILENAME)) {		clif->message(fd, msg_txt(1037)); // Error reading atcommand.conf, reload failed.		return false;	}	 config_destroy(&run_test);	 atcommand_doload();	pc_groups_reload();	clif->message(fd, msg_txt(254));	return true;}

Share this post


Link to post
Share on other sites
  • 0
Guest Axiom

@reloadatcommand works, yes. I actually wasn't aware of the command for a while myself. So far what I haven't verified are whether or not group restriction configs like no trade/mail/party apply when you use the command. Can anyone follow up on that?

Share this post


Link to post
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.   Restore formatting

  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.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

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