diff --git a/README.md b/README.md index cb1a594..b4dcf34 100644 --- a/README.md +++ b/README.md @@ -144,12 +144,12 @@ console.log(autoJsonResult); Viper ┃ Summer Sale at store.vipermc.net
► EOTW on Infernal is this Thursday at 5PM ET. */ -let textExample = {"text":"","extra":[{"text":"Hypixel Network ","extra":[{"text":"","extra":[{"text":"1.8/1.9/1.10/1.11/1.12 ","extra":[{"text":"","extra":[{"text":"NEW PTL GAME:","extra":[{"text":"","extra":[{"text":" THE BRIDGE","extra":[],"bold":true}],"color":"acqua"}],"bold":true}],"color":"yellow"}],"color":"red"}],"color":"gray"}],"color":"green"}]}; +let textExample = "§aHypixel Network §7§c1.8/1.9/1.10/1.11/1.12 §e§lNEW PTL GAME:§b§l THE BRIDGE"; let autoTextResult = motdParser.autoToHtml(textExample); console.log(autoTextResult); /* auto Text Result, callback HTML: -                  >>[Purple Prison]<<                         ;;;  NEW BLACK-MARKET » /BLACKMARKET  ;;; +Hypixel Network 1.8/1.9/1.10/1.11/1.12 NEW PTL GAME: THE BRIDGE */ ``` diff --git a/dist/motdParser.js b/dist/motdParser.js index 21237aa..be31551 100644 --- a/dist/motdParser.js +++ b/dist/motdParser.js @@ -1,6 +1,6 @@ "use strict"; /* - * minecraft motd parser v1.0.5 + * minecraft motd parser v1.0.8 * (c) 2021 Kevin Zheng * Released under the MIT license */ diff --git a/dist/types.js b/dist/types.js index 6eae6cb..677942c 100644 --- a/dist/types.js +++ b/dist/types.js @@ -1,6 +1,6 @@ "use strict"; /* - * minecraft motd parser v1.0.5 + * minecraft motd parser v1.0.8 * (c) 2021 Kevin Zheng * Released under the MIT license */ diff --git a/dist/utils.js b/dist/utils.js index 00ab944..c501a57 100644 --- a/dist/utils.js +++ b/dist/utils.js @@ -1,6 +1,6 @@ "use strict"; /* - * minecraft motd parser v1.0.5 + * minecraft motd parser v1.0.8 * (c) 2021 Kevin Zheng * Released under the MIT license */ diff --git a/package.json b/package.json index 3238039..11464f7 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@sfirew/mc-motd-parser", "description": "Minecraft Server MOTD Parser, can convert to html, json, text.", - "version": "1.0.7-readme-update", + "version": "1.0.8", "main": "./dist/index.js", "types": "./dist/index.d.ts", "license": "MIT", diff --git a/src/motdParser.ts b/src/motdParser.ts index 2a26a84..45c44ea 100644 --- a/src/motdParser.ts +++ b/src/motdParser.ts @@ -1,5 +1,5 @@ /* - * minecraft motd parser v1.0.7 + * minecraft motd parser v1.0.8 * (c) 2021 Kevin Zheng * Released under the MIT license */ diff --git a/src/types.ts b/src/types.ts index 158499b..f8e3015 100644 --- a/src/types.ts +++ b/src/types.ts @@ -1,5 +1,5 @@ /* - * minecraft motd parser v1.0.7 + * minecraft motd parser v1.0.8 * (c) 2021 Kevin Zheng * Released under the MIT license */ diff --git a/src/utils.ts b/src/utils.ts index cdd0026..98b9fed 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -1,5 +1,5 @@ /* - * minecraft motd parser v1.0.7 + * minecraft motd parser v1.0.8 * (c) 2021 Kevin Zheng * Released under the MIT license */