1

Mcmod.info file error [FIXED]

That Martin Guy 4/19/14 5:04 am
3.7k
4/19/2014 7:09 am
So, i have this mcmod.info file which is not working. The mcmod.info file looks like this:
[
{
"modid": "PeopleMod",
"name": "People++",
"description": "Let the revulotion begin!",
"version": "Alpha 0.0.1",
"mcversion": "1.6.4",
"logoFile": "People_logo.png")",
"url": "www.peopleplusplus.at.ua": "",
"authors": ["joshtheminerguy (original creator) DeltaCraftNetwork (creative director) bens1226 (texturer) 41paladin (texturer) adudewithapc (coder) "],
"credits": "joshtheminerguy for the idea and all of you downloaders",
"parent": "",
"screenshots": [],
"dependencies": ["www.peopleplusplus.at.ua"]
}
]

In the log in eclipse it says "The mcmod.info file in bin cannot be parsed as valid JSON. It will be ignored"
Posted by
That Martin Guy
Level 1 : New Crafter
0

  Have something to say?

JoinSign in

7

sekwah41
04/19/2014 7:09 am
He/Him • Level 89 : Elite Cyborg Senpai
If you ever need any more help just message me.
1
sekwah41
04/19/2014 7:00 am
He/Him • Level 89 : Elite Cyborg Senpai
adudewithapc
SEKWAH41It may be because of spacing errors
And PeopleMod is the same in the mcmod.info file as in the code.


Thats good to hear

If you ever need any more help, feel free to message me.
1
sekwah41
04/19/2014 6:45 am
He/Him • Level 89 : Elite Cyborg Senpai
It may be because of spacing errors and also I notice one or two things that could be changed or removed


[
{
"modid": "PeopleMod",
"name": "People++",
"description": "Let the revulotion begin!",
"version": "Alpha 0.0.1",
"mcversion": "1.6.4",
"logoFile": "People_logo.png",
"url": "www.peopleplusplus.at.ua",
"authorList": ["joshtheminerguy (original creator)", "DeltaCraftNetwork (creative director)", "bens1226 (texturer)", "41paladin (texturer)", "adudewithapc (coder)"],
"credits": "joshtheminerguy for the idea and all of you downloaders"
}
]


You had a bunch of quote marks in unnessasary places and also some unused or unnessasary parts in the file. The one i have posted is a tidied and fixed version of yours, just copy and paste it.

If you have any more trouble just message me(or if u want more details on what I did you can also message me)

Also make sure your "modid": "PeopleMod" matches the one in your main mod class exactly or else it wont look like its working.

The main problem was little things like "logoFile": "People_logo.png")", you just had a quote out of place and that messed with the layout of the json so it couldn't be parsed.
1
That Martin Guy
04/19/2014 6:53 am
Level 1 : New Crafter
Thanks, it worked
And PeopleMod is the same in the mcmod.info file as in the code.
1
lazypasta
04/19/2014 5:24 am
Level 10 : Journeyman Hunter
Then it's not a .JSON file then. Put it into a JSON format.

(No flamewar please)
1
That Martin Guy
04/19/2014 5:28 am
Level 1 : New Crafter
So you mean it should be mcmod.info.json (i did try that and it didnt work)
1
lazypasta
04/19/2014 6:01 am
Level 10 : Journeyman Hunter
Oh ok, i thought that might help (i never made a mod, so i never knew some of the basics, i tried to but it was hard )
1

Welcome