Installing the ModKit: Difference between revisions
| [unchecked revision] | [checked revision] |
Added export functionality description. |
Correcting project template style from URP 3D to 3D (Built-In Render Pipeline) |
||
| Line 42: | Line 42: | ||
== The Unity Project == | == The Unity Project == | ||
[[File:Eco - Unity Installer - Project Creation.png|thumb|'' | [[File:Eco - Unity Installer - Project Creation.png|thumb|''3D (Built-In Render Pipeline)'' project setup on Unity Hub. <u>4/20/2026</u>]] | ||
ModKit is just a bundle of assets that is imported into a Unity project. If you already have a project you'd like to use the ModKit, open that project and skip to the ''Importing ModKit'' section below. | ModKit is just a bundle of assets that is imported into a Unity project. If you already have a project you'd like to use the ModKit, open that project and skip to the ''Importing ModKit'' section below. | ||
| Line 49: | Line 49: | ||
# On the left menu find ''Projects'' and navigate to that page. | # On the left menu find ''Projects'' and navigate to that page. | ||
# In the top right click the ''+ New Project'' button. | # In the top right click the ''+ New Project'' button. | ||
# Here select the '' | # Here select the ''3D'' (''Built-In Render Pipeline)'' template. It may have to download the template first. | ||
# <u>If you installed multiple versions of Unity</u>'','' double check the ''Editor version'' box here. Make sure the first four numbers and the numbers after the first dot (e.g.<code>6000.3</code>) match what is in the <code>ProjectVersion.txt</code> file. | # <u>If you installed multiple versions of Unity</u>'','' double check the ''Editor version'' box here. Make sure the first four numbers and the numbers after the first dot (e.g.<code>6000.3</code>) match what is in the <code>ProjectVersion.txt</code> file. | ||
# Name the project. | # Name the project. | ||
Latest revision as of 22:21, 20 April 2026
What is ModKit
[edit | edit source]ModKit is the freely available code and 3D assets used to modify Eco's game play.
With ModKit you can create new:
- World Objects* - Objects in the game server (e.g. workbenches)
- Items* - These are the icons for items and world objects.
- Block Sets* - The variations of a block's shape for building.
- Emoji Sets* - A collection of icon assets (PNG / sprite sheets).
- Plugins - These are code that changes how the server behaves (from adding a recipe to adding a new mechanic).
* Requires Unity
Get ModKit
[edit | edit source]
- Go to https://play.eco/account and login (create your account, if necessary).
- Then on the account page find the Game Downloads section. Inside of that section there will be a button titled ModKit.
- If targeting the current release, click on the only button that says ModKit near the top of that section.
- If targeting the staging (preview of next release) version, click the More Downloads button in the top right. Then find the ModKit button in the bottom section. The button will be under a header that says "For advanced users that want to test the most recent, unstable version".
- Unsure? Go with the current release version.
- Let it download.
- Unzip or Extract the ModKit archive.
Installing ModKit
[edit | edit source]Installing Unity
[edit | edit source]
- Determine what version of Unity editor is needed. As of 4/20/2026, the Unity editor is
Unity 6.3.- Look for the
ProjectVersion.txtfile inside the ModKit folder. - Find the line that looks like
m_EditorVersion: 0000.0.000. - Figure the matching Unity editor version.
- For
6000.3.6f1that means install Unity 6.3. - If it was
2030.1.1dethen install Unity 2030.1 (this version doesn't exist, just using it as an example).
- For
- If the version has LTS in it, just ignore that. It just means Long Term Support and doesn't change that version's number. For example, if given
6000.3.6f1then it is reasonable that both Unity 6.3 and Unity 6.3 LTS will be compatible.
- Look for the
- Go to
https://unity.com/. - Download and install the Unity Hub. Note: On first start Unity Hub will being downloading the most recent version of the Unity editor. View this by clicking on the download icon in the very top-right of the window (just left of the exit button on windows). If it is not downloading the version determined in step 1, cancel that download. Save some time and disk space this way.
- Install the correct version of Unity engine.
- On the left menu find Installs and navigate to that page.
- In the top right click the Install Editor button.
- A pop-up should appear where you can search, scroll, and find the version determined in step 1.
The Unity Project
[edit | edit source]
ModKit is just a bundle of assets that is imported into a Unity project. If you already have a project you'd like to use the ModKit, open that project and skip to the Importing ModKit section below.
To create a new project, open Unity Hub and follow along:
- On the left menu find Projects and navigate to that page.
- In the top right click the + New Project button.
- Here select the 3D (Built-In Render Pipeline) template. It may have to download the template first.
- If you installed multiple versions of Unity, double check the Editor version box here. Make sure the first four numbers and the numbers after the first dot (e.g.
6000.3) match what is in theProjectVersion.txtfile. - Name the project.
- Select where it will save to.
- Consider using a Source Control Provider. Optional.
- Click + Create project.
- The Unity editor will setup this project. This process may take several minutes.
Importing ModKit
[edit | edit source]Note: Importing ModKit into a pre-existing project will override some of the project's settings. Make a backup of your work proceeding!
Open the project you want to load ModKit into and follow along:
- From the top toolbar find and open the Assets drop down
- Hover the Import Package option to expand the sub-menu
- Select and click on Custom Package... A file browser should appear.
- Navigate to the ModKit folder.
- Select the
EcoModKit.unitypackagefile. - Press Open.
- A warning will pop-up.
- If this is a fresh new project, click Import.
- If this is a project with stuff in it, make a backup copy before continuing. Continue by clicking Import.
- A window will pop-up titled Import Unity Package. It's listing all the changes being made.
- Click Next.
- The window will now show any destructive changes it's going to make.
- Continue when ready by clicking Import.
- The editor will import the ModKit assets. This process may take a few minutes.
- Install Text Mesh Pro features.
- From the top toolbar find and open the Window drop down.
- Hover TextMeshPro to expand the sub-menu.
- Select Import TextMeshPro Essential Resources
- Review the import screen showing changes made.
- Click Import.
For older versions only (Unity 2019.# and Unity 2020.#) of the Unity editor there are more steps:
- From the top toolbar find and open the Window drop down.
- Hover Package Management to open the sub-menu.
- Select Package Manager.
- The Package Manager window should pop-up.
- In the top-left find and click the In Project tab.
- From it, select Unity Registry.
- Select Collections from the list.
- In
Unity 2019.#, if the Collections package is missing turn on Preview packages. To turn that feature on, find the Advanced drop down inside the Package Manager. From the Advanced drop down, check Show preview packages. - In
Unity 2020.#, some packages are hidden entirely. Install these packages by clicking on the + (add) button in the Package Manager. Select the Add packages from git URL option. Inputcom.unity.collectionsand click the Add button.
- In
- Go down the list and click Install on all list items.
Using ModKit
[edit | edit source]
In Unity's editor, ModKit assets can be found at Assets/EcoModKit.
Read the README files in Assets/EcoModKit/README.md and Assets/EcoModKit/Docs/README.md. The second one explains better what can be accomplished with ModKit.
See the ModKit tutorials on Mod Development page for guides on how to use ModKit and Unity to construct a mod.
Exporting
[edit | edit source]Once finished with developing a mod's assets in Unity, it must be exported. ModKit provides a special script for this purpose. Open your Unity project and follow along to export:
- From the top toolbar find and open Eco Tools drop down.
- Hover Mod Kit and expand the sub-menu.
- Select Build Current Bundle.
- A file explorer will pop-up.
- Select where to save the mod's assets.
- Give them a name.
- Unity will build the package. This may take several minutes.
- Once it finishes, that file ending in
.unity3dis the asset you distribute and use in the Mods folder at../Eco Server/Mods/UserCode.
Happy Modding!