Change Log 1.3.3
This update adds several new features, and addresses several bugs
Log Transaction To Console
If you wish to record all transactions directly to the console, you can now do so by adding a new flag in config.yml
Code (YAML):
log_sales_to_console
: true
And the following to lang.yml
Code (YAML):
console_log_player_shop_buy
:
"<%buyer%> bought <%amount%> of <%itemname%> for <%price%> from the shop at <%location%> belonging to <%owner%>"
console_log_player_clan_buy
:
"<%buyer%> bought <%amount%> of <%itemname%> for <%price%> from the clan shop at <%location%> belonging to <%clan%>"
console_log_player_admin_buy
:
"<%buyer%> bought <%amount%> of <%itemname%> for <%price%> from the admin shop at <%location%>"
console_log_player_server_buy
:
"<%buyer%> bought <%amount%> of <%itemname%> for <%price%> from the server shop at <%location%>"
console_log_player_shop_sell
:
"<%seller%> sold <%amount%> of <%itemname%> for <%price%> to the shop at <%location%> belonging to <%owner%>"
console_log_player_clan_sell
:
"<%seller%> sold <%amount%> of <%itemname%> for <%price%> to the clan shop at <%location%> belonging to <%clan%>"
console_log_player_admin_sell
:
"<%seller%> sold <%amount%> of <%itemname%> for <%price%> to the admin shop at <%location%>"
console_log_player_server_sell
:
"<%seller%> sold <%amount%> of <%itemname%> for <%price%> to the server shop at <%location%>"
Use local translations for items and enchantments (1.17+ ONLY)
You can now pull the local names for items and enchantments that are being sold, so do so, add the following line to config.yml
Code (YAML):
use_local_translate
: true
Define Shop target time
In some modes, holograms are hidden unless looking directly at the shop, this has up until now been checked every 20 ticks (1 second) - you can now modify this in the config. Minimum is 5 ticks.
Code (YAML):
shop_target_ticks
: 20
Show hologram icon, but hide just text
You can now show the icon for the shop and only display the text when targeting the shop by adding the following to the hologram section of your config.yml
Code (YAML):
hologram
:
# If true, the icon will always show, and the text will only show if targeted when show_only_if_targeted is true
show_icon_always_text_if_targeted
: true
Command Aliases
You can now add a command alias to use instead of /shop. To do so, add the following to your config.yml
Code (YAML):
# This section of the config allows you to create an alias (language specific or otherwise) to replace
# the /shop command and any of the included arguments. Leaving the entry as a blank string like "" will
# prevent that argument being aliased at all.
commands:
shop
:
# Alias is the command that will replace /shop - If blank, no aliasing will be done
alias
:
""
# Create is the '/shop create' alias
create
:
""
# Create_admin is the 'admin' alias used in /shop create -admin
create_admin
:
""
# Create_server is the 'server' alias used in /shop create -server
create_server
:
""
# Create_clan is the 'clan' alias used in /shop create -clan
create_clan
:
""
# Create_cooldown is the 'c' (cooldown) alias used in /shop create -c
create_cooldown
:
""
# Remove is the '/shop remove' alias
remove
:
""
# Cancel is the '/shop cancel' alias
cancel
:
""
# Debug is the '/shop debug' alias
debug
:
""
# Help is the '/shop help' alias
help
:
""
# Reload is the '/shop reload' alias
reload
:
""
# Version is the '/shop version' alias
version
:
""
# Transfer_to_database is the '/shop transfer_to_database' alias
transfer_to_database
:
""
# Transfer_to_file is the '/shop transfer_to_file' alias
transfer_to_file
:
""
Bugs Squashed
Languages not loading correctly
When using sell price only, price was not showing