commit | 62590b77810c8ba0c3fc1d02c5aa2f8bd2dcab50 | [log] [download] |
---|---|---|
author | Tad Hardesty <tad@platymuus.com> | Fri Sep 19 00:33:26 2014 -0500 |
committer | Tad Hardesty <tad@platymuus.com> | Fri Sep 19 01:49:56 2014 -0500 |
tree | c04f7a18a0c8a7851cd05a96ad6b63510ee279a6 | |
parent | 64345cd599313dfcdfc3db39d893658eed560ee8 [diff] |
Added checkstyle and fixed code to obey it (thanks @meggawatts).
Glowstone is a lightweight, from scratch, open source Minecraft server written in Java that supports plugins written for the Bukkit API.
The main goals of the project are to provide a lightweight implementation of the Bukkit API and Minecraft server where exact vanilla functionality is not needed or higher performance is desired than the official software can deliver. Glowstone makes use of a thread-per-world model and performs synchronization only when necessitated by the Bukkit API.
Glowstone has a few key advantages over CraftBukkit:
However, there are several drawbacks:
#glowstone
.org.bukkit.craftbukkit
or net.minecraft.server
packages) will not work on Glowstone unless they are designed to fail gracefully.Some of the key features that have been implemented are:
Glowstone can be built with the Java Development Kit and Gradle. The command gradlew
will build Glowstone and put the final jar in build/distributions/
. Other tasks are listed under gradlew tasks
. A local installation of Gradle can be used instead if desired.
Running Glowstone is simple because its dependencies are shaded into the output jar at compile time. Simply execute java -jar glowstone.jar
along with any extra JVM options desired.
By default, configuration is stored in the config/
subdirectory and logs are stored in the logs/
subdirectory. The main configuration file is config/glowstone.yml
, which replaces CraftBukkit‘s server.properties
and bukkit.yml
. Settings from these two files will be copied over to Glowstone’s configuration during the default configuration generation process.
Glowstone uses JLine for console input and colored console output. The JLine console can be disabled in the configuration if a flat console is desired.
All support inquiries should be directed to the IRC channel #glowstone
on EsperNet (irc.esper.net
). You can access that using the button below.
User and contributor documentation and other articles can be found on the GitHub wiki. Javadocs can be generated by using the gradle javadoc
command and are placed in the build/docs/javadoc/
directory, but these are incomplete in some places and in general the code is the best reference.
For documentation on the Bukkit API (which is used to write plugins), see the Bukkit Javadocs.
#mcdevs
- protocol and file formats research.Glowstone is open-source software released under the MIT license. Please see the LICENSE
file for details.