Directory for bukkit-specific scripts - best to organize plugins/scripts in different directories

This commit is contained in:
walterhiggins 2013-01-06 19:59:35 +00:00
parent 42dec77d85
commit e597649db5
2 changed files with 36 additions and 0 deletions

View file

@ -0,0 +1,18 @@
//
// files in this folder only work with CraftBukkit servers
//
// This example script shows how the special 'self' variable can be used
// to get information about the current player.
//
// Usage:
// In minecraft, press the / key to display the in-game command prompt
// type the following...
//
// /js cb_hello()
//
// ... and the game will print "Hello <minecraft user name>"
//
function cb_hello()
{
print("Hello " + self.name);
}

View file

@ -0,0 +1,18 @@
//
// files in this folder only work with CraftBukkit servers
//
// This example script shows how the special 'self' variable can be used
// to get information about the current player.
//
// Usage:
// In minecraft, press the / key to display the in-game command prompt
// type the following...
//
// /js cb_hello()
//
// ... and the game will print "Hello <minecraft user name>"
//
function cb_hello()
{
print("Hello " + self.name);
}