removed cofffee from plugin.yml and fixed link in README.md

This commit is contained in:
walterhiggins 2013-12-31 08:47:28 +00:00
parent ab2b26dace
commit fba374d00e
2 changed files with 14 additions and 16 deletions

View file

@ -8,13 +8,15 @@ installed, you can add your own new Mods by adding Javascript (.js)
files in a directory. files in a directory.
* If you're new to programming and want to start modding Minecraft, then [Start Here][ypgpm]. * If you're new to programming and want to start modding Minecraft, then [Start Here][ypgpm].
* If you've already used [Scratch][scr], have attended a few [CoderDojo][cd] sessions, or have already dabbled with Javascript, then [Start Here][cda]. * If you've already used [Scratch][scr], have attended a few
[CoderDojo][cd] sessions, or have already dabbled with Javascript,
then [Start Here][cda].
* Watch some [demos][ytpl] of what you can do with ScriptCraft. * Watch some [demos][ytpl] of what you can do with ScriptCraft.
# Description # Description
ScriptCraft is a plugin for Minecraft Servers which lets ScriptCraft is a plugin for Minecraft Servers which lets operators,
operators, administrators and plug-in authors customize the game using administrators and plug-in authors customize the game using
Javascript. ScriptCraft makes it easier to create your own mods. Mods Javascript. ScriptCraft makes it easier to create your own mods. Mods
can be written in Javscript and can 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 ScriptCraft mod also lets you enter javascript commands at the in-game
@ -88,10 +90,9 @@ simplest mod to get started with.
Additional information Additional information
====================== ======================
Because the Bukkit API is open, all of the Bukkit API is accessible Because the Bukkit API is open, all of the Bukkit API is accessible
via javascript once the ScriptCraft plugin is loaded. For example, in via javascript once the ScriptCraft plugin is loaded. There are a
addition to the functions provided in the MCP version of ScriptCraft, couple of useful Java objects exposed via javascript in the Bukkit
there are a couple of useful Java objects exposed via javascript in ScriptCraft plugin...
the Bukkit ScriptCraft plugin...
* `__plugin` - the ScriptCraft Plugin itself. This is a useful * `__plugin` - the ScriptCraft Plugin itself. This is a useful
starting point for accessing other Bukkit objects. The `__plugin` starting point for accessing other Bukkit objects. The `__plugin`
@ -100,11 +101,13 @@ the Bukkit ScriptCraft plugin...
__plugin.server.motd` returns the server's message of the day __plugin.server.motd` returns the server's message of the day
(javascript is more concise than the equivalent java code: (javascript is more concise than the equivalent java code:
__plugin.getServer().getMotd() ). __plugin.getServer().getMotd() ).
* `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. * `server` - The top-level org.bukkit.Server object. See the [Bukkit API docs][bukapi] for reference.
* `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.
[dl]: http://scriptcraftjs.org/download [dl]: http://scriptcraftjs.org/download
[api]: http://jd.bukkit.org/apidocs/org/bukkit/plugin/java/JavaPlugin.html [api]: http://jd.bukkit.org/apidocs/org/bukkit/plugin/java/JavaPlugin.html
[ib]: http://wiki.bukkit.org/Setting_up_a_server [ib]: http://wiki.bukkit.org/Setting_up_a_server
@ -126,7 +129,7 @@ You can find more information about [ScriptCraft on my blog][blog].
[buk]: https://github.com/walterhiggins/ScriptCraft/blob/master/bukkit.md [buk]: https://github.com/walterhiggins/ScriptCraft/blob/master/bukkit.md
[yp]: docs/YoungPersonsGuideToProgrammingMinecraft.md [yp]: docs/YoungPersonsGuideToProgrammingMinecraft.md
[mm]: http://walterhiggins.net/blog/ScriptCraft-1-Month-later [mm]: http://walterhiggins.net/blog/ScriptCraft-1-Month-later
[api]: https://github.com/walterhiggins/ScriptCraft/blob/master/docs/api.md [api]: https://github.com/walterhiggins/ScriptCraft/blob/master/docs/API-Reference.md
[website]: http://scriptcraftjs.org/ [website]: http://scriptcraftjs.org/
[ypgpm]: docs/YoungPersonsGuideToProgrammingMinecraft.md [ypgpm]: docs/YoungPersonsGuideToProgrammingMinecraft.md
[cd]: http://coderdojo.com/ [cd]: http://coderdojo.com/

View file

@ -12,11 +12,6 @@ commands:
usage: /<command> command-name command-parameters usage: /<command> command-name command-parameters
permission: scriptcraft.proxy permission: scriptcraft.proxy
permission-message: You don't have <permission> permission. permission-message: You don't have <permission> permission.
coffee:
description: Evaluate coffeescript.
usage: /<command> Coffeescript code
permission: scriptcraft.evaluate
permission-message: You don't have <permission> permission.
permissions: permissions:
scriptcraft.*: scriptcraft.*: