Skip to content

Commit

Permalink
Updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukasss93 committed Oct 7, 2018
1 parent dbd73a6 commit 93c4eb8
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ The `check()` method has 4 optional parameters:
5 | resolveSRV | bool | true | Resolve SRV record

#### Output
The `check()` method return an array with the following keys:
The `check()` method return an array with the following properties:

Key|Type|Description
---|----|------------
Expand All @@ -134,6 +134,14 @@ motd|string|Returns server description
map|string|Returns the server map name
plugins|array|Returns a list of installed plugins on the server

_You can use the following methods after_ `check()` _method:_

Method|Description
------|-----------
toArray()|Return the object properties as an array
getMotdToText()|Get the motd without the format codes
getMotdToHtml()|Get the motd as HTML

Changelog
---------
All notable changes to this project will be documented [here](https://github.com/Lukasss93/minecraft-server-status/blob/master/CHANGELOG.md).
Expand Down

0 comments on commit 93c4eb8

Please sign in to comment.