Go to file
ChimneySwift 269ebdef93 Avoid attempting to access unloaded chunks 2020-12-26 01:14:42 +10:00
.github Updated the issue template. 2018-09-12 19:55:27 +02:00
.mvn/wrapper Added maven wrapper and jitpack config. 2020-08-31 19:04:42 +02:00
modules Prepared next version. 2020-11-03 22:38:41 +01:00
src Avoid attempting to access unloaded chunks 2020-12-26 01:14:42 +10:00
.classpath Further attempt to resolve some Eclipse issue. 2019-08-20 04:26:04 +02:00
.gitignore Changed how items are getting defined in the config. 2019-08-18 04:51:49 +02:00
.project Move base dependencies up, so the project will build in eclipse. 2013-12-04 12:48:11 +01:00
.travis.yml Added installSpigotDependencies script. 2020-08-31 23:37:08 +02:00
CHANGELOG.md Major refactoring related to how the config and language files are loaded. 2020-11-28 01:27:11 +01:00
CONTRIBUTING.md Create CONTRIBUTING.md 2017-10-23 16:36:52 +02:00
LICENSE Initial commit 2013-12-02 09:01:27 -08:00
README.md Updated readme. 2020-09-01 00:44:00 +02:00
TODO.txt The TODO file is slightly outdated. 2020-07-22 01:39:27 +02:00
Update-Checklist.md Updated changelog and update-checklist. 2020-08-31 23:55:48 +02:00
VERSIONING.md Added VERSIONING.md 2018-05-21 23:35:39 +02:00
installSpigot.sh Update Spigot build script to latest BuildTools changes. 2019-12-27 06:26:44 +01:00
installSpigotDependencies.sh Version 2.12.0 2020-11-03 22:37:52 +01:00
jitpack.yml Added installSpigotDependencies script. 2020-08-31 23:37:08 +02:00
mvnw Made scripts executable. 2020-08-31 23:38:14 +02:00
mvnw.cmd Made scripts executable. 2020-08-31 23:38:14 +02:00
pom.xml Version 2.12.0 2020-11-03 22:37:52 +01:00

README.md

Shopkeepers logo

Shopkeepers Build Status

Shopkeepers is a Bukkit plugin which allows you to set up custom villager shopkeepers that sell exactly what you want them to sell and for what price. You can set up admin shops, which have infinite supply, and you can also set up player shops, which pull supply from a container.

BukkitDev Page: https://dev.bukkit.org/projects/shopkeepers
Wiki: https://github.com/Shopkeepers/Shopkeepers-Wiki/wiki
Translations : https://github.com/Shopkeepers/Translations/
Issue Tracker: https://github.com/Shopkeepers/Shopkeepers/issues
Discord Server: https://discord.gg/d9NKd5z
Source code: https://github.com/Shopkeepers/Shopkeepers/

Maven repository for releases: https://nexus.lichtspiele.org/repository/releases/
Maven repository for dev builds (snapshots): https://nexus.lichtspiele.org/repository/snapshots/

If the above Maven repository is not available, you can also use Jitpack: https://jitpack.io/#Shopkeepers/Shopkeepers/
Maven Jitpack snapshots: https://jitpack.io/#Shopkeepers/Shopkeepers/master-SNAPSHOT

Pull Requests & Contributing

See Contributing

Build with Maven

This is the recommended and easy way to compile the plugin yourself and/or help to contribute to it.
Just check out the project to your machine and import it in Eclipse with Import > Maven > Existing Maven Project.
Then make sure that you have all Spigot and CraftBukkit dependencies installed in your local Maven repository. The simplest way to do this is to run the included ./installSpigotDependencies.sh script.
Afterwards just right click the imported project and select Run As > Maven install.

Build without Maven

If you really want to do it the old school way, you're free to import the project in Eclipse with Import > General > Existing Project into Workspace. You'll find that the project will instantly show some errors because it's missing its dependencies. You also need to make sure that you'll include the provided modules (NMSHandlers).

Here's how you do that:

  • After importing the project right click on it and select Properties
  • Under Java Build Path > Source click on Add Folder... and add all provided modules:
    • modules/v1_6_R3/src/main/java
    • modules/v1_7_R1/src/main/java
    • ...
  • Under Java Build Path > Library click on Add External JARs... and add the needed Spigot.jar files for the modules above. Information on how to get them: https://www.spigotmc.org/wiki/spigot/
  • After that you can create the plugin for example by right-clicking the project and selecting Export > Java > JAR file or another recommended way.