Commit Graph

109 Commits

Author SHA1 Message Date
Eric
8ac7d85f1e Add BentoBox integration
Added a custom protection flag CREATE_SHOP that defaults to trusted members

Shops are removed if an island is deleted or reset, or if a player is banned or expelled from the island
2020-03-16 13:35:22 +01:00
Eric
59ea803f5d Enable creative item selection by default 2020-03-01 20:46:13 +01:00
Eric
8ed16d7f3f Add support for 1.15
Fixes #291
2019-12-15 15:32:05 +01:00
Eric
b090751d89 Disable creative mode item selection by default
Also added a short warning for possible exploits
2019-06-14 21:11:22 +02:00
Eric
060c8a7295 Fix typo 2019-06-04 21:00:04 +02:00
Eric
c9ce45dc0c Add chest space to shop info message
Space only shown if selling enabled, stock only shown if buying enabled
2019-06-03 17:03:24 +02:00
Eric
e6393ecd6c Added refund to "Shop removed" message
+ Fixed refund option being ignored
2019-06-03 16:53:23 +02:00
Eric
9646bd0318 Update config descriptions 2019-06-03 16:38:25 +02:00
Eric
48bb669c01 Remove a couple config options
- Shop items cannot be hidden
- Hologram interaction had to be removed
- Hopper/Explosion protection cannot be disabled
- Admin shops cannot be counted in shop limit
- Only the nearest shop the player points at is shown
2019-06-03 16:38:25 +02:00
Eric
ea894783fb Allow shop item to be selected from creative menu
If the player does not hold an item, he is asked to select one.
2019-05-28 15:53:26 +02:00
Eric
930483b56a Update language files
Now only contain names that are looked up by the plugin
2019-04-30 19:56:05 +02:00
Eric
bd574e7aa1 Fix missing line in config 2019-04-28 23:12:58 +02:00
Eric
6962ad995e Update language files 2019-04-28 22:15:34 +02:00
Eric
bac5a24b37 Add IS_BANNER_PATTERN for hologram format 2019-04-28 20:51:43 +02:00
Eric
03792981eb Fix typo in hologram format config 2019-04-28 20:04:02 +02:00
Eric
8581622a57 Add support for 1.14 (untested) 2019-04-27 17:38:45 +02:00
Eric
6ae12f65c0 Database improvements
- Support table prefixes (Fixes #138)
- Support amounts above 127 in Paper (Fixes #149)
- Split UUID, name and shop type in economy log
- Split product and amount in economy log (Fixes #143)
- Added product data (Base64) to economy log
2018-11-10 20:34:11 +01:00
Eric
cc24669c0c Allow refund for shop creation price
Only refunded if shop is removed by vendor via command or by breaking
the chest. No refund will be given if shop is removed automatically or by
another player.

Closes #222
2018-11-03 21:44:02 +01:00
Eric
cfeaf3cf8d Allow update checker to be disabled
(Only automatic update check on start; command is not affected)

Fixes #208
2018-08-25 23:45:56 +02:00
Eric
5c2c3169b6 Change shop updater logic
I'm not sure if this better or worse, but it's worth a try.
2018-07-29 22:01:04 +02:00
Eric
b23040f7ce Update item_names.txt 2018-07-27 21:44:15 +02:00
Eric
baa67214b4 Fixed formatting for German translation 2018-07-27 21:44:14 +02:00
Eric
8ecc137835 Fixed command description (German and fallback) 2018-07-27 21:44:12 +02:00
Eric
1a0920f239 Add product preview in shop info
This removes shop info messages for potion effect, enchantments,
music disc title and book generation.
2018-07-26 15:52:55 +02:00
Eric
381de24362 Fixed formatting for update notification 2018-07-25 22:39:44 +02:00
Eric
4cb59b18de Re-add support for Minecraft 1.8 - 1.12.2 2018-07-25 16:54:22 +02:00
Eric
1dbf68af9c Fix typos 2018-07-24 18:15:26 +02:00
Steven M
cfff0b9ce2 Implemented economy log cleanup (#156) 2018-07-24 18:10:04 +02:00
Eric
94a51373b5 Support Minecraft 1.13
Drops support for older Minecraft verions (1.8 - 1.12.2)
2018-07-23 18:38:06 +02:00
Eric
2340eb67e1 Added config option to confirm buying and selling
Closes #128
2017-08-15 12:44:03 +02:00
Eric
a8f589c1b7 Added config option to disable economy logging 2017-08-15 12:44:01 +02:00
MineTheCube
8ea0c3c288 Add multi-world plugins in softdepend
So ShopChest will more likely load after worlds are loaded.
2017-07-24 22:55:08 +02:00
Eric
1ae4ee379b Added durability requirement and placeholder for hologram format 2017-06-27 22:00:37 +02:00
Eric
ef8f597796 Added CHEST_SPACE requirement and placeholder
+ Fixed %MAX-STACK% placeholder
2017-06-15 14:03:48 +02:00
Eric
408abebbfa Added header and footer to help message (translatable)
+ Fixed translations with one or more equal signs in its value
2017-06-08 14:02:34 +02:00
Eric
f653355cc2 Added way to retrieve shop info by clicking it with a specific item
Closes #104
2017-06-05 15:02:49 +02:00
Eric
c4e7e5a8ab Added auto removal of click type after 15 seconds 2017-06-05 14:20:00 +02:00
Eric
8f0d2aaf5f Added permissions "shopchest.create.buy" and "shopchest.create.sell"
Both of these also work with item nodes. Examples:

- shopchest.create.buy.CHEST (Allows only shops selling chests)
- shopchest.create.sell.APPLE (Allows only shops buying apples)
- shopchest.create.STONE.3 (Allows only shops buying or selling diorite)
- shopchest.create.buy (Allows only shops that are selling anything)
- shopchest.create.sell (Allows only shops that are buying anything)
2017-06-05 14:13:40 +02:00
Eric
8cdff11aaf Fixed typo in description of update command 2017-06-05 13:39:49 +02:00
Eric
18d3e36390 Added notification for withdrawal of shop creation price 2017-06-05 13:39:01 +02:00
Eric
57e57dc71e Improved configuration of command description messages
+ Renamed all occurrences of "regex" to "placeholder"
2017-06-02 14:44:08 +02:00
Eric
6e8e450534 Replaced "IS_SHOP" requirement with "IS_WRITTEN_BOOK" 2017-05-30 20:39:52 +02:00
Eric
5589ab6655 Added command "/shop removeall <player>"
- Needs permission "shopchest.remove.other"

Closes #101
2017-05-25 14:18:42 +02:00
Eric
4dde2d9f53 Prevent shop use in creative mode
Closes #100
2017-05-25 14:18:35 +02:00
Eric
ca064da094 You can now add scripts to the hologram format itself
Use curly brackets to add a script to the format.
Also, "regex" has been renamed to "placeholder".
2017-05-23 15:18:02 +02:00
Eric
428d48e5fc Fixed config description for hologram-lift 2017-05-22 22:02:22 +02:00
Eric
e1f076bfcd Vastly extended hologram configuration
- You can now completely customize every part of the hologram
- Added new placeholders "%STOCK%" and "%MAX-STACK%"
  => Now uses "%STOCK%" instead of "%AMOUNT%" in the in-stock message)
- Armor Stands are no longer spawned with NMS and reflection
- Hologram texts can dynamically change (e.g. with in-stock info)
- Might contain a few issues
2017-05-20 20:15:54 +02:00
Eric
e85b11d274 Added description to plugin.yml 2017-05-20 12:48:59 +02:00
Eric
63a0509248 Added support for Minecraft 1.12-pre2 2017-05-15 20:29:38 +02:00
Eric
50adf1f1d1 Replaced "Usable Regex" with "Usable Placeholders" 2017-05-14 18:54:09 +02:00