From 93c4eb8c94f9cffa268e842aa9761b4e7d2651f5 Mon Sep 17 00:00:00 2001 From: Luca Patera Date: Sun, 7 Oct 2018 02:59:40 +0200 Subject: [PATCH] Updated readme --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b734eb5..db67470 100644 --- a/README.md +++ b/README.md @@ -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 ---|----|------------ @@ -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).