forked from SKCraft/SKMCLauncher
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sample_builder_config.xml
80 lines (78 loc) · 3.63 KB
/
sample_builder_config.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<config>
<templates>
<update>
<!-- Match ^[A-Za-z0-9\\-_\\.]+$ and keep it short -->
<id>eduardo_pack</id>
<!-- The name of the package -->
<name>Eduardo's Contraptions</name>
<!-- Optional URL for your news page -->
<newsURL>http://example.com/</newsURL>
</update>
<package>
<!-- Components let players turn on and off features but you don't
have to use them, and you definitely don't need a "base game"
component -->
<component id="base" required="true">
<title>Base Game</title>
<description>These are required files to play the game.</description>
</component>
<component id="music" default="true">
<title>Music</title> <!-- Example optional component -->
<description>Random music to sooth the heart.</description>
</component>
<!-- Messages show HTML at specific points in the update process. They are
completely optional. -->
<message id="optional-message-id" version="1">
<phase>initialize</phase> <!-- initialize,
pre-download,
post-download,
pre-install,
post-install,
finalize -->
<agreement>true</agreement> <!-- "Do you agree?" versus information dialog -->
<title>Question</title> <!-- Title of window -->
<type>html</type> <!-- Use 'url' to use a URL below in <content> -->
<content><![CDATA[
You are <strong>really cool</strong>, yes?
]]></content>
</message>
<!-- You can have multiple messages, but don't be too annoying! You can have
multiple messages during the same phase too (not recommended). -->
<!-- This installs some important libraries for Minecraft -->
<!-- You should probably leave these in -->
<filegroup source="http://s3.amazonaws.com/MinecraftDownload/" dest="bin" verify="md5">
<file size="738345">lwjgl.jar</file>
<file size="227833">jinput.jar</file>
<file size="138318">lwjgl_util.jar</file>
</filegroup>
<filegroup source="http://s3.amazonaws.com/MinecraftDownload/" dest="bin/natives" verify="md5">
<archive size="491232" platform="windows">windows_natives.jar.lzma</archive>
<archive size="551247" platform="linux">linux_natives.jar.lzma</archive>
<archive size="262436" platform="mac_os_x">macosx_natives.jar.lzma</archive>
<archive size="272470" platform="solaris">solaris_natives.jar.lzma</archive>
</filegroup>
</package>
</templates>
<files>
<pattern archive="configs.zip">
<!-- archive="" puts the files into a .zip so users don't have to
download a billion files over HTTP, but you can't incrementally
update the files inside a ZIP -->
<include>config/*</include>
<exclude>config/ClientConfig.cfg</exclude>
</pattern>
<pattern archive="default_configs.zip" overwrite="never">
<!-- Overwrite policy can be "never" or left out -->
<!-- Disable overwrite for "default configs" -->
<include>config/ClientConfig.cfg</include>
</pattern>
<!-- This one uses the music component from above -->
<!-- Other potential component string: "music, !sounds" to require
the "music" component selected and the "sounds" component not
to be selected ('sounds' is not in this example file) -->
<pattern component="music">
<include>music/*</include>
</pattern>
</files>
</config>