2023-12-26 18:45:18 -05:00
{
module . exports = {
bots : [
2024-01-12 12:24:01 -05:00
{
host : "server ip here or comment this out and refer to the bot.js file" ,
version : "1.20.1" , //version here
reconnectDelay : 6000 ,
username : username ( ) ,
console : true ,
2023-12-26 18:45:18 -05:00
input : true ,
Core : {
2024-01-12 12:24:01 -05:00
customName : "core custom name here" ,
2023-12-26 18:45:18 -05:00
core : true ,
2024-01-12 12:24:01 -05:00
interval : 180000
} ,
discord : {
channelId : "discord channel ip here" ,
2023-12-26 18:45:18 -05:00
invite : "discord invite link here" ,
commandPrefix : "discord command prefix here"
} ,
2024-01-12 12:24:01 -05:00
selfcare : {
vanished : true ,
unmuted : true ,
prefix : true ,
2023-12-26 18:45:18 -05:00
cspy : true ,
2024-01-12 12:24:01 -05:00
tptoggle : true ,
skin : true ,
gmc : true ,
op : true ,
nickname : true ,
username : true ,
god : true ,
interval : 500 ,
}
} ,
2023-12-26 18:45:18 -05:00
]
}
function username ( ) {
const characters = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890' ; // remove sus characters like ` or like ( or whatever because it breaks whatever
let username = '' ;
for ( let i = 0 ; i < 9 ; i ++ ) {
const randomIndex = Math . floor ( Math . random ( ) * characters . length ) ;
username += characters [ randomIndex ] ;
}
return username ;
}
}