Advertisement
Treyzania

PCDL ModpackXML Example

Oct 20th, 2013
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.30 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <pack modpackxmlver="20131020">
  3.    
  4.     <version ver="%VERSION_OF_MODPACK%" forge="%MCFORGE_VERSION%" mcver="%MINECRAFT_VERSION%">
  5.        
  6.         <meta name="%NAME_OF_META_INFORMATION%">%CONTENTS_OF_META_INFORMATION%</meta>
  7.         <meta name="CamelCase">Metadata really has no use yet.  All that PCDL uses is predefined in the version tag</meta>
  8.        
  9.         <group domain="generic">
  10.            
  11.             <mod>%MOD_LOCATION_ON_INTERNET%</mod>
  12.             <mod>http://somemodswebsite.com/downloadslocation/mod.zip</mod>
  13.            
  14.             <file src="%FILE_LOCATION_ON_INTERNET%">%PLACE_TO_PUT_FILE_RELATIVE_TO_PACK_ROOT%</file>
  15.             <file src="http://websitewithyourconfigs.info/configfile.cfg">config/configfile.cfg</file>
  16.            
  17.         </group>
  18.        
  19.         <group domain="client">
  20.            
  21.             <write file="some/random/file.txt">%This is some random text you might want to have.</write>
  22.             <meta name="CamelCase">Meta data can also be specific to the groups, only applied if you are building for the client, in this case.</meta>
  23.            
  24.         </group>
  25.        
  26.         <group domain="server">
  27.            
  28.             <write file="another/random/file/to/write.to">
  29.                 You
  30.                 can
  31.                 have
  32.                 multiple lines without affecting anything.
  33.                 (I think.)
  34.                
  35.                 Use "\n" for a newline.
  36.                 And "\t" for an indentation.
  37.             </write>
  38.            
  39.         </group>
  40.        
  41.     </version>
  42.    
  43. </pack>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement