You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* You will need to have Java version 7 or later installed on your
79
-
machine. Check the version by typing `java -version` at a command
80
-
prompt.
81
-
82
-
* You will need to [install SpigotMC][spigot] on your
83
-
machine. SpigotMC is a customized version of Minecraft Server that
84
-
makes it easy to install plugins and customize Minecraft. You can
85
-
[download the SpigotMC server here.][spigotdl]
79
+
ScriptCraft is a Minecraft Server Mod which only works with Minecraft
80
+
for Personal computers (Windows, Mac and Linux). It does not work with
81
+
X-BOX, Playstation or WiiU versions of the game. You will need to have
82
+
Java version 7 or later installed. Check the version by typing `java
83
+
-version` at a command prompt.
86
84
87
85
# Installation
88
86
89
-
Before installing ScriptCraft you must first install SpigotMC which is a special version of Minecraft Server that makes it easy to customize the game.
87
+
Before installing ScriptCraft you must first install SpigotMC which is
88
+
a special version of Minecraft Server that makes it easy to customize
89
+
the game.
90
90
91
91
## Installing and Running SpigotMC
92
92
93
-
Follow these steps to download and install SpigotMC on your machine.
93
+
Follow these steps to download and install SpigotMC.
94
94
95
95
1. Download Spigot's [BuildTools.jar][spigotdl]
96
96
2. Save the BuildTools.jar file to a new directory called spigotmc.
97
97
3. Open a terminal (Mac and Linux) or command prompt (windows) window and type `java -jar BuildTools.jar`. This will kick off a long series of commands to "build" SpigotMC.
98
98
4. When the build is done, there will be a new file beginning with `spigot` and ending in `.jar` in the spigotmc directory. Run this file by typing `java -jar spigot-1.10.2.jar` (it might not be that exact name - you can list files in the directory by typing `dir` (Windows) or `ls` (Mac and Linux).
99
99
5. The server will start up then shut down very shortly afterwards. You'll need to edit a file called `eula.txt` - change `eula=false` to `eula=true` and save the file.
100
100
6. Run the `java -jar spigot-1.10.2.jar` command again - this time the server will start up. Shut it down by typing `stop` at the server prompt.
101
-
7. Download the [scriptcraft.jar][dl] plugin and save it to the `plugins` directory and restart the server by typing `java -jar spigot-1.10.2.jar`.
102
-
9. At the server prompt type `js 1 + 1` and hit enter. The result `2` should be displayed.
101
+
102
+
## Installing ScriptCraft
103
+
104
+
Follow these steps to download and install ScriptCraft.
105
+
106
+
1. Download the [scriptcraft.jar][dl] plugin and save it to the `plugins` directory and restart the server by typing `java -jar spigot-1.10.2.jar`.
107
+
2. At the server prompt type `js 1 + 1` and hit enter. The result `2` should be displayed.
103
108
104
109
Congratulations - you've just installed your Custom Minecraft Server and are ready to begin writing your first mod!
105
110
@@ -116,7 +121,7 @@ username to the ops.txt file in your server directory.
116
121
Launch the server, then launch the Minecraft client and create a new
117
122
server connection. The IP address will be `localhost` . Once you've
118
123
connected to your server and have entered the game, look at a
119
-
ground-level block and type…
124
+
ground-level block and type:
120
125
121
126
/js up().box( blocks.wool.black, 4, 9, 1 )
122
127
@@ -156,12 +161,12 @@ To get started writing your own mod, take a look at some of the
156
161
Because the SpigotMC API is open, all of the SpigotMC API is accessible
157
162
via javascript once the ScriptCraft plugin is loaded. There are a
158
163
couple of useful Java objects exposed via javascript in the
159
-
ScriptCraft plugin…
164
+
ScriptCraft plugin:
160
165
161
166
*`__plugin`– the ScriptCraft Plugin itself. This is a useful
162
167
starting point for accessing other SpigotMC objects. The `__plugin`
163
168
object is of type [org.bukkit.plugin.Plugin][api] and all
164
-
of its properties and methods are accessible. For example… `js
169
+
of its properties and methods are accessible. For example: `js
165
170
__plugin.name` returns the plugin's name
166
171
(JavaScript is more concise than the equivalent Java code:
167
172
`__plugin.getName()` ).
@@ -192,7 +197,7 @@ If you would like to contribute source code and/or documentation changes please
192
197
193
198
ScriptCraft works with Bukkit Plugin and uses the Bukkit Configuration
194
199
API. On first loading, ScriptCraft will create a config.yml file in
195
-
the plugins/scriptcraft/ directory. This file looks like this…
200
+
the plugins/scriptcraft/ directory. This file looks like this:
196
201
197
202
extract-js:
198
203
plugins: true
@@ -229,7 +234,7 @@ programs and how to do the same thing in JavaScript.
229
234
230
235
I highly recommend the series of [tutorials provided by CoderDojo Athenry][cda].
231
236
232
-
Developer Chris Cacciatore has created some interesting tools using ScriptCraft…
237
+
Developer Chris Cacciatore has created some interesting tools using ScriptCraft:
233
238
234
239
*[A wolf-bot][wb]
235
240
*[L-Systems (Large-scale fractal structures in Minecraft)][ls]
0 commit comments