
Security News
PodRocket Podcast: Inside the Recent npm Supply Chain Attacks
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
@soymaycol/mayaternos
Advanced tools
Módulo para crear bots de Minecraft 24/7 con movimientos aleatorios usando MinePlayer
Módulo para crear bots de Minecraft 24/7 con movimientos aleatorios y comportamientos anti-detección usando MinePlayer (mineflayer).
npm install @soymaycol/mayaternos
const MayAternos = require('@soymaycol/mayaternos');
const botManager = new MayAternos({
host: 'tu-servidor.aternos.me',
port: 25565,
username: 'MiBot',
version: '1.19.2'
});
const bot = botManager.createBot();
const MayAternos = require('@soymaycol/mayaternos');
const botManager = new MayAternos({
host: 'tu-servidor.aternos.me',
port: 25565,
username: 'Bot',
version: '1.19.2'
});
// Crear 3 bots: Bot_1, Bot_2, Bot_3
const bots = botManager.createMultipleBots(3);
const options = {
// Configuración del servidor
host: 'localhost', // IP del servidor
port: 25565, // Puerto del servidor
username: 'Bot', // Nombre del bot
version: '1.19.2', // Versión de Minecraft
auth: 'offline', // Tipo de autenticación
// Configuración de reconexión
reconnectDelay: 3000, // Delay entre reconexiones (ms)
maxReconnectAttempts: -1, // Máximo intentos (-1 = ilimitado)
// Configuración de movimientos
movementInterval: 5000, // Intervalo entre movimientos (ms)
randomMovement: true, // Habilitar movimientos aleatorios
// Configuración de chat
chatInterval: 30000, // Intervalo entre mensajes (ms)
randomChat: false, // Habilitar chat aleatorio
chatMessages: ['Hola', 'Como están?'], // Mensajes aleatorios
// Configuración de logging
verbose: true // Mostrar logs detallados
};
const botManager = new MayAternos(options);
const MayAternos = require('@soymaycol/mayaternos');
const botManager = new MayAternos({
host: 'mi-servidor.aternos.me',
port: 25565,
username: 'GuardianBot',
version: '1.19.2',
auth: 'offline',
// Configuración de comportamientos
movementInterval: 8000,
randomMovement: true,
randomChat: true,
chatMessages: [
'Hola a todos!',
'Que tal están?',
'Buenas tardes',
'Saludos!',
'Todo bien por aquí'
],
chatInterval: 45000,
// Configuración de reconexión
reconnectDelay: 5000,
maxReconnectAttempts: 10,
verbose: true
});
const bot = botManager.createBot();
// Crear bot individual
const bot = botManager.createBot();
// Crear bot con configuración específica
const bot = botManager.createBot({
username: 'BotEspecial',
host: 'otro-servidor.com'
});
// Crear múltiples bots
const bots = botManager.createMultipleBots(5);
// Crear múltiples bots con configuración base
const bots = botManager.createMultipleBots(3, {
username: 'Worker',
randomChat: true
});
// Obtener todos los bots
const allBots = botManager.getBots();
// Obtener bot por nombre
const bot = botManager.getBotByName('MiBot');
// Obtener estado de todos los bots
const status = botManager.getBotsStatus();
console.log(status);
// Desconectar bot específico
botManager.disconnectBot('MiBot');
// Desconectar todos los bots
botManager.disconnectAll();
El módulo incluye varios comportamientos para evitar la detección como bot:
const botManager = new MayAternos({
// Intervalo base entre movimientos
movementInterval: 5000,
// Habilitar movimientos aleatorios
randomMovement: true,
// El sistema añade aleatoriedad adicional automáticamente
});
const botManager = new MayAternos({
verbose: true // Mostrar logs detallados
});
// Los bots emiten eventos estándar de mineflayer
bot.on('login', () => {
console.log('Bot conectado');
});
bot.on('spawn', () => {
console.log('Bot spawneado');
});
bot.on('death', () => {
console.log('Bot murió');
});
bot.on('kicked', (reason) => {
console.log('Bot kickeado:', reason);
});
const MayAternos = require('@soymaycol/mayaternos');
// Configuración para servidor de Aternos
const botManager = new MayAternos({
host: 'MiServidor.aternos.me',
port: 25565,
username: 'Vigilante',
version: '1.19.2',
auth: 'offline',
// Movimientos cada 3-8 segundos
movementInterval: 3000,
randomMovement: true,
// Chat cada 2-5 minutos
randomChat: true,
chatInterval: 120000,
chatMessages: [
'Todo tranquilo por aquí',
'Vigilando el servidor',
'Saludos!',
'Buenas!'
],
// Reconexión automática
reconnectDelay: 5000,
maxReconnectAttempts: -1,
verbose: true
});
// Crear bot principal
const mainBot = botManager.createBot();
// Crear bots adicionales después de 30 segundos
setTimeout(() => {
const additionalBots = botManager.createMultipleBots(2, {
username: 'Helper'
});
}, 30000);
// Manejar cierre limpio
process.on('SIGINT', () => {
console.log('Cerrando todos los bots...');
botManager.disconnectAll();
process.exit(0);
});
El módulo incluye manejo robusto de errores:
const botManager = new MayAternos({
reconnectDelay: 5000, // 5 segundos entre intentos
maxReconnectAttempts: 10, // Máximo 10 intentos
verbose: true // Ver logs de reconexión
});
FAQs
Módulo para crear bots de Minecraft 24/7 con movimientos aleatorios usando MinePlayer
The npm package @soymaycol/mayaternos receives a total of 5 weekly downloads. As such, @soymaycol/mayaternos popularity was classified as not popular.
We found that @soymaycol/mayaternos demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.