Config Structure
Config Structure
This guide explains the structure of TPM's configuration file (config.json5) and all available options.
Overview
TPM uses a JSON configuration file (config.json5) that exports a configuration object. This file contains all settings for your bot's behavior, authentication, and flipping strategy.
Basic Structure
module.exports = {
// Account Settings
igns: ["account1", "account2"],
// Discord Integration
discordID: "your-backend-id",
webhook: "your-discord-webhook-url",
webhookFormat: "custom message format",
sendAllFlips: "optional-test-webhook",
// Authentication
session: "your-coflnet-password",
// Timing Settings
delay: 250,
waittime: 15,
clickDelay: 100,
// Flipping Configuration
percentOfTarget: {...},
listHours: {...},
useCookie: true,
autoCookie: "1d",
relist: true,
roundTo: 0,
// Filters and Behaviors
skip: {...},
doNotRelist: {...},
angryCoopPrevention: true,
blockUselessMessages: true,
pingOnUpdate: false,
// Advanced Features
visitFriend: "friend-username",
autoRotate: {...},
bedSpam: true
}Account Settings
igns (Array)
igns (Array)Minecraft account usernames to use for flipping.
igns: ["MainAccount", "AltAccount1", "AltAccount2"]Supports multiple accounts
Each account will run as a separate bot instance
Use account names (if token auth) or email addresses (if Microsoft auth)
discordID (String)
discordID (String)Backend identifier from the TPM server. This is provided when you get access to TPM.
discordID: "abc123xyz789"Discord Integration
webhook (String)
webhook (String)Discord webhook URL for bot notifications.
webhook: "https://discord.com/api/webhooks/..."Notifications include:
Purchases made
Items sold
Profits earned
Bot startup/shutdown
Errors and warnings
webhookFormat (String)
webhookFormat (String)Customizable message template with placeholders.
webhookFormat: "Bought {itemName} for {price} coins!"Available placeholders:
{itemName}- Item name{price}- Purchase price{target}- Target sell price{profit}- Expected profit{profitPercent}- Profit percentageAnd more (12 total variables)
sendAllFlips (String, Optional)
sendAllFlips (String, Optional)Additional webhook URL for testing or monitoring all flip opportunities (not just purchased items).
sendAllFlips: "https://discord.com/api/webhooks/..."Authentication
session (String)
session (String)Your Coflnet account password. Required for authenticating with SkyCofl.
session: "your-coflnet-password"Important: Keep this confidential! Never share your config file publicly with your session password in it.
Timing Settings
delay (Number)
delay (Number)Milliseconds between actions. Default: 250ms
delay: 250Lower values = faster actions
Too low may cause issues or flags
Recommended range: 200-300ms
waittime (Number)
waittime (Number)Bed spam timing configuration in milliseconds. Default: 15ms
waittime: 15Used for bed spamming to claim flips quickly.
clickDelay (Number)
clickDelay (Number)Interval between bed spam clicks. Recommended: 100-125ms
clickDelay: 100bedSpam (Boolean)
bedSpam (Boolean)Enable/disable bed spamming for faster flip claiming.
bedSpam: trueFlipping Configuration
percentOfTarget (Object)
percentOfTarget (Object)Price ranges with percentage markups for listing items.
TODO: FILLlistHours (Object)
listHours (Object)Listing duration by price tier.
TODO: FILLuseCookie (Boolean)
useCookie (Boolean)Enable/disable cookie usage for relisting.
useCookie: trueautoCookie (String)
autoCookie (String)Auto-purchase interval for cookies. Supports y/d/h units.
autoCookie: "1d" roundTo (Number)
roundTo (Number)Rounding digit for relist pricing.
roundTo: 0 // No rounding
roundTo: 4 // Round to nearest 10,000Behavioral Filters
skip (Object)
skip (Object)Conditions for bypassing confirmation screens.
HIGHER BAN RISK
skip: {
profitThreshold: 5000000, // Auto-buy if profit > 5M
finderTypes: ["SNIPER", "USER"],
cosmetics: true, // Skip cosmetic items
lowProfit: 1000000 // Skip if profit < 1M
}doNotRelist (Object)
doNotRelist (Object)Exclusion rules for specific items.
doNotRelist: {
items: ["Aspect of the Dragons", "Necron's Handle"],
minProfit: 1000000, // Don't relist if profit < 1M
tags: ["VERY_SPECIAL"], // Don't relist items with these tags
finders: ["STONKS"] // Don't relist from certain finders
}angryCoopPrevention (Boolean)
angryCoopPrevention (Boolean)Blocks cooperative auction claims.
angryCoopPrevention: truePrevents claiming auctions from coop members (if applicable).
blockUselessMessages (Boolean)
blockUselessMessages (Boolean)Suppress non-essential logs.
blockUselessMessages: trueReduces console spam by hiding minor messages.
pingOnUpdate (Boolean)
pingOnUpdate (Boolean)Notifications for bot updates.
pingOnUpdate: trueAdvanced Features
visitFriend (String)
visitFriend (String)Island-based flipping capability.
visitFriend: ""Bot will visit friend's island for private flips or special access.
autoRotate (Object)
autoRotate (Object)Account-specific rest/flip scheduling.
autoRotate: {
"MainAccount": "r2:3f1", // Rest 2 hours, flip 3 hours, friend visit 1 hour
"AltAccount1": "r1:2f2" // Custom schedule for each account
}Schedule format: "r[hours]:f[hours]f[hours]"
r= rest/offline timef= flip timeCan chain multiple periods
Next Steps
Learn about Filters and Settings in detail
Understand Cofl Commands for in-game adjustments
Read about Loading Configs
Last updated
Was this helpful?