rugplay-ai
v1.0.7
Published
Automated bot for RugPlay arcade games and AI-powered coin trading
Maintainers
Readme
🎯 RugPlay Smart Coinflip Bot
🚀 Enhanced Smart Coinflip Bot v2.0 - An advanced automated trading bot for RugPlay's coinflip game with intelligent strategies, risk management, and real-time Discord notifications.
📊 Live Stats
🎮 Features
🎯 Smart Trading Engine
- Multiple Betting Strategies: Martingale, Conservative, and Aggressive modes
- Predictive Analytics: AI-powered side prediction based on historical data
- Dynamic Bet Sizing: Automatic bet adjustment based on win/loss streaks
- Risk Management: Stop-loss, take-profit, and emergency stop mechanisms
🛡️ Advanced Safety Features
- Loss Streak Protection: Automatic stop after consecutive losses
- Win Streak Targeting: Stop after reaching win streak goals
- Emergency Balance Protection: Halt trading at critical balance levels
- Pause on Loss: Manual control after each loss for careful management
📊 Real-Time Analytics
- Live Statistics: Win rate, profit/loss tracking, streak monitoring
- Historical Data: Persistent storage of all trading sessions
- Performance Metrics: Detailed analysis of trading patterns
- Export Functionality: Save trading history for external analysis
🔗 Discord Integration
- Real-Time Notifications: Live bet results and statistics
- Detailed Logging: Comprehensive trade information
- Session Summaries: Final performance reports
- Custom Webhooks: Easy Discord server integration
⚙️ User-Friendly Interface
- Interactive CLI: Beautiful colored terminal interface
- Configuration Management: Easy setup and modification
- Menu-Driven Navigation: Intuitive user experience
- Graceful Shutdown: Safe termination with data preservation
🧨 Mines Automation
- Smart Mineflow: Automatically start a Mines round, reveal safe tiles, and cash out once configurable thresholds are met.
- Strategy Controls: Tune the mine count, grid size, reveal limit, and minimum multiplier before cashing out.
- Transparent Reporting: Every reveal, mine position, and payout lands in history and Discord for auditability.
🚀 Quick Start
Prerequisites
- Node.js 18+ installed
- RugPlay account (have ur cookie ready)
- Discord webhook URL (optional)
Installation
Clone the repository
git clone https://github.com/itzdaimy/RugPlay-Automation.git cd rugplay-botInstall dependencies
npm installSet up environment
# Edit config.json with your configurationRun the bot
node index.js
📋 Configuration
Basic Settings
| Setting | Description | Default |
|---------|-------------|---------|
| side | Preferred coinflip side (heads/tails) | heads |
| initialBet | Starting bet amount | Required |
| maxBet | Maximum bet limit | Required |
| maxAttempts | Maximum trading attempts (0 = unlimited) | 0 |
| bettingStrategy | Trading strategy (martingale/conservative/aggressive) | conservative |
| delayBetween | Delay between bets (ms) | 1500 |
| mineCount | How many mines per Mines round | 3 |
| minesBoardSize | Total tiles on the Mines grid | 25 |
| minesAutoCashoutMultiplier | Minimum multiplier to auto cash out in Mines | 1.25 |
| minesMaxReveals | Maximum safe tiles to reveal before forcing a cashout | 5 |
| minesRevealDelay | Delay between each Mines tile reveal (ms) | 0 |
Safety Settings
| Setting | Description | Default |
|---------|-------------|---------|
| maxLossStreak | Stop after consecutive losses | Required |
| stopOnWinStreak | Stop after win streak (0 = disabled) | 0 |
| stopProfit | Stop at profit target (0 = disabled) | 0 |
| stopLoss | Stop at loss limit (0 = disabled) | 0 |
| emergencyStop | Emergency balance threshold | 0 |
| pauseOnLoss | Pause after each loss | false |
Connection Settings
| Setting | Description |
|---------|-------------|
| cookie | RugPlay authentication cookie |
| webhook | Discord webhook URL |
| sendDetailedLogs | Enable detailed Discord logging |
🎯 Trading Strategies
🔥 Martingale Strategy
- Doubles bet after each loss
- Resets to initial bet after win
- High risk, high reward approach
- Best for: Short-term aggressive trading
🛡️ Conservative Strategy
- Gradual bet increases on win streaks
- Quick reset after losses
- Balanced risk management
- Best for: Long-term stable growth
⚡ Aggressive Strategy
- Increases bets on both wins and losses
- Maximum profit potential
- Higher risk tolerance required
- Best for: Experienced traders
📊 Menu Navigation
` 🎮 Main Menu:
- 🎯 Coinflip Mode
- 🧨 Mines Mode
- 🎰 Slots Mode
- ⚙ Configure Settings
- 📊 View Statistics / Clear History
- ❎ Exit
⚙️ Configuration Menu:
- 🧾 Basic Settings
- 🛡️ Safety Settings
- 🔗 Connection Settings
- 📋 View Current Config
- 🔁 Reset Configuration
- 🔙 Back to Main Menu `
📈 Performance Tracking
Statistics Monitored
- Win Rate: Percentage of successful trades
- Profit/Loss: Net financial performance
- Streak Records: Maximum win/loss streaks
- Balance Tracking: Real-time balance monitoring
- Trade History: Complete transaction log
Data Storage
- Configuration:
./config.json - Trading History:
./history.json - Maximum 100 recent trades stored
- Automatic data cleanup and rotation
🎨 Discord Integration
Webhook Setup
- Create a Discord webhook in your server
- Copy the webhook URL
- Configure in bot settings
- Enable detailed logging
Message Format
🎯 Smart Investor Running
Result: HEADS — ✅ Win
Bet: 10.00 | Side: HEADS | Balance: 109.80
Win Streak: 3 | Net Profit: +9.80
Strategy: conservative | Win Rate: 75.0%🛠️ Development
Project Structure
rugplay-bot/
├── src/
│ ├── index.js # Main application file
│ ├── core/
│ ├── modes/
│ │ ├── CoinflipBot.js
│ │ ├── SlotsBot.js
│ │ └── MinesBot.js # Mines mode implementation
│ ├── services/
│ └── ui/
├── config.json # Bot configuration
├── history.json # Trading history
├── package.json # Dependencies
└── README.md # This fileDependencies
axios- HTTP client for API requestsdiscord.js- Discord integrationchalk- Terminal colorsreadline- User input handling
🚨 Risk Disclaimer
⚠️ Important: This bot is for educational purposes only. Gambling involves significant financial risk. Always:
- Trade responsibly within your means
- Set appropriate stop-losses
- Monitor your account regularly
- Understand the risks involved
- I (daimy) am NOT responsible for a loss in money, items, accounts or ANYTHING ELSE!!
🤝 Contributing
We welcome contributions! Please follow these steps:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
Development Guidelines
- Follow existing code style
- Add comments for complex logic
- Test thoroughly before submitting
- Update documentation as needed
📝 License
This project is licensed under the MIT License - see the LICENSE file for details.
🙏 Support
If you find this project helpful, please consider:
- ⭐ Starring the repository
- 🐛 Reporting bugs
- 💡 Suggesting new features
- 🔄 Sharing with others
Contact
- 📧 Email: [email protected]
- 💬 Discord: daimyh
🎖️ Acknowledgments
- RugPlay platform
- Discord.js community for excellent documentation
- Node.js ecosystem for robust tooling
- All contributors and users
Made with ❤️ by [Daimy]
