-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1dfb650
commit 9c1fb69
Showing
5 changed files
with
63 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Configurations | ||
|
||
```markdown | ||
language: en_US | ||
|
||
services: | ||
Management: true | ||
|
||
data: | ||
database: | ||
type: h2 | ||
host: 127.0.0.1 | ||
port: 3306 | ||
|
||
username: "" | ||
password: "" | ||
db-name: "" | ||
``` | ||
|
||
<!-- Misc --> | ||
* **language** Console&In-Game language, see | ||
|
||
<!-- Services --> | ||
* **services** Configures service enable/disable | ||
|
||
<!-- Data --> | ||
* **data** | ||
* **database** | ||
* **type** Database type, use h2 to local file, mysql to MySQL Database | ||
* **host** Database host, should be ```127.0.0.1``` if you are using self-hosted database | ||
* **port** Database port, normally be ```3306``` | ||
* **username** Database username to login | ||
* **password** Database password to login | ||
* **db-name** Database name to use, must be created before if using MySQL database |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Locale | ||
|
||
## Supported | ||
|
||
- **en_US** English (US) | ||
- **zh_CN** Simplified Chinese |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,8 @@ | ||
* [Home](README.md) | ||
|
||
* [Configurations](Configurations.md) | ||
* [Locale](Locale.md) | ||
|
||
* [Management](management/README.md) | ||
|
||
* [Commands](management/Commands.md) |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
## /management help | ||
|
||
Show helps for ```/management``` command | ||
|
||
## /management query | ||
|
||
**Usage**: ```/management query <player>``` | ||
|
||
**argument "player"** Player name to use, allowed offline players |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Management | ||
|
||
## Permissions | ||
|
||
* **general.management** Master permission | ||
|
||
* **general.management.command** Permission for all commands in Management service |