Phoenix616
2007c4a7fb
Fix ShopDestroyEvent not getting called in certain cases
...
This could be triggered by updating a column of physics blocks with a shop attached
2019-04-01 13:55:21 +01:00
Phoenix616
be5f47cb1f
Add config option to toggle if all shop removals should be logged
...
Removals that happened due to no player being present will always be logged
2019-04-01 13:49:48 +01:00
Phoenix616
03589b3fef
Catch Vault issues with null usernames ( #158 , #194 , #205 , #209 )
2019-03-30 16:09:48 +01:00
Phoenix616
b37bf12e7f
Convert old item metadata to newest version ( Fixes #202 )
2019-03-30 15:40:31 +01:00
Phoenix616
8cd89bf8ee
Work around issue with serialising explorer maps
...
This is due to a bug in CraftBukkit not properly supporting localised/translatable display names when serialising item meta.
This also adds/improves the message when no valid item ID could be generated.
2019-03-19 19:08:53 +01:00
Phoenix616
355fa58ac4
Properly detect if reserve economy is provided ( Fixes #210 )
2019-03-18 15:10:18 +01:00
Phoenix616
b931393a62
Fix more issues with the shop access permissions ( #207 )
2019-03-08 22:52:08 +01:00
Phoenix616
de5b505ec5
Fix issues with shop sign opening and access permissions ( Fixes #207 )
2019-03-07 17:33:47 +01:00
Phoenix616
6d99210dd7
Really fix price restriction
2019-01-19 00:40:50 +01:00
Phoenix616
20228dd645
Fix amount in price restriction not working correctly
...
Also fix copy and paste error in SELL_PRICE_BELOW_MIN error message.
2019-01-18 22:27:40 +01:00
Phoenix616
91a372bd05
Make Item and Material parsing events
2019-01-17 19:50:47 +01:00
Phoenix616
c8d0590614
Add different error messages when price limits are exceeded ( #193 )
2019-01-17 18:08:54 +01:00
Phoenix616
6fe6f80538
Use Bukkit's inbuilt command permissions system ( Fixes #186 )
...
Also fix plugin not disabling when dependencies aren't loaded correctly
2018-11-25 00:59:13 +01:00
Phoenix616
bc14736a37
Ignore cancelled sign change events
2018-11-21 00:45:39 +01:00
Phoenix616
b853afbd52
Fix issues with the permissions for using different player names
...
This adds separate permissions for accessing, creating and destroying of shops.
It also adds a config entry to allow using of a shop even if someone have access to it due to their permissions.
2018-11-19 21:10:48 +01:00
Phoenix616
b17a471c21
Check if dependency is enabled ( Fixes #181 )
2018-11-12 15:03:13 +01:00
Phoenix616
727f49fc28
Update to new Vector API in WorldEdit/WorldGuard 7
2018-11-06 15:35:28 +01:00
Phoenix616
7adf02e532
Improve hopper protection
...
The InventoryMoveItemEvent is now only used for Hopper Minecarts, other blocks that could move items (Hoppers and Droppers) are checked on place. That way players that have access to a shop can just use the blocks normally but other players can't place them.
2018-10-23 19:27:39 +01:00
Phoenix616
fe85dafec5
Allow configuring what containers can be used for shops ( Fixes #175 )
2018-10-23 19:14:21 +01:00
Phoenix616
470f9d8d99
Allow admins to create shops for other users ( Fixes #176 )
2018-10-23 16:06:27 +01:00
Phoenix616
2243c2fbc6
Update to new AuthMeReloaded API ( Fixes #174 )
2018-10-15 20:27:38 +01:00
Phoenix616
26d800132c
Merge branch '1.12' into 1.13
2018-09-26 17:02:21 +01:00
Phoenix616
b30688b635
Fix issues with admin shops, ops and creative mode ( Fixes #168 )
2018-09-26 17:02:13 +01:00
Phoenix616
39a522716f
Merge branch '1.12' into 1.13
2018-09-18 00:09:07 +01:00
Phoenix616
96b5a675d6
Allow admins to use the admin shop in all cases
...
This fixes issues with the auto complete right click functionality not working with admin shops
2018-09-18 00:08:54 +01:00
Phoenix616
54b3b6966c
Merge branch '1.12' into 1.13
...
# Conflicts:
# src/main/java/com/Acrobot/Breeze/Utils/MaterialUtil.java
# src/test/java/com/Acrobot/Breeze/Tests/MaterialTest.java
2018-09-09 14:47:32 +01:00
Phoenix616
516eefc5b6
Allow longer item names on signs by calculating the width
...
This uses hardcoded widths for the main characters used in Minecraft and might not be precise for some characters but better than the previous 15 char hard limit.
2018-09-09 14:37:09 +01:00
Phoenix616
2459a406fe
Auto-correct item code on sign.
...
This also makes it possible to input IDs on the sign that are longer than the max sign letters that the plugin uses as that just gets auto corrected back down to the correct amount.
2018-09-09 13:26:08 +01:00
Phoenix616
afab90d021
Fix wording in of incorrect item id message
2018-09-09 13:24:26 +01:00
Phoenix616
f1ce97dbce
Merge branch '1.12' into 1.13
2018-09-05 23:07:49 +01:00
Phoenix616
df76347697
Improve sign price corrections
...
This includes a new price_precision config entry to set the amount of decimal places to allow on a shop sign (set to 2 by default). Thanks to @andrewkm for this idea.
It also fixes an issue where a zero inside the decimal places was removed instead of it's end and also removes the point and zeros from prices that only have trailing zeros to avoid confusion (e.g. in languages that use the decimal point for thousands)
2018-09-05 23:07:35 +01:00
Phoenix616
01ebedcc84
Merge branch '1.12' into 1.13
2018-08-31 13:55:54 +01:00
Phoenix616
06e4e1bf17
Don't search offline players when checking for existing ( Fixes #162 )
2018-08-31 13:55:36 +01:00
Phoenix616
5f0bbfff0c
Merge branch '1.12' into 1.13
2018-08-29 21:29:52 +01:00
Phoenix616
dd4177e7cb
Query server's player cache for missing players
...
This uses a cache for players that we haven't found before so to not check the cache too often and also checks if the online mode of the queried OfflinePlayer matches the server's mode (gotten from the first logged-in player in order to be compatible with BungeeCord requiring the server to be in offline-mode.
2018-08-29 21:29:27 +01:00
Brokkonaut
f5b3aa6b75
1.13 allows single chests besides each other. Handle that correctly.
2018-08-29 20:57:48 +01:00
Brokkonaut
b972e79132
Update to WorldGuard 7.0.0 (for 1.13)
2018-08-29 20:32:27 +01:00
Phoenix616
cf9e5bafde
Merge branch '1.12' into 1.13
2018-08-23 22:12:58 +01:00
Phoenix616
836ef56864
Add more message placeholders ( Fixes #159 )
2018-08-23 22:10:24 +01:00
Phoenix616
e155b98c96
Merge branch '1.12' into 1.13
2018-08-22 00:29:12 +01:00
Phoenix616
fc62ab0823
Use different economy responses and make some events cancellable
...
Also moved the creation fee subtraction to before the shop was created to be able to cancel the creation
2018-08-22 00:21:34 +01:00
Phoenix616
d4e39a3751
Make it compile with 1.13. No guarantees that it works without issues!
2018-07-26 00:13:06 +01:00
Daniel V
8ae72e5803
Feature: Reserve Support ( #143 )
...
This introduces a new AccountCheckEvent to check if a user actually has an account with the used economy plugin. Also fix CurrencyTransferEvent logic (even though it's not used anywhere currently)
2018-07-11 18:09:07 +01:00
Phoenix616
7311907559
Add more per material shop creation permissions
2018-06-24 00:17:35 +01:00
Phoenix616
1cb481097c
Don't refund for non-finished signs ( Fixes #141 )
2018-06-23 15:01:41 +01:00
Phoenix616
5b925171e3
Add support for stored enchantments to /iteminfo and format it better
...
Partly fixes #135
2018-06-03 19:23:40 +01:00
Phoenix616
036d309965
[CI-SKIP] Fix some formatting inconsistencies
...
Remove spaces on empty lines and changed doc comment formatting
Also includes some minor comments and import fixes
2018-05-07 15:32:51 +01:00
Phoenix616
b3e62f199f
Add option to set the worlds where shops should be removed ( Fixes #129 )
...
This also adds the ability to set string lists in the config.
2018-05-05 16:23:30 +01:00
Phoenix616
34b6ab2cf2
Update spigot-api and ormlite-jdbc
...
This might fix the Xerial driver warning from #9/BUKKIT-1073
2018-04-18 14:58:15 +01:00
Phoenix616
ae8d1c79e9
Properly check if item is empty ( Fixes #123 )
2018-04-02 17:41:45 +01:00