minecraft-server-properties

Parse and stringify the Minecraft server.properties file format

Usage no npm install needed!

<script type="module">
  import minecraftServerProperties from 'https://cdn.skypack.dev/minecraft-server-properties';
</script>

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