Skip to content

insanj/mayor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

34 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

mayor

🐘 turn villagers into powerful city builders


Building

Mayor was not built using Eclipse or any other IDE. Although you can use one, the instructions below are for building and running this plugin with only the command line and a few easy to understand tools.

Requirements

Tools

NOTE: Make sure the Java version on your server and the Java version on the machine that builds Mayor are the same, otherwise Bukkit/Spitgot will not allow it to run.

JARs

NOTE: These files are expected in a folder called external that you should create within the repo after cloning. In addition, the spigot.jar will be used to launch a server in an expected server directory. Both these features are easy to understand and configure within the makefile.

Commands

make plugin

  • cleans build/
  • compiles the plugin/ directory
  • builds a .jar
  • moves it into server/plugins/ for use in the Spigot/Bukkit server

make server

  • launches the server

Thanks

A lot of important work parsing and building structures from .schematic/NBT files was made possible by open source contributors on Bukkit and Spigot forums. In particular:

Authors

(c) 2019 Julian Weiss. insanj.com

License

See LICENSE. (c) 2019 Julian Weiss.