Download Latest Version v5.8.2.zip (556.5 kB)
Email in envelope

Get an email when there's a new version of tf2autobot

Home / v3.2.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2021-02-08 6.4 kB
v3.2.0.tar.gz 2021-02-08 319.0 kB
v3.2.0.zip 2021-02-08 393.2 kB
Totals: 3 Items   718.5 kB 0

https://github.com/TF2Autobot/tf2autobot/pull/308

Added

Note: it's totally optional for you to add these new options directly into your options.json file. You can update the bot without the need to update your options.json shown in the demo, but if you want to use some of it immediately, then yes you probably need to do so.

  • ✨ an option to customize High-Value items text in listings note - @idinium96
    • ✨ also custom separator and ender - @idinium96
    • new options (under details.highValue, Watch demo, Wiki):

          "customText": {
              "spells": "🎃 Spells:",
              "strangeParts": "🎰 Parts:",
              "killstreaker": "🤩 Killstreaker:",
              "sheen": "✨ Sheen:",
              "painted": "🎨 Painted:",
              "separator": "| ",
              "ender": " |"
          }
      

      /// - ✨ an option to customize the text in the summary (accepted/review) - @idinium96 - new options (under tradeSummary - Watch demo, Wiki):

      "customText": {
          "summary": {
              "steamChat": "Summary",
              "discordWebhook": "__**Summary**__"
          },
          "asked": {
              "steamChat": "• Asked:",
              "discordWebhook": "**• Asked:**"
          },
          "offered": {
              "steamChat": "• Offered:",
              "discordWebhook": "**• Offered:**"
          },
          "profitFromOverpay": {
              "steamChat": "📈 Profit from overpay:",
              "discordWebhook": "📈 ***Profit from overpay:***"
          },
          "lossFromUnderpay": {
              "steamChat": "📉 Loss from underpay:",
              "discordWebhook": "📉 ***Loss from underpay:***"
          },
          "timeTaken": {
              "steamChat": "⏱ Time taken:",
              "discordWebhook": "⏱ **Time taken:**"
          },
          "keyRate": {
              "steamChat": "🔑 Key rate:",
              "discordWebhook": "🔑 Key rate:"
          },
          "pureStock": {
              "steamChat": "💰 Pure stock:",
              "discordWebhook": "💰 Pure stock:"
          },
          "totalItems": {
              "steamChat": "🎒 Total items:",
              "discordWebhook": "🎒 Total items:"
          },
          "spells": "🎃 Spells:",
          "strangeParts": "🎰 Parts:",
          "killstreaker": "🔥 Killstreaker:",
          "sheen": "✨ Sheen:",
          "painted": "🎨 Painted:"
      }
      

      /// - ✨ an option to set Steam Chat initializer (empty for normal, others are /me, /pre, /quote or /code only) - @idinium96 - new options - Watch demo, Wiki:

      "steamChat": { "customInitializer": { "acceptedTradeSummary": "/me", "review": "", "message": { "onReceive": "/quote", "toOtherAdmins": "/quote" } } } /// - ✨add custom pricer hooks support (to get prices other than prices.tf) - Wiki - @joekiller - new .env or ecosystem.json variables:

.env (Watch demo)

CUSTOM_PRICER_URL=""
CUSTOM_PRICER_API_TOKEN=""

ecosystem.json (Watch demo)

                "CUSTOM_PRICER_URL": "",
                "CUSTOM_PRICER_API_TOKEN": "",

/// - ✨Added 24 hours profit to !stats command - @arik123 image image

/// - ✨automatically block banned people - @idinium96

Changed

  • 🎨 some extra words for the trade partner and the owner when not proceeding to process an invalid offer. - @idinium96
  • 🔄 update !updaterepo command:
    • 🔥 remove deleting dist & node_modules folders - @idinium96
    • ✅ restart multiple bots by sending to only 1 bot - @idinium96
  • 🔥 remove .wiki from the main branch/repository - @idinium96
  • ✅ should also log reasons etc if accept an offer with MANUAL-FORCE - @idinium96
  • 🔊 logs on invalid received offer data - @idinium96
  • ✅ better user interface when dealing with error - @idinium96
    • Before: image
    • After: image

✅ Update your bot now!

- Running the bot with PM2? Just send !updaterepo to your bot via Steam Chat!

- Not running with PM2? Run git reset HEAD --hard && git pull && npm install && npm run build and then restart your bot.


⁉ Still using v2? Upgrade to v3 now! Instructions: https://github.com/TF2Autobot/tf2autobot/releases/tag/v3.0.0


🆘 Need help? Ask in TF2Autobot Discord Server

💗 The more the better! Show your love by sharing your bot trades in #🔴|community-2 channel on TF2Autobot Discord Server! Send me a DM for your unique Discord Webhook URL!

⭐ Show support! Become a Stargazer now!

Source: README.md, updated 2021-02-08