Commit Graph

70 Commits

Author SHA1 Message Date
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
BadBones69
6e43615bb4 Updated 1.8 sound link 2019-07-11 18:46:22 -04:00
BadBones69
924994b22e
Merge pull request #69 from Hitosherizu/master 2019-07-07 02:12:01 -04:00
BadBones69
b5df113221 Removed space at bottom. 2019-07-07 02:11:35 -04:00
Hitosherizu
5180afbbe3
Update config1.13-Up.yml 2019-07-04 10:58:03 -04:00
Hitosherizu
c80ee3ac37
Update config1.12.2-Down.yml 2019-07-04 10:55:05 -04:00
Hitosherizu
a8822d2e9d
Update Messages.yml 2019-07-04 10:51:37 -04:00
BadBones69
ef577f802f v1.2.9 Update 2019-05-07 04:17:00 -04:00
BadBones69
791f1281cd Added MC version check for config.yml
Added:
- The plugin will now give the specific config version for servers that are 1.12.2 down and another for 1.13+.
2019-05-07 04:17:00 -04:00
BadBones69
286c4eb752 Changed placeholders to lowercase 2019-05-07 04:13:05 -04:00
BadBones69
b4b12e6e99 Added bStats 2019-05-07 04:11:28 -04:00
BadBones69
e7e4e15953 v1.2.8 Update
Added:
- Minecraft 1.14 support has been added.
2019-05-07 03:13:40 -04:00
BadBones69
59d5987267
Merge pull request #59 from TheMonDon/patch-1
Change Inventory.getName to InventoryView.getTitle (2)
2019-05-07 01:25:54 -04:00
TheMonDon
77460d4301
Change Inventory.getName to InventoryView.getTitle (2)
This method is supported in both 1.13.2 and 1.14
2019-04-27 23:23:17 -05:00
BadBones69
97d341d311 Merge branch 'v1.2.7'
Added:
- %time% placeholder can now be in the selling items lore.
- 1.13 support has been added.

Fixed:
- Sometimes for different languages, the comma would show as an unknown character.

Removed:
- MassiveStats has been removed due to its shutdown.

Changes:
- Small code cleanup to make it more readable.
2019-01-25 03:22:23 -05:00
BadBones69
a3f41e91c0 Added %time% placeholder to selling 2019-01-25 03:09:02 -05:00
BadBones69
37c32df2fb Clean up and missing merge code 2019-01-25 03:08:27 -05:00
BadBones69
8712b0bae5 Merge remote-tracking branch 'WinSide/master' into v1.2.7 2019-01-25 02:54:36 -05:00
BadBones69
4350a2cf02 Rename objects 2019-01-25 02:52:56 -05:00
BadBones69
8e4458aedd Merge remote-tracking branch 'origin/v1.2.7' into v1.2.7 2019-01-03 03:39:42 -05:00
BadBones69
e05349410b v1.2.7 Update
Added:
- 1.13-1.13.2 support has been added.

Removed:
- MassiveStats has been removed due to its shutdown.
2019-01-03 03:39:00 -05:00
BadBones69
901563ddf5 v1.2.7 Update
Added:
- 1.13-1.13.2 support has been added.
2018-11-08 10:18:11 -05:00
BadBones69
6e50150cfc
Create LICENSE 2018-10-03 12:19:25 -04:00
BadBones69
81dbd02390 v1.2.6 Update
Added:
- New options to disable and enable the Selling and Bidding features.
- New messages in the Messages.yml. 

Changes:
- Recoded how the whole messaging system works.
- Recoded the file system and how all yml files are accessed and controlled.
2018-07-22 02:06:51 -04:00
BadBones69
a709c220ee v1.2.6 Update
Added:
- New options to disable and enable the Selling and Bidding features.
- New messages in the Messages.yml. 

Changes:
- Recoded how the whole messaging system works.
- Recoded the file system and how all yml files are accessed and controlled.
2018-07-22 02:02:04 -04:00
BadBones69
9d44a5d701 v1.2.5.1
Bug Fix:
 - 1.8.8 and down servers would get an error from the categories tab.
2018-06-12 19:52:07 -04:00
BadBones69
92d6553ebc v1.2.5 Update
Bug Fixes:
 - A blank line from Crazy Auctions would appear randomly in Console due to old MCUpdate class.
 - Damaged leather armor could be sold in the CA even if damaged items are turned off.
 - Trying to bid on an item that has just expired causes an error in console.

Changes:
 - Bunch of code cleanup.
 - Switched from the old MCUpdate class to the new MassiveStats class.

Added:
 - New permission to force end auctions. "crazyauctions.force-end"
2018-06-07 22:49:12 -04:00
BadBones69
6b98884568 v1.2.5 Update
Bug Fixes:
 - A blank line from Crazy Auctions would appear randomly in Console due to old MCUpdate class.
 - Damaged leather armor could be sold in the CA even if damaged items are turned off.
 - Trying to bid on an item that has just expired causes an error in console.

Changes:
 - Bunch of code cleanup.
 - Switched from the old MCUpdate class to the new MassiveStats class.

Added:
 - New permission to force end auctions. "crazyauctions.force-end"
2018-06-07 22:41:14 -04:00
Mark
554f83c84e
Update GUI.java 2018-01-27 13:15:03 +08:00
Mark
7d50d2db33
Update Methods.java 2018-01-27 13:12:30 +08:00
BadBones69
7f76e0296b Code Clean Up
Cleaned up some code to make it easier to read.
2017-08-30 22:27:48 -04:00
BadBones69
da82bc1492 Merge branch 'v1.2.4-Update' 2017-08-13 22:45:19 -04:00
BadBones69
ee53672de1 v1.2.4 Update
Bugs:
  - Comment in the config.yml said Budding instead of Bidding.
  - Small typos were found in the Messages.yml. Thanks to Fozzie for the pull request.
  - Some permission plugins such as BungeePerms did not work with /ah sell <Price>.

Added:
  - AuctionWinBidEvent: called when someone wins a bidding item. Only called if the winner is online.
  - AuctionNewBidEvent: called when a player places a bid onto an item.
  - AuctionListEvent: called when a player lists a new item to the auction house.
  - AuctionBuyEvent: called when a player buys an item on the buying auction house.

Changes:
  - Cleaned up some code so it is more organized.
2017-08-13 22:43:47 -04:00
BadBones69
04f318f895 Merge pull request #13 from FozzieDaFox/patch-1
Fix typo in Messages.yml
2017-07-09 16:20:19 -04:00
Fozzie
f0515bbedd Fix typo in Messages.yml
Credit to ElementalGaming.
2017-07-09 08:34:47 +01:00