We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2438330 + 326e7fd commit 6d94df0Copy full SHA for 6d94df0
README.md
@@ -5,6 +5,7 @@ Put this plugin in your mods folder.
5
6
### Usage
7
8
+1. Assigning admin command(s) at Runtime
9
```java
10
// Find the mod
11
LoadedMod mod = (LoadedMod)Vars.mods.list().find((m) -> {
@@ -24,3 +25,7 @@ if (mod != null) {
24
25
}
26
27
```
28
+
29
+2. Assigning admin command(s) before running the server
30
+Add the commands into the JSON config file which has the same name as the plugin.
31
+E.g. `{"adminCommands":["team"]}`
0 commit comments