Skip to content

Commit

Permalink
Update to current code status
Browse files Browse the repository at this point in the history
  • Loading branch information
zyklone4096 committed Nov 26, 2023
1 parent 1dfb650 commit 9c1fb69
Show file tree
Hide file tree
Showing 5 changed files with 63 additions and 0 deletions.
34 changes: 34 additions & 0 deletions docs/Configurations.md
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
6 changes: 6 additions & 0 deletions docs/Locale.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Locale

## Supported

- **en_US** English (US)
- **zh_CN** Simplified Chinese
7 changes: 7 additions & 0 deletions docs/_sidebar.md
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)
9 changes: 9 additions & 0 deletions docs/management/Commands.md
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
7 changes: 7 additions & 0 deletions docs/management/README.md
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

0 comments on commit 9c1fb69

Please sign in to comment.