Announcement Making mod installation easier

Discussion in 'Mod Releases & Modding Help' started by bartwe, Dec 14, 2013.

Thread Status:
This thread has not been replied to for more than 90 days.

Announcement Making mod installation easier

Discussion in 'Mod Releases & Modding Help' started by bartwe, Dec 14, 2013.

  1. To make mod installation easier support has been added for .modinfo files.
    This functionality should arrive in the next patch.

    For example:

    Code:
    {
      "name" : "sparkz",
      "version" : "Beta v. Indignant Koala",
      "path" : ".",
      "dependencies" : [ "tabularasa" ]
    }
    
    would be in a file called sparkz.modinfo in the directory ./mods/sparkz/

    Files are found by searching for ./mods/<modnamehere>/<modnamehere>.modinfo

    This should make installing a mod as easy as unpacking a zip into the ./mods directory

    More fields can be added, for example 'author' would be a handy addition and perhaps internal version numbers.

    See also http://community.playstarbound.com/...iding-and-merging-config-files-in-mods.53775/
      Last edited: Dec 16, 2013
    • badtrip987

      badtrip987 Aquatic Astronaut

      Dependencies are the recipes you want to add? Instead of editing player config file?
      • Supergeek

        Supergeek Scruffy Nerf-Herder

        I would suggest that we implement some purely informational tags as a standard, like:

        Code:
            "modauthor" : "neurisko",
            "modversion" : "1.0",
            "moddescription" : "This is a description of what the mod does.",
            "modsupporturl" : "http://community.playstarbound.com/index.php?threads/making-mod-installation-easier.52349/",
        
        If anyone else has any other suggestions for these purely voluntary and non-functional tags, please post!
        • FINALLY! A Mod folder, no more change core asset files to cheat/lag/crash servers!

          Is the mod folder being activated if you enter a server? It should be only singleplayer so they don't exploit servers. :)
            Lachee and Jman1177 like this.
          • gibbed

            gibbed Orbital Explorer

            Instead of polluting the names, it would work better as an object, ie:
            Code:
            {
              "name" : "sparkz",
              "version" : "Beta v. Indignant Koala",
              "path" : ".",
              "dependencies" : [ "tabularasa" ],
              "metadata": {
                "author" : "foo",
                "description" : "bar",
                "support_url" : "baz"
              }
            }
              Last edited: Dec 14, 2013
            • badtrip987

              badtrip987 Aquatic Astronaut

              In the future, it would be cool if the server could send the mods to the client and activates only the ones on the server or something like that :p
              • Supergeek

                Supergeek Scruffy Nerf-Herder

                Good idea.
                • dependencies are other mods that the mod depends upon.
                  • A system to download and load the same mods as the server is planned at some point.
                    This will not block any kind of asset cheating.
                    • Yeah good idea
                      • Will mods on such folder trigger checkAssetsDigest setting?
                        So we can at least have that setting on that will block asset changes and players can still run mods? I'm a bit confused on how you plan to separate client mods from servers.
                        • Cayote

                          Cayote Aquatic Astronaut

                          That's really great! thanks a lot!
                          • I don't think there is going to be much of a split between client and server assets when modding, you need most if not all files on both ends.
                            • Evilius

                              Evilius Space Spelunker

                              i'm hoping a bit for a feature that disables the mods you have when the server you join doesn't have them.

                              Edit: was a bit too eager posting. i've gotten my answer thanks =)
                              • robflop

                                robflop Title Not Found

                                Is there a feature yet that automatically merges the mod config with core configs? Editig player.config, universe_server.config etc is really annoying.
                                • Cayote

                                  Cayote Aquatic Astronaut

                                  You can do that using the current bootstrap.config method, you can just include a player.config file in your mod and it'll override it.
                                  • Aimay

                                    Aimay Industrial Terraformer

                                    Code:
                                    {
                                      "name" : "sparkz",
                                      "version" : "Beta v. Indignant Koala",
                                      "path" : ".",
                                      "dependencies" : [ "tabularasa" ]
                                    }
                                    
                                    And the path would lead where exactly? How I thought the mods would go would be to recreate blank folders within the mod folder itself that mimic the path of where the modded files go and they are then just overwritten... or am I just looking at this wrong?
                                    • robflop

                                      robflop Title Not Found

                                      But what If i had for example:
                                      the felins race, the kangaru, the link mod and others that all edit the player.config, the two races edit codex, quests, universe_server.
                                      Will all mod-config files be merged into one? (so that i can use felin and kangaru at the same time, for example)
                                      • Cayote

                                        Cayote Aquatic Astronaut

                                        Yeah, I've got a few item mods installed which I made myself, but in each mod the player.config file only contains the items added in those mods, but they all get collected together and used as a whole.
                                        • robflop

                                          robflop Title Not Found

                                          So, do i need to include the edited config files, basically vanilla ones with the extra lines added or just the config files with the extra ones (without the vanilla things)?
                                          Thread Status:
                                          This thread has not been replied to for more than 90 days.

                                          Share This Page