Browse files

updated readme to include new download link and website - builds go t…

…o distinct timestamp dir
  • Loading branch information...
1 parent 5b473d9 commit 6f51e289473814415d73436e2a61cd794c550fd0 @walterhiggins committed Feb 22, 2013
Showing with 16 additions and 8 deletions.
  1. +7 −3
  2. +9 −5 build.xml
@@ -5,9 +5,9 @@ A Minecraft mod that lets you create mods using Javascript.
ScriptCraft is a plugin for Minecraft Servers which lets
-operators/administrators/plug-in authors customize the game using
+operators, administrators and plug-in authors customize the game using
Javascript. ScriptCraft makes it easier to create your own mods. Mods
-can be written in Javscript and use the full Bukkit API. The
+can be written in Javscript and can use the full Bukkit API. The
ScriptCraft mod also lets you enter javascript commands at the in-game
prompt. To bring up the in-game prompt press the `/` key then type
`js ` followed by any javascript statement. E.g. `/js 1+1` will print
@@ -99,7 +99,7 @@ the Bukkit ScriptCraft plugin...
* `self` - The player/command-block or server console operator who invoked the js command. Again, this is a good jumping off point for diving into the Bukkit API.
* `server` - The top-level org.bukkit.Server object. See the [Bukkit API docs][bukapi] for reference.
@@ -108,6 +108,8 @@ the Bukkit ScriptCraft plugin...
Further Reading
+ScriptCraft has [its own website][website] with further information.
* To get started using ScriptCraft to Learn Javascript I recommend [reading this][yp].
* The ScriptCraft [API documentation][api].
* To delve deeper into creating your own minecraft mod, I recommend [reading this][mm].
@@ -119,3 +121,5 @@ You can find more information about [ScriptCraft on my blog][blog].
@@ -6,15 +6,19 @@
<property name="dist" location="target/" />
<target name="init">
- <tstamp/>
+ <tstamp>
+ <format property="DSTAMP"
+ pattern="yyyy-MM-dd"
+ locale="en,UK"/>
+ </tstamp>
<mkdir dir="${build}"/>
<target name="compile" depends="init" description="compile bukkit plugin source">
<javac includeantruntime="false" srcdir="${src}" destdir="${build}" classpath="${bukkit-lib}" />
- <target name="gendocs" description="Generate API documentation">
+ <target name="gendocs" depends="init" description="Generate API documentation">
<javac includeantruntime="false" srcdir="src/docs/java"/>
<java classname="jscript" failonerror="true" fork="true" output="docs/">
@@ -25,7 +29,7 @@
- <target name="zip_js">
+ <target name="zip_js" depends="init">
<zip zipfile="${build}/" basedir="./src/main/javascript"/>
@@ -39,7 +43,7 @@
<!-- Put everything in ${build} into the MyProject-${DSTAMP}.jar file -->
- <jar jarfile="${dist}/scriptcraft-${bukkit-version}-${DSTAMP}.jar" basedir="${build}"/>
+ <jar jarfile="${dist}/${DSTAMP}/ScriptCraft.jar" basedir="${build}"/>
<target name="clean" description="clean up" >
@@ -50,6 +54,6 @@
<fileset dir="${craftbukkit}/plugins/" includes="scriptcraft*.*"/>
- <copy file="${dist}/scriptcraft-${bukkit-version}-${DSTAMP}.jar" todir="${craftbukkit}/plugins"/>
+ <copy file="${dist}/${DSTAMP}/ScriptCraft.jar" todir="${craftbukkit}/plugins"/>

0 comments on commit 6f51e28

Please sign in to comment.