ShopChest - Spigot/Bukkit Plugin
This fork of ShopChest intend to be updatable easily. It also adds some common features like barrel or shulker shops. It's still in progress and therefore, this repository has many branches. Most of them have very explicit name, but there is two things to know:
To download the plugin, see the Download section below.
Since 1.20.1, ShopChest use a new language system in order to avoid major changes at each minecraft release.
Note that it can break support for older version.
Although it uses a minecraft chat mechanic added in 1.8, it's part of the Bukkit API since February 13 of 2023.
Backward compatibility is possible but requires more work and will be provided only if requested in the issues section.
Previously, all messages were store in a single file called <locale>.lang
.
Now each language is made of two files:
messages-<locale>.lang
which contains ShopChest internal messages and which will likely never changeitems-<locale>.lang
which contains item translations used by holograms.The second one differs a bit from previously. As minecraft is constantly updated with new items, there is no point to provide it, it would be constantly outdated.
You may have some warnings if shops are loaded while the items file is empty.
(For example during the reload process).
It's perfectly fine, even if it says that you should report them, you can ignore it as long as the file is empty.
You may need to repeat this process at each minecraft update in order to be able to have the translations for the new items.
To use the API, you need to add the following repository and dependency in your maven project:
<repositories>
<repository>
<id>shopchest-repo</id>
<url>https://epicericee.github.io/ShopChest/maven/</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>de.epiceric</groupId>
<artifactId>ShopChest</artifactId>
<version>1.11.1</version>
<scope>provided</scope>
</dependency>
</dependencies>
You can find the javadoc here: https://epicericee.github.io/ShopChest/javadoc/
You need Maven with Github access and a jdk. If you don't know how to give Github access to maven, check this . If you don't know how to create a personal token, check this .
sh lib/install_local_depedencies.sh
to import local dependencies.mvn clean install
at the root of the project to build ShopChest artifact.After the build succeeded, the ShopChest.jar is found in the /plugin/target/
folder.
If you find any issues, please provide them in the Issues Section with a good description of how to reproduce it. If you get any error messages in the console, please also provide them.
You can download the recent builds in the release section. This resource/plugin can also be found on the official spigot page here, but as I don't own it, the most recent build there only supports Minecraft up to 1.16.