Skip to content

Commit 6d94df0

Browse files
(G_H)(G_H)
authored andcommitted
Merge remote-tracking branch 'github/master'
2 parents 2438330 + 326e7fd commit 6d94df0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Put this plugin in your mods folder.
55

66
### Usage
77

8+
1. Assigning admin command(s) at Runtime
89
```java
910
// Find the mod
1011
LoadedMod mod = (LoadedMod)Vars.mods.list().find((m) -> {
@@ -24,3 +25,7 @@ if (mod != null) {
2425
}
2526
}
2627
```
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

Comments
 (0)