Jump to content
Korean Random
Sign in to follow this  
cokebottle

The "definition" section of the config

Recommended Posts

Ok, so my config file includes the following part:

"definition": {
	"author": "c0keb0ttle",
	"date": "25.08.2016"
}, 

I've only included it because... all the config files I looked at for reference (like sirmax's) included it.

 

Is there actually any reason to keep this? Are those lines actually evaluated somewhere, or could I just keep information like that as comments?

 

The same goes for lines like 

"configVersion": "6.1.0",

Is this (in practice) useful for something? 

Share this post


Link to post

Short link
Share on other sites
"definition": {
	"author": "c0keb0ttle",
	"date": "25.08.2016"
}, 

I've only included it because... all the config files I looked at for reference (like sirmax's) included it.

Is there actually any reason to keep this? Are those lines actually evaluated somewhere, or could I just keep information like that as comments?

This section is not required and used only for information about config.

Share this post


Link to post

Short link
Share on other sites

The same goes for lines like 

"configVersion": "6.1.0",

Is this (in practice) useful for something? 

configVersion is required for backward compatibility. It was used earlier, but currently it is not affect anything. May be later we'll use it again.

Share this post


Link to post

Short link
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.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   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.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...