Glowstone specific code, in particular server start/stop logic. Kept separate to allow using the Witchcraft API in non-Glowstone Bukkit-compatible servers.
Glowstone specific code, in particular server start/stop logic. Kept separate to allow using the Witchcraft API in non-Glowstone Bukkit-compatible servers.
(chunk-manager)
(chunk-manager world)
Get the world's chunk manager
Get the world's chunk manager
(create-server config)
Create a new GlowServer based on a config
This also sets the static worldConfig field via reflection. When creating a
server directly like this (instead of via createFromArguments
) this
otherwise doesn't get set.
Create a new GlowServer based on a config This also sets the static worldConfig field via reflection. When creating a server directly like this (instead of via `createFromArguments`) this otherwise doesn't get set.
(init-registrations!)
Perform some internal wiring for Glowstone. This populates several global (static) registries
Perform some internal wiring for Glowstone. This populates several global (static) registries
(plugin-manager)
Get the Bukkit plugin manager
Get the Bukkit plugin manager
(reset-globals!)
Glowstone and Bukkit keep tons of globals, do our best to unset/reset them so it's possible to restart a server without restarting the process.
Glowstone and Bukkit keep tons of globals, do our best to unset/reset them so it's possible to restart a server without restarting the process.
(server)
Get the currently active server.
Get the currently active server.
These also have their direction in the lower two bits, but the values differ
These also have their direction in the lower two bits, but the values differ
(start!)
(start! opts)
Start a server, optionally provided with a map of config options. See [[lambdaisland.witchcraft.config/key-values]]
Start a server, optionally provided with a map of config options. See [[lambdaisland.witchcraft.config/key-values]]
(storage)
(storage world)
Get the world's storage
Get the world's storage
These have their direction as the lower two bits of their data value
These have their direction as the lower two bits of their data value
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close