package
0.0.0-20221022110327-1279de1ca421
Repository: https://github.com/df-mc/plots.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

LookupHandler looks up the PlayerHandler of a player.Player passed.
NewGenerator returns a new plot Generator with the Settings passed.
NewPlayerHandler creates a new PlayerHandler for the player.Player passed.
NewWorldHandler returns a new WorldHandler instance using the world.World and Settings passed.
OpenDB opens the directory passed as a leveldb database for plots.
PosFromBlockPos returns a Position that reflects the position of the plot present at that position.
Within checks if a cube.Pos is within the minimum and maximum cube.Pos passed.

# Constants

RoadHeight is a rough Y position of the height of the road where a player can be safely teleported.

# Structs

DB handles access to the plots leveldb database.
Generator implements a generator for a plot world.
PlayerHandler handles events of a player.Player.
Plot represents a plot in the world.
Settings holds the settings for a plot Generator.
WorldHandler handles events of the world.World, making sure liquids don't spread out of plots.

# Type aliases

Position represents the position of a plot.