Resmî varsayılan config.yml dosyasını kontrol ettim; şu anki master sürümünde discord-webhook, webhook, log-level veya detailed-log anahtarları bulunmuyor. Bu yüzden bunları dosyaya elle eklemek, eklenti o ayarları okumuyorsa Discord aktarımını açmaz. Kullandığın sürümün ayarlarıyla karşılaştırmak gerekiyor.
AxTrade belgelerinde takas geçmişinin dosyaya kaydedilmesi ve Shulker/Barrel viewer ayrı özellikler olarak listelenmiş. Takas ekranında shulker içini gösterebilmesi, aynı içeriğin Discord loguna da yazılacağını tek başına garanti etmiyor.
Önce test ortamında içinde 1 elmas ve 2 taş olan bir shulker ile başarılı bir takas yapıp oluşan takas kaydını kontrol et. Oyuncu, eşya miktarı ve shulker içeriğinden hangilerinin gerçekten kaydedildiğini böyle ayırabiliriz. Discord aktarımı için de bu kaydı ya da başarılı takas olayını işleyen, kullandığın AxTrade sürümüyle uyumlu bir entegrasyon gerekir; mevcut config dosyasına URL eklemek tek başına yeterli olmaz.
AxTrade jar dosya adını/sürümünü ve varsa bu testin takas kaydını kişisel bilgileri gizleyerek buraya eklersen, hangi kısmın eksik olduğunu daha net belirleyebiliriz. Webhook bağlantısını paylaşma.
Kontrol ettiğim resmî kaynaklar:
malesefki kullandığım sürüm ile kaynaklı bir webhook entegrasyonu bulunmuyor minecraft sürümüm 1.21.8 axtrade kullandığım sürüm
confif yml imde atıyorum# DOCUMENTATION:
prefix: '<gradient:#00FFDD:#55FFFF><b>AxTrade</b></gradient> &7» '
# format: language_COUNTRY
# after changing this, the server will download the default item names
language: en_US
# you must define at least 1
# reloading will add new commands, however a restart is recommended when editing this
command-aliases:
- axtrade
- trade
# the time after clicking the trade confirm button before the trade finishes
trade-confirm-seconds: 5
# how fast should trade requests expire?
trade-request-expire-seconds: 60
# how far apart the 2 players can be from each other?
# set to -1 to disable
trade-max-distance: 10
# should shift + right clicking on another player send them a trade request?
shift-click-send-request: false
# the trade summaries will not be sent after trades end to players if disabled
enable-trade-summaries: true
# when one of the player's inventory can't hold any more items, the plugin will not allow adding more items to the trade gui
prevent-adding-items-when-inventory-full: true
# if enabled, players will not be able to trade if they have the same ip address
disallow-same-ip-trade: false
# if true, the accept item will not show the countdown with the item amount
# this can be useful for textured guis
static-accept-item-amount: false
number-formatting:
# modes:
# 0 - formatted (customizable, look at the formatted part)
# 1 - short (1K)
# 2 - raw (1000.4242421412)
mode: 0
#
formatted: '#,###.##'
# format: language_COUNTRY
short: en_US
# list of gamemodes:
# you can't trade in these gamemodes
disallowed-gamemodes:
- SPECTATOR
# worlds where trades will not work
blacklisted-worlds:
- example_world
# list of items that CAN'T be traded
#
# supported regex: (optional)
# - 'name' # only 'name' is disallowed
# - 'name*' # disallows text starting with 'name'
# - '*name' # disallows text ending with 'name'
# - '*name*' # disallows text containing 'name'
#
# you can use some sections from our item builder: (
)
# > name
# > material / type
# > custom-model-data (only the old variant)
blacklist-items:
- custom-model-data: 100
material: BARRIER
name: '*Some custom item*'
- custom-model-data: 150
material: BARRIER
name: '*Another custom item*'
# should doing any of these actions abort if done while trading?
# we recommend leaving these enabled to prevent potential bugs
abort:
move: true
interact: true
command: true
# should be plugin notify you if there is a new update?
update-notifier:
# if enabled, it will display the message in the console
enabled: true
# if enabled, it will broadcast the update message to all players who have the <plugin-name>.update-notify permission
on-join: true
# in case an exploit is found, if enabled, the plugin will disable some (or all) features to prevent people from abusing them on your server
# requires a restart to change
enable-safety: true
# do not change this
version: 9