1

Mcmod.info file error [FIXED]

That Martin Guy's Avatar That Martin Guy4/19/14 5:04 am
1 emeralds 3.6k 7
4/19/2014 7:09 am
sekwah41's Avatar sekwah41
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's Avatar
That Martin Guy
Level 1 : New Crafter
0

Create an account or sign in to comment.

7

1
04/19/2014 7:09 am
Level 89 : Elite Senpai
sekwah41
sekwah41's Avatar
If you ever need any more help just message me.
1
04/19/2014 7:00 am
Level 89 : Elite Senpai
sekwah41
sekwah41's Avatar
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
04/19/2014 6:45 am
Level 89 : Elite Senpai
sekwah41
sekwah41's Avatar
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
04/19/2014 6:53 am
Level 1 : New Crafter
That Martin Guy
That Martin Guy's Avatar
Thanks, it worked
And PeopleMod is the same in the mcmod.info file as in the code.
1
04/19/2014 5:24 am
Level 10 : Journeyman Hunter
lazypasta
lazypasta's Avatar
Then it's not a .JSON file then. Put it into a JSON format.

(No flamewar please)
1
04/19/2014 5:28 am
Level 1 : New Crafter
That Martin Guy
That Martin Guy's Avatar
So you mean it should be mcmod.info.json (i did try that and it didnt work)
1
04/19/2014 6:01 am
Level 10 : Journeyman Hunter
lazypasta
lazypasta's Avatar
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 )
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome