Commit Graph

394 Commits

Author SHA1 Message Date
Eric
35e09ea44c Changed default language to en_US 2016-06-23 19:52:31 +02:00
Eric
a603f59140 Update de_DE.lang 2016-06-23 13:03:23 +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
77d474fb03 Fix Item Names for Heads and Colored Banners 2016-06-22 20:51:29 +02:00
Eric
b313f4ae80 Update README.md 2016-06-11 12:35:33 +02:00
Eric
9a8b911fa6 Changed version to 1.8.0 2016-06-09 21:36:49 +02:00
Eric
22a1876d6e Renamed some Items 2016-06-09 21:35:51 +02:00
Eric
5cd630e664 Removed currency-symbol value in config.yml 2016-06-09 21:01:01 +02:00
Eric
e5ed1918ad Ensure that all shop item get removed on disable 2016-06-09 20:34:10 +02:00
Eric
9a37efd49e Fixed explosion protection 2016-06-09 19:46:40 +02:00
Eric
479bf49286 Creator of an admin shop shouldn't need enough money to let players sell 2016-06-09 19:39:00 +02:00
Eric
8def855a43 Added 1.10 Support (1.10_R1) 2016-06-09 19:34:48 +02:00
Eric
8a08dcb059 Changed version to 1.8.0-SNAPSHOT-3 2016-06-08 21:30:18 +02:00
Eric
260bc8f594 Format Prices with Vault
ShopChest will now use the currency symbol specified in the configuration of the economy plugin.
2016-06-08 16:28:47 +02:00
Eric
01886ca88a Fix money transfers on sales 2016-06-08 16:17:33 +02:00
Eric
18457357ba Hide vendor and in-stock in info message if Admin Shop 2016-06-08 16:08:49 +02:00
Eric
f155b67f4c Players should be able to open their sell-only shops
Also, they should be able to open shops even when they don't have permission to buy something
2016-06-08 16:06:36 +02:00
Eric
1666051eb8 Display '∞' instead of '-1' in the shop limits message 2016-06-05 18:53:46 +02:00
Eric
b423fbd98b Shops created at double chests will be saved now 2016-06-05 18:46:14 +02:00
Eric
4484bb0259 Changed version to 1.8.0-SNAPSHOT-2 2016-06-03 18:21:57 +02:00
Eric
e1aaa34c92 Better display prices
Examples:
- "3$" instead of "3.0$"
- "3.50$" instead of "3.5$"
2016-06-03 18:20:55 +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
e2e034bcc8 Added shop creation costs (configurable) 2016-06-03 16:28:44 +02:00
Eric
ce2c812b27 Added Graph "Database Type" to Statistics Page
Statistics Page: http://mcstats.org/plugin/ShopChest
2016-06-03 15:03:38 +02:00
Eric
3ff0b4c556 Changed the way LWC is loaded (if available) 2016-06-03 14:42:48 +02:00
Eric
380705fe29 Fixed update-available message not displayed correctly in console 2016-06-03 14:30:42 +02:00
Eric
969c0ad084 Remove plugin libraries' jar files
I don't know if this was allowed at all... 😁
To compile the resource yourself, you still need to download all of
these.
2016-06-02 20:53:00 +02:00
Eric
9690817f40 Add LWC magnet pull listener
Currently only working with 'LWC Unofficial - Entity locking' by
'Me_Goes_RAWR' v1.7.3 or later.
2016-06-02 20:36:48 +02:00
Eric
290382610c Changed version to 1.8.0-SNAPSHOT-1 2016-06-01 21:34:05 +02:00
Eric
70449399bc Added MySQL Support 2016-06-01 21:30:46 +02:00
Eric
0015adefb5 Improved and simplified buy and sell methods
Well, at least I hope I've improved that...
This should also fix the bug (what initially was my goal), where the
item didn't get removed from the player's inventory after selling it.
2016-05-31 18:07:38 +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
e00f30bf0b Automatically convert infinite to admin shops 2016-05-29 13:53:38 +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
f9f5068f6d Simplified saving of item_names.txt file 2016-05-29 12:35:46 +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
5bb4169c80 Changed version to 1.7.4 2016-05-27 16:34:10 +02:00
Eric
099208de67 Add support for both hands when buying or selling something 2016-05-27 16:22:40 +02:00
Eric
4c022dd9dc On admin and infinite shops, the player must have enough items 2016-05-27 15:00:39 +02:00
Eric
c4bc318a25 The creator of an admin shop should be able to use it 2016-05-27 14:57:47 +02:00
Eric
341f6b1fb0 Changed Version to 1.7.3 2016-05-11 18:54:34 +02:00
Eric
04636a7b01 Added 1.9.4 Support (1.9_R2) 2016-05-11 18:53:34 +02:00
Eric
54b0f42eaf Allow multiline broadcast messages
Apparently the new-line character isn't detected so I had to make a
workaround with a custom new-line character (#n) where it could split
the lines.
2016-05-07 22:50:26 +02:00
Eric
5f5fd05e6c Removed some unnecessary extra lines 2016-05-07 15:41:55 +02:00
Eric
558741e587 Re-added broadcast messages
They work a bit different now. They are still only shown on startup, on
join or when a player checks for updates, but also if no update is
available. Also the player needs the permission "shopchest.broadcast" in
order to get the message.
2016-05-07 15:35:34 +02:00
Eric
e1198028ee Improved Update Checker error handling
(temporary removed broadcast messages)
2016-05-07 15:08:40 +02:00
Eric
af2cf38ddf Fix default config values
On updater messages, the color and formatting code were in the wrong
order (color codes must be before formatting codes).
2016-05-05 20:24:40 +02:00
Eric
ca2185a7a6 Added update message broadcast 2016-05-05 18:09:51 +02:00
Eric
20d3814aac Added missing "Purpur Slab (Double)" item name 2016-05-04 17:05:09 +02:00
Eric
ab055d7bd1 Refresh item names lookup file 2016-05-04 17:01:13 +02:00