Welcome, Guest. Please login or register

Author Topic: [SOLVED] New Mods button: .info files?  (Read 6884 times)

0 Members and 1 Guest are viewing this topic.

Offline MasterEric

  • Forge Modder
  • Newbie
  • ***
  • Posts: 15
  • Karma: +1/-0
  • Thank You
  •   - Given: 0
  •   - Receive: 1
  • Gender: Male

  • "I like sour cream and onion chips."

    • View Profile
[SOLVED] New Mods button: .info files?
« on: June 25, 2012, 09:37:17 pm »
I noticed that a new button(the mods one) has been added. The description thing seems very cool, and a great feature to the API.
However, I have a question: How do I add info for myself? At default it says "No mod information found, Ask your mod author to provide a mod .info file".
How do I create said .info file?
« Last Edit: June 26, 2012, 01:06:53 pm by MasterEric »

Offline Qwertygiy

  • Newbie
  • *
  • Posts: 38
  • Karma: +4/-0
  • Thank You
  •   - Given: 3
  •   - Receive: 3

  • "Buildism FTW"

    • View Profile
    • Key Bored Industries (INCOMPLETE!)
Re: New Mods button: .info files?
« Reply #1 on: June 25, 2012, 09:42:28 pm »
Just going out on a limb here, try making a text file named "mod_yourModClassName.info" and put it in the same folder as the mod_yourModClassName.class file.

Offline MasterEric

  • Forge Modder
  • Newbie
  • ***
  • Posts: 15
  • Karma: +1/-0
  • Thank You
  •   - Given: 0
  •   - Receive: 1
  • Gender: Male

  • "I like sour cream and onion chips."

    • View Profile
Re: New Mods button: .info files?
« Reply #2 on: June 25, 2012, 10:06:00 pm »
That doesn't sound like it would work.
Mostly because there are multiple fields, as you can see in the attached image.
However, if I knew where say Minecraft Forge's .info file was I could look at it and use it as a template.

Offline Qwertygiy

  • Newbie
  • *
  • Posts: 38
  • Karma: +4/-0
  • Thank You
  •   - Given: 3
  •   - Receive: 3

  • "Buildism FTW"

    • View Profile
    • Key Bored Industries (INCOMPLETE!)
Re: New Mods button: .info files?
« Reply #3 on: June 25, 2012, 10:08:55 pm »
mod_MinecraftForge.info in the client download:

Code: [Select]
[
{
  "modid" : "mod_MinecraftForge",
  "name" : "Minecraft Forge",
  "version" : "3.3.8.148",
  "url" : "http://MinecraftForge.net",
  "credits" : "Lots of people have contributed to MinecraftForge",
  "authors": [
    "LexManos",
    "Eloraam",
    "Spacetoad"
  ],
  "description": "Minecraft Forge is a common open source API allowing a broad range of mods to work cooperatively together.\nIt allows many mods to be created without them editing the main Minecraft code.",
  "logoFile" : "/forge_logo.png",
  "updateUrl" : "http://minecraftforge.net/forum/index.php/topic,5.0.html",
  "parent" : "",
  "screenshots": [
  ]
}
]

Offline cpw

  • Forge Code God
  • Creeper Killer
  • *****
  • Posts: 191
  • Karma: +57/-0
  • Thank You
  •   - Given: 0
  •   - Receive: 25

  • "No"

    • View Profile
Re: New Mods button: .info files?
« Reply #4 on: June 26, 2012, 05:45:21 am »
Information here including what to do:

https://github.com/cpw/FML/wiki/FML-mod-information-file

if you ship a jar always call it mcmod.info. the special naming mod_....info is mostly just for forge itself.

Offline MasterEric

  • Forge Modder
  • Newbie
  • ***
  • Posts: 15
  • Karma: +1/-0
  • Thank You
  •   - Given: 0
  •   - Receive: 1
  • Gender: Male

  • "I like sour cream and onion chips."

    • View Profile
Re: New Mods button: .info files?
« Reply #5 on: June 26, 2012, 01:04:52 pm »
Thanks for the help on this subject! :D
MARKED AS SOLVED
« Last Edit: June 26, 2012, 01:07:10 pm by MasterEric »

 

Sitemap 1 2 3 4 5 6 7 8 9 10 
Close
Please register or Login to join in on the community!