Commit Graph

19 Commits

Author SHA1 Message Date
Eric Biedert
f52be003ab ItemMeta of shop item should be applied + Remove Items with "shopItem" metadata on disable 2016-06-28 21:33:11 +02:00
Eric Biedert
67016787df Double Chests shouldn't be counted twice 2016-06-24 18:39:31 +02:00
Eric Biedert
04e63c6225 Prevent Zombies from picking up shop item 2016-06-24 14:53:20 +02:00
Eric
08286e6beb Added configurable language for everything and more
This can read the default minecraft language files, but in order to
translate the messages, you need to add the message section from the
en_US.lang.
Also, spawn eggs will work now, the title of music discs will be
displayed in the info sections and "tipped arrow effect" is now named
"potion effect" and is displayed also if the product is a potion,
splashed potion or a lingering potion (and of course tipped arrows).
The message configuration is no longer found in the config.yml file, but
has gone to the .lang file, so you need to reconfigure every message!
As the Jsoup library is no longer needed, the filesize of the final jar
shrunk quite a bit.
Maybe there are some more changes, which I already forgot.
2016-06-22 20:51:29 +02:00
Eric
8def855a43 Added 1.10 Support (1.10_R1) 2016-06-09 19:34:48 +02:00
Eric
77365f388c Changed method of adding and removing a shop
Well, I had to change quite a bit and hopefully this fixes the issue,
that shop items can be collected and that shops aren't saved or reloaded
correctly.
2016-06-03 17:58:53 +02:00
Eric
654fa260f4 Shortened SQLite/Database class
The method to get data of the database has changed completely so the
uses also had to be changed. The IDE also did some code reformatting,
but these are just very small changes.
2016-05-29 15:32:54 +02:00
Eric
ddebe5c594 Removed Infinite Shops
I don't see any sense, why infinite shops should exist. They are
basically the same as admin shops, except that money gets withdrawn from
the vendor for something he doesn't even get or money gets deposited to
the vendor for something that he sold, but didn't even have.
Also the  possibility to convert the database column 'infinite' to
'shoptype' has been removed, so server owners, who update from a version
below 1.7.1 first have to download a version below 1.8.0 to let the
resource convert the database columns.
2016-05-29 13:41:14 +02:00
Eric
543da0682b Automated code cleanup by IntelliJ IDEA
As I Switched from Eclipse to IntelliJ IDEA, I also had to add a few
entries to the .gitignore file.
2016-05-28 16:28:13 +02:00
Eric
04636a7b01 Added 1.9.4 Support (1.9_R2) 2016-05-11 18:53:34 +02:00
Eric
ecf48629e5 Added Admin Shops
Admin Shops are basically the same as infinite shops, but the vendor
won't get money and won't get a message if someone bought from or sold
to it.
As I rewrote the buy and sell methods, I also fixed a bug that you had
to pay even though you didn't have enough space in your inventory and
that the vendor had to pay even though his shop's inventory was full
2016-04-13 17:30:34 +02:00
Eric
103c96bc2f Added Support for 1.9 and fixed bugs
Fixes #2
2016-04-08 14:52:11 +02:00
Eric
66750cd570 Fixed Bugs & Added Hologram Format Configuration 2015-09-13 13:15:07 +02:00
Eric
207b249019 Fixed Bugs 2015-09-08 12:59:34 +02:00
Eric
ae756f43e7 Now saves shops to a SQLite Database 2015-09-06 11:58:25 +02:00
Eric
06e1d20576 Merged all versions of ShopChest to one jar file 2015-09-03 20:51:30 +02:00
Eric
9d3b1d7226 Fixed Trapped-Chest Shops 2015-09-03 13:43:40 +02:00
Eric
36bf9e8623 Disabled Item Merging 2015-09-03 12:12:33 +02:00
Eric
0cdcfb5cc6 Commit Default Files 2015-09-02 13:41:34 +02:00