Install scriptsThis package runs scripts during installation (preinstall/install/postinstall)
TextFilterUtils
Utility functions for filtering text
Installation
npm install @quenty/textfilterutils --save
Usage
Usage is designed to be simple.
Utility functions for filtering text
npm install @quenty/textfilterutils --save
Usage is designed to be simple.
TextFilterUtils.promiseNonChatStringForBroadcast(str, fromUserId, textContext)TextFilterUtils.promiseLegacyChatFilter(playerFrom, text)TextFilterUtils.promiseNonChatStringForUserAsync(str, fromUserId, toUserId, textContext)TextFilterUtils.getNonChatStringForBroadcastAsync(str, fromUserId, textContext)TextFilterUtils.getNonChatStringForUserAsync(str, fromUserId, toUserId, textContext)TextFilterUtils._promiseTextResult(getResult, ...)