Skip to content

Latest commit

 

History

History

gamesetting

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

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);