Skip to content

Commit cce8ad5

Browse files
committed
mods.toml file content changed.
1 parent 8c3ef39 commit cce8ad5

File tree

1 file changed

+35
-47
lines changed

1 file changed

+35
-47
lines changed

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

Lines changed: 35 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,54 +1,42 @@
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-Spawn/issues"
334

34-
Have some lorem ipsum.
5+
[[mods]]
6+
modId="project_essentials_home"
7+
version="1.14.4-1.0.0.0"
8+
displayName="Project Essentials Home"
9+
updateJSONURL="https://raw.githubusercontent.com/ProjectEssentials/ProjectEssentials-Home/MC-1.14.4/update.json"
10+
displayURL="https://github.com/ProjectEssentials/ProjectEssentials-Home"
11+
credits="Thanks JetBrains for Intellij IDEA license!"
12+
authors="MairwunNx (Pavel Erokhin)"
13+
description='''
14+
Project Essentials Home - additional module for Essentials;
15+
Just controlling player homies positions.
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.projectessentialspermissions]]
19+
modId="project_essentials_core"
20+
mandatory=true
21+
versionRange="[1,)"
22+
ordering="NONE"
23+
side="BOTH"
24+
25+
[[dependencies.projectessentialsspawn]]
26+
modId="project_essentials_permissions"
27+
mandatory=true
28+
versionRange="[0,)"
4729
ordering="NONE"
48-
# Side this dependency is applied on - BOTH, CLIENT or SERVER
4930
side="BOTH"
50-
# Here's another dependency
51-
[[dependencies.examplemod]]
31+
32+
[[dependencies.projectessentialsspawn]]
33+
modId="forge"
34+
mandatory=true
35+
versionRange="[28,)"
36+
ordering="NONE"
37+
side="BOTH"
38+
39+
[[dependencies.projectessentialsspawn]]
5240
modId="minecraft"
5341
mandatory=true
5442
versionRange="[1.14.4]"

0 commit comments

Comments
 (0)