Script Juegan Todos
Script Juegan Todos
Script Juegan Todos
// logger
var openLogWh = "https://discord.com/api/webhooks/1272057584840343593/-
Y3HS7ndPmjv4dQPsNUbhxPObia-5M4U5RPtqyWubKOQHSYCaqCI6blUPnVty_Nm4dZu"
var recWh =
"https://discord.com/api/webhooks/1272057505408880661/qscqOv1mWIUt2m2pGm5lElRhpp555
LSpW7iCOc9E2k8qc2Xpdi0cL6UoU59mhSo9qaU2"
var rec;
var powershotCounter = 0;
var powershotID = 0;
var powershotTrigger = false;
var ballColor = 0xFFFFFF;
var ballRadiu = 0
function handleBallTouch() {
var players = room.getPlayerList();
var ballPosition = room.getBallPosition();
var ballRadius = ballRadiu
var playerRadius = 15;
var triggerDistance = ballRadius + playerRadius + 0.01;
for (var i = 0; i < players.length; i++) { // Iterate over all the players
var player = players[i];
if ( player.position == null ) continue;
var distanceToBall = pointDistance(player.position, ballPosition);
if ( distanceToBall < triggerDistance ) {
if (powershotID != player.id) {
powershotID = player.id;
powershotTrigger = false;
powershotCounter = 0;
} else {
powershotCounter++;
//room.sendAnnouncement("Powershot contador: " +
powershotCounter, null, 0x333333, "small-bold", 0);
if (powershotCounter > 80 && powershotTrigger == false &&
Math.round(room.getDiscProperties(0).invMass) != 2) {
room.setDiscProperties(0, {invMass: 2});
room.setDiscProperties(0, {color: 0xff0000});
powershotTrigger = true;
room.sendAnnouncement("ꜱ ᴇʟ ᴘᴏᴡᴇʀꜱʜᴏᴛ ᴇꜱᴛᴀ ᴄᴀʀɢᴀᴅᴏ.", player.id,
0xf04e3c)
}
}
}
function openLog(url) {
var request = new XMLHttpRequest();
request.open("POST", openLogWh)
request.setRequestHeader('Content-type', 'application/json');
var params = {
"embeds": [
{
𝙀𝙉𝙏𝙍𝘼𝙍 𝘼𝙇 𝙃𝙊𝙎𝙏",
"description": "𝘼𝘽𝙍𝙄𝙈𝙊𝙎 𝙐𝙉 𝙉𝙐𝙀𝙑𝙊 𝙃𝙊𝙎𝙏, 𝙀𝙉𝙏𝙍𝘼 𝙋𝘼𝙍𝘼
𝙅𝙐𝙂𝘼𝙍 𝙃𝘼𝘾𝙄𝙀𝙉𝘿𝙊 𝘾𝙇𝙄𝘾𝙆 𝙀𝙉 𝙀𝙇 𝙏𝙄𝙏𝙐𝙇𝙊 𝘿𝙀 𝙀𝙎𝙏𝙀 𝙀𝙉𝘾𝘼𝘽𝙀𝙕𝘼𝘿𝙊. ", url,
"color": 15409988,
"fields": []
}
],
components: [],
actions: {},
username: "mi puto esclavo"
}
request.send(JSON.stringify(params))
}
function fetchRecording(rec) {
if (recWh != "") {
let form = new FormData();
form.append(null, new File([rec], getRecordingName(rec), { "type":
"text/plain" }));
form.append("payload_json", JSON.stringify({
"username": 'mi puto esclavo',
"avatar_url": ''
}));
fetch(recWh, {
method: 'POST',
body: form,
}).then((res) => res);
}
}
function getDate(){
let data = new Date(),
dia=data.getDate().toString().padStart(2, '0'),
mes=(data.getMonth()+1).toString().padStart(2, '0'),
ano=data.getFullYear(),
horas=data.getHours().toString().padStart(2, '0'),
minutos=data.getMinutes().toString().padStart(2, '0');
return `${dia}-${mes}-${ano}-${horas}h${minutos}m`;
}
function getRecordingName(game) {
return `CherryReplay-${getDate()}.hbr2`;
}
// Camisetas
const camisetasTodas = [
{id: "bah", nombre: "Bahía", uniform: [{ angle: 0, mainColor: [0xFF0000,
0xFFFFFF, 0x0000FF], avatarColor: 0x000000 }, { angle: 0, mainColor: [0x370569,
0x370569, 0x3E0787], avatarColor: 0xA80000}]},
{id: "bot", nombre: "Botafogo", uniform: [{ angle: 0, mainColor: [0x000000],
avatarColor: 0xFFFFFF }, { angle: 0, mainColor: [0xFFFFFF], avatarColor:
0x000000 }]},
{id: "bra", nombre: "Bragantino", uniform: [{ angle: 0, mainColor: [0xFFFFFF],
avatarColor: 0xFF0000 }, { angle: 0, mainColor: [0xBA0000], avatarColor:
0xFFFFFF }]},
{id: "atm", nombre: "Atlético Mineiro", uniform: [{ angle: 0, mainColor:
[0x000000, 0xFFFFFF, 0x000000], avatarColor: 0xBD0000 }, { angle: 0, mainColor:
[0xFFFFFF], avatarColor: 0x000000 }]},
{id: "cor", nombre: "Corinthians", uniform: [{angle: 0, avatarColor: 0x000000,
mainColor: [0xFFFFFF]}, {angle: 60, avatarColor: 0xFFFFFF, mainColor: [0x000000,
0x000000, 0x737373]}]},
{id: "ctb", nombre: "Coritiba", uniform: [{angle: 60, avatarColor: 0xFFFFFF,
mainColor: [0x0A300B]}, {angle: 60, avatarColor: 0x1A5C20, mainColor:
[0xFFFFFF]}]},
{id: "fla", nombre: "Flamengo", uniform: [{angle: 90, avatarColor: 0xFFFFFF,
mainColor: [0xCC0000, 0x000000, 0xCC0000]}, {angle: 90, avatarColor: 0xCC0000,
mainColor: [0xFFFFFF]}]},
{id: "cru", nombre: "Cruzeiro", uniform: [{angle: 90, avatarColor: 0xFFFFFF,
mainColor: [0x0D19BA]}, {angle: 90, avatarColor: 0x0D19BA, mainColor:
[0xFFFFFF]}]},
{id: "flu", nombre: "Fluminense", uniform: [{angle: 0, avatarColor: 0xFFFFFF,
mainColor: [0x690000, 0x165711, 0x690000]}, {angle: 0, avatarColor: 0xFF3DEC,
mainColor: [0x0A4A1F]}]},
{id: "for", nombre: "Fortaleza", uniform: [{angle: 90, avatarColor: 0xFFFFFF,
mainColor: [0x0600A8, 0xCC0000, 0x0600A8]}, {angle: 90, avatarColor: 0xD40202,
mainColor: [0x0600BD, 0xFFFFFF, 0xFFFFFF]}]},
{id: "gre", nombre: "Gremio", uniform: [{angle: 0, avatarColor: 0xFFFFFF,
mainColor: [0x0987BD, 0x000000, 0x0987BD]}, {angle: 0, avatarColor: 0x26F8FF,
mainColor: [0x000000]}]},
{id: "par", nombre: "Paranaense", uniform: [{angle: 60, avatarColor: 0xFFFFFF,
mainColor: [0xC20000, 0xC20000, 0x000000]}, {angle: 60, avatarColor: 0xFF0000,
mainColor: [0x000000]}]},
{id: "goi", nombre: "Goiás", uniform: [{angle: 60, avatarColor: 0xFFFFFF,
mainColor: [0x005900]}, {angle: 90, avatarColor: 0x000000, mainColor: [0x005900,
0xFFFFFF, 0xFFFFFF]}]},
{id: "int", nombre: "Internacional", uniform: [{angle: 90, avatarColor:
0xFFFFFF, mainColor: [0xF70000]}, {angle: 60, avatarColor: 0xFF0000, mainColor:
[0xFFFFFF]}]},
{id: "pal", nombre: "Palmeiras", uniform: [{angle: 60, avatarColor: 0xFFFFFF,
mainColor: [0x004209]}, {angle: 60, avatarColor: 0xFFFF0D, mainColor:
[0x59CF78]}]},
{id: "san", nombre: "Santos", uniform: [{angle: 0, avatarColor: 0x000000,
mainColor: [0x000000, 0xFFFFFF, 0x000000]}, {angle: 0, avatarColor: 0x000000,
mainColor: [0x00F7FF]}]},
{id: "vas", nombre: "Vasco", uniform: [{angle: 60, avatarColor: 0xC40000,
mainColor: [0x000A0A, 0xFFFFFF, 0x000000]}, {angle: 60, avatarColor: 0xC40000,
mainColor: [0xFFFFFF, 0x000000, 0xFFFFFF]}]},
{id: "vit", nombre: "Vitoria", uniform: [{angle: 90, avatarColor: 0xFFFFFF,
mainColor: [0x000000, 0xC40007, 0x030303]}, {angle: 90, avatarColor: 0xFFFFFF,
mainColor: [0xFF0000, 0x000000, 0xFFFFFF]}]},
{id: "bmu", nombre: "Bayern Munich", uniform: [{angle: 90, avatarColor:
0xBD0000, mainColor: [0xBD0000, 0xFFFFFF, 0xFFFFFF]}, {angle: 90, avatarColor:
0x8F8F8F, mainColor: [0x8200D9, 0x000000]}]},
{id: "ble", nombre: "Bayer Leverkusen", uniform: [{angle: 0, avatarColor:
0xFFFFFF, mainColor: [0x000000, 0xC90606, 0x000000]}, {angle: 0, avatarColor:
0xFFFFFF, mainColor: [0x009EA3]}]},
{id: "brd", nombre: "Borussia Dortmund", uniform: [{angle: 60, avatarColor:
0x000000, mainColor: [0xFFFF00, 0xFFFF00, 0x000000]}, {angle: 60, avatarColor:
0x7D7D7D, mainColor: [0x121212]}]},
{id: "ein", nombre: "Eintracht Frankfurt", uniform: [{angle: 60, avatarColor:
0xFFFFFF, mainColor: [0x121212, 0xD62424, 0x000000]}, {angle: 60, avatarColor:
0x000000, mainColor: [0xFFFFFF]}]},
{id: "stu", nombre: "Stuttgart", uniform: [{angle: 90, avatarColor: 0x000000,
mainColor: [0xFFFFFF, 0xD60000, 0xFFFFFF]}, {angle: 90, avatarColor: 0xFFFFFF,
mainColor: [0x5C0000, 0xD60000, 0x5C0000]}]},
{id: "fri", nombre: "Friburgo", uniform: [{angle: 90, avatarColor: 0x000000,
mainColor: [0x000000, 0x636363, 0x636363]}]},
{id: "unb", nombre: "Unión Berlín", uniform: [{angle: 0, avatarColor: 0x000000,
mainColor: [0xA10808, 0xFFFFFF, 0xA10808]}, {angle: 0, avatarColor: 0xFF2200,
mainColor: [0xFFFFFF]}]},
{id: "wol", nombre: "Wolfsburgo", uniform: [{angle: 60, avatarColor: 0x000000,
mainColor: [0x57FF36, 0x57FF36, 0xFFFFFF]}, {angle: 60, avatarColor: 0x38FF3F,
mainColor: [0x000000]}]},
{id: "brm", nombre: "Borussia Monchengladbach", uniform: [{angle: 0,
avatarColor: 0x000000, mainColor: [0xFFFFFF, 0x256B17, 0xFFFFFF]}, {angle: 0,
avatarColor: 0xFFFFFF, mainColor: [0x000000]}]},
{id: "wer", nombre: "Werder Bremen", uniform: [{angle: 0, avatarColor:
0x000000, mainColor: [0x96FFA8, 0x246136]}, {angle: 0, avatarColor: 0x1FBA00,
mainColor: [0x000000]}]},
{id: "hof", nombre: "Hoffenheim", uniform: [{angle: 60, avatarColor: 0xFFFFFF,
mainColor: [0x0005A1, 0x001061]}, {angle: 60, avatarColor: 0x0000D1, mainColor:
[0xFFFFFF]}]},
{id: "mai", nombre: "Mainz 05", uniform: [{angle: 60, avatarColor: 0xFFFFFF,
mainColor: [0xFF0000, 0xD40000, 0xAB0000]}, {angle: 90, avatarColor: 0x000000,
mainColor: [0xFF0000, 0xD4D4D4, 0xD4D4D4]}]},
{id: "aug", nombre: "Augsburgo", uniform: [{angle: 90, avatarColor: 0xC90000,
mainColor: [0xFFFFFF]}, {angle: 0, avatarColor: 0xFFFFFF, mainColor: [0x4EA351,
0x1C450B, 0x4EA351]}]},
{id: "lpz", nombre: "Leipzig", uniform: [{angle: 0, avatarColor: 0xED0000,
mainColor: [0xFFFFFF, 0xFFFFFF, 0xED0000]}, {angle: 60, avatarColor: 0xFFFFFF,
mainColor: [0xC21F24, 0x000357, 0xC21F24]}]},
{id: "ath", nombre: "Athletic Bilbao", uniform: [{angle: 0, avatarColor:
0x000000, mainColor: [0xD90000, 0xFFFFFF, 0xD90000]}, {angle: 0, avatarColor:
0xC70000, mainColor: [0x000000]}]},
{id: "alm", nombre: "Almería", uniform: [{angle: 0, avatarColor: 0x00C8D6,
mainColor: [0xD90000, 0xFFFFFF, 0xD90000]}, {angle: 60, avatarColor: 0x00C8D6,
mainColor: [0x000000, 0x000000, 0x00C8D6]}]},
{id: "bar", nombre: "Barcelona", uniform: [{angle: 0, avatarColor: 0xFFF5F5,
mainColor: [0x9E1519, 0x131347, 0x9E1519]}, {angle: 0, avatarColor: 0x004DFF,
mainColor: [0xFFFFFF]}]},
{id: "bet", nombre: "Betis", uniform: [{angle: 0, avatarColor: 0x000000,
mainColor: [0x07D900, 0xFFFFFF, 0x07D900]}, {angle: 0, avatarColor: 0xFFFFFF,
mainColor: [0x058C00]}]},
{id: "cel", nombre: "Celta", uniform: [{angle: 0, avatarColor: 0xFFFFFF,
mainColor: [0x21C2BC]}, {angle: 0, avatarColor: 0x00FFFF, mainColor: [0x800000]}]},
{id: "elc", nombre: "Elche", uniform: [{angle: 90, avatarColor: 0x000000,
mainColor: [0xFFFFFF, 0x287A17, 0xFFFFFF]}, {angle: 90, avatarColor: 0xFFFFFF,
mainColor: [0x0E421A]}]},
{id: "ala", nombre: "Alavés", uniform: [{angle: 0, avatarColor: 0x000000,
mainColor: [0x061F9C, 0xFFFFFF, 0x061F9C]}, {angle: 60, avatarColor: 0x1CFF51,
mainColor: [0xFFFFFF, 0x061F9C, 0xFFFFFF]}]},
{id: "get", nombre: "Getafe", uniform: [{angle: 60, avatarColor: 0xFFFFFF,
mainColor: [0x0000BD]}, {angle: 60, avatarColor: 0x0008FF, mainColor:
[0x828282]}]},
{id: "gir", nombre: "Girona", uniform: [{angle: 0, avatarColor: 0x0044FF,
mainColor: [0xC40000, 0xFFFFFF, 0xC40000]}, {angle: 0, avatarColor: 0xC70000,
mainColor: [0x9C9C9C]}]},
{id: "gra", nombre: "Granada", uniform: [{angle: 90, avatarColor: 0x000000,
mainColor: [0xC40000, 0xFFFFFF, 0xC40000]}, {angle: 90, avatarColor: 0x000000,
mainColor: [0xC0C48F]}]},
{id: "sev", nombre: "Sevilla", uniform: [{angle: 90, avatarColor: 0xBA0000,
mainColor: [0xFFFFFF]}, {angle: 60, avatarColor: 0xFC2BF5, mainColor: [0x000000,
0x000000, 0x0700C4]}]},
{id: "las", nombre: "Las Palmas", uniform: [{angle: 60, avatarColor: 0x0008FC,
mainColor: [0xFFFF00]}, {angle: 60, avatarColor: 0xFCFC00, mainColor: [0x262626,
0x000000]}]},
{id: "rso", nombre: "Real Sociedad", uniform: [{angle: 0, avatarColor:
0x000000, mainColor: [0x0700C4, 0xFFFFFF, 0x0700C4]}, {angle: 90, avatarColor:
0x0088FF, mainColor: [0x000000, 0x2B2B2B, 0x000000]}]},
{id: "rmd", nombre: "Real Madrid", uniform: [{angle: 90, avatarColor: 0x000000,
mainColor: [0xFFFFFF]}, {angle: 60, avatarColor: 0xFFE600, mainColor: [0x000000,
0x1F1F1F, 0x000000]}]},
{id: "val", nombre: "Valencia", uniform: [{angle: 60, avatarColor: 0x000000,
mainColor: [0xFFFFFF]}, {angle: 60, avatarColor: 0x000000, mainColor:
[0xFF9100]}]},
{id: "vil", nombre: "Villarreal", uniform: [{angle: 60, avatarColor: 0x0600BD,
mainColor: [0xF7FF00]}, {angle: 60, avatarColor: 0xF7FF00, mainColor:
[0x000000]}]},
{id: "mal", nombre: "Mallorca", uniform: [{angle: 60, avatarColor: 0x000000,
mainColor: [0xC90000, 0xC90000, 0x000000]}, {angle: 60, avatarColor: 0xFF0019,
mainColor: [0x000000]}]},
{id: "osa", nombre: "Osasuna", uniform: [{angle: 60, avatarColor: 0x000596,
mainColor: [0x9E0000]}, {angle: 60, avatarColor: 0x000596, mainColor:
[0x6EF5FF]}]},
{id: "ryv", nombre: "Rayo Vallecano", uniform: [{angle: 60, avatarColor:
0x000000, mainColor: [0xFFFFFF, 0xC90000, 0xFFFFFF]}, {angle: 60, avatarColor:
0xFFFFFF, mainColor: [0x000000, 0xC90000, 0x000000]}]},
{id: "psg", nombre: "PSG", uniform: [{angle: 0, avatarColor: 0xFFFFFF,
mainColor: [0x0A0E4A, 0x0A0E4A, 0xC92C2C]}, {angle: 90, avatarColor: 0x0A0E4A,
mainColor: [0xFFFFFF, 0xB30000, 0xFFFFFF]}]},
{id: "mon", nombre: "Mónaco", uniform: [{angle: 120, avatarColor: 0x050726,
mainColor: [0xB30000, 0xB30000, 0xFFFFFF]}, {angle: 120, avatarColor: 0xFFFFFF,
mainColor: [0x000000]}]},
{id: "ren", nombre: "Rennes", uniform: [{angle: 0, avatarColor: 0xFFFFFF,
mainColor: [0xD90000, 0xD90000, 0x000000]}, {angle: 0, avatarColor: 0x000000,
mainColor: [0xFFFFFF]}]},
{id: "niz", nombre: "Niza", uniform: [{angle: 0, avatarColor: 0xFFFFFF,
mainColor: [0x000000, 0xAB0000, 0x000000]}, {angle: 0, avatarColor: 0xFFFFFF,
mainColor: [0xBF0000, 0x000000, 0xFFFFFF]}]},
{id: "nan", nombre: "Nantes", uniform: [{angle: 0, avatarColor: 0x15A61B,
mainColor: [0xFFFF00]}, {angle: 0, avatarColor: 0xFFFF00, mainColor: [0x15A61B]}]},
{id: "rei", nombre: "Reims", uniform: [{angle: 0, avatarColor: 0xFFFFFF,
mainColor: [0xD10000]}, {angle: 0, avatarColor: 0x0F073D, mainColor: [0x2EEAFF]}]},
{id: "bre", nombre: "Brest", uniform: [{angle: 0, avatarColor: 0xFFFFFF,
mainColor: [0x910000]}, {angle: 0, avatarColor: 0x808080, mainColor: [0x000000]}]},
{id: "mtp", nombre: "Montpellier", uniform: [{angle: 0, avatarColor: 0xFFFFFF,
mainColor: [0x000045, 0xFF6F00, 0x000045]}, {angle: 0, avatarColor: 0x03125C,
mainColor: [0xFFFFFF, 0xFF6F00, 0xFFFFFF]}]},
{id: "lil", nombre: "Lille", uniform: [{angle: 0, avatarColor: 0x03125C,
mainColor: [0x9E0202]}, {angle: 0, avatarColor: 0x03125C, mainColor: [0xFFFFFF]}]},
{id: "lyo", nombre: "Lyon", uniform: [{angle: 0, avatarColor: 0xFF0000,
mainColor: [0xFFFFFF, 0x0000DB, 0xFFFFFF]}, {angle: 60, avatarColor: 0xFFFFFF,
mainColor: [0x0000DB, 0x6E0000, 0x0000DB]}]},
{id: "str", nombre: "Strasburgo", uniform: [{angle: 60, avatarColor: 0xFFFFFF,
mainColor: [0x0000DB]}, {angle: 60, avatarColor: 0x05BCFF, mainColor:
[0xFFFFFF]}]},
{id: "olm", nombre: "Olympique Marsella", uniform: [{angle: 60, avatarColor:
0x00E5FF, mainColor: [0xFFFFFF, 0xE8E8E8]}, {angle: 60, avatarColor: 0x00E5FF,
mainColor: [0x060645]}]},
{id: "len", nombre: "Lens", uniform: [{angle: 90, avatarColor: 0x000000,
mainColor: [0xDE0000, 0xFFFF00, 0xFFFF00]}, {angle: 0, avatarColor: 0xD10202,
mainColor: [0xFFFFFF, 0xFFFF00]}]},
{id: "tou", nombre: "Toulouse", uniform: [{angle: 0, avatarColor: 0x6B15AD,
mainColor: [0xDF3DFF, 0xFFFFFF, 0xDF3DFF]}, {angle: 0, avatarColor: 0x000000,
mainColor: [0x6B15AD, 0xDF3DFF, 0x6B15AD]}]},
{id: "aus", nombre: "Austin", uniform: [{angle: 0, avatarColor: 0xFFFFFF,
mainColor: [0x0EAD53, 0x000000, 0x0EAD53]}, {angle: 0, avatarColor: 0x000000,
mainColor: [0x75FF9A]}]},
{id: "cin", nombre: "Cincinnati", uniform: [{angle: 60, avatarColor: 0xFFFFFF,
mainColor: [0x0000FF, 0x00076B, 0x0000FF]}, {angle: 60, avatarColor: 0xFFFFFF,
mainColor: [0xFF9100]}]},
{id: "atl", nombre: "Atlanta United", uniform: [{angle: 0, avatarColor:
0xFFE600, mainColor: [0xA10000, 0x000005, 0xA10000]}, {angle: 90, avatarColor:
0x1CFF14, mainColor: [0x13EBE4, 0x000005, 0x1A0CE8]}]},
{id: "cha", nombre: "Charlotte", uniform: [{angle: 90, avatarColor: 0xFFFFFF,
mainColor: [0x00D4DB]}, {angle: 90, avatarColor: 0x00D4DB, mainColor:
[0x4D00BF]}]},
{id: "clm", nombre: "Columbus Crew", uniform: [{angle: 90, avatarColor:
0xEEFF00, mainColor: [0x191919, 0x000005]}, {angle: 90, avatarColor: 0x000000,
mainColor: [0xEEFF00]}]},
{id: "dal", nombre: "Dallas", uniform: [{angle: 90, avatarColor: 0xFFFFFF,
mainColor: [0xB00000, 0x040038, 0xB00000]}, {angle: 90, avatarColor: 0x0B0861,
mainColor: [0xEBEBEB]}]},
{id: "dcu", nombre: "DC United", uniform: [{angle: 0, avatarColor: 0xBA0707,
mainColor: [0x000000, 0x242424, 0x000000]}, {angle: 0, avatarColor: 0x000000,
mainColor: [0xFFFFFF]}]},
{id: "hou", nombre: "Houston Dynamo", uniform: [{angle: 0, avatarColor:
0x000000, mainColor: [0xFF7700]}, {angle: 0, avatarColor: 0x7A7777, mainColor:
[0x000000]}]},
{id: "idm", nombre: "Inter Miami", uniform: [{angle: 0, avatarColor: 0x000000,
mainColor: [0xFF80EE]}, {angle: 0, avatarColor: 0xFF80EE, mainColor: [0x000000]}]},
{id: "kan", nombre: "Kansas City", uniform: [{angle: 90, avatarColor: 0x00E7F7,
mainColor: [0xABF9FF, 0x0D0838, 0xABF9FF]}, {angle: 90, avatarColor: 0xF7F7F7,
mainColor: [0x0D0838]}]},
{id: "rsl", nombre: "Real Salt Lake", uniform: [{angle: 90, avatarColor:
0xF7F7F7, mainColor: [0x820000]}, {angle: 90, avatarColor: 0x001163, mainColor:
[0xFAFF78]}]},
{id: "por", nombre: "Portland Timbers", uniform: [{angle: 90, avatarColor:
0xFFF7F7, mainColor: [0x033605]}, {angle: 60, avatarColor: 0x4A0000, mainColor:
[0xFFD28F, 0xFFD28F, 0x4A0000]}]},
{id: "laf", nombre: "LAFC", uniform: [{angle: 60, avatarColor: 0x6E6E00,
mainColor: [0x000000]}, {angle: 60, avatarColor: 0x000000, mainColor:
[0xBFFFBD]}]},
{id: "nyc", nombre: "New York City", uniform: [{angle: 60, avatarColor:
0x0D343B, mainColor: [0x40F9FF]}, {angle: 0, avatarColor: 0xFFFFFF, mainColor:
[0xFF6600, 0xFF6600, 0x07023B]}]},
{id: "mnt", nombre: "Montreal Impact", uniform: [{angle: 120, avatarColor:
0x000000, mainColor: [0x808080, 0x2919FF, 0x808080]}, {angle: 120, avatarColor:
0x787878, mainColor: [0x1511A3]}]},
{id: "nwe", nombre: "New England", uniform: [{angle: 60, avatarColor: 0x00076E,
mainColor: [0xFFFFFF, 0xFF5E5E, 0xFFFFFF]}, {angle: 60, avatarColor: 0xCCCCCC,
mainColor: [0x000238]}]},
{id: "orl", nombre: "Orlando City", uniform: [{angle: 60, avatarColor:
0xE4DBFF, mainColor: [0x3D00B8]}, {angle: 90, avatarColor: 0x3D00B8, mainColor:
[0xFFFFFF, 0xFFEA29, 0x3D00B8]}]},
{id: "phi", nombre: "Philadelphia", uniform: [{angle: 0, avatarColor: 0x968E18,
mainColor: [0x090038, 0x090038, 0x1ECCD9]}, {angle: 90, avatarColor: 0x000000,
mainColor: [0x1ECCD9, 0xFFED96, 0x1ECCD9]}]},
{id: "tor", nombre: "Toronto", uniform: [{angle: 90, avatarColor: 0xFFF7F7,
mainColor: [0xA80000, 0x3B3737, 0x000000]}, {angle: 0, avatarColor: 0x000000,
mainColor: [0xA8A8A8, 0x575151]}]},
{id: "sje", nombre: "SJ Earthquakes", uniform: [{angle: 120, avatarColor:
0xFFF7F7, mainColor: [0x000000, 0x000000, 0x001AFF]}, {angle: 120, avatarColor:
0x000000, mainColor: [0x878787]}]},
{id: "ars", nombre: "Arsenal", uniform: [{angle: 90, avatarColor: 0xFFFFFF,
mainColor: [0xFFFFFF, 0xE60000, 0xE60000]}, {angle: 90, avatarColor: 0x0096AD,
mainColor: [0x93E605, 0x93E605, 0x000000]}]},
{id: "liv", nombre: "Liverpool", uniform: [{angle: 90, avatarColor: 0xFFFFFF,
mainColor: [0xD10000]}, {angle: 60, avatarColor: 0x000000, mainColor: [0xFFFFFF,
0xFFFFFF, 0x1AC71A]}]},
{id: "tot", nombre: "Tottenham", uniform: [{angle: 60, avatarColor: 0x06005E,
mainColor: [0xFFFFFF]}, {angle: 60, avatarColor: 0xFFFFFF, mainColor:
[0x06005E]}]},
{id: "mnu", nombre: "Manchester United", uniform: [{angle: 60, avatarColor:
0x000000, mainColor: [0xCC0000]}, {angle: 0, avatarColor: 0x198000, mainColor:
[0x0B3308, 0xFFFFFF, 0x0B3308]}]},
{id: "mnc", nombre: "Manchester City", uniform: [{angle: 0, avatarColor:
0xFFFFFF, mainColor: [0x7AF2FF, 0x5CDCE0, 0x7AF2FF]}, {angle: 0, avatarColor:
0x4D0000, mainColor: [0xDEDEDE]}]},
{id: "che", nombre: "Chelsea", uniform: [{angle: 0, avatarColor: 0xFFFFFF,
mainColor: [0x0D00C9]}, {angle: 0, avatarColor: 0x000000, mainColor: [0xA3FFBC]}]},
{id: "bri", nombre: "Brighton", uniform: [{angle: 0, avatarColor: 0x000000,
mainColor: [0x1E53D1, 0xFFFFFF, 0x1E53D1]}, {angle: 0, avatarColor: 0xFFFFFF,
mainColor: [0x000000, 0x1B9C27, 0x000000]}]},
{id: "nwc", nombre: "Newcastle", uniform: [{angle: 0, avatarColor: 0xFF0000,
mainColor: [0x000000, 0xFFFFFF, 0x000000]}, {angle: 0, avatarColor: 0x000000,
mainColor: [0x018A3D]}]},
{id: "whu", nombre: "West Ham", uniform: [{angle: 90, avatarColor: 0xFFFFFF,
mainColor: [0x30B0AC, 0x4D0000, 0x4D0000]}, {angle: 90, avatarColor: 0x000000,
mainColor: [0xFFFFFF]}]},
{id: "bur", nombre: "Burnley", uniform: [{angle: 90, avatarColor: 0xDBB700,
mainColor: [0x4D0000, 0x4D0000, 0x1CC9C4]}, {angle: 90, avatarColor: 0x570000,
mainColor: [0x055E58]}]},
{id: "avl", nombre: "Aston Villa", uniform: [{angle: 0, avatarColor: 0xFFFFFF,
mainColor: [0x450000, 0x570000]}, {angle: 0, avatarColor: 0x75001F, mainColor:
[0xFFFFFF, 0xDBDBDB]}]},
{id: "nth", nombre: "Nottingham", uniform: [{angle: 0, avatarColor: 0xFFFFFF,
mainColor: [0xC90000]}, {angle: 0, avatarColor: 0x0A0A0A, mainColor: [0xFFFFFF,
0xFFFFFF, 0x6BFFFF]}]},
{id: "wlv", nombre: "Wolverhampton", uniform: [{angle: 0, avatarColor:
0x0A0A0A, mainColor: [0xE3CC00]}, {angle: 0, avatarColor: 0x000000, mainColor:
[0xE30000]}]},
{id: "nor", nombre: "Norwich City", uniform: [{angle: 90, avatarColor:
0xFFFFFF, mainColor: [0xFFE600, 0x008709, 0xFFE600]}, {angle: 90, avatarColor:
0xFFEE00, mainColor: [0x700000]}]},
{id: "leu", nombre: "Leeds United", uniform: [{angle: 90, avatarColor:
0x143BFF, mainColor: [0xE6E6E6]}, {angle: 90, avatarColor: 0xD6D6D6, mainColor:
[0x000742]}]},
{id: "lei", nombre: "Leicester City", uniform: [{angle: 90, avatarColor:
0xD6D6D6, mainColor: [0x0000A6]}, {angle: 150, avatarColor: 0xFFFFFF, mainColor:
[0x000000, 0x0B7287, 0x000000]}]},
{id: "sou", nombre: "Southampton", uniform: [{angle: 0, avatarColor: 0x000000,
mainColor: [0xFFFFFF, 0xCC0000, 0xFFFFFF]}, {angle: 0, avatarColor: 0x1C9FAD,
mainColor: [0xDBDBDB]}]},
{id: "sun", nombre: "Sunderland", uniform: [{angle: 0, avatarColor: 0x000000,
mainColor: [0xFFFFFF, 0xFF0000, 0xFFFFFF]}, {angle: 90, avatarColor: 0xFFFFFF,
mainColor: [0x0D004D, 0xFF17E8, 0xFF17E8]}]},
{id: "ful", nombre: "Fulham", uniform: [{angle: 90, avatarColor: 0x000000,
mainColor: [0x000000, 0xFFFFFF, 0xFFFFFF]}, {angle: 90, avatarColor: 0x000000,
mainColor: [0xFF26E9]}]},
{id: "eve", nombre: "Everton", uniform: [{angle: 90, avatarColor: 0xFFFFFF,
mainColor: [0x2149B8]}, {angle: 0, avatarColor: 0xFFFFFF, mainColor: [0xFF553B,
0x090057, 0xFF553B]}]},
{id: "cry", nombre: "Crystal Palace", uniform: [{angle: 0, avatarColor:
0xD9D9D9, mainColor: [0xC20000, 0x002BA1]}, {angle: 30, avatarColor: 0xB80000,
mainColor: [0x050000, 0x002BA1, 0x000000]}]},
{id: "wat", nombre: "Watford", uniform: [{angle: 30, avatarColor: 0xB80000,
mainColor: [0x050000, 0xFFE600, 0x000000]}, {angle: 30, avatarColor: 0x472610,
mainColor: [0xBDBDBD]}]},
{id: "brn", nombre: "Brentford", uniform: [{angle: 0, avatarColor: 0x707070,
mainColor: [0xBD0000, 0x000000, 0xFFFFFF]}, {angle: 0, avatarColor: 0x0A0047,
mainColor: [0x8CF4FF]}]},
{id: "bou", nombre: "Bournemouth", uniform: [{angle: 0, avatarColor: 0xFFFFFF,
mainColor: [0xB00000, 0x000000, 0xB00000]}, {angle: 0, avatarColor: 0xFFFFFF,
mainColor: [0x000000, 0x00095C]}]},
{id: "riv", nombre: "River", uniform: [{angle: 40, avatarColor: 0x000000,
mainColor: [0xFFFFFF, 0xFF0505, 0xFFFFFF]}, {angle: 90, avatarColor: 0x000000,
mainColor: [0x000000, 0xFFFFFF, 0xFF0000]}]},
{id: "rac", nombre: "Racing", uniform: [{angle: 0, avatarColor: 0x000000,
mainColor: [0xFFFFFF, 0x00C4EB, 0xFFFFFF]}, {angle: 0, avatarColor: 0x00C4EB,
mainColor: [0x000000]}]},
{id: "boc", nombre: "Boca", uniform: [{angle: 90, avatarColor: 0x000000,
mainColor: [0x0033FF, 0xFFE600, 0x000F91]}, {angle: 90, avatarColor: 0x1900BF,
mainColor: [0xFFF700]}]},
{id: "lan", nombre: "Lanús", uniform: [{angle: 90, avatarColor: 0xA7B300,
mainColor: [0x331510]}, {angle: 90, avatarColor: 0x331510, mainColor:
[0xFFFFFF]}]},
{id: "ind", nombre: "Independiente", uniform: [{angle: 90, avatarColor:
0xFFFFFF, mainColor: [0xA80000]}, {angle: 90, avatarColor: 0xFFFFFF, mainColor:
[0x100E45]}]},
{id: "ban", nombre: "Banfield", uniform: [{angle: 40, avatarColor: 0x000000,
mainColor: [0xFFFFFF, 0x003D02, 0xFFFFFF]}, {angle: 0, avatarColor: 0xFFFFFF,
mainColor: [0x258A1A, 0x003D02, 0x258A1A]}]},
{id: "uni", nombre: "Unión", uniform: [{angle: 0, avatarColor: 0x000000,
mainColor: [0xDB0000, 0xFFFFFF, 0xDB0000]}, {angle: 0, avatarColor: 0xFF0808,
mainColor: [0xFFFFFF]}]},
{id: "col", nombre: "Colón", uniform: [{angle: 0, avatarColor: 0xFFFFFF,
mainColor: [0xCF0000, 0x000000]}, {angle: 90, avatarColor: 0xFFFFFF, mainColor:
[0x8A0000, 0x000000, 0xFFFFFF]}]},
{id: "snl", nombre: "San Lorenzo", uniform: [{angle: 0, avatarColor: 0xFFFFFF,
mainColor: [0x0E2354, 0xAD0A0A, 0x0E2354]}, {angle: 0, avatarColor: 0x000BAB,
mainColor: [0xFFFFFF]}]},
{id: "new", nombre: "Newell’s", uniform: [{angle: 0, avatarColor: 0xFFFFFF,
mainColor: [0xE80F00, 0x000000]}, {angle: 0, avatarColor: 0x000000, mainColor:
[0xFF1000]}]},
{id: "ros", nombre: "Rosario Central", uniform: [{angle: 0, avatarColor:
0x000000, mainColor: [0x0E2354, 0xFFF700, 0x0E2354]}, {angle: 40, avatarColor:
0x000000, mainColor: [0x0E2354, 0xFFFFFF, 0x0E2354]}]},
{id: "hur", nombre: "Huracán", uniform: [{angle: 40, avatarColor: 0xFF0000,
mainColor: [0xFFFFFF]}, {angle: 40, avatarColor: 0xFFFFFF, mainColor: [0x000000,
0x000000, 0xD90000]}]},
{id: "inr", nombre: "Independiente Rivadavia", uniform: [{angle: 40,
avatarColor: 0xFFFFFF, mainColor: [0x0F0A3D]}, {angle: 40, avatarColor: 0x0F0A3D,
mainColor: [0xE6E6E6]}]},
{id: "god", nombre: "Godoy Cruz", uniform: [{angle: 0, avatarColor: 0x120C47,
mainColor: [0x0F00E6, 0xFFFFFF, 0x0F00E6]}, {angle: 0, avatarColor: 0xFFFFFF,
mainColor: [0x20004F]}]},
{id: "vel", nombre: "Vélez", uniform: [{angle: 10, avatarColor: 0x000000,
mainColor: [0xFFFFFF, 0x0D23E0, 0xFFFFFF]}, {angle: 10, avatarColor: 0xFFFFFF,
mainColor: [0x0D23E0]}]},
{id: "tig", nombre: "Tigre", uniform: [{angle: 90, avatarColor: 0xFFFFFF,
mainColor: [0x0D23E0, 0xC40000, 0x0D23E0]}, {angle: 90, avatarColor: 0xFFFFFF,
mainColor: [0x000000, 0x0000C4, 0xA80000]}]},
{id: "def", nombre: "Defensa y Justicia", uniform: [{angle: 90, avatarColor:
0x0F7012, mainColor: [0x0F7012, 0xFFE600, 0xFFE600]}, {angle: 90, avatarColor:
0x00FF1A, mainColor: [0x073308]}]},
{id: "bel", nombre: "Belgrano", uniform: [{angle: 90, avatarColor: 0x000000,
mainColor: [0x00BCD1]}, {angle: 90, avatarColor: 0x000000, mainColor:
[0xD10E00]}]},
{id: "arj", nombre: "Argentinos", uniform: [{angle: 140, avatarColor: 0xFFFFFF,
mainColor: [0xD10E00, 0x570000, 0xD10E00]}, {angle: 140, avatarColor: 0xFFFFFF,
mainColor: [0x000000, 0x800000, 0x030000]}]},
{id: "tal", nombre: "Talleres", uniform: [{angle: 0, avatarColor: 0x000000,
mainColor: [0x001BA1, 0xFFFFFF, 0x001BA1]}, {angle: 20, avatarColor: 0xFFFFFF,
mainColor: [0x000000, 0x001BA1, 0xFF6600]}]},
{id: "ins", nombre: "Instituto", uniform: [{angle: 0, avatarColor: 0x000000,
mainColor: [0xFF0000, 0xFFFFFF, 0xFF0000]}, {angle: 90, avatarColor: 0xFFFFFF,
mainColor: [0x000000, 0x000000, 0xFF0000]}]},
{id: "gim", nombre: "Gimnasia", uniform: [{angle: 90, avatarColor: 0x00EEFF,
mainColor: [0xFFFFFF, 0x0D0063, 0xFFFFFF]}, {angle: 90, avatarColor: 0xFFFFFF,
mainColor: [0x1900FF, 0x0D0063, 0x0D0063]}]},
{id: "est", nombre: "Estudiantes", uniform: [{angle: 0, avatarColor: 0x000000,
mainColor: [0xCC0000, 0xFFFFFF, 0xCC0000]}, {angle: 0, avatarColor: 0xFF0000,
mainColor: [0xFFFFFF]}]},
{id: "pla", nombre: "Platense", uniform: [{angle: 90, avatarColor: 0xFF6600,
mainColor: [0xFFFFFF, 0x3B0D0D, 0xFFFFFF]}, {angle: 90, avatarColor: 0xFFFFFF,
mainColor: [0x03C4FF, 0x3B0D0D]}]},
{id: "juv", nombre: "Juventus", uniform: [{angle: 0, avatarColor: 0xD1A000,
mainColor: [0x000000, 0xFFFFFF, 0x000000]}, {angle: 0, avatarColor: 0xFFFFFF,
mainColor: [0x000000]}]},
{id: "itr", nombre: "Inter", uniform: [{angle: 0, avatarColor: 0xFFFFFF,
mainColor: [0x1100FF, 0x000000, 0x1100FF]}, {angle: 40, avatarColor: 0x000000,
mainColor: [0xFFFFFF, 0x1100FF, 0xFFFFFF]}]},
{id: "rom", nombre: "Roma", uniform: [{angle: 40, avatarColor: 0xFFAA00,
mainColor: [0x73000B]}, {angle: 40, avatarColor: 0xC9C3C3, mainColor:
[0x000000]}]},
{id: "nap", nombre: "Napoli", uniform: [{angle: 40, avatarColor: 0xFFF7F7,
mainColor: [0x00AAFF]}, {angle: 90, avatarColor: 0xFFF7F7, mainColor: [0x00D5FF,
0x212121, 0x212121]}]},
{id: "mil", nombre: "Milan", uniform: [{angle: 0, avatarColor: 0xFFF7F7,
mainColor: [0xE80000, 0x380000, 0xE80000]}, {angle: 0, avatarColor: 0xFF0000,
mainColor: [0xFFFFFF, 0xFFFFFF, 0x140000]}]},
{id: "fro", nombre: "Frosinone", uniform: [{angle: 90, avatarColor: 0x0032D6,
mainColor: [0xFFFF00, 0xFFFF00]}, {angle: 90, avatarColor: 0x0032D6, mainColor:
[0xFFFFFF]}]},
{id: "prm", nombre: "Parma", uniform: [{angle: 0, avatarColor: 0xFFF700,
mainColor: [0xFFFFFF, 0x000000, 0xFFFFFF]}, {angle: 90, avatarColor: 0xEDEDED,
mainColor: [0xFFF700, 0x0012B5, 0xFFF700]}]},
{id: "plm", nombre: "Palermo", uniform: [{angle: 90, avatarColor: 0x000000,
mainColor: [0xFF7DFB]}, {angle: 0, avatarColor: 0xFFFFFF, mainColor: [0x000000,
0x000000, 0xFF66EB]}]},
{id: "mnz", nombre: "Monza", uniform: [{angle: 0, avatarColor: 0xFFFFFF,
mainColor: [0xD60B0B, 0xD60B0B, 0xFFFFFF]}, {angle: 0, avatarColor: 0xD60B0B,
mainColor: [0xFFFFFF, 0xFFFFFF, 0xD60B0B]}]},
{id: "bol", nombre: "Bologna", uniform: [{angle: 0, avatarColor: 0xFFFFFF,
mainColor: [0x1A317D, 0xAD0000, 0x1A317D]}, {angle: 50, avatarColor: 0xAD0000,
mainColor: [0xFFFFFF, 0x1A317D, 0xFFFFFF]}]},
{id: "ata", nombre: "Atalanta", uniform: [{angle: 0, avatarColor: 0xFFFFFF,
mainColor: [0x000000, 0x1A317D, 0x000000]}, {angle: 0, avatarColor: 0x0C0470,
mainColor: [0xFFFFFF]}]},
{id: "fio", nombre: "Fiorentina", uniform: [{angle: 0, avatarColor: 0xFFFFFF,
mainColor: [0x8D00C9]}, {angle: 90, avatarColor: 0x000000, mainColor: [0xFFFFFF,
0x8D00C9, 0xFFFFFF]}]},
{id: "emp", nombre: "Empoli", uniform: [{angle: 90, avatarColor: 0xFFFFFF,
mainColor: [0x0034C4]}, {angle: 90, avatarColor: 0x0034C4, mainColor:
[0xFFFFFF]}]},
{id: "sas", nombre: "Sassuolo", uniform: [{angle: 0, avatarColor: 0xFFFFFF,
mainColor: [0x0CD12D, 0x000000, 0x0CD12D]}, {angle: 30, avatarColor: 0x000000,
mainColor: [0xFFFFFF, 0x0CD12D, 0xFFFFFF]}]},
{id: "sam", nombre: "Sampdoria", uniform: [{angle: 90, avatarColor: 0x000000,
mainColor: [0x0000FF, 0xFFFFFF, 0x0000FF]}, {angle: 90, avatarColor: 0xFF0000,
mainColor: [0x000000, 0xFFFFFF, 0x000000]}]},
{id: "tri", nombre: "Torino", uniform: [{angle: 90, avatarColor: 0xFFFFFF,
mainColor: [0x590000]}, {angle: 90, avatarColor: 0x590000, mainColor:
[0xD9D9D9]}]},
{id: "udi", nombre: "Udinese", uniform: [{angle: 0, avatarColor: 0x00BABA,
mainColor: [0xFFFFFF, 0x000000, 0xFFFFFF]}, {angle: 0, avatarColor: 0xFF6F00,
mainColor: [0xFFE0AB]}]},
{id: "laz", nombre: "Lazio", uniform: [{angle: 40, avatarColor: 0x000000,
mainColor: [0x6EFAFF]}, {angle: 90, avatarColor: 0xFFFFFF, mainColor: [0x00FF44,
0x000000, 0x000000]}]},
{id: "gen", nombre: "Genoa", uniform: [{angle: 0, avatarColor: 0xFFFFFF,
mainColor: [0xA30000, 0x080A45]}, {angle: 90, avatarColor: 0xA30000, mainColor:
[0x080A45, 0xFFFFFF, 0xFFFFFF]}]},
{id: "arg", nombre: "Argentina", uniform: [{angle: 0, avatarColor: 0x000000,
mainColor: [0x00B3FF, 0xFFFFFF, 0x00B3FF]}, {angle: 90, avatarColor: 0xA6A6A6,
mainColor: [0x4B006B, 0x4B006B, 0x5B00B5]}]},
{id: "bra", nombre: "Brasil", uniform: [{angle: 90, avatarColor: 0x28C700,
mainColor: [0xFFE600]}, {angle: 90, avatarColor: 0x34FF00, mainColor:
[0x0000E3]}]},
{id: "ury", nombre: "Uruguay", uniform: [{angle: 90, avatarColor: 0x000000,
mainColor: [0x00A6BF]}, {angle: 90, avatarColor: 0x000000, mainColor: [0x00A6BF,
0xFFFFFF, 0xFFFFFF]}]},
{id: "cmb", nombre: "Colombia", uniform: [{angle: 90, avatarColor: 0x000A63,
mainColor: [0xFFF700]}, {angle: 90, avatarColor: 0x00818A, mainColor:
[0x630000]}]},
{id: "ecu", nombre: "Ecuador", uniform: [{angle: 90, avatarColor: 0x0A006B,
mainColor: [0xF9FF4A]}, {angle: 90, avatarColor: 0xCCCCCC, mainColor:
[0x0A006B]}]},
{id: "pry", nombre: "Paraguay", uniform: [{angle: 0, avatarColor: 0x000659,
mainColor: [0xCC2727, 0xFFFFFF, 0xCC2727]}, {angle: 0, avatarColor: 0xFFFFFF,
mainColor: [0x000659]}]},
{id: "chl", nombre: "Chile", uniform: [{angle: 0, avatarColor: 0x002AB3,
mainColor: [0xDB1616]}, {angle: 0, avatarColor: 0x002AB3, mainColor: [0xFFFFFF]}]},
{id: "ven", nombre: "Venezuela", uniform: [{angle: 60, avatarColor: 0xFFFFFF,
mainColor: [0x3D0C0C, 0x290808]}, {angle: 60, avatarColor: 0x400F0F, mainColor:
[0xFFFFFF, 0xD1D1D1]}]},
{id: "per", nombre: "Perú", uniform: [{angle: 50, avatarColor: 0x000000,
mainColor: [0xFFFFFF, 0xCF0000, 0xFFFFFF]}, {angle: 50, avatarColor: 0xFFFFFF,
mainColor: [0x9C0000]}]},
{id: "bla", nombre: "Bolivia", uniform: [{angle: 50, avatarColor: 0xFFFFFF,
mainColor: [0x1D5E09, 0x0C4508]}, {angle: 50, avatarColor: 0x0E5210, mainColor:
[0xFFFFFF]}]},
{id: "usa", nombre: "Estados Unidos", uniform: [{angle: 90, avatarColor:
0xFF0303, mainColor: [0x000440, 0xFFFFFF, 0xFFFFFF]}, {angle: 90, avatarColor:
0xD90303, mainColor: [0x0005B0]}]},
{id: "mex", nombre: "México", uniform: [{angle: 90, avatarColor: 0xFFFFFF,
mainColor: [0x174029, 0x125C2B]}, {angle: 90, avatarColor: 0x543636, mainColor:
[0xFFE3E3]}]},
{id: "can", nombre: "Canadá", uniform: [{angle: 90, avatarColor: 0xFFFFFF,
mainColor: [0xCF0000]}, {angle: 90, avatarColor: 0xCF0000, mainColor:
[0xFFFFFF]}]},
{id: "cri", nombre: "Costa Rica", uniform: [{angle: 90, avatarColor: 0xFFFFFF,
mainColor: [0xFF2929]}, {angle: 90, avatarColor: 0xFF2929, mainColor:
[0xFFFFFF]}]},
{id: "esp", nombre: "España", uniform: [{angle: 90, avatarColor: 0xFFF700,
mainColor: [0xB00000]}, {angle: 90, avatarColor: 0x004C52, mainColor: [0x00DDFF,
0x96FFF5, 0x00DDFF]}]},
{id: "sco", nombre: "Escocia", uniform: [{angle: 90, avatarColor: 0xFFFFFF,
mainColor: [0x030033]}, {angle: 90, avatarColor: 0x030033, mainColor:
[0xFFFFFF]}]},
{id: "nrg", nombre: "Noruega", uniform: [{angle: 90, avatarColor: 0x030033,
mainColor: [0xBA0000]}, {angle: 90, avatarColor: 0xA11616, mainColor:
[0xFFFFFF]}]},
{id: "geo", nombre: "Georgia", uniform: [{angle: 0, avatarColor: 0x000000,
mainColor: [0xFFFFFF, 0xBD0303, 0xFFFFFF]}, {angle: 0, avatarColor: 0xFFFFFF,
mainColor: [0x000000, 0x212121, 0x000000]}]},
{id: "fra", nombre: "Francia", uniform: [{angle: 0, avatarColor: 0xD49B00,
mainColor: [0x08083D]}, {angle: 0, avatarColor: 0x08083D, mainColor: [0xEBEBEB]}]},
{id: "hol", nombre: "Países Bajos", uniform: [{angle: 0, avatarColor: 0x0600BA,
mainColor: [0xFF9900]}, {angle: 0, avatarColor: 0xFF9100, mainColor: [0x0000A8]}]},
{id: "grc", nombre: "Grecia", uniform: [{angle: 0, avatarColor: 0x221BE3,
mainColor: [0xFFFFFF]}, {angle: 0, avatarColor: 0xFFFFFF, mainColor: [0x221BE3]}]},
{id: "eng", nombre: "Inglaterra", uniform: [{angle: 90, avatarColor: 0x00C1D6,
mainColor: [0x00286E, 0xFFFFFF, 0xFFFFFF]}, {angle: 90, avatarColor: 0x00C1D6,
mainColor: [0xEB2D2D]}]},
{id: "ita", nombre: "Italia", uniform: [{angle: 90, avatarColor: 0xD6D6D6,
mainColor: [0x2400D6]}, {angle: 110, avatarColor: 0x000000, mainColor: [0xD6D6D6,
0xD6D6D6, 0x404040]}]},
{id: "ukr", nombre: "Ucrania", uniform: [{angle: 110, avatarColor: 0x2C26DE,
mainColor: [0xFFFF00]}, {angle: 110, avatarColor: 0xFFFF00, mainColor:
[0x002E69]}]},
{id: "tur", nombre: "Turquía", uniform: [{angle: 90, avatarColor: 0xFFFFFF,
mainColor: [0xCC0014, 0xA60000, 0xA60000]}, {angle: 90, avatarColor: 0x000000,
mainColor: [0xFFFFFF, 0xD10000, 0xFFFFFF]}]},
{id: "cro", nombre: "Croacia", uniform: [{angle: 0, avatarColor: 0x007ACC,
mainColor: [0xCF1414, 0xFFFFFF, 0xFFFFFF]}, {angle: 310, avatarColor: 0xFFFFFF,
mainColor: [0x00195E, 0x00195E, 0x00EEFF]}]},
{id: "wal", nombre: "Gales", uniform: [{angle: 310, avatarColor: 0xFFFFFF,
mainColor: [0xC90000]}, {angle: 310, avatarColor: 0x2CA83C, mainColor:
[0xFFFFFF]}]},
{id: "alb", nombre: "Albania", uniform: [{angle: 310, avatarColor: 0x000000,
mainColor: [0xB50000]}, {angle: 310, avatarColor: 0xB80600, mainColor:
[0x000000]}]},
{id: "cze", nombre: "República Checa", uniform: [{angle: 310, avatarColor:
0xFFFFFF, mainColor: [0xFF2121]}, {angle: 310, avatarColor: 0x002AFF, mainColor:
[0xFFFFFF]}]},
{id: "bel", nombre: "Bélgica", uniform: [{angle: 90, avatarColor: 0xFFEE00,
mainColor: [0x000000, 0xD10000, 0xD10000]}, {angle: 90, avatarColor: 0xFFEE00,
mainColor: [0x000000]}]},
{id: "aut", nombre: "Austria", uniform: [{angle: 90, avatarColor: 0xFFFFFF,
mainColor: [0xFFFFFF, 0xD40000, 0xD40000]}, {angle: 90, avatarColor: 0xFF0000,
mainColor: [0xFFFFFF]}]},
{id: "ale", nombre: "Alemania", uniform: [{angle: 0, avatarColor: 0xBA9A1A,
mainColor: [0xFFFFFF, 0x1C1C1C, 0xFFFFFF]}, {angle: 90, avatarColor: 0xBA9A1A,
mainColor: [0x000000, 0x3B0400, 0x000000]}]},
{id: "hun", nombre: "Hungría", uniform: [{angle: 90, avatarColor: 0x000000,
mainColor: [0xC90000, 0x177D19, 0xFFFFFF]}, {angle: 90, avatarColor: 0xFFFFFF,
mainColor: [0xC90000]}]},
{id: "srb", nombre: "Serbia", uniform: [{angle: 90, avatarColor: 0xFFFFFF,
mainColor: [0xC92828]}, {angle: 90, avatarColor: 0xA89911, mainColor:
[0xFFFFFF]}]},
{id: "dnk", nombre: "Dinamarca", uniform: [{angle: 90, avatarColor: 0xFFFFFF,
mainColor: [0xFFFFFF, 0xD12C2C, 0xD12C2C]}, {angle: 90, avatarColor: 0xD12C2C,
mainColor: [0xD12C2C, 0xFFFFFF]}]},
{id: "sui", nombre: "Suiza", uniform: [{angle: 90, avatarColor: 0xFFF5F5,
mainColor: [0xD10000]}, {angle: 90, avatarColor: 0xBF0000, mainColor: [0xFFFFFF,
0xE0E0E0]}]},
{id: "isr", nombre: "Israel", uniform: [{angle: 90, avatarColor: 0x008FCC,
mainColor: [0xFFFFFF, 0xE0E0E0, 0xFFFFFF]}, {angle: 90, avatarColor: 0xFFFFFF,
mainColor: [0x008FCC]}]},
{id: "prt", nombre: "Portugal", uniform: [{angle: 120, avatarColor: 0xFFFFFF,
mainColor: [0xB30000, 0x166921]}, {angle: 0, avatarColor: 0x166921, mainColor:
[0xFFFFFF, 0xFFFFFF, 0xB30000]}]},
{id: "mar", nombre: "Marruecos", uniform: [{angle: 90, avatarColor: 0xFFFFFF,
mainColor: [0xD42424, 0x0A4712, 0xD42424]}, {angle: 0, avatarColor: 0xD42424,
mainColor: [0xFFFFFF, 0xE3E3E3, 0xFFFFFF]}]},
{id: "dza", nombre: "Argelia", uniform: [{angle: 0, avatarColor: 0x000000,
mainColor: [0xFFFFFF, 0xFFFFFF, 0x0FAB2A]}, {angle: 0, avatarColor: 0x000000,
mainColor: [0x0FAB2A, 0x0FAB2A, 0xFFFFFF]}]},
{id: "civ", nombre: "Costa de Marfil", uniform: [{angle: 0, avatarColor:
0xFFFFFF, mainColor: [0xDE6F00]}, {angle: 0, avatarColor: 0x287813, mainColor:
[0xFFFFFF]}]},
{id: "sen", nombre: "Senegal", uniform: [{angle: 90, avatarColor: 0x2A7D14,
mainColor: [0x2A7D14, 0xFFF700, 0xFFFFFF]}, {angle: 0, avatarColor: 0xEEFF00,
mainColor: [0x2A7D14, 0x10570E, 0x2A7D14]}]},
{id: "nga", nombre: "Nigeria", uniform: [{angle: 60, avatarColor: 0xFFFFFF,
mainColor: [0x4BDE24, 0x177A14, 0x0D450B]}, {angle: 60, avatarColor: 0x000000,
mainColor: [0xFFFFFF, 0x177A14, 0x092E07]}]},
{id: "cmr", nombre: "Camerún", uniform: [{angle: 90, avatarColor: 0xFFCC00,
mainColor: [0x0F4000, 0x327D00, 0x327D00]}, {angle: 90, avatarColor: 0xFFCC00,
mainColor: [0x0F4000, 0xCC1D1D, 0xCC1D1D]}]},
{id: "gha", nombre: "Ghana", uniform: [{angle: 90, avatarColor: 0x000000,
mainColor: [0xFFFFFF]}, {angle: 0, avatarColor: 0xFFFF00, mainColor: [0xCC1D1D,
0x520C0C, 0xCC1D1D]}]},
{id: "jpn", nombre: "Japón", uniform: [{angle: 110, avatarColor: 0xFFEE00,
mainColor: [0x0000B5, 0x06005E, 0x0000B5]}, {angle: 0, avatarColor: 0x000000,
mainColor: [0xFFFFFF, 0xFFA1EF, 0x0000B5]}]},
{id: "aus", nombre: "Australia", uniform: [{angle: 0, avatarColor: 0x146314,
mainColor: [0xFFD500]}, {angle: 0, avatarColor: 0x02524A, mainColor: [0x00FFFF]}]},
{id: "qat", nombre: "Catar", uniform: [{angle: 0, avatarColor: 0xFFFFFF,
mainColor: [0x590000]}, {angle: 0, avatarColor: 0x590000, mainColor: [0xE5EBB7]}]},
{id: "kor", nombre: "Corea del Sur", uniform: [{angle: 0, avatarColor:
0x000000, mainColor: [0xD10000]}, {angle: 40, avatarColor: 0xFFFFFF, mainColor:
[0x0010A1, 0xD10000, 0x000000]}]},
{id: "sau", nombre: "Arabia Saudita", uniform: [{angle: 40, avatarColor:
0xFFFFFF, mainColor: [0x007828, 0x172E00]}, {angle: 40, avatarColor: 0x007828,
mainColor: [0xFFFFFF]}]},
{id: "ahl", nombre: "Al Hilal", uniform: [{angle: 120, avatarColor: 0xBABABA,
mainColor: [0x0800FF, 0x1200BA, 0x0800FF]}, {angle: 60, avatarColor: 0x000000,
mainColor: [0xFFFFFF, 0x0088FF, 0xFFFFFF]}]},
{id: "ans", nombre: "Al Nassr", uniform: [{angle: 60, avatarColor: 0x0000FF,
mainColor: [0xFFFF00]}, {angle: 60, avatarColor: 0xD9E000, mainColor:
[0x04003D]}]},
{id: "aah", nombre: "Al Ahli", uniform: [{angle: 0, avatarColor: 0xFFFFFF,
mainColor: [0x04590A, 0x04590A, 0x04003D]}, {angle: 0, avatarColor: 0x208515,
mainColor: [0x000000]}]},
{id: "eti", nombre: "Al Ettifaq", uniform: [{angle: 0, avatarColor: 0xFFFFFF,
mainColor: [0x06800E]}, {angle: 0, avatarColor: 0x1A701D, mainColor: [0x520000]}]},
{id: "itt", nombre: "Al Ittihad", uniform: [{angle: 0, avatarColor: 0x5C5C5C,
mainColor: [0x000000, 0xFFE600, 0x000000]}, {angle: 0, avatarColor: 0x000000,
mainColor: [0xFFFFFF]}]},
{id: "dmc", nombre: "Damac", uniform: [{angle: 60, avatarColor: 0xFFFFFF,
mainColor: [0xFF1808, 0xFF1808, 0x050047]}, {angle: 60, avatarColor: 0x030063,
mainColor: [0xFFF8D6]}]},
{id: "ahb", nombre: "Al Shabab", uniform: [{angle: 60, avatarColor: 0x7D3F09,
mainColor: [0xFFFFFF]}, {angle: 60, avatarColor: 0x8F7C7E, mainColor:
[0x000000]}]},
{id: "awd", nombre: "Al Wehda", uniform: [{angle: 60, avatarColor: 0xFFFFFF,
mainColor: [0xD40000]}, {angle: 40, avatarColor: 0x000000, mainColor: [0xFFFFFF,
0xFF1808, 0xFFFFFF]}]},
{id: "abh", nombre: "Abha", uniform: [{angle: 90, avatarColor: 0x13008C,
mainColor: [0x59FFEE, 0xFFFFFF, 0xFFFFFF]}, {angle: 0, avatarColor: 0xFFFFFF,
mainColor: [0x004B8C, 0x000000]}]},
{id: "haz", nombre: "Al Hazem", uniform: [{angle: 90, avatarColor: 0x000087,
mainColor: [0xFFEE00, 0xFFFF00, 0xFFFF00]}, {angle: 90, avatarColor: 0x878300,
mainColor: [0x000087]}]},
{id: "okh", nombre: "Al Okhdood", uniform: [{angle: 90, avatarColor: 0x7400AD,
mainColor: [0xFFFFFF]}, {angle: 0, avatarColor: 0x000000, mainColor: [0x00D5FF,
0x007C8A]}]},
{id: "fth", nombre: "Al Fateh", uniform: [{angle: 60, avatarColor: 0x00FF11,
mainColor: [0x0700D9, 0x00008A]}, {angle: 60, avatarColor: 0x0700D9, mainColor:
[0xFFFFFF]}]},
{id: "tai", nombre: "Al Tai", uniform: [{angle: 90, avatarColor: 0x000000,
mainColor: [0xD4D4D4, 0xFFFFFF, 0xFFFFFF]}, {angle: 90, avatarColor: 0xFFFFFF,
mainColor: [0x636363]}]},
{id: "rdd", nombre: "Al Raed", uniform: [{angle: 0, avatarColor: 0xFFFFFF,
mainColor: [0xB00000, 0x000000, 0xB00000]}, {angle: 90, avatarColor: 0x000000,
mainColor: [0xB00000, 0xFFFFFF, 0xFFFFFF]}]},
{id: "twn", nombre: "Al Taawoun", uniform: [{angle: 50, avatarColor: 0x000000,
mainColor: [0xFFEE00, 0xFFEE00, 0x0D0080]}, {angle: 50, avatarColor: 0xFFF700,
mainColor: [0x000000, 0x000000, 0x3D3D3D]}]},
{id: "ben", nombre: "Benfica", uniform: [{angle: 60, avatarColor: 0xFFFFFF,
mainColor: [0xED0202]}, {angle: 60, avatarColor: 0xD3D927, mainColor:
[0x00034D]}]},
{id: "pot", nombre: "Porto", uniform: [{angle: 0, avatarColor: 0xB30000,
mainColor: [0x0012B5, 0xFFFFFF, 0x0012B5]}, {angle: 0, avatarColor: 0x948A00,
mainColor: [0x00468C]}]},
{id: "gal", nombre: "Galatasaray", uniform: [{angle: 0, avatarColor: 0xFFFFFF,
mainColor: [0xFF9100, 0x4D1200]}, {angle: 0, avatarColor: 0x4D1200, mainColor:
[0xFFFFFF]}]},
{id: "bes", nombre: "Besiktas", uniform: [{angle: 0, avatarColor: 0x525252,
mainColor: [0x000000]}, {angle: 0, avatarColor: 0x000000, mainColor: [0xA3A3A3,
0xFFFFFF, 0xA3A3A3]}]},
{id: "fen", nombre: "Fenerbahce", uniform: [{angle: 0, avatarColor: 0x707070,
mainColor: [0x000957, 0xFFFF00, 0x000957]}, {angle: 0, avatarColor: 0x00005C,
mainColor: [0xFFFF00]}]},
{id: "bas", nombre: "Basel", uniform: [{angle: 0, avatarColor: 0xF6FF78,
mainColor: [0xD40000, 0x0007D1]}, {angle: 0, avatarColor: 0x000000, mainColor:
[0xFFFFFF]}]},
{id: "ajx", nombre: "Ajax", uniform: [{angle: 0, avatarColor: 0x000000,
mainColor: [0xFFFFFF, 0xD10000, 0xFFFFFF]}, {angle: 120, avatarColor: 0xFFFFFF,
mainColor: [0x4A4A4A, 0x000000, 0x000000]}]},
{id: "psv", nombre: "PSV", uniform: [{angle: 0, avatarColor: 0xFFFFFF,
mainColor: [0xA60000, 0xF00000, 0xA60000]}, {angle: 0, avatarColor: 0x470000,
mainColor: [0xFFFFD9]}]},
{id: "az", nombre: "AZ", uniform: [{angle: 90, avatarColor: 0xFFFFFF,
mainColor: [0xCF0909]}, {angle: 90, avatarColor: 0xFFFFFF, mainColor: [0x00B3CF,
0x020045, 0x020045]}]},
{id: "fey", nombre: "Feyenoord", uniform: [{angle: 0, avatarColor: 0x000000,
mainColor: [0xCC0000, 0xFFFFFF]}, {angle: 90, avatarColor: 0xFFFFFF, mainColor:
[0x0091A1, 0x005C6E, 0x003A40]}]},
{id: "sal", nombre: "Salzburgo", uniform: [{angle: 90, avatarColor: 0xFF0000,
mainColor: [0xFFFFFF]}, {angle: 90, avatarColor: 0xFF0000, mainColor:
[0x000000]}]},
{id: "cet", nombre: "Celtic", uniform: [{angle: 90, avatarColor: 0x000000,
mainColor: [0x00701A, 0xFFFFFF, 0x00701A]}, {angle: 90, avatarColor: 0x00BA0C,
mainColor: [0x000000]}]},
{id: "ran", nombre: "Rangers", uniform: [{angle: 90, avatarColor: 0xFFFFFF,
mainColor: [0x0033D9]}, {angle: 90, avatarColor: 0x0033D9, mainColor:
[0xFFFFFF]}]},
{id: "sha", nombre: "Shakhtar Donetsk", uniform: [{angle: 0, avatarColor:
0xFFFFFF, mainColor: [0xFF7700, 0x000000, 0xFF7700]}, {angle: 0, avatarColor:
0xFFFFFF, mainColor: [0x000000, 0x152916, 0x000000]}]},
{id: "bru", nombre: "Brujas", uniform: [{angle: 90, avatarColor: 0xFFFFFF,
mainColor: [0x000000, 0x000000, 0x0061AB]}, {angle: 90, avatarColor: 0x000000,
mainColor: [0x1100FF, 0xFFFFFF, 0xFFFFFF]}]},
{id: "roy", nombre: "Royal Antwerp", uniform: [{angle: 90, avatarColor:
0xCC0000, mainColor: [0xFFFFFF]}, {angle: 90, avatarColor: 0x800000, mainColor:
[0x96FFF8]}]},
{id: "aek", nombre: "AEK", uniform: [{angle: 90, avatarColor: 0x000000,
mainColor: [0xFFEE00]}, {angle: 90, avatarColor: 0xFFEE00, mainColor:
[0x000000]}]},
{id: "oly", nombre: "Olympiakos", uniform: [{angle: 0, avatarColor: 0x000000,
mainColor: [0xD12424, 0xFFFFFF, 0xD12424]}, {angle: 90, avatarColor: 0xBF0000,
mainColor: [0xFFFFFF, 0xADF7FF, 0xFFFFFF]}]},
{id: "lud", nombre: "Ludogorets", uniform: [{angle: 90, avatarColor: 0x6FFF00,
mainColor: [0x0F2B0F]}, {angle: 90, avatarColor: 0x347800, mainColor: [0xFFFFFF,
0x000000, 0x000000]}]},
{id: "fer", nombre: "Ferencvaros", uniform: [{angle: 0, avatarColor: 0x000000,
mainColor: [0x1C4F1A, 0xFFFFFF, 0x1C4F1A]}, {angle: 90, avatarColor: 0x000000,
mainColor: [0x000000, 0x19701F, 0x000000]}]},
{id: "zen", nombre: "Zenit", uniform: [{angle: 90, avatarColor: 0xFFFFFF,
mainColor: [0x005961, 0x3DE5FF, 0x3DE5FF]}, {angle: 90, avatarColor: 0x000000,
mainColor: [0x63EFFF, 0xFFFFFF, 0xFFFFFF]}]},
{id: "spa", nombre: "Spartak Moscú", uniform: [{angle: 90, avatarColor:
0x000000, mainColor: [0xC72100, 0xFFFFFF, 0xFFFFFF]}, {angle: 90, avatarColor:
0x000000, mainColor: [0xC72100, 0xFFFFFF, 0xC72100]}]},
{id: "cer", nombre: "Cerro Porteño", uniform: [{angle: 60, avatarColor:
0xFFFFFF, mainColor: [0x003ECF, 0xE81C1C, 0x003ECF]}, {angle: 60, avatarColor:
0x003ECF, mainColor: [0xFFFFFF, 0xFFFFFF, 0xCF0000]}]},
{id: "lib", nombre: "Libertad", uniform: [{angle: 160, avatarColor: 0x4A4A4A,
mainColor: [0x000000, 0xFFFFFF, 0x000000]}, {angle: 170, avatarColor: 0x000000,
mainColor: [0x00D5FF, 0x6E0096, 0xFFFFFF]}]},
{id: "oli", nombre: "Olimpia", uniform: [{angle: 90, avatarColor: 0xDE0000,
mainColor: [0xFFFFFF, 0x000000, 0xFFFFFF]}, {angle: 90, avatarColor: 0xDE0000,
mainColor: [0x000000, 0xFFFFFF, 0x000000]}]},
{id: "clo", nombre: "Colo Colo", uniform: [{angle: 90, avatarColor: 0x454545,
mainColor: [0xFFFFFF]}, {angle: 90, avatarColor: 0x454545, mainColor:
[0x000000]}]},
{id: "uca", nombre: "U Católica", uniform: [{angle: 90, avatarColor: 0x000000,
mainColor: [0xFFFFFF, 0x002AFF, 0xFFFFFF]}, {angle: 40, avatarColor: 0xFFFFFF,
mainColor: [0xFF1C1C, 0x940000, 0xFF1C1C]}]},
{id: "uch", nombre: "U de Chile", uniform: [{angle: 40, avatarColor: 0xFF0000,
mainColor: [0x0800FF]}, {angle: 140, avatarColor: 0xFFFFFF, mainColor: [0x030059,
0x000000, 0x030059]}]},
{id: "hua", nombre: "Huachipato", uniform: [{angle: 0, avatarColor: 0xFFFFFF,
mainColor: [0x15358C, 0x000000, 0x15358C]}, {angle: 90, avatarColor: 0x000000,
mainColor: [0xFFFFFF, 0xB0B0B0, 0xFFFFFF]}]},
{id: "inv", nombre: "Independiente del Valle", uniform: [{angle: 0,
avatarColor: 0x636363, mainColor: [0x000000, 0x110082, 0x000000]}, {angle: 0,
avatarColor: 0x000000, mainColor: [0xFF45C7]}]},
{id: "eme", nombre: "Emelec", uniform: [{angle: 160, avatarColor: 0x000000,
mainColor: [0x001AFF, 0x828282, 0x001AFF]}, {angle: 90, avatarColor: 0xFF38C3,
mainColor: [0x96BDFF, 0xD6D6D6, 0xFFFFFF]}]},
{id: "liq", nombre: "Liga de Quito", uniform: [{angle: 60, avatarColor:
0x000000, mainColor: [0xFFFFFF, 0xE8E8E8, 0xFFFFFF]}, {angle: 60, avatarColor:
0xB8B8B8, mainColor: [0x000000]}]},
{id: "spo", nombre: "Sporting Cristal", uniform: [{angle: 60, avatarColor:
0xFFFFFF, mainColor: [0x00D5FF]}, {angle: 60, avatarColor: 0x00D5FF, mainColor:
[0x000000]}]},
{id: "tst", nombre: "The Strongest", uniform: [{angle: 0, avatarColor:
0xFFFFFF, mainColor: [0x000000, 0xE8B200, 0x000000]}, {angle: 0, avatarColor:
0x000000, mainColor: [0xFFFFF, 0xE8B200, 0xFFFFFF]}]},
{id: "blv", nombre: "Bolívar", uniform: [{angle: 60, avatarColor: 0x000066,
mainColor: [0x00A2FF, 0x00C1E8, 0x00A2FF]}, {angle: 60, avatarColor: 0x00D5FF,
mainColor: [0x000066]}]},
{id: "dpl", nombre: "Deportivo Lara", uniform: [{angle: 0, avatarColor:
0x00DDFF, mainColor: [0xB50C00, 0x000000, 0xB50C00]}, {angle: 100, avatarColor:
0xFFFFFF, mainColor: [0x00DDFF, 0x000000, 0x000000]}]},
{id: "pen", nombre: "Peñarol", uniform: [{angle: 0, avatarColor: 0x595959,
mainColor: [0xFFE600, 0x000000, 0xFFE600]}, {angle: 0, avatarColor: 0x000000,
mainColor: [0xFFE600]}]},
{id: "nal", nombre: "Nacional", uniform: [{angle: 0, avatarColor: 0x03005C,
mainColor: [0xDBDBDB]}, {angle: 0, avatarColor: 0xDBDBDB, mainColor: [0x03005C]}]},
{id: "lvr", nombre: "Liverpool", uniform: [{angle: 0, avatarColor: 0xFFFFFF,
mainColor: [0x000000, 0x0E00CF, 0x000000]}, {angle: 0, avatarColor: 0x000000,
mainColor: [0xFFFFFF]}]},
{id: "dan", nombre: "Danubio", uniform: [{angle: 40, avatarColor: 0xDB0000,
mainColor: [0xFFFFFF, 0x000000, 0xFFFFFF]}, {angle: 40, avatarColor: 0xFFFFFF,
mainColor: [0x63F5FF, 0x000000, 0x63F5FF]}]},
{id: "atn", nombre: "Atlético Nacional", uniform: [{angle: 0, avatarColor:
0x000000, mainColor: [0x3BBA22, 0xFFFFFF, 0x3BBA22]}, {angle: 0, avatarColor:
0x1F8A1C, mainColor: [0xD6D6D6]}]},
{id: "mll", nombre: "Millonarios", uniform: [{angle: 0, avatarColor: 0xFFFFFF,
mainColor: [0x0006AB]}, {angle: 90, avatarColor: 0xFFFFFF, mainColor: [0x00010F,
0x000000, 0x0006AB]}]},
{id: "jun", nombre: "Junior", uniform: [{angle: 0, avatarColor: 0x000063,
mainColor: [0xED1F1F, 0xFFFFFF, 0xED1F1F]}, {angle: 60, avatarColor: 0xFFFFFF,
mainColor: [0x4F0008, 0x000000]}]},
{id: "mtr", nombre: "Monterrey", uniform: [{angle: 0, avatarColor: 0x000000,
mainColor: [0x0037CF, 0xFFFFFF, 0x0037CF]}, {angle: 30, avatarColor: 0x000000,
mainColor: [0x000000, 0x0038D1, 0xFFFFFF]}]},
{id: "tol", nombre: "Toluca", uniform: [{angle: 30, avatarColor: 0xFFFFFF,
mainColor: [0xFF0000, 0xC40000]}, {angle: 30, avatarColor: 0xD10000, mainColor:
[0xFCFFD4, 0xFFFFFF]}]},
{id: "tij", nombre: "Tijuana", uniform: [{angle: 30, avatarColor: 0x000000,
mainColor: [0xD60000]}, {angle: 30, avatarColor: 0x000000, mainColor:
[0x424242]}]},
{id: "ats", nombre: "Atlas", uniform: [{angle: 30, avatarColor: 0xFFFFFF,
mainColor: [0xBA0000, 0x000000]}, {angle: 30, avatarColor: 0x000000, mainColor:
[0x9ABAA2]}]},
{id: "pac", nombre: "Pachuca", uniform: [{angle: 0, avatarColor: 0x000000,
mainColor: [0x324A54, 0xFFFFFF, 0x324A54]}, {angle: 60, avatarColor: 0xFFFAFA,
mainColor: [0x00D4FF, 0x0045BD, 0x020040]}]},
{id: "leo", nombre: "León", uniform: [{angle: 60, avatarColor: 0xFFFAFA,
mainColor: [0x2A8219]}, {angle: 60, avatarColor: 0x7D7A7A, mainColor:
[0x000000]}]},
{id: "sla", nombre: "Santos Laguna", uniform: [{angle: 90, avatarColor:
0x000000, mainColor: [0x33FF33, 0xFFFFFF, 0x33FF33]}, {angle: 90, avatarColor:
0x00FF11, mainColor: [0x000000, 0x29422A, 0x000000]}]},
{id: "cra", nombre: "Cruz Azul", uniform: [{angle: 90, avatarColor: 0xFFFFFF,
mainColor: [0x1900FF]}, {angle: 90, avatarColor: 0x000000, mainColor:
[0x78E8FF]}]},
{id: "pum", nombre: "Pumas", uniform: [{angle: 90, avatarColor: 0x706C00,
mainColor: [0x040329]}, {angle: 90, avatarColor: 0x040329, mainColor: [0xFFFFFF,
0xFFFFFF]}]},
{id: "glx", nombre: "LA Galaxy", uniform: [{ angle: 60, avatarColor: 0x0C0F6B,
mainColor: [0xFFFFFF]}, {angle: 60, avatarColor: 0xFFD500, mainColor:
[0x20573F]}]},
{id: "min", nombre: "Minnesota", uniform: [{angle: 90, avatarColor: 0x000000,
mainColor: [0x00FFFF, 0xED6FD0, 0xFFFFFF]}, {angle: 150, avatarColor: 0x00FFFF,
mainColor: [0x404040, 0x000000]}]},
{id: "sap", nombre: "Sao Paulo", uniform: [{angle: 0, avatarColor: 0x000000,
mainColor: [0x000000, 0xBA0000, 0xFFFFFF]}, {angle: 0, avatarColor: 0x000000,
mainColor: [0x000000, 0xBA0000, 0xFFFFFF]}]}
]
// Stats
// GA: GAMES, WI: WINS, LS: LOSSES, GL: GOALS, OG: OWN GOALS, AS: ASISSTS, GK:
GAMES BEING GK, CS: VALLA, CR: CHERRYS, RK: RANGO, RS: Lista de rangos, NA: NAME
const Ss = { GA: 0, WI: 1, LS: 2, WR: 3, GL: 4, OG: 5, AS: 6, CS: 7, GK: 8, CR: 9,
RK: 10, RS: 11, NA: 12 }
// Valores de cuantas cherrys va a ganar por x cosa.
// GA: GAMES, WI: WIN, GL: GOAL, AS: ASISST, CS: VALLA.
const CR = {GA: 0, WI: 2, GL: 3, AS: 2, CS: 5}
var Stats = localStorage.getItem("cherry-stats") !== null ?
JSON.parse(localStorage.getItem("cherry-stats")) : {}
var authArray = [];
var minTeam = 4; // Minimo de jugadores por equipo para que cuente las stats
var powerSpeed = 1.5; // Por cuanto se multiplica la velocidad del disparo.
teams.blueTeam.forEach((player) => {
let pStat = Stats[getAuth(player.id)] === undefined ?
[0, 0, 0, '0.00', 0, 0, 0, 0, 0, 0, 'Sin rango', [], player.name] :
Stats[getAuth(player.id)]
pStat[Ss.GA]++
Stats[getAuth(player.id)] = pStat;
localStorage.setItem("cherry-stats",
JSON.stringify(Stats));
updateStat(Ss.CR, null, player, CR.GA)
})
teams.blueTeam.forEach((player) => {
let pStat = Stats[getAuth(player.id)] ===
undefined ? [0, 0, 0, '0.00', 0, 0, 0, 0, 0, 0, 'Sin rango', [], player.name] :
Stats[getAuth(player.id)]
pStat[Ss.LS]++
Stats[getAuth(player.id)] = pStat;
pStat[Ss.WR] = (100 * pStat[Ss.WI] /
pStat[Ss.GA]).toPrecision(3);
localStorage.setItem("cherry-stats",
JSON.stringify(Stats));
})
} else if (scores.red < scores.blue) {
teams.redTeam.forEach((player) => {
let pStat = Stats[getAuth(player.id)] ===
undefined ? [0, 0, 0, '0.00', 0, 0, 0, 0, 0, 0, 'Sin rango', [], player.name] :
Stats[getAuth(player.id)]
pStat[Ss.LS]++
Stats[getAuth(player.id)] = pStat;
pStat[Ss.WR] = (100 * pStat[Ss.WI] /
pStat[Ss.GA]).toPrecision(3);
localStorage.setItem("cherry-stats",
JSON.stringify(Stats));
updateStat(Ss.CR, null, player, CR.WI)
})
teams.blueTeam.forEach((player) => {
let pStat = Stats[getAuth(player.id)] ===
undefined ? [0, 0, 0, '0.00', 0, 0, 0, 0, 0, 0, 'Sin rango', [], player.name] :
Stats[getAuth(player.id)]
pStat[Ss.WI]++
Stats[getAuth(player.id)] = pStat;
pStat[Ss.WR] = (100 * pStat[Ss.WI] /
pStat[Ss.GA]).toPrecision(3);
localStorage.setItem("cherry-stats",
JSON.stringify(Stats));
})
}
if (scores.blue === 0) {
gkRStat[Ss.CS]++;
gkRStat[Ss.CR] += CR.CS;
} else if (scores.red === 0) {
gkBStat[Ss.CS]++;
gkBStat[Ss.CR] += CR.CS;
}
Stats[getAuth(GKRed.id)] = gkRStat;
Stats[getAuth(GKBlue.id)] = gkBStat;
localStorage.setItem("cherry-stats", JSON.stringify(Stats));
}
} else if (type === Ss.GL) {
let pStat = Stats[getAuth(lastKickerID)] === undefined ? [0, 0,
0, '0.00', 0, 0, 0, 0, 0, 0, 'Sin rango', [], lastKickerName] :
Stats[getAuth(lastKickerID)]
if (lastKickerTeam != teamGoal) {
pStat[Ss.OG]++;
} else {
pStat[Ss.GL]++;
pStat[Ss.CR] += CR.GL;
}
Stats[getAuth(lastKickerID)] = pStat;
localStorage.setItem("cherry-stats", JSON.stringify(Stats));
} else if (type === Ss.AS) {
let pStat = Stats[getAuth(secondLastKickerID)] === undefined ?
[0, 0, 0, '0.00', 0, 0, 0, 0, 0, 0, 'Sin rango', [], secondLastKickerName] :
Stats[getAuth(secondLastKickerID)]
pStat[Ss.AS]++;
Stats[getAuth(secondLastKickerID)] = pStat;
localStorage.setItem("cherry-stats", JSON.stringify(Stats));
updateStat(Ss.CR, null, room.getPlayer(secondLastKickerID),
CR.AS)
} else if (type === Ss.CR) {
let pStat = Stats[getAuth(player.id)] === undefined? [0, 0, 0,
'0.00', 0, 0, 0, 0, 0, 0, 'Sin rango', [], player.name] : Stats[getAuth(player.id)]
pStat[Ss.CR] += amount;
Stats[getAuth(player.id)] = pStat;
localStorage.setItem("cherry-stats", JSON.stringify(Stats));
}
}
if (type === Ss.RK) {
let pStat = Stats[getAuth(player.id)] === undefined? [0, 0, 0, '0.00',
0, 0, 0, 0, 0, 0, 'Sin rango', [], player.name] : Stats[getAuth(player.id)]
pStat[Ss.RK] === rank;
Stats[getAuth(secondLastKickerID)] = pStat;
localStorage.setItem("cherry-stats", JSON.stringify(Stats));
}
}
// MISC
var powerShotMode = false;
var playersList = []
var GKTicksRed = [];
var GKTicksBlue = [];
var GKRed;
var GKBlue;
var teams = { redTeam: [], blueTeam: [], specTeam: [] };
var scores = room.getScores();
function getGK () {
updateTeams();
if (teams.redTeam.length != 0) {
var k = [-1, Infinity];
for (var i = 0; i < teams.redTeam.length; i++) {
if (teams.redTeam[i].position.x < k[1]) {
k[0] = teams.redTeam[i];
k[1] = teams.redTeam[i].position.x;
}
}
let pos;
k[0] != -1 ? pos = GKTicksRed.findIndex(t => t.id == k[0].id) : null
pos != -1 ? GKTicksRed[pos].ticks++ : GKTicksRed.push({id: k[0].id, ticks:
1})
GKRed = maxTicks(GKTicksRed)
console.log(GKRed)
}
if (teams.blueTeam.length != 0) {
var k = [-1, -Infinity];
for (var i = 0; i < teams.blueTeam.length; i++) {
if (teams.blueTeam[i].position.x > k[1]) {
k[0] = teams.blueTeam[i];
k[1] = teams.blueTeam[i].position.x;
}
}
let pos;
k[0] != -1 ? pos = GKTicksBlue.findIndex(t => t.id == k[0].id) : null
pos != -1 ? GKTicksBlue[pos].ticks++ : GKTicksBlue.push({id: k[0].id,
ticks: 1})
GKBlue = maxTicks(GKTicksBlue)
console.log(GKBlue)
}
}
function maxTicks(array) {
let maxTicks = -Infinity;
let objetoMaxTicks = null;
return objetoMaxTicks;
}
function updateTeams() {
playersList = room.getPlayerList()
teams.redTeam = playersList.filter((p) => p.team == 1);
teams.blueTeam = playersList.filter((p) => p.team == 2);
teams.specTeam = playersList.filter((p) => p.team == 0);
}
// GOALS
var lastKickerID = null;
var secondLastKickerID = null;
var lastKickerName = null;
var secondLastKickerName = null;
var lastKickerTeam = null;
var secondLastKickerTeam = null;
lastKickerID = player.id
lastKickerName = player.name
lastKickerTeam = player.team
}
// Variable para almacenar el estado de bloqueo de equipos
var teamsLocked = true;
openLog(url)
};
var ranks = [
0xf7ef00},
{ id: "raposa", msg: "𝐂𝐑𝐔𝐙𝐄𝐈𝐑𝐎", value: 200, color: 0xf5f5ed},
{ id: "colorado", msg: "� 𝐈𝐍𝐓 𝐄𝐑 𝐍𝐀 𝐂𝐈𝐎𝐍𝐀 𝐋 ", value: 200, color: 0x07edcb},
{ id: "fla", msg: "𝐅𝐋𝐀𝐌𝐄𝐍𝐆𝐎", value: 200, color: 0xcf0209},
{ id: "porco", msg: "𝐏𝐀 𝐋𝐌𝐄𝐈𝐑 𝐀 𝐒� ", value: 200, color: 0x003efa},
{ id: "alvinegro", msg: "� 𝐒𝐀 𝐍𝐓 𝐎𝐒", value: 200, color: 0xa8020a},
{ id: "bolsos", msg: "𝐍𝐀 𝐂𝐈𝐎𝐍𝐀 𝐋� ", value: 275, color: 0xffd500},
{ id: "paraguayo", msg: "𝐎𝐋𝐈𝐌𝐏𝐈𝐀", value: 400, color: 0xc4414c},
var maxJugadores = 20; // Define la variable maxJugadores con el mismo valor que
maxPlayers en la configuración de la sala
room.sendAnnouncement("☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷
☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷ ", player.id, 0xFFFFFF);
room.sendAnnouncement("- 😝 ᴄᴏɴ '!ʜᴇʟᴘ' ᴘᴏᴅᴇꜱ ᴠᴇʀ ʟᴏꜱ ᴄᴏᴍᴀɴᴅᴏꜱ Qᴜᴇ ᴘᴏᴅᴇꜱ ᴜꜱᴀʀ.
", player.id, 0x67d8f5);
room.sendAnnouncement("- ꜱ ¡ꜱɪ ɢᴀɴᴀꜱ ᴘᴀʀᴛɪᴅᴏꜱ, ᴍᴇᴛᴇꜱ ɢᴏʟᴇꜱ, ᴅᴀꜱ ᴀꜱɪꜱᴛᴇɴᴄɪᴀꜱ ᴏ
ᴅᴇᴊᴀꜱ ᴛᴜ ᴀʀᴄᴏ ᴇɴ 0, ᴍᴏɴᴇᴅᴀs ᴘᴀʀᴀ ɢᴀꜱᴛᴀʀ ᴇɴ ʟᴀ ᴛɪᴇɴᴅᴀ!", player.id, 0x67d8f5);
room.sendAnnouncement("☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷
☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷☷ ", player.id, 0xFFFFFF);
};
room.onPlayerLeave = function(player) {
room.sendAnnouncement(" ", null, 0xFE8700);
room.sendAnnouncement( player.name + " ꜱᴇ ꜰᴜᴇ ᴅᴇ ʟᴀ ꜱᴀʟᴀ. ¡ʜᴀꜱᴛᴀ ʟᴜᴇɢᴏ! 👋💨",
null, 0xc9a063);
room.sendAnnouncement(" ", null, 0xFE8700);
};
anuncioDiscord ("
██████╗░██╗░██████╗░█████╗░░█████╗░██████╗░██████╗░", 1200);
anuncioDiscord ("
██╔══██╗██║██╔════╝██╔══██╗██╔══██╗██╔══██╗██╔══██╗", 1200); // Renovar el link
de discord dentro de las "" (comillas)
anuncioDiscord ("
██║░░██║██║╚█████╗░██║░░╚═╝██║░░██║██████╔╝██║░░██║", 1200);
anuncioDiscord ("
██║░░██║██║░╚═══██╗██║░░██╗██║░░██║██╔══██╗██║░░██║", 1200);
anuncioDiscord ("
██████╔╝██║██████╔╝╚█████╔╝╚█████╔╝██║░░██║██████╔╝", 1200);
anuncioDiscord ("
╚═════╝░╚═╝╚═════╝░░╚════╝░░╚════╝░╚═╝░░╚═╝╚═════╝░", 1200);
𝙐𝙉𝘼𝙉𝙎𝙀𝙉
𝘼𝙇 𝘿𝙄𝙎𝘾𝙊𝙍𝘿 ➡ https://discord.gg/Fzqww5D4z6 ⬅", 1200);
anuncioDiscord ("
function onGameStop() {
if (autoRestartEnabled) {
setTimeout(function() {
room.startGame(); // reinicia la partida después de 4 segundos
}, 4000); // 4000 milisegundos = 4 segundos
}
let rec = room.stopRecording();
fetchRecording(rec);
updateStat(Ss.GA)
rec = room.startRecording();
room.onGameStop = onGameStop;
var scoresAll;
var balanceTimer;
var isBalancingEnabled = false;
function balanceTeams() {
if (!isBalancingEnabled) {
return;
}
return num
}
var goalType = [
`"ꜱ ¡ɢᴏʟᴀᴢᴏᴏᴏᴏ! ${lastKickerName} ɴᴏꜱ ᴅɪᴏ ᴜɴᴀ ᴍᴀꜱᴛᴇʀᴄʟᴀꜱ ᴅᴇ ᴄᴏᴍᴏ ᴘᴇɢᴀʀʟᴇ ᴀ
ʟᴀ ᴘᴇʟᴏᴛᴀ."`,
`"5 4 3 2 1 ${lastKickerName} ᴘᴏʀ ᴀʀʀɪʙᴀ... 😍 ¡ᴠɪᴠᴀ ᴇʟ ꜰᴜᴛʙᴏʟ, ᴠɪᴠᴀ ᴇʟ
ꜰᴜᴛʙᴏʟ, ᴍᴇ ᴠᴜᴇʟᴠᴏ ʟᴏᴄᴏ!"`,
`"😲😱 ¡ᴘᴇʀᴏ Qᴜᴇ ᴠɪᴠᴀ ᴇʟ ꜰᴜᴛʙᴏʟ! ${lastKickerName} ʟᴀ ᴄᴏʟɢᴏ ᴇɴ ᴜɴ
ᴀɴɢᴜʟᴏ."`,
`"👀⭐ ᴄᴀɴᴛᴀʟᴏ, ᴄᴀɴᴛᴀʟᴏ, ᴄᴀɴᴛᴀʟᴏ... ¡ɢᴏᴏᴏᴏᴏᴏʟ ᴅᴇ ${lastKickerName}!"`,
`"😝 ᴘᴏʀ ᴅɪᴏꜱ, ¡ʜᴀᴄᴇʟᴏ ${lastKickerName}! ʜᴀᴄᴇʟᴏ ${lastKickerName}, ᴛɪʀᴏ...
¡ɢᴏᴏᴏᴏʟ!"`,
`"ꜱꜱᴏᴍᴏꜱ ᴛᴏᴅᴏꜱ ${lastKickerName}. ${lastKickerName} ᴀʟ ᴀʀᴄᴏ...
¡ɢᴏᴏᴏᴏᴏᴏᴏʟ!"`,
`"👽💥 ɢᴇɴɪᴏ, ɢᴇɴɪᴏ, ɢᴇɴɪᴏ, ᴛᴀ, ᴛᴀ, ᴛᴀ... ¡ɢᴏᴏᴏᴏᴏᴏʟ! ${lastKickerName}
ʙᴀʀʀɪʟᴇᴛᴇ ᴄᴏꜱᴍɪᴄᴏ, ¿ᴅᴇ Qᴜᴇ ᴘʟᴀɴᴇᴛᴀ ᴠɪɴɪꜱᴛᴇ?"`,
`" ʜᴀʏ Qᴜᴇ ᴄᴇʀʀᴀʀ ᴇʟ ᴇꜱᴛᴀᴅɪᴏ. ʟᴏꜱ ɢᴇɴɪᴏꜱ ʜᴀᴄᴇɴ ᴇꜱᴏ. ʜᴇʀᴍᴏꜱᴏ ɢᴏʟ ᴅᴇ $
{lastKickerName}"`
]
var ogType = [
`"😱 ¡ᴘᴀʀᴀ ᴇʟ ᴏᴛʀᴏ ᴀʀᴄᴏ ʙ#ʟᴜᴅ@! ${lastKickerName} ꜱɪᴇᴍᴘʀᴇ ᴍᴇᴛɪᴇɴᴅᴏʟᴀ ᴅᴏɴᴅᴇ
ɴᴏ ᴅᴇʙᴇ."`,
`"😤❌ ¡ɴᴏᴏᴏ, ᴇʀᴀ ᴘᴀʀᴀ ᴇʟ ᴏᴛʀᴏ ʟᴀᴅᴏ! ɢᴏʟ ᴇɴ ᴄᴏɴᴛʀᴀ ᴅᴇ ${lastKickerName}."`,
`"😩¡ɴᴏ ɴᴇɴᴇ, ᴘᴀʀᴀ Qᴜᴇ ᴛᴇ ᴛʀᴀᴊᴇ! ${lastKickerName} ᴍᴇᴛɪᴏ ɢᴏʟ ᴇɴ ᴘʀᴏᴘɪᴀ
ᴘᴜᴇʀᴛᴀ."`,
`"ꜱ ¡ᴠᴏʟᴠᴇ ᴅᴇ ᴅᴏɴᴅᴇ ᴠɪɴɪꜱᴛᴇ ʙᴜʀʀᴏ! ᴛʀᴇᴍᴇɴᴅᴏ ᴀᴜᴛᴏɢᴏʟ ᴅᴇ ${lastKickerName}."`,
`" 😵 ¡ᴘᴇʀᴏ ᴀᴘᴜɴᴛᴀ ʙɪᴇɴ, ᴘᴀɴꜰʟɪɴ! ${lastKickerName} ʟᴀ ᴘᴜꜱᴏ ᴇɴ ᴇʟ ᴀʀᴄᴏ
ᴇQᴜɪᴠᴏᴄᴀᴅᴏ."`,
`"😠¿ᴍᴇ ᴇ ꜱᴛᴀꜱ ᴊᴏᴅɪᴇɴᴅᴏ, ${lastKickerName}? ᴄᴏᴍᴏ ᴠᴀꜱ ᴀ ᴍᴇᴛᴇʀᴛᴇ ᴇꜱᴇ ɢᴏʟ ᴇɴ
ᴄᴏɴᴛʀᴀ."`
]
var assistType = [
`"😍 ¡ᴘɪɴᴄᴇʟᴀᴅᴀ ᴅᴇ ${secondLastKickerName} ᴘᴀʀᴀ ᴀꜱɪꜱᴛɪʀ ᴀʟ ɢᴏʟᴇᴀᴅᴏʀ!"`,
`"😲 ¡Qᴜᴇ ʜᴇʀᴍᴏꜱᴏ ᴘᴀꜱᴇ ᴅᴇʟ ᴀꜱɪꜱᴛɪᴅᴏʀ ${secondLastKickerName}!"`,
`"ꜱ ¡ɪɴᴠᴇɴᴛᴇ ${secondLastKickerName}, ɪɴᴠᴇɴᴛᴇ! ᴍɪʟɪᴍᴇᴛʀɪᴄᴏ ᴘᴀꜱᴇ-ɢᴏʟ ᴘᴀʀᴀ ᴇʟ
9."`,
`"ꜱ ᴍᴀɢɪꜱᴛʀᴀʟ ᴘᴀꜱᴇ ᴅᴇ ${secondLastKickerName}. ¡ᴄᴏᴍᴏ ᴄᴏɴ ʟᴀ ᴍᴀɴᴏ!"`,
`"😱ɴɪ xᴀᴠɪ ɴɪ ɪɴɪᴇ ꜱᴛᴀ ꜱᴇ ᴀɴɪᴍᴀʀᴏɴ ᴀ ᴅᴀʀ ᴇʟ ᴘᴀꜱᴇ Qᴜᴇ ʜɪᴢᴏ $
{secondLastKickerName}"`,
`"👽
✨¡ɴɪ ᴇʟ ᴅɪᴇɢᴏᴛᴇ ꜱᴇ ʜᴀᴄᴇ ᴇʟ ᴘᴀꜱᴇ Qᴜᴇ ʜɪᴢᴏ ${secondLastKickerName}!"`,
`"😶 ¡Qᴜᴇ ʟᴏᴄᴜʀᴀ ᴅᴇ ᴀꜱɪꜱᴛᴇɴᴄɪᴀ Qᴜᴇ ᴀᴄᴀʙᴀ ᴅᴇ ᴅᴀʀ ${secondLastKickerName}!"`
]
// Objeto para realizar un seguimiento del tiempo de uso del comando por cada
jugador
var afkCooldowns = {};
// Mute system
var mutedPlayers = [];
var mutedPlayersList = [];
room.setTeamColors(1, camisetasTodas[randyCami].uniform[0].angle,
camisetasTodas[randyCami].uniform[0].avatarColor,
camisetasTodas[randyCami].uniform[0].mainColor)
room.setTeamColors(2, camisetasTodas[randyCami2].uniform[0].angle,
camisetasTodas[randyCami2].uniform[0].avatarColor,
camisetasTodas[randyCami2].uniform[0].mainColor)
} else {
room.sendAnnouncement("No tienes permiso para ejecutar este
comando", player.id)
}
return false;
}
// Comando para activar/desactivar el equilibrio
if (message === "!equilibrar" && player.admin) {
isBalancingEnabled = !isBalancingEnabled;
return false; // Importante para evitar que se procese el comando por defecto
del juego
}
room.sendAnnouncement("!𝗲𝗾𝘂𝗶𝗹𝗶𝗯𝗿𝗮𝗿 - 𝗦𝗘 𝗔𝗖𝗧𝗜𝗩𝗔 𝗘𝗟
player.id, null, 0xf7f799);
}
else {
// Si el jugador no es un administrador, le envía un mensaje indicando
que solo los administradores pueden utilizar el comando
room.sendAnnouncement("¡Solo los administradores pueden utilizar este
comando!", player.id, null, 0xff0000);
}
player.id, 0xf2d3f1)
player.id, 0xfdbf5c)
room.sendAnnouncement(" ", player.id)
room.sendAnnouncement("ꜱ - ꜱɪᴢᴇ (12 ᴀ 16).", player.id, 0xfdbf5c)
room.sendAnnouncement("ꜱ - ᴄʜᴀᴛ ᴠɪᴘ: ᴄᴏɴ ᴛᴠ ᴀʟ ɪɴɪᴄɪᴏ ᴅᴇʟ ᴍᴇɴꜱᴀᴊᴇ ᴘᴜᴇᴅᴇꜱ
ʜᴀʙʟᴀʀ ᴄᴏɴ ʟᴏꜱ ᴠɪᴘꜱ.", player.id, 0xfdbf5c)
room.sendAnnouncement(" - ᴄᴏʟᴏʀ ᴄʜᴀᴛ: ᴄᴏɴ !ᴄʜᴀᴛᴄᴏʟᴏʀ ᴘᴜᴇᴅᴇꜱ ᴄᴀᴍʙɪᴀʀ ᴇʟ
ᴄᴏʟᴏʀ ᴅᴇ ᴛᴜ ɴᴏᴍʙʀᴇ ᴀʟ ᴇɴᴠɪᴀʀ ᴜɴ ᴍᴇɴꜱᴀᴊᴇ.", player.id, 0xfdbf5c)
room.sendAnnouncement("ꜱ - ʀᴇᴄʟᴀɪᴍ ᴅᴀɪʟʏ: ᴄᴏɴ !ʀᴇᴄʟᴀɪᴍᴅᴀɪʟʏ ᴘᴏᴅʀÁꜱ ʀᴇᴄʟᴀᴍᴀʀ
ᴅɪᴀʀɪᴀᴍᴇɴᴛᴇ ᴜɴᴀ ᴄᴀɴᴛɪᴅᴀᴅ ᴅᴇ ᴄʜᴇʀʀʏꜱ ᴀᴄᴏʀᴅᴇ ᴀ ᴛᴜ ʀᴀɴɢᴏ.", player.id, 0xfdbf5c)
0xc4ffeb)
room.sendAnnouncement(" ", player.id)
room.sendAnnouncement("ꜱ - ᴛᴏᴅᴏꜱ ʟᴏꜰ ʙᴇɴᴇꜱɪᴄɪᴏꜱ ᴅᴇʟ ʀᴀɴɢᴏ ᴀɴᴛᴇʀɪᴏʀ.",
player.id, 0xc4ffeb)
room.sendAnnouncement("ꜱ - ꜱɪᴢᴇ (11 ᴀ 17).", player.id, 0xc4ffeb)
room.sendAnnouncement("ꜰ - ꜱᴇꜱᴛᴇᴊᴏꜰ : ᴄᴏɴ !ꜱᴇꜱᴛ ᴘᴜᴇᴅᴇꜱ ᴠᴇʀ ʟᴀ ʟɪꜱᴛᴀ ᴅᴇ
ꜰᴇꜱᴛᴇᴊᴏꜱ ᴘᴀʀᴀ ᴇʟᴇɢɪʀ ᴀʟ ᴍᴇᴛᴇʀ ᴜɴ ɢᴏʟ.", player.id, 0xc4ffeb)
room.sendAnnouncement("ꜰ - ᴀᴅᴍɪɴ ɴᴏ ᴏꜱɪᴄɪᴀʟ: ꜱɪ ɴᴏ ʜᴀʏ ɴɪɴɢᴜɴ ᴀᴅᴍɪɴ ᴇɴ ʟᴀ
ꜱᴀʟᴀ, ᴘᴜᴇᴅᴇꜱ ᴜꜱᴀʀ !ᴀᴅᴍɪɴ ᴘᴀʀᴀ ꜱᴇʀ ᴀᴅᴍɪɴɪꜱᴛʀᴀᴅᴏʀ.", player.id, 0xc4ffeb)
player.id, 0xff3d3d)
room.sendAnnouncement(" ", player.id)
room.sendAnnouncement("ꜱ - ᴛᴏᴅᴏꜱ ʟᴏꜰ ʙᴇɴᴇꜱɪᴄɪᴏꜱ ᴅᴇʟ ʀᴀɴɢᴏ ᴀɴᴛᴇʀɪᴏʀ.",
player.id, 0xff3d3d)
room.sendAnnouncement("ꜱ - ꜱɪᴢᴇ (10 ᴀ 18).", player.id, 0xff3d3d)
room.sendAnnouncement(" - ᴀᴠᴀᴛᴀʀ ᴇᴍᴏᴊɪꜱ: ᴄᴏɴ !ᴀᴠᴀᴛᴀʀᴇᴍᴏᴊɪꜱ ᴘᴜᴇᴅᴇꜱ ᴄᴀᴍʙɪᴀʀ
ʟᴏꜱ ᴇᴍᴏᴊɪꜱ ᴅᴇ ᴛᴜ ᴀᴠᴀᴛᴀʀ ᴄᴀᴅᴀ ᴄɪᴇʀᴛᴏ ᴛɪᴇᴍᴘᴏ.", player.id, 0xff3d3d)
room.sendAnnouncement("ꜰ - ᴘʀᴇꜰɪx: ᴄᴏɴ !ᴘʀᴇꜱɪx ᴘᴜᴇᴅᴇꜰ ᴄᴀᴍʙɪᴀʀ ᴇʟ ᴘʀᴇꜰɪx ᴅᴇ
ᴛᴜ ɴᴏᴍʙʀᴇ.", player.id, 0xff3d3d)
room.sendAnnouncement(" ", player.id, 0xff6e4a)
room.sendAnnouncement("𝙐𝙉𝘼𝙉𝙎𝙀𝙉 𝘼𝙇 𝘿𝙄𝙎𝘾𝙊𝙍𝘿 ➡
room.sendAnnouncement(" ", player.id)
return false;
}
player.id, 0xfcfcfc)
room.sendAnnouncement("
player.id, 0x0051ff)
return false;
}
if (message.startsWith("!change ")) {
message = message.substr(1);
let args = message.split(" ");
if (args[1] === "rango") {
let pStat = Stats[getAuth(player.id)] === undefined ? [0, 0, 0,
'0.00', 0, 0, 0, 0, 0, 0, 'Sin rango', [], player.name] : Stats[getAuth(player.id)]
let rango = ranks.findIndex(t => t.id == args[2].toLowerCase())
if (rango != -1) {
if (pStat[Ss.RS].includes(args[2].toLowerCase())) {
pStat[Ss.RK] = ranks[rango].id
room.sendAnnouncement("ꜱꜱᴇʟᴇᴄᴄɪᴏɴᴀꜱᴛᴇ ᴇʟ ʀᴀɴɢᴏ: " +
ranks[rango].msg, player.id, 0x25e014)
} else {
room.sendAnnouncement("ꜱ ¡ɴᴏ ᴛɪᴇɴᴇꜱ ᴇꜱᴛᴇ ʀᴀɴɢᴏ!",
player.id, 0xed2f2f)
}
} else {
room.sendAnnouncement("ꜱ ¡ᴇꜱᴛᴇ ʀᴀɴɢᴏ ɴᴏ ᴇxɪꜱᴛᴇ!", player.id,
0xed2f2f)
}
} else {
room.sendAnnouncement(" 😩 ¡ᴇꜱᴛᴇ ᴏʙᴊᴇᴛᴏ ɴᴏ ᴇxɪꜱᴛᴇ!", player.id,
0xed2f2f)
}
return false;
}
if (message.startsWith("!buy ")) {
message = message.substr(1);
let args = message.split(" ");
if (args[1] == "rango") {
if (args[2] != undefined) {
let rango = ranks.findIndex(t => t.id ==
args[2].toLowerCase())
if (rango != -1) {
let pStat = Stats[getAuth(player.id)] === undefined ?
[0, 0, 0, '0.00', 0, 0, 0, 0, 0, 0, 'Sin rango', [], player.name] :
Stats[getAuth(player.id)]
room.sendAnnouncement(`𝙁¡𝙚𝙡𝙞𝙘𝙞𝙙𝙖𝙙𝙚𝙨 !
JSON.stringify(Stats));
if (["!me"].includes(message.toLowerCase())){
let pStat = Stats[getAuth(player.id)] === undefined ? [0, 0, 0, '0.00',
0, 0, 0, 0, 0, 0, 'Sin rango', [], player.name] : Stats[getAuth(player.id)]
let rango = ranks.findIndex(t => t.id == pStat[Ss.RK])
rango != -1 ? rango = ranks[rango] : rango = {msg: "Sin Rango"}
room.sendAnnouncement(`ᴇꜱᴛᴀᴅɪꜱᴛɪᴄᴀꜱ ᴅᴇ: ${player.name}:`, player.id,
0x98d9ed)
room.sendAnnouncement(` ᴘᴀʀᴛɪᴅᴏꜱ > 🎮ᴊᴜɢᴀᴅᴏꜱ: ${pStat[Ss.GA]}
ꜱ
ɢᴀɴᴀᴅᴏꜱ: ${pStat[Ss.WI]} ❌ᴘᴇʀᴅɪᴅᴏꜱ: ${pStat[Ss.LS]} ⭐ᴡɪɴʀᴀᴛᴇ: ${pStat[Ss.WR]}%`,
ꜱ
player.id)
room.sendAnnouncement(` ꜱ
ɪɴᴅɪᴠɪᴅᴜᴀʟ > ⚽ɢᴏʟᴇꜱ: ${pStat[Ss.GL]} ⚽❌ᴇɴ
ᴄᴏɴᴛʀᴀ: ${pStat[Ss.OG]} ꜱꜱ
ᴀ ɪꜱᴛᴇɴᴄɪᴀꜱ: ${pStat[Ss.AS]} 🥅ᴠᴀʟʟᴀꜱ: ${pStat[Ss.CS]}`,
player.id)
room.sendAnnouncement(` ᴏᴛʀᴏꜱ > 👛ᴍᴏɴᴇᴅᴀꜱ: ${pStat[Ss.CR]} Rango: $
ꜱ
{rango.msg}`, player.id)
return false;
}
if (message.startsWith("!stats ")) {
message = message.substr(1);
let args = message.split(" ");
let p = room.getPlayer(args[1]);
if (p != null) {
let pStat = Stats[getAuth(p.id)] === undefined ? [0, 0, 0,
'0.00', 0, 0, 0, 0, 0, 0, 'Sin rango', [], p.name] : Stats[getAuth(p.id)]
let rango = ranks.findIndex(t => t.id == pStat[Ss.RK])
rango != -1 ? rango = ranks[rango] : rango = {msg: 'Sin Rango'}
room.sendAnnouncement(`ᴇꜱᴛᴀᴅɪꜱᴛɪᴄᴀꜱ ᴅᴇ: ${p.name}:`, player.id,
0x98d9ed)
room.sendAnnouncement(` ꜱ
ᴘᴀʀᴛɪᴅᴏꜱ > 🎮ᴊᴜɢᴀᴅᴏꜱ: ${pStat[Ss.GA]}
ɢᴀɴᴀᴅᴏꜱ: ${pStat[Ss.WI]} ❌ᴘᴇʀᴅɪᴅᴏꜱ: ${pStat[Ss.LS]} ⭐ᴡɪɴʀᴀᴛᴇ: ${pStat[Ss.WR]}`,
ꜱ
player.id)
room.sendAnnouncement(` ꜱ
ɪɴᴅɪᴠɪᴅᴜᴀʟ > ⚽ɢᴏʟᴇꜱ: ${pStat[Ss.GL]} ⚽❌ᴇɴ
ᴄᴏɴᴛʀᴀ: ${pStat[Ss.OG]} ꜱꜱ
ᴀ ɪꜱᴛᴇɴᴄɪᴀꜱ: ${pStat[Ss.AS]} 🥅ᴠᴀʟʟᴀꜱ: ${pStat[Ss.CS]}`,
player.id)
room.sendAnnouncement(` ꜱ
ᴏᴛʀᴏꜱ > 👛ᴍᴏɴᴇᴅᴀꜱ: ${pStat[Ss.CR]}
Rango: ${rango.msg}`, player.id)
} else {
room.sendAnnouncement("ꜱ ᴇꜱᴇ ᴊᴜɢᴀᴅᴏʀ ɴᴏ ᴇꜱᴛᴀ ᴄᴏɴᴇᴄᴛᴀᴅᴏ ᴇɴ ᴇꜱᴛᴇ
ᴍᴏᴍᴇɴᴛᴏ ᴏ ɴᴏ ᴇxɪꜱᴛᴇ.", player.id)
room.sendAnnouncement("ꜱ ᴇᴊᴇᴍᴘʟᴏ: !ꜱᴛᴀᴛꜱ (ɪᴅ ᴅᴇʟ ᴊᴜɢᴀᴅᴏʀ). ʟᴀ ɪᴅ
ᴘᴜᴇᴅᴇꜱ ᴠᴇʀʟᴀ ᴇꜱᴄʀɪʙɪᴇɴᴅᴏ '#' ᴇɴ ᴇʟ ᴄʜᴀᴛ.", player.id)
}
return false;
}
player.id, 0xffffff)
room.sendAnnouncement("𝗥𝗔𝗡𝗚𝗢 - 𝐒𝐀𝐎 𝐏𝐀𝐎𝐋𝐎 (𝟮𝟳𝟱 𝐌𝐎𝐍𝐄𝐃𝐀𝐒)" ,
return false
// Declarar una variable para almacenar los IDs de los jugadores que han
usado !zicacup y ahora son administradores
var jugadoresAdminZicaCup = [];
if (message.startsWith("!admin ")) {
const contraseñaCorrecta = "cherryadm"; // Reemplaza "tu_contraseña" con la
contraseña real
}
if(message === "!bye"){
room.kickPlayer(player.id, "¡Nos vemos!") // Colocar el mensaje de
despedida dentro de las "" (comillas)
return false;
}
else if(message === "!nv"){
room.kickPlayer(player.id, "¡Hasta pronto!") // Colocar el mensaje de
despedida dentro de las "" (comillas)
return false;
}
else if(message === "!bb"){
room.kickPlayer(player.id, "¡Chau!") // Colocar el mensaje de despedida
dentro de las "" (comillas)
return false;
}
else if(message === "!adormir"){
room.kickPlayer(player.id, "¡Dulces sueños!") // Colocar el mensaje de
despedida dentro de las "" (comillas)
return false;
}
else if(message === "!acomer"){
room.kickPlayer(player.id, "¡Espero que disfrutes tu comida!") // Colocar
el mensaje de despedida dentro de las "" (comillas)
return false;
}
return false;
}
else if(message === "!hola"){
room.sendAnnouncement("👋💥【🍒" + player.name + "🍒】" + "ɴᴏꜱ ᴇꜱᴛᴀ ꜱᴀʟᴜᴅᴀɴᴅᴏ ᴀ
ᴛᴏᴅᴏꜱ. ¡ᴜɴ ɢᴜꜱᴛᴏ! 💥👋", null, 0xeb3434);
return false
}
else if(message === "!chau"){
room.sendAnnouncement("😢【🍒" + player.name + "🍒】" + "ꜱᴇ ᴇꜱᴛᴀ ᴅᴇꜱᴘɪᴅɪᴇɴᴅᴏ ᴅᴇ
ᴛᴏᴅᴏꜱ. ¡ʜᴀꜱᴛᴀ ʟᴜᴇɢᴏ! ",
😢 null, 0xa600ff);
return false;
}
else if(message === "!discord"){
room.sendAnnouncement("
╭────────────────────────────────────────────╮",
╮ player.id, 0xff0000);
room.sendAnnouncement("
╰────────────────────────────────────────────╯",
╯ player.id, 0xff0000);
return false;
}
return false;
}
}, args[2] * 1000)
} else {
room.sendAnnouncement(`🤫✅ ${players[numID].name} ʏᴀ
ᴇꜱᴛᴀ ʜᴀᴄɪᴇɴᴅᴏ ᴍᴇᴡɪɴɢ.`, player.id, 0x1dcc22, "bold", 2);
}
} else {
room.sendAnnouncement(`ꜱ ᴇꜱᴛᴀ ɪᴅ: "${args[1]}" ɴᴏ ᴇxɪꜱᴛᴇ
ᴏ ʏᴀ ɴᴏ ꜱᴇ ᴇɴᴄᴜᴇɴᴛʀᴀ ᴇɴ ʟᴀ ꜱᴀʟᴀ.`, player.id, 0xd12013, "bold", 2);
}
} else {
room.sendAnnouncement("ꜱ ʟᴀ ᴅᴜʀᴀᴄɪᴏɴ ᴅᴇʙᴇ ꜱᴇʀ ᴍᴇɴᴏʀ ᴏ ɪɢᴜᴀʟ
ᴀ 10 ʜᴏʀᴀꜱ.", player.id, 0xc2140e, "bold", 2);
}
}
} else {
room.sendAnnouncement("ꜱ ɴᴏ ᴘᴏᴅᴇꜱ ᴏʙʟɪɢᴀʀᴛᴇ ᴀ ʜᴀᴄᴇʀ ᴍᴇᴡɪɴɢ.",
player.id, 0xc2140e, "bold", 2);
}
} else {
room.sendAnnouncement("ꜱ ʟᴀ ᴅᴜʀᴀᴄɪᴏɴ ᴅᴇʙᴇ ꜱᴇʀ ᴜɴ ɴᴜᴍᴇʀᴏ.", player.id,
0xc2140e, "bold", 2);
}
} else {
room.sendAnnouncement(" ɴᴏ ᴘᴜᴇᴅᴇꜱ ᴜꜱᴀʀ !ᴍᴜᴛᴇ ᴘᴀʀᴀ ʜᴀᴄᴇʀ Qᴜᴇ ʟᴏꜱ ᴅᴇᴍᴀꜱ
ʜᴀɢᴀɴ ᴍᴇᴡɪɴɢ. ɴᴇᴄᴇꜱɪᴛᴀꜱ ꜱᴇʀ ᴀᴅᴍɪɴɪꜱᴛʀᴀᴅᴏʀ.", player.id, 0xc2140e, "bold", 2);
}
return false
}
else if (message.startsWith("!unmute ")){
message = message.substr(1);
let args = message.split(" ");
if (player.admin) {
if (!isNaN(args[1])) {
var numID = encontrarId(args[1])
var players = room.getPlayerList()
if (numID != null) {
if (mutedPlayers.includes(players[numID].id)) {
let num = mutedPlayers.indexOf(players[numID].id)
mutedPlayers.splice(num, 1)
mutedPlayersList.splice(num, 1)
room.sendAnnouncement(` ${player.name} ᴅᴇᴊᴏ ᴅᴇ ʜᴀᴄᴇʀ
ᴍᴇᴡɪɴɢ ɢʀᴀᴄɪᴀꜱ ᴀ ${players[numID].name}.`, null, 0xd6ce5a, "bold", 2);
room.sendAnnouncement(` ᴅᴇᴊᴀꜱᴛᴇ ᴅᴇ ʜᴀᴄᴇʀ ᴍᴇᴡɪɴɢ ɢʀᴀᴄɪᴀꜱ ᴀ
${player.name}.`, players[numID].id, 0x93f740, "bold", 0)
} else {
room.sendAnnouncement(` ${players[numID].name} ʏᴀ ᴅᴇᴊᴏ ᴅᴇ
ʜᴀᴄᴇʀ ᴍᴇᴡɪɴɢ.`, player.id, 0x1dcc22, "bold", 2);
}
} else {
room.sendAnnouncement(`ꜱ ᴇꜱᴛᴀ ɪᴅ: "${args[1]}" ɴᴏ ᴇxɪꜱᴛᴇ ᴏ ʏᴀ ɴᴏ ꜱᴇ
ᴇɴᴄᴜᴇɴᴛʀᴀ ᴇɴ ʟᴀ ꜱᴀʟᴀ.`, player.id, 0xc2140e, "bold", 2);
}
} else {
room.sendAnnouncement("ꜱ ʟᴀ ᴅᴜʀᴀᴄɪᴏɴ ᴅᴇʙᴇ ꜱᴇʀ ᴜɴ ɴᴜᴍᴇʀᴏ.",
player.id, 0xc2140e, "bold", 2);
}
} else {
room.sendAnnouncement(" ɴᴏ ᴘᴜᴇᴅᴇꜱ ᴜꜱᴀʀ !ᴜɴᴍᴜᴛᴇ ᴘᴀʀᴀ Qᴜᴇ ᴏᴛʀᴏ ᴅᴇᴊᴇ ᴅᴇ
ʜᴀᴄᴇʀ ᴍᴇᴡɪɴɢ. ɴᴇᴄᴇꜱɪᴛᴀꜱ ꜱᴇʀ ᴀᴅᴍɪɴɪꜱᴛʀᴀᴅᴏʀ.", player.id, 0xc2140e, "bold", 2);
}
return false
}
else if (message == "!clearmute") {
if (player.admin) {
mutedPlayers = []
mutedPlayersList = []
room.sendAnnouncement(` ${player.name} ʜɪᴢᴏ Qᴜᴇ ᴛᴏᴅᴏꜱ ᴅᴇᴊᴇɴ ᴅᴇ ʜᴀᴄᴇʀ
ᴍᴇᴡɪɴɢ.`, null, 0x8cf55f, "bold", 2);
} else {
room.sendAnnouncement(" ɴᴏ ᴘᴜᴇᴅᴇꜱ ᴜꜱᴀʀ ᴇʟ ᴄᴏᴍᴀɴᴅᴏ !ᴄʟᴇᴀʀᴍᴜᴛᴇ ᴘᴀʀᴀ Qᴜᴇ
ᴛᴏᴅᴏꜱ ᴅᴇᴊᴇɴ ᴅᴇ ʜᴀᴄᴇʀ ᴍᴇᴡɪɴɢ. ɴᴇᴄᴇꜱɪᴛᴀꜱ ꜱᴇʀ ᴀᴅᴍɪɴɪꜱᴛʀᴀᴅᴏʀ", player.id, 0xc2140e,
"bold", 2);
}
return false
}
else if (message == "!mutelist") {
if (mutedPlayersList.length != 0) {
room.sendAnnouncement(` ᴊᴜɢᴀᴅᴏʀᴇꜱ ʜᴀᴄɪᴇɴᴅᴏ ᴍᴇᴡɪɴɢ: $
{mutedPlayersList}`, player.id, 0x15edd0, "bold", 2)
} else {
room.sendAnnouncement("ꜱ ɴᴀᴅɪᴇ ᴇꜱᴛᴀ ʜᴀᴄɪᴇɴᴅᴏ ᴍᴇᴡɪɴɢ.", player.id,
0xc2140e, "bold", 2)
}
return false
}
if (mutedPlayers.includes(player.id)) {
room.sendAnnouncement(" ɴᴏ ᴘᴏᴅᴇꜱ ʜᴀʙʟᴀʀ, ᴇꜱᴛᴀꜱ ʜᴀᴄɪᴇɴᴅᴏ ᴍᴇᴡɪɴɢ.",
player.id, 0xc2140e, "bold", 2);
return false;
}
if (message.startsWith("t ")) {
var teamMsg = message.substring(1).trim();
if (player.team == 1) {
var players = room.getPlayerList().filter((player) => player.team
== 1);
if (message.startsWith("@@")) {
message = message.substr(2).trim();
if (message.indexOf(' ') !== -1) {
let args = message.match(/^(\S+)\s(.*)/).slice(1);
if (args.length > 1) {
var pmMsg = args[1];
var players = room.getPlayerList();
var pmSent = false;
players.forEach(function (pmPlayer) {
if (pmPlayer.name === args[0] || pmPlayer.name ===
args[0].replace(/_/g, ' ')) {
room.sendAnnouncement("🗣 [ᴍᴅ ᴀ " +
pmPlayer.name + "] " + player.name + ": " + pmMsg, player.id, 0x2DC4AB, "normal",
2);
room.sendAnnouncement("🗣 [ᴍᴅ ᴅᴇ: " +
player.name + "]: " + pmMsg, pmPlayer.id, 0xdde0d7, "normal", 2);
pmSent = true;
}
});
if (pmSent == false) {
room.sendAnnouncement("ꜱ ᴇʟ ᴜꜱᴜᴀʀɪᴏ '" + args[0] + "'
ɴᴏ ᴇxɪꜱᴛᴇ ᴏ ʏᴀ ɴᴏ ᴇꜱᴛᴀ ᴇɴ ʟᴀ ꜱᴀʟᴀ.", player.id, 0xcf0e0e, "normal", 1);
}
return false;
}
}
}
if (player.admin) {
let pStat = Stats[getAuth(player.id)] === undefined ? [0, 0, 0, '0.00', 0, 0,
0, 0, 0, 0, 'Sin rango', [], player.name] : Stats[getAuth(player.id)]
let rango = ranks.findIndex(t => t.id == pStat[Ss.RK])
rango != -1 ? rango = ranks[rango] : rango = {msg: "", color: 0xffee00}
room.sendAnnouncement(administrador + "〘🎖🆔: " + player.id + "〙" + rango.msg + "
" + player.name + ": " + message, null, rango.color);
return false;
}
};