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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

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