Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
xml:root [2019/06/08 09:33]
ryantheallmighty
xml:root [2019/06/08 09:47] (current)
ryantheallmighty
Line 217: Line 217:
 </​code>​ </​code>​
  
 +===== <​java>​ =====
 +
 +Optional: Yes\\
 +Default: None
 +
 +This determines which versions of Java can be used to play the pack. You can set a minimum and/or a maximum version. If the user attempts to play the pack with a non matching Java version, they will be unable to do so, and a message will show to the user telling them to get an appropriate version of Java.
 +
 +This element has 2 optional attributes which are shown below.
 +
 +==== min=""​ ====
 +
 +Optional: Yes\\
 +Default: None
 +
 +The major Java version that is needed at minimum in order to play the pack. This should be a value like 8, rather than 1.8 or 1.8.101.
 +
 +==== max=""​ ====
 +
 +Optional: Yes\\
 +Default: None
 +
 +The major Java version that is needed at maximum in order to play the pack. This should be a value like 8, rather than 1.8 or 1.8.101.
 +
 +==== Examples ====
 +
 +<​code>​
 +  <java min="​7"​ max="​8"​ />
 +  <java min="​7"​ />
 +  <java max="​8"​ />
 +</​code>​
 +
 +===== <​mods>​ =====
 +
 +Optional: Yes
 +
 +This allows you to control how mods in the pack are allowed to be modified. It allows turning on users to add mods directly from Curse from within ATLauncher. It also allows you to restrict users from using the Edit Mods button on the instance to add/remove mods easily.
 +
 +This element has 2 optional attributes which are shown below.
 +
 +==== edit=""​ ====
 +
 +Optional: Yes\\
 +Default: true
 +
 +If users should be allowed to use the Edit Mods button on instances of this pack. By setting this to **false**, you can remove that button from instances, so that users cannot modify mods within ATLauncher. Users can still add and remove mods in the folder structure of the launcher, but for most cases this will deter changing of packs.
 +
 +==== curse=""​ ====
 +
 +Optional: Yes\\
 +Default: false
 +
 +This allows you to enable the addition of mods directly from Curse from within ATLauncher. When set to **true**, users will get the option to browse mods within ATLauncher and quickly add them to your pack.
 +
 +==== Examples ====
 +
 +<​code>​
 +  <mods curse="​true"​ edit="​false"​ />
 +  <mods curse="​true"​ />
 +  <mods edit="​false"​ />
 +</​code>​
  
xml/root.txt · Last modified: 2019/06/08 09:47 by ryantheallmighty
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0