Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 1.04 KB

File metadata and controls

22 lines (16 loc) · 1.04 KB

Gamesetting Module

npm version Downloads Install size npm Build Status

Provide function to parse Minecraft game settings

Usage

Parse GameSetting (options.txt)

Serialize/Deserialize the minecraft game setting string.

import { GameSetting } from '@xmcl/gamesetting'
const settingString;
const setting: GameSetting = GameSetting.parse(settingString);
const string: string = GameSetting.stringify(setting);