Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from whimc/adding-documentation
Adding documentation
- Loading branch information
Showing
7 changed files
with
214 additions
and
28 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 |
---|---|---|
@@ -1,10 +1,49 @@ | ||
# WHIMC-PositionTracker | ||
[![GitHub release (latest by date)](https://img.shields.io/github/v/release/whimc/Position-Tracker?label=download&logo=github)](https://github.com/whimc/Position-Tracker/releases/latest) | ||
|
||
Track player positions to a database | ||
PositionTracker is a Minecraft plugin that tracks player positions and stores them in an SQL database. | ||
|
||
--- | ||
|
||
## Building | ||
Build the source with Maven: | ||
``` | ||
$ mvn install | ||
``` | ||
``` | ||
|
||
--- | ||
|
||
## Configuration | ||
|
||
`debug` is a `boolean` that toggles debug messages in the console. | ||
|
||
### MySQL | ||
| Key | Type | Description | | ||
|------------------|-----------|---------------------------------| | ||
| `mysql.host` | `string` | The host of the database | | ||
| `mysql.port` | `integer` | The port of the database | | ||
| `mysql.database` | `string` | The name of the database to use | | ||
| `mysql.username` | `string` | Username for credentials | | ||
| `mysql.password` | `string` | Password for credentials | | ||
|
||
#### Example | ||
```yaml | ||
debug: false | ||
mysql: | ||
host: localhost | ||
port: 3306 | ||
database: minecraft | ||
username: user | ||
password: pass | ||
``` | ||
|
||
--- | ||
|
||
## Commands | ||
| Command | Description | | ||
|---------------------------|--------------------------------------| | ||
| `/positiontracker status` | Get the status of the tracker | | ||
| `/positiontracker debug` | Toggle the debug messages in console | | ||
| `/positiontracker start` | Start the tracker | | ||
| `/positiontracker stop` | Stop the tracker | | ||
|
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
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
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
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
Oops, something went wrong.