Phoenix616
40427e427c
Fix BukkitDev link and add SpigotMC site
2018-03-20 14:13:13 +01:00
Phoenix616
679000de15
Improve MaterialData handling
...
- Adds ability to shorten MaterialData type strings
- Removes Banner color string in name
2018-03-16 18:30:51 +01:00
Phoenix616
dd44217132
Fix issues with metadata IDs
...
Also log more info when the code couldn't be generated and send it to the sender when the iteminfo command is used
2018-03-16 18:24:52 +01:00
Phoenix616
51495cdefb
Fix issues with banners and display their color
...
Also print more info when the code couldn't be generated.
2018-03-14 18:53:34 +01:00
Phoenix616
26ddb52434
Properly split the material name ( Fixes #114 )
2018-03-14 15:08:51 +01:00
Phoenix616
d04e17450b
Make material name shortening testable and move test to proper package
2018-03-14 15:07:13 +01:00
Phoenix616
58a14bc508
Optimize StringUtil
2018-03-12 21:02:57 +01:00
Phoenix616
6e9824e6b0
Add better item name shortening. ( Fixes #112 )
2018-03-12 21:01:28 +01:00
Phoenix616
b22d8fd95d
Move cache to own class in Breeze package
2018-03-12 21:01:03 +01:00
Tim222
21815197c6
Fix Vault-Accountcheck for renamed player ( #106 )
2018-01-27 17:12:34 +01:00
Phoenix616
c5c9e96b13
Properly stack partial stacks ( Fixes #102 )
2018-01-23 17:32:54 +01:00
Phoenix616
650d02e401
No need to log console message async ( Fixes #101 )
...
Iirc this was only async for database logging or name resolving. Neither of these is done anymore and async access of the Bukkit API can lead to strange problems like the CME described in the mentioned issue.
2018-01-22 01:00:24 +01:00
Phoenix616
e4fb9f9872
Use lowercase name instead of full lowercase permission
2018-01-22 00:39:42 +01:00
Phoenix616
1788fa9702
Fix NPE when section doesn't exist ( Fixes #99 )
2018-01-13 23:35:55 +01:00
Phoenix616
6d4db1c8f6
1.13 preparations: Get rid of numeric item ids
2018-01-12 17:54:57 +01:00
Phoenix616
0176ea1dc5
Check the block that the sign is attached to first ( Fixes #97 )
...
Also fix some oddities and duplicate code/method execution
2018-01-11 18:28:45 +01:00
Phoenix616
39443a2ad3
Update maven plugins and pom
2018-01-11 15:29:31 +01:00
Phoenix616
445ed9574a
Send buy notification to shop owner, not to buyer ( Fixes #98 )
2018-01-11 15:29:04 +01:00
Phoenix616
4fd2bcb836
Send correct message when shop is full. ( Fixes #95 )
2018-01-09 19:55:37 +01:00
Phoenix616
fe68f20997
Remove the pound sign from the build number
...
This gets rid of annoying auto mentions of github issues...
2018-01-09 19:53:00 +01:00
Phoenix616
89b949ef61
Prepare next version
2018-01-09 01:04:45 +01:00
Phoenix616
5f2b671f1f
Increment version and mark for release
...
I decided to increment the minor version because this update does more than just patch issues (e.g. it changes the NameManager and adds new features like the autofill)
2018-01-09 00:08:42 +01:00
Phoenix616
eaeeb80fd3
Fix issues with partial item transfer due to full inventory
2018-01-08 23:56:58 +01:00
Phoenix616
3ad0849c3d
Merge similar stacks when showing the ShowItem message
2018-01-08 22:53:44 +01:00
Phoenix616
b2a31b8eb2
Add ability to autofill sign by clicking it
...
Also disable the worldguard shop flag by default...
2018-01-07 02:11:59 +01:00
Phoenix616
ac73442643
Added ability to show item icons and hover info with ShowItem
2018-01-06 17:44:35 +01:00
Phoenix616
110d98d599
Fix cast exception (Fixes issue #93 )
2018-01-06 15:44:51 +01:00
Phoenix616
0e8ef9f2be
Revert cancelling change. The events don't and can't extend Cancellable.
2018-01-05 18:34:45 +01:00
Phoenix616
b23a0d238e
Allow partial transactions due to missing inventory space ( Fixes #88 )
2018-01-05 18:30:06 +01:00
Phoenix616
a0505e995e
Merge items in logger message
2018-01-03 17:28:31 +01:00
Phoenix616
d84313716f
Add old piston checks back in for backwards compatibility. ( Fixes #91 )
...
These checks are completely unsupported though!
2017-12-31 01:13:13 +01:00
Phoenix616
7c9dd5c3f3
Check all blocks moved by pistons (Fixes DBO-1247)
2017-12-30 16:08:09 +01:00
Phoenix616
a493cbf59d
Add issue template
2017-12-15 21:48:58 +01:00
Phoenix616
8687b94e22
Make sure the maxStackSize isn't zero ( Fixes #87 )
...
By returning an empty array here we completely stop the transaction if the max stack size somehow manages to be zero.
2017-12-04 16:39:23 +01:00
Phoenix616
0354258251
Migrate all versions and disable on fail.
...
This should make it possible to theoretically upgrade from version 1 to version 3 databases.
2017-11-26 18:57:32 +01:00
Phoenix616
5d73320889
Set sign lines even when the event is cancelled ( Fixes #82 )
...
Also get the sign line from the event instead of the sign when checking if it is an admin shop so you can actually change that via an event listener.
2017-11-20 13:44:59 +01:00
Phoenix616
1276c6f031
Add method to get the last account information from a shortened name
2017-11-17 22:08:06 +01:00
Phoenix616
29ef7f25aa
Fix errors when server economy account is not defined or invalid
2017-11-15 21:13:07 +01:00
Phoenix616
4075b2e38a
Use the alias on the sign if one is defined in OddItem
2017-11-15 21:08:32 +01:00
Phoenix616
d332603fb4
Do not automatically color config strings (Fixes BUKKIT-1241)
...
This is necessary so that we still store the messages with the & code internally as they would get saved back to the config file using the converted color code (section sign) which could lead to encoding issues on different operating systems. (It also fixes issues with strings that contain an and sign that isn't supposed to be a color code) Instead we load the real string and color messages via the prefix method which should get called in every instance where a message is send.
2017-11-13 15:11:22 +01:00
Phoenix616
519a4fca8a
Names with a colon are valid ( Fixes #81 )
...
The NameManager appends a unique id for every player that has the same short name as another already existing one with a colon to the end of the clashing usernames. This is necessary so that a player can't just change their name to another user's old name and get access to all his shops.
2017-11-10 00:05:59 +01:00
Phoenix616
2d45dcdac0
Get rid of expensive calls to Bukkit#getOfflinePlayer with a username
...
This changes events to store the database Account instead of an OfflinePlayer and deprecates any event method that uses/returns OfflinePlayer. This is necessary as Bukkit#getOfflinePlayer(String) queries Mojang for the UUID when the user was not found in the local cache. As we already store this information (name to UUID mapping) in our database we should not have no need to rely on querying Mojang. (This might make transactions fail for shop owners that haven't played before but that shouldn't really be an issue in most cases)
2017-10-29 23:50:24 +01:00
Phoenix616
61c08a3b18
Calculate the amount instead of using a loop ( Fixes #78 )
2017-10-25 15:22:26 +01:00
Phoenix616
e81077143e
Also check for full account name permission
2017-09-26 15:39:08 +01:00
Phoenix616
1d80edbf9b
Get rid of google dependencies
...
Mostly replaced with Java 8 features and our own cache
2017-09-23 15:19:00 +01:00
Phoenix616
9b7000272d
Merge remote-tracking branch 'origin/master'
2017-09-06 14:20:14 +01:00
Phoenix616
9da7d5198b
Fix stacking issues ( Fixes #74 )
...
This also fixes some conditions under which the STACK_TO_64 option did not get applied correctly and wrong inventory space checking for items with a max stack size of less than 64
2017-09-06 14:19:34 +01:00
Max Lee
3434c8860c
Merge pull request #64 from LukBukkit/master
...
Fixed an error when trading with a admin shop (Fixes #59 , #63 & DevBukkit #1219 )
2017-08-27 16:16:11 +01:00
Phoenix616
7199acb8ef
Added progress to migration and made error messages prettier ( #67 )
2017-08-17 21:38:05 +01:00
Phoenix616
9368dfea75
Make sure owner name is set (Fixes DevBukkit-1225)
2017-08-15 13:02:26 +01:00