Dependency update + duplication protection
Empty message don't send message
Linux directory creation fix
ItemPrice format correction
Add new menu configuration to have custom menu.
Configuration example :
https://github.com/Florianpal1/FAuctionUI/blob/main/en/menus/main.yml
You can add gui configuration in FAuction/gui/menus
New block to access to menu
Code (Text):
'26':
utility: menu
id: main
material: CHEST_MINECART
title: Go to the main menu
description: {}
New configuration in config.yml to choose the gui open with command /ah :
Code (Text):
defaultGui: AUCTION# The default gui open with /ah command
Possible value : AUCTION, EXPIRE, HISTORIC, PLAYER, MENU:id
historic and playerview fix
New configuration allows you not to send certain messages
Code (Text):
message-send:
AUCTION_OPEN: true
For configuration see lang file
Exemple :
buy_auction_success -> BUY_AUCTION_SUCCESS
To make migration execute command : ah admin migrate 1.7.8
add in lang file :
migrate: "You have migrated to {version}."
migrate_help_description: "Migrate to another version."
In auctionConfirm.yml add :
Code (Text):
gui.auction:
title: "&eItem : &6{ItemName}"
replaceTitle: false
description:
- "&5Sold by : &6{OwnerName}"
- "&5Price : &6{Price}"
- "&5Expires on : &6{ExpireTime}"
- "&5Lore :"
- "{lore}"
New purge command :
/ah admin purge all
/ah admin purge auction
/ah admin purge expire
/ah admin purge historic
Decimal format correction
Sqlite correction
New configuration in config.yml :
decimalFormat: "0.00"
Add 2 feature flipping
- item-expiration
- cache-update
SQLite correction + Remaining time placeholder for auction
new placeholder for auction gui :
{RemainingTime}
Disable the plugin if it cannot start correctly
Please backup your configuration file before updating
The new configuration system will automatically update your configuration files.
New chart on bstats and dependency update
Add new category ENCHANTED to filter all enchanted item
Add new permission fauction.user contains :
- fauction.list
- fauction.sell
- fauction.expire
Code Refacto + possible bug correction
CacheReloadEvent correction
Better Configuration (less nullptr) + Event correction
Bug correction for category, next et previous
Java 8 Support + Correction
Thank to @NezuShin for the correction.
Add Placeholder api :
Get number of player auction : %fauction_auction_number%
Get number of player expire : %fauction_expire_number%
Get number of player historic : %fauction_historic_number%
Add new Configuration in config.yml :
cacheUpdate: 72000 #In ticks 72000 ticks == 1 Hour
Java 8 Compilation + 1.13 base version api
If player make right click on shulker or barrel another gui open with item in shulker or barrel
Gui modification :
In expire.yml replace expire utility to auctionGui
In all gui expect expire.yml replace utility expire to expireGui
Example of block to add to access to historic :
Code (Text):
'46':
utility: historic
material: WRITABLE_BOOK
title: "&cSee our item historic"
description: { }
Add new config in config.yml
Code (Text):
limitations-use-meta-luckperms: false
by default is false
You can set metadata "maxAuctions" to luckperms grade or player.
New limit -1 is unlimited auction.
New repo for auction gui config :
https://github.com/Florianpal1/FAuctionUI
Inventory Type customisation
Add in gui config in gui.type the possibility to have custom inventory type for gui
exemple :
Code (Text):
gui:
type: "CHEST"
CHEST is the default config
Can open if the gui have no auction
No configuration change
Add item blacklist
Add into your config.yml
Code (Text):
item-blacklist:
- COBBLESTONE
Thanks to
@SnowCutieOwO for Chinese Translation
Spam protection optimisation
Add placeholder support in gui
New filter system with full customisation
Exemple configuration :
Code (Text):
categories:
'default':
displayName: "All"
materials:
- ALL
'wood':
displayName: "Log"
materials:
- OAK_LOG
- SPRUCE_LOG
- JUNGLE_LOG
- ACACIA_LOG
- DARK_OAK_LOG
new block in auction.yml :
Code (Text):
utility: category
material: BOOK
title: "&5Filter."
description:
- "&eClick here to change filter"
- "&eCurrent filter : {categoryDisplayName}"
Change right click in PlayerView. Now right click cancel auction
PlayerHead with new version not working
Remove protection with lots of bugs
max value item check correction
Gui default config correction
In the config auctionConfirm.yml in section gui add size: 27
exemple :
Code (Text):
gui:
size: 27
name: "Confirmation of purchase of an item."
title-true: "&eConfirm the purchase of {Item}."
title-false: "&eCancel."
description:
- "&5Sold by: &6{OwnerName}"
- "&5Price: &6{Price}"
New config in config.yml to define min and max default value for item
Code (Text):
min-price-default:
enable: false
value: 0
max-price-default:
enable: false
value: 100000000
min-price: # Min price per item. Ex : 1 CobbleStone at 0.5. Set {} to disable it
COBBLESTONE: 0.5
max-price: # Man price per item. Ex : 1 CobbleStone at 0.5. Set {} to disable it
COBBLESTONE: 5
You need to delete lang file or add
Code (Text):
clear_cache: "You cleared the cache."
clear_cache_help_description: "To clear the cache"
Refacto + add EN translation for expire.yml in default
You can not update
Gui relocation for expire.yml to /gui/expire.yml
Add compatibility with spigot but paper and spigot have two method of storage for item.
if you change your server to spigot/bukkit use the command : "ah admin transfertToBukkit" or "hdv admin transfertToBukkit"
if you change your server to paper use the command : "ah admin transfertToPaper" or "hdv admin transfertToPaper"
delete lang file to regenerate it
Custom model data support for barrier in gui config
Exemple :
'0':
utility: barrier
material: GRAY_STAINED_GLASS_PANE
title: "-"
customModelData: 1
description: {}
The default value is 0
Bug correction for color in menu title for gui auction and playerview
Add desactivation for security spamming
Add in config.yml : securityForSpammingPacket: false for disable it but the default value is true
Correction : Color for menu title
database.yml modification :
database:
type: SQLite or MySQL
url: "jdbc:sqlite:database.db" or "jdbc:mysql://localhost:3306/test"
user: "root" #only for MySQL
password: "" #only for MySQL
Modification in configuration :
add field texture in configuration block and set the value of the texture in hexa.
make material to PLAYER_HEAD
Separate PlayerView and GlobalView for auction:
This change aims to make it easier to configure the gui
Changing the configuration structure : All the gui configuration are move to the directory /gui
Lang correction
Add button to show your own item
Add full multi lang support