Languages :
- Add full support of german- Thanks to @Drynael
Features :
- Create new rank system to customize some config variables. (See below)
- Add the possibility to limit the number of shop a player can create (config variables: LimitGlobalShopByPlayer and MaxGlobalShopByPlayer)
- Add the possibility to customize the prefix displayed in each chat message from the plugin
- Add config variable to choose the distance to link a block with a shop (maximum 3 blocks to prevent lags)
- Update the open command to open a shop for another player
- Permission: globalmarketchest.admin.commands.open
- Add a close command to close the interface of a player
- Permission: globalmarketchest.admin.commands.close
Important :
Some permissions have changed :
- globalmarketchest.commands.list.detail.tp becomes globalmarketchest.commands.list.tp
Ranks :
Here is an example of configuration for ranks available inside config.yml.
Code (YAML):
Options
:
# Define the maximum auctions by player
MaxAuctionByPlayer
: 50
# Define you want to limit the max globalshop a player can create
LimitGlobalShopByPlayer
: true
# Define the max globalshop a player can create. To works, player must have permission: globalmarketchest.globalshop.createshop
MaxGlobalShopByPlayer
: 0
Ranking
:
# Define if the ranks system is enabled
EnableRanks
: true
# List of ranks
Ranks
:
# Name of rank
# A rank can be given to a player by giving the permission globalmarketchest.ranks.<rank_name>
# Example here: globalmarketchest.ranks.member
Member:
MaxGlobalShopByPlayer
: 1
VIP:
MaxAuctionByPlayer
: 100
MaxGlobalShopByPlayer
: 5
Admin:
MaxAuctionByPlayer
: 500
LimitGlobalShopByPlayer
: false
Ranks allow to override some parameters available inside
Options section. For now you can only override 3 parameters :
- MaxAuctionByPlayer
- LimitGlobalShopByPlayer
- MaxGlobalShopByPlayer
To give access to a rank to a player you must set him the permissions,
globalmarketchest.ranks.<rank_name>. For example for member you have to give the access to permission
globalmarketchest.ranks.member
Ranks can be combined together, it will keep the higher value for numbers and it will keep the false value for boolean.
Each rank inherits the parameters inside
Options section.
NB : Don't forget to set parameter
Ranking.EnableRanks to true to test ranks
/!\ Don't forget to reset your language file and your config file.
Fix :
- Fix group by and default value issue with new versions of mysql
- Fix failed table creation on new versions of mysql
- Add UseSSL flag comment in config.yml
- Fix and clean permissions inside plugin.yml
- Fix message player doesn't exist on first connect