Update README.md
This commit is contained in:
parent
e52b665583
commit
ca46607a47
1 changed files with 6 additions and 4 deletions
|
@ -14,9 +14,11 @@ files in a directory.
|
|||
|
||||
This is a simple mod in a file called greet.js in the scriptcraft/plugins directory...
|
||||
|
||||
exports.greet = function( player ) {
|
||||
player.sendMessage('Hello ' + player.name );
|
||||
};
|
||||
```javascript
|
||||
exports.greet = function( player ) {
|
||||
player.sendMessage('Hello ' + player.name );
|
||||
};
|
||||
```
|
||||
|
||||
At the in-game prompt, type...
|
||||
|
||||
|
|
Reference in a new issue