With ChestShopLogger you can log all your ChestShops into a MySQL database. The transaction data, if someone buys oder sells something in a shop, is also logged into the database. You can use this data for your own plugins or for a web interface, for example. Features Log each ChestShop into the database Log transactions into the database Delete logged ChestShops (and the related transactions), after they were removed from.
Credits to @ColorizedMind for his work on the plugin and the permission to continue maintaining it.
- Log each ChestShop into the database
- Log transactions into the database
- Delete logged ChestShops (and the related transactions), after they were removed from the map
- Make sure, that the ChestShop plugin is running on your server
- Upload the plugin files into your plugins directory
- Restart your server / load the plugin
- Enter your MySQL access data into the
config.yml
- Restart your server / reload the plugin
- Recreate every ChestShop to initialize them
Permission | Purpose | Default |
---|---|---|
chestshoplogger.tp |
Allows a player to teleport to a specific shop | none |
chestshoplogger.coords |
Allows a player to view the shop coords | none |
chestshoplogger.find |
Allows a player to search for shops | none |
general:
metrics: true
database:
host: localhost
port: 3306
user: new_chestshop
password: y5y13fxsWCcNzV
database: new_chestshop
tableVersion: 2
- Clone this repository:
git clone https://github.com/yeahwhat-mc/ChestShopLogger
- Download the latest ChestShop
.jar
via Bukkit and save it asChestShop.jar
in this project folder: http://dev.bukkit.org/bukkit-plugins/chestshop/files/ - Run the
install_dependency_to_repo.sh
script:
$ ./install_dependency_to_repo.sh
[Dependency installer]
What is your dependency\'s file name? ChestShop.jar
What is your dependency\'s group ID? com.acrobot.chestshop
What is your dependency\'s artifact ID? chestshop
What is your dependency\'s version? 3.8.9
- Run maven to compile the Java executable:
mvn clean install
- Fork it
- Create your feature branch:
git checkout -b feature/my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin feature/my-new-feature
- Submit a pull request
- JDK 1.6
- Maven
- Bukkit/Spigot
0.1.8