Skip to content

Commit ec764fc

Browse files
committed
mods.toml file with meta-information changed.
1 parent b51a285 commit ec764fc

1 file changed

Lines changed: 21 additions & 47 deletions

File tree

src/main/resources/META-INF/mods.toml

Lines changed: 21 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,54 +1,28 @@
1-
# This is an example mods.toml file. It contains the data relating to the loading mods.
2-
# There are several mandatory fields (#mandatory), and many more that are optional (#optional).
3-
# The overall format is standard TOML format, v0.5.0.
4-
# Note that there are a couple of TOML lists in this file.
5-
# Find more information on toml format here: https://github.com/toml-lang/toml
6-
# The name of the mod loader type to load - for regular FML @Mod mods it should be javafml
7-
modLoader="javafml" #mandatory
8-
# A version range to match for said mod loader - for regular FML @Mod it will be the forge version
9-
loaderVersion="[28,)" #mandatory (26 is current forge version)
10-
# A URL to refer people to when problems occur with this mod
11-
issueTrackerURL="http://my.issue.tracker/" #optional
12-
# A list of mods - how many allowed here is determined by the individual mod loader
13-
[[mods]] #mandatory
14-
# The modid of the mod
15-
modId="examplemod" #mandatory
16-
# The version number of the mod - there's a few well known ${} variables useable here or just hardcode it
17-
version="${file.jarVersion}" #mandatory
18-
# A display name for the mod
19-
displayName="Example Mod" #mandatory
20-
# A URL to query for updates for this mod. See the JSON update specification <here>
21-
updateJSONURL="http://myurl.me/" #optional
22-
# A URL for the "homepage" for this mod, displayed in the mod UI
23-
displayURL="http://example.com/" #optional
24-
# A file name (in the root of the mod JAR) containing a logo for display
25-
logoFile="examplemod.png" #optional
26-
# A text field displayed in the mod UI
27-
credits="Thanks for this example mod goes to Java" #optional
28-
# A text field displayed in the mod UI
29-
authors="Love, Cheese and small house plants" #optional
30-
# The description text for the mod (multi line!) (#mandatory)
31-
description='''
32-
This is a long form description of the mod. You can write whatever you want here
1+
modLoader="javafml"
2+
loaderVersion="[28,)"
3+
issueTrackerURL="https://github.com/ProjectEssentials/ProjectEssentials-Core/issues"
334

34-
Have some lorem ipsum.
5+
[[mods]]
6+
modId="project_essentials_core"
7+
version="1.14.4-1.0.0.0"
8+
displayName="Project Essentials Core"
9+
updateJSONURL="https://raw.githubusercontent.com/ProjectEssentials/ProjectEssentials-Core/MC-1.14.X/update.json"
10+
displayURL="https://github.com/ProjectEssentials/ProjectEssentials-Core"
11+
credits="Thanks JetBrains for Intellij IDEA license!"
12+
authors="MairwunNx (Pavel Erokhin)"
13+
description='''
14+
Project Essentials Core API - core module for Essentials;
15+
Just API with common code for Project Essentials developers.
16+
'''
3517

36-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed mollis lacinia magna. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Sed sagittis luctus odio eu tempus. Interdum et malesuada fames ac ante ipsum primis in faucibus. Pellentesque volutpat ligula eget lacus auctor sagittis. In hac habitasse platea dictumst. Nunc gravida elit vitae sem vehicula efficitur. Donec mattis ipsum et arcu lobortis, eleifend sagittis sem rutrum. Cras pharetra quam eget posuere fermentum. Sed id tincidunt justo. Lorem ipsum dolor sit amet, consectetur adipiscing elit.
37-
'''
38-
# A dependency - use the . to indicate dependency for a specific modid. Dependencies are optional.
39-
[[dependencies.examplemod]] #optional
40-
# the modid of the dependency
41-
modId="forge" #mandatory
42-
# Does this dependency have to exist - if not, ordering below must be specified
43-
mandatory=true #mandatory
44-
# The version range of the dependency
45-
versionRange="[28,)" #mandatory
46-
# An ordering relationship for the dependency - BEFORE or AFTER required if the relationship is not mandatory
18+
[[dependencies.projectessentialscore]]
19+
modId="forge"
20+
mandatory=true
21+
versionRange="[28,)"
4722
ordering="NONE"
48-
# Side this dependency is applied on - BOTH, CLIENT or SERVER
4923
side="BOTH"
50-
# Here's another dependency
51-
[[dependencies.examplemod]]
24+
25+
[[dependencies.projectessentialscore]]
5226
modId="minecraft"
5327
mandatory=true
5428
versionRange="[1.14.4]"

0 commit comments

Comments
 (0)