Commit Graph

104 Commits

Author SHA1 Message Date
BadBones69
8aa9db1fcb Removed depends and Version Bump 2020-05-24 00:54:40 -04:00
BadBones69
4c01a0b4fb Removed Debug message. 2020-05-24 00:54:16 -04:00
BadBones69
a1c0086fe7 Fixed up the book checking code. 2020-05-24 00:30:18 -04:00
BadBones69
d325c187d8 Switched to replace method to fix NPE from #107 2020-05-21 03:54:38 -04:00
BadBones69
4e11b2b302 Writable and Written books now have a 2k character limit.
Fixed:
- When trying to sell a book that has a huge character amount it causes an error in console and creates a dup bug. A limit of 2k characters has been added to help prevent this. 
Note: If this seems to high or low it will be changed later.

Added:
- New Book-Not-Allowed message in the Messages.yml.

Removed:
- Written book was removed from the blacklist as this should fix any issue they caused.
2020-05-21 03:49:47 -04:00
BadBones69
67ed9a04e0 Added - 'WRITTEN_BOOK' to 1.12.2 config. 2020-05-17 00:14:38 -04:00
BadBones69
ad46a1b681
Merge pull request #109 from jmanpenilla/master 2020-05-17 00:02:21 -04:00
Jason
ed5a70ce5c
Add written book to default blacklist
Even with illegalstack installed players are able to use mods to list an invalid book on the AH to crash it. Ie the ah will no longer open for others until written books are added to the blacklist
2020-05-15 12:22:29 -07:00
BadBones69
41aa8590e6
Merge pull request #106 from HexedHero/master 2020-05-05 05:20:52 -04:00
HexedHero
3084e56147 Update Metrics and use the new ID system 2020-05-03 23:07:37 +01:00
BadBones69
7e7ac65198 Fixed /ah message showing after using /ah test 2020-04-22 03:33:56 -04:00
BadBones69
dce85b0fe4 Revert 43abfb72fe 2020-04-22 03:33:31 -04:00
BadBones69
b6448355a1 Fixed null check. 2020-04-22 02:36:14 -04:00
BadBones69
0492cb9557 Fixed /ah test not checking for item in hand. 2020-04-22 02:35:48 -04:00
BadBones69
43abfb72fe Fixed OutOfBounds error from GUI. 2020-04-21 01:47:43 -04:00
BadBones69
22d3cd0a6c Update README.md 2020-04-21 01:44:23 -04:00
BadBones69
3dd538b53f
Update README.md 2020-04-19 03:53:43 -04:00
BadBones69
f3f6f0b37d
Update README.md 2020-04-19 03:53:11 -04:00
BadBones69
2d19f2ed68
Update README.md 2020-04-19 03:51:54 -04:00
BadBones69
9a320ef934 Added deploy for repo. 2020-04-19 03:31:33 -04:00
BadBones69
e176d71b66 Version Bump 2020-04-19 03:31:03 -04:00
BadBones69
c2de90e09c code cleanup 2020-04-19 01:31:16 -04:00
BadBones69
1096c3940c Fixed NPE on addLore 2020-04-12 22:06:51 -04:00
BadBones69
c92a130205 Update issue templates 2020-03-05 16:20:14 -05:00
BadBones69
348cc6c94d Fixed NPE if having prefix set to nothing. 2020-03-01 01:57:19 -05:00
BadBones69
c483d81f9a
Create README.md 2020-02-26 13:06:56 -05:00
BadBones69
2bfc45b8e8 Updated Spigot library. 2020-01-26 06:42:29 -05:00
BadBones69
aee801658c Fixed NPE from broken item type. 2020-01-26 06:36:04 -05:00
BadBones69
3bdf44cbce Fixed broken lore. 2020-01-23 18:17:04 -05:00
BadBones69
14866ed984 Added /ah test [amount] command.
This is used for debugging,
2020-01-13 00:15:58 -05:00
BadBones69
2bc528b78b Updated coding style. 2020-01-03 20:47:42 -05:00
BadBones69
22a6629724 Fixed NPE from vault checking. 2019-11-05 01:46:55 -05:00
BadBones69
c7c4b878ba Added new items to damageable list.
Added Items to damageable item list:
- TURTLE_HELMET
- TRIDENT
- CROSSBOW
2019-11-05 01:46:38 -05:00
BadBones69
56fb1126f7 Updated Pom and Plugin.yml. 2019-10-02 03:05:50 -04:00
BadBones69
f9701c2a4f Fixed NPE when seller can not be found. 2019-09-24 23:37:05 -04:00
BadBones69
8c8f50d82b Bumped version to dev build. 2019-09-22 19:48:49 -04:00
BadBones69
cce3d5bd6b Fixed a NPE when a player can't be found. 2019-09-22 19:47:48 -04:00
BadBones69
53dc30a34b Removed space 2019-09-15 06:13:25 -04:00
BadBones69
5523931afd
Optimization of 'updateAuction() Method' (#80)
Optimization of 'updateAuction() Method'
2019-09-14 02:32:36 -04:00
BadBones69
d800895b97 Removed space 2019-09-14 02:26:51 -04:00
Aurélien
bb933acb40
Optimization of 'updateAuction() Method'
Tested that and perfectly working ! Results are interesting and offer a fantastic decrease of the used performance. (With the startCheck() task, 13% to 0 - 1% according to Paper's timings).

Explainations:

I had to deal with this problem for a while and haven't received a satisfactory answer on your Discord (just "You have to recode the plugin"). So I decided to analyze your code to improve it and I found a great solution! This method reads lines in the data file but doesn't necessarily have to save the file since it's in most cases unchanged. So I added a boolean that goes true when changes are made, forcing the data file being saved ;).

Enjoy
2019-08-30 21:46:26 +02:00
BadBones69
67c845a5f1 Changed build name. 2019-08-01 01:52:18 -04:00
BadBones69
006574a846 Version Bump 2019-08-01 01:46:40 -04:00
BadBones69
c85e99a181 Code cleanup 2019-08-01 01:46:30 -04:00
BadBones69
7223f2fe15 Fixed some NPEs 2019-08-01 01:37:05 -04:00
BadBones69
670a52705f Fixed building path. 2019-07-26 04:28:01 -04:00
BadBones69
4e119bdb1f Updated Spigot-API. 2019-07-20 02:47:22 -04:00
BadBones69
8a0d0b9dfd Added new AuctionExpireEvent 2019-07-11 19:30:17 -04:00
BadBones69
a33ccb28e9 Added new AuctionCancelledEvent. 2019-07-11 19:30:05 -04:00
BadBones69
0a9e4b3eed Lowercased False statements 2019-07-11 18:46:38 -04:00