@xmcl/gamesetting
v3.0.2
Published
Parse Minecraft gamesetting (options.txt) with type.
Downloads
51
Maintainers
Readme
Gamesetting Module
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);