<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://www.hackslashmine.net/hsmwiki/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.hackslashmine.net/hsmwiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=70.120.194.119</id>
		<title>Hack/Mine Wiki - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://www.hackslashmine.net/hsmwiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=70.120.194.119"/>
		<link rel="alternate" type="text/html" href="http://www.hackslashmine.net/hsmwiki/Special:Contributions/70.120.194.119"/>
		<updated>2026-07-04T10:26:53Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.19.2</generator>

	<entry>
		<id>http://www.hackslashmine.net/hsmwiki/Customization</id>
		<title>Customization</title>
		<link rel="alternate" type="text/html" href="http://www.hackslashmine.net/hsmwiki/Customization"/>
				<updated>2014-07-05T07:08:24Z</updated>
		
		<summary type="html">&lt;p&gt;70.120.194.119: Undo revision 1575 by 171.100.59.30 (talk)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The long-term goal of Hack/Mine is to be thoroughly customizable, such that users can create their own content and share it with the community.  As of version 0.6.4, this is starting to become a reality, as users can create their own spells via [[Spellscript]] and create their own classes and skill-sets through a configuration file (''hsmConfig.JSON'') located in the ''&amp;lt;.minecraft&amp;gt;/spells/'' directory.  This information propagates over the network automatically, meaning each Hack/Mine server can offer its own unique RPG experience.&lt;br /&gt;
&lt;br /&gt;
You'll definitely want to use a syntax-highlighted text editor like [http://www.sublimetext.com/ Sublime Text] when customizing Hack/Mine.  A Sublime package for [[Spellscript]] is also available [http://www.mediafire.com/download.php?foak1j6b381huzz here].&lt;br /&gt;
&lt;br /&gt;
==The JSON Data Format==&lt;br /&gt;
To customize ''hsmConfig.JSON'', you first need to understand the JSON data format.  A .JSON file is simply a text file, except its text must be organized according to a certain set of rules.  If you're a programmer, you can probably understand the precise definition given [http://www.json.org/ here], but otherwise, read on.&lt;br /&gt;
&lt;br /&gt;
JSON has three basic textual components: ''values'', ''objects'', and ''arrays''.  A value is either a string of characters enclosed in quotation marks, a real number, an array, an object, '''true''', '''false''', or  '''null'''.  An array is simply a comma-separated list of values enclosed by square brackets.  And finally, an object is a comma-separated list of ''pairs'' enclosed by curly braces, where a pair is simply a string and a value separated by a colon.  That's it!  Here's some example JSON data:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;{&lt;br /&gt;
    &amp;quot;someNumber&amp;quot; : 34,&lt;br /&gt;
    &amp;quot;anotherNumber&amp;quot; : 21.4,&lt;br /&gt;
    &amp;quot;aString&amp;quot; : &amp;quot;yo dawg&amp;quot;,&lt;br /&gt;
    &amp;quot;anArray&amp;quot; : [2, 3, 5.2, null, &amp;quot;hi!&amp;quot;]&lt;br /&gt;
    &amp;quot;anotherObject&amp;quot; : { &amp;quot;herp&amp;quot; : 0, &amp;quot;aderp&amp;quot;: 1, &amp;quot;alerp&amp;quot; : 2 }&lt;br /&gt;
    &amp;quot;jsonIsSuperAmazing&amp;quot; : true,&lt;br /&gt;
    &amp;quot;jsonIsComplicated&amp;quot; : false&lt;br /&gt;
}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you're ready to customize ''hsmConfig.JSON''...&lt;br /&gt;
&lt;br /&gt;
Very nice site!&lt;br /&gt;
&lt;br /&gt;
Very nice site!&lt;/div&gt;</summary>
		<author><name>70.120.194.119</name></author>	</entry>

	</feed>