Commit Graph

405 Commits

Author SHA1 Message Date
Eric
5039cef665 Update README.md 2016-08-05 15:33:42 +02:00
Eric
57af99da1b Now using reflection instead of different modules
This commit also fixes spawn eggs on 1.8.x
2016-08-05 15:26:47 +02:00
Eric
e8ab8e33c3 Added a few debug messages 2016-08-05 12:46:41 +02:00
Eric
76ea273ad6 Changed way of checking if chests are protected
If another plugin cancelled the PlayerInteractEvent before ShopChest, the player is not permitted to create a shop on the clicked chest. The dependency of 'Lockette' is no longer needed. It might occur that a plugin, which is not used for protections, cancels the PlayerInteractEvent so a shop cannot be created.

This closes #14
2016-08-04 21:17:23 +02:00
Eric
7dcd61a56a Fixed typo in debug message when a player reloads the shops 2016-08-04 21:17:23 +02:00
Eric
6c38c74e54 Removed bukkit dependency
The same classes are also found in the spigot-api
2016-08-04 21:17:22 +02:00
Eric
ec62d3593f Prevent players from fishing shop items 2016-08-04 21:17:02 +02:00
Eric
ee90215dd6 Changed version to 1.9.1 2016-08-03 16:32:33 +02:00
Eric
fc9500bce3 Updated vault repository 2016-08-03 16:32:32 +02:00
Eric
da025ab7c8 Shop limit "-1" should be displayed as "∞" 2016-08-03 16:30:02 +02:00
Eric
67c87cef90 Fixed link in update checker 2016-08-03 16:13:15 +02:00
Eric
6ea6f155fd Added debug log (in file)
- Added debug log (configurable)
- Added "message.noPermission.create-protected"
- A bit code cleanup
- Renamed "Commands" to "ShopCommand"
2016-08-03 16:11:25 +02:00
Eric
05cd2eeb4e Players can now sell broken items if configured
To automatically reconnect to the MySQL server, ShopChest is now using a much simpler way: Just added the attribute "autoReconnect=true" to the end of the link, instead of using a configurable value of reconnect attempts.
2016-08-02 13:23:47 +02:00
Eric
e522746eeb Fixed Potion Shops on 1.8.x 2016-07-30 17:44:47 +02:00
Eric
eaa2f056eb LICENSE should be a .txt file 2016-07-19 17:49:26 +02:00
Eric
1c126e13f7 Create LICENSE 2016-07-19 17:48:59 +02:00
Eric
70ca3fe3c8 Update README.md 2016-07-15 21:25:05 +02:00
Eric
85b368d710 Update README.md 2016-07-14 17:15:01 +02:00
Eric
c2ea1fb076 Changed versions to 1.9.0.1 2016-07-14 16:35:00 +02:00
Eric
a453d96f86 Fixed holograms not being shown on some chests 2016-07-14 16:16:50 +02:00
Eric
e2828aaae8 Remove version from final jar name 2016-07-13 16:40:19 +02:00
Eric
330b671cfe Fixed javadoc of ShopReloadEvent 2016-07-13 16:19:18 +02:00
Eric
5ac136ffcc Improved handling with shops that got errors when loading
An exception will now be thrown, when there's no space above the chest (only if items should be shown).
Holograms now won't be shown to the player if the shop has no chest, but the shop will get removed.
2016-07-13 15:53:50 +02:00
Eric
802e3585b8 Hardcoded reloaded message in reload timer 2016-07-13 15:05:50 +02:00
Eric
dc40e30301 ShopUtils no longer contains static methods 2016-07-13 15:03:54 +02:00
Eric
225c59c2ea Added reload-timer (can be configured) 2016-07-13 14:34:09 +02:00
Eric
1d22e28954 Added configuration values
You can now set whether a shop should be removed from the database if an error occurred when loading it, and you can set whether the floating shop item should be shown/enabled.
2016-07-13 14:05:56 +02:00
Eric
47414009bf Change configuration values per command
This will probably be a bit buggy, so I recommend to keep editing the file manually. Also, all of the comments in the config.yml will get deleted after using the command!
This closes #10.
2016-07-08 16:56:55 +02:00
Eric
34468ef623 Changed version to 1.9.0
There will be some more changes, so the update is coming soon...
Also, the properties in the plugin.yml are now extracted from the pom.xml
2016-07-06 21:59:42 +02:00
Eric
77f2476a70 Added javadoc for events 2016-07-06 21:34:08 +02:00
Eric
99ab436346 Changed commit message of maven artifact updater 2016-07-06 21:13:08 +02:00
Eric
b817bf61ea Automatically build and deploy javadoc jars 2016-07-06 21:06:57 +02:00
Eric
fbbe519381 Remove craftbukkit dependency in 'ShopChest' artifact 2016-07-06 21:06:14 +02:00
Eric
3a7e96f88d Assign type in ShopBuySellEvent 2016-07-06 20:52:10 +02:00
Eric
14d23c2d57 Removed broadcast message
This was never really used...
Also, in the API, you can now get the player of the ShopPreInfoEvent
2016-07-06 17:05:30 +02:00
Eric
0b3f45ccd1 Added Events for new API
Javadoc will be added later
2016-07-05 18:41:31 +02:00
Eric
3a50a20bf4 Automatically update maven repository 2016-07-05 15:08:44 +02:00
Eric
0772c15035 Merge branch 'master' of https://github.com/EpicEricEE/ShopChest 2016-07-04 22:11:37 +02:00
Eric
e98dc6d8a7 Added javadoc aggregate plugin 2016-07-04 22:11:05 +02:00
Eric
7e87514158 Added javadoc link to README.md 2016-07-04 19:40:32 +02:00
Eric
6608854377 Update README.md 2016-07-04 17:44:18 +02:00
Eric
031f0f99bc Updated VaultAPI to 1.6 2016-07-03 21:14:41 +02:00
Eric
16edefd313 Fixed main class in plugin.yml 2016-07-03 21:10:23 +02:00
Eric
54a1b637c6 Converted ShopChest to Maven Project 2016-07-03 20:59:29 +02:00
Eric
dae00a2013 Updated Javadoc 2016-07-02 14:22:47 +02:00
Eric
8b736da181 Prevent liquids from washing shop items away 2016-07-01 17:09:49 +02:00
Eric
582cc76c83 Add player head item name 2016-07-01 16:43:55 +02:00
Eric
c975437b66 Fix 1.9 Item names being loaded in 1.8 2016-07-01 16:15:12 +02:00
Eric
8bef79d47f Prevent blocks from being placed or pushed above the chest
Fixes #6
2016-07-01 16:13:44 +02:00
Eric
57c6955d6a Creation price should only be withdrawn if the shop is created successfully 2016-07-01 14:33:13 +02:00