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
Copy file name to clipboardExpand all lines: getting-started.md
+14-14Lines changed: 14 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,12 +31,12 @@ Basic **Lua** knowledge is an obvious prerequisite, but it should be relatively
31
31
32
32
### Creating Scripts
33
33
There are a couple of things to keep in mind when using LuaLink.
34
-
-Script life-cycle can be managed using `/lualink load`, `/lualink unload` and `/lualink reload` commands.
35
-
<sup>More on this can be found on the **[Commands](commands.md)** page.</sup>
36
-
-Each script is stored in a separate folder inside the `plugins/LuaLink/scripts` directory, and libraries are stored in the `plugins/LuaLink/libs` directory.
37
-
<sup>More about libraries can be found on the **[Libraries](libraries.md)** page.</sup>
38
-
- Entry point of the script (or library) is a file named `main.lua`.
39
-
<sup>More files can be created and loaded using the `require` keyword.</sup>
34
+
-Each script is stored in a separate folder inside the `plugins/LuaLink/scripts` directory.
35
+
<sup>For example `/plugins/LuaLink/scripts/example/main.lua` will be loaded as `example` script.</sup>
36
+
-Script life-cycle can be managed using `/lualink` command.
37
+
<sup>Full command reference is available on the **[Commands](commands.md)** page.</sup>
38
+
- Entry point of the script is a file named `main.lua`.
39
+
<sup>More files can be imported using the `require` keyword.</sup>
40
40
41
41
<br />
42
42
@@ -132,7 +132,7 @@ end, {
132
132
aliases= {"e", "print"},
133
133
permission="scripts.command.echo",
134
134
description="Prints specified message to the sender.",
135
-
usage="/echo [player]",
135
+
usage="/echo [message]",
136
136
tabComplete=onTabComplete
137
137
})
138
138
```
@@ -143,7 +143,7 @@ end, {
143
143
Bukkit events can be hooked into relatively easily.
0 commit comments