Created
November 16, 2011 10:53
-
-
Save xZise/1369808 to your computer and use it in GitHub Desktop.
Example methods configuration file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function name(player, event, parameters) { | |
| return player.getName(); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| script: | |
| nm-file: | |
| engine: javascript | |
| parameters: #by default: [0, -1] | |
| - 0 | |
| recursive: false #by default: true | |
| method: name #by default: call | |
| file: plugins/Login Message/example.js | |
| nm-inline: | |
| engine: javascript | |
| parameters: | |
| - 0 | |
| recursive: false | |
| method: call | |
| code: | | |
| function call(player, event, parameters) { | |
| return player.getName(); | |
| } | |
| alias: | |
| ol: | |
| calls: "onlist($0;,$1;)" | |
| parameters: 2 | |
| redirect: | |
| ifeq: | |
| calls: ifequals | |
| parameters: | |
| - 3 | |
| - 4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment