Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

minecraft-server-properties

strugee110MIT1.0.0

Parse and stringify the Minecraft server.properties file format

minecraft, server, properties, parse, stringify

readme

node-minecraft-server-properties

Build Status Coverage Status

An API for parsing and stringifying the Minecraft server.properties file format

Installation

npm install --save minecraft-server-properties

Usage

var properties = require("minecraft-server-properties");

properties.parse(input)

  • input: String The contents of a server.properties file
  • RETURNS: Object Hash of properties

properties.stringify(input)

  • input: Object Hash of properties
  • RETURNS: String String to be written as a server.properties file

Developers

Install dependencies

npm install

Run tests

npm test

Submit patches as Github PRs

Authors

Written by Dominic Barnes dominic@dbarnes.info, now maintained by AJ Jordan alex@strugee.net

License

MIT license

changelog