This modules allows you to filter in game item exchanges by setting a "no-trade" items list.
Filtering is applied for :
- In game "trade " (using /trade player command) ;
- Items in mails attachments ;
🚧 Soon this module will also filter items in auctions.
See mod-trade-items-filter.conf.dist for customizable options.
mod-trade-items-filter.conf
before making your modifications and running the server.
This modules uses the following hooks in ScriptMgr:
CanSetTradeItem
(in PlayerScript.h)CanSendMail
(in PlayerScript.h)
![](https://raw.githubusercontent.com/Elmsroth/mod-trade-items-filter/master/../pics/filter_mail_item.png)
From a GM who have a low security level and who cannot bypass the ModTradeItemsFilter.GameMasters.MinAccountSecurityLevelToByPassForbiddenItems
restriction :
![](https://raw.githubusercontent.com/Elmsroth/mod-trade-items-filter/master/../pics/filter_trade_gm_item.png)
From a player point of view :
![](https://raw.githubusercontent.com/Elmsroth/mod-trade-items-filter/master/../pics/filter_trade_player_item.png)
MIT License