Facebook
From Cobalt Motmot, 3 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 79
  1. // Stats: "Auth" : '["0-Games", "1-Wins", "2-Draws", "3-Losses", "4-Winrate", "5-Goals", "6-Assists", "7-GK", "8-CS", "9-CS%", "10-Role", "11-Nick"]'
  2.  
  3. /* VARIABLES */
  4.  
  5. /* ROOM */
  6. //const roomName = "⏩⏩⏩⏩⏩⏩⏩⏩ FUTSAL PUBS ⏩⏩⏩⏩⏩⏩⏩⏩⏩";//{"code": "ES", "lat": 41.4365175, "lon": -3.7083759},
  7. //const roomName = "⏫   ";//{"code": "ES", "lat": 40.4169205, "lon": -3.7081959},
  8. //const roomName = "⏫    ?⚽ FUTSAL 3V3 BY KYU ⚽?    ";//{"code": "ES", "lat": 40.4169235, "lon": -3.7083759},
  9. //const roomName = "⏫   ? Info: discord.gg/3MhhZPN ?    "; //{"code": "ES", "lat": 40.4169245, "lon": -3.7083759}
  10. //const roomName = "⏫    ⚽ Liga: discord.gg/KjB6kqp ⚽     "; //{"code": "ES", "lat": 40.4169265, "lon": -3.7083759}
  11. //const roomName = "⏫   ";//{"code": "ES", "lat": 40.4169295, "lon": -3.7083759},
  12. const roomName = "⏫ ⚡ [FUTSAL 3v3] Pub | AutoBOT ! ⚡ "; // {"code": "ES", "lat": 41.4369335, "lon": -3.7083759}
  13. //const roomName = "⏫  "; {"code": "ES", "lat": 40.4169375, "lon": -3.7083759},
  14. //const roomName = "⏪⏪⏪⏪⏪⏪⏪⏪ 24/7 ⏪⏪⏪⏪⏪⏪⏪⏪⏪"; //{"code": "ES", "lat": 41.4374425, "lon": -3.7083759},
  15.  
  16. //emoji espacio  
  17. //emoji 3a parte de espacio  
  18. // emoji mando play ?
  19. //emoji espiral ?
  20. // emoji de fuego ?
  21. // emoji de rayo ⚡
  22. // emoji balon de futbol ⚽
  23. // emoji llave inglesa ?
  24. // emoji ☝☝☝ ? ? ? ? ?
  25. // emoji arriba ⏫
  26. // emoji abajo ⏬
  27. //
  28. const botName = "? ESP FUTSAL BOT ?";
  29. const maxPlayers = 13;
  30. const roomPublic = true;// true si es publica
  31. const geo = [{"code": "ES", "lat": 41.4369335, "lon": -3.7083759},
  32.         {code: "PT", lat: 38.713199, lon: -9.169184},
  33. {code: "DE", lat: 50.768749, lon: 10.399106},
  34. {code: "NL", lat: 51.948613, lon: 5.607407},
  35. {code: "FR", lat: 46.237969, lon: 1.381583},
  36. {code: "IT", lat: 44.4168600, lon: 12.2100000},
  37. {code: "CH", lat: 46.9480900, lon: 7.4474400},
  38. {code: "GB", lat: 51.5085300, lon: -0.1257400},  
  39. {code: "PL", lat: 52, lon: 21}];
  40. const password = 'futsalroom!123';
  41. const room = HBInit({ roomName: roomName, maxPlayers: maxPlayers, public: roomPublic, playerName: botName,  geo: geo[0]});
  42.  
  43. const scoreLimitClassic = 2;
  44. const scoreLimitBig = 2;
  45. const timeLimitClassic = 3;
  46. const timeLimitBig = 3;
  47. room.setTeamsLock(true);
  48. room.setKickRateLimit(6,12,4);
  49. //room.setPassword("dfsvdvdfvuidaniuvbaudfibvbvauiabfdui");
  50.  
  51. //var adminPassword = 10000 + getRandomInt(90000);
  52. var adminPassword = "haxballadminshaxballroompubs1234567895334254353453422432423";
  53. console.log("adminPassword : " + adminPassword);
  54.  
  55. /* STADIUM */
  56.  
  57. const playerRadius = 15;
  58. var ballRadius = 6.25;
  59. const triggerDistance = playerRadius + ballRadius + 0.01;
  60. //MAPA VIEJOS
  61. //var aloneMap = '{"name":"Futsal No Goals GLH","width":420,"height":200,"spawnDistance":180,"bg":{"type":"hockey","width":368,"height":171,"kickOffRadius":65,"cornerRadius":0},"vertexes":[{"x":-368,"y":171,"trait":"ballArea","cMask":["ball"],"bCoef":1},{"x":-368,"y":65,"trait":"ballArea","cMask":["ball"],"bCoef":1},{"x":-368,"y":-65,"trait":"ballArea","cMask":["ball"],"bCoef":1},{"x":-368,"y":-171,"trait":"ballArea","bCoef":1,"cMask":["ball"]},{"x":368,"y":171,"trait":"ballArea","cMask":["ball"],"bCoef":1},{"x":368,"y":65,"trait":"ballArea","cMask":["ball"],"bCoef":1},{"x":368,"y":-65,"trait":"ballArea","cMask":["ball"],"bCoef":1},{"x":368,"y":-171,"trait":"ballArea","cMask":["ball"],"bCoef":1},{"x":0,"y":65,"trait":"line"},{"x":0,"y":-65,"trait":"line"},{"bCoef":1,"trait":"ballArea","x":368,"y":171},{"bCoef":1,"trait":"ballArea","x":368,"y":-171},{"bCoef":0,"trait":"line","x":0,"y":171},{"bCoef":0,"trait":"line","x":0,"y":-171},{"x":0,"y":65,"trait":"line"},{"x":0,"y":-65,"trait":"line"},{"x":377,"y":-65,"trait":"line","cMask":["ball"],"bCoef":1},{"x":377,"y":-171,"trait":"ballArea","cMask":["ball"],"bCoef":1},{"x":-377,"y":-65,"trait":"line","cMask":["ball"],"bCoef":1},{"x":-377,"y":-171,"trait":"ballArea","cMask":["ball"],"bCoef":1},{"x":-377,"y":65,"trait":"line","cMask":["ball"],"bCoef":1},{"x":-377,"y":171,"trait":"ballArea","cMask":["ball"],"bCoef":1},{"x":377,"y":65,"trait":"line","cMask":["ball"],"bCoef":1},{"x":377,"y":171,"trait":"ballArea","cMask":["ball"],"bCoef":1},{"x":0,"y":65,"trait":"line"},{"x":0,"y":-65,"trait":"line"},{"x":-368.53340356886,"y":-62.053454903872,"cMask":["red","blue","ball"],"trait":"goalNet","curve":0,"color":"F8F8F8","pos":[-700,-80]},{"x":-400.05760771891,"y":-62.053454903872,"cMask":["red","blue","ball"],"trait":"goalNet","curve":0,"color":"F8F8F8","pos":[-700,-80]},{"x":-400.05760771891,"y":64.043361696331,"cMask":["red","blue","ball"],"trait":"goalNet","curve":0,"color":"F8F8F8","pos":[-700,80]},{"x":-368.53340356886,"y":64.043361696331,"cMask":["red","blue","ball"],"trait":"goalNet","curve":0,"color":"F8F8F8","pos":[-700,80]},{"x":368.09926357786,"y":63.94882446641,"cMask":["red","blue","ball"],"trait":"goalNet","curve":0,"color":"F8F8F8","pos":[-700,-80]},{"x":400,"y":64,"cMask":["red","blue","ball"],"trait":"goalNet","curve":0,"color":"F8F8F8","pos":[-700,-80]},{"x":400,"y":-61.927767991658,"cMask":["red","blue","ball"],"trait":"goalNet","curve":0,"color":"F8F8F8","pos":[-700,80]},{"x":368.9681846993,"y":-62.144998272018,"cMask":["red","blue","ball"],"trait":"goalNet","curve":0,"color":"F8F8F8","pos":[-700,80]},{"x":-368,"y":-142.37229643041,"bCoef":0.1,"trait":"line","color":"F8F8F8","curve":-90},{"x":-260.90035258157,"y":-50.168480548544,"bCoef":0.1,"trait":"line","color":"F8F8F8","curve":0},{"x":-368,"y":-160.81305960678,"bCoef":0.1,"trait":"line","curve":-90},{"x":-358.5379338963,"y":-171,"bCoef":0.1,"trait":"line","curve":-90},{"x":-368,"y":141.33175243687,"bCoef":0.1,"trait":"line","color":"F8F8F8","curve":90},{"x":-260.90035258157,"y":49.127936555002,"bCoef":0.1,"trait":"line","color":"F8F8F8","curve":0},{"x":-368,"y":159.77251561324,"bCoef":0.1,"trait":"line","curve":90},{"x":-358.5379338963,"y":171,"bCoef":0.1,"trait":"line","curve":90},{"x":368,"y":159.77251561324,"bCoef":0.1,"trait":"line","curve":-90},{"x":358.36266315432,"y":171,"bCoef":0.1,"trait":"line","curve":-90},{"x":368,"y":-160.81305960678,"bCoef":0.1,"trait":"line","curve":90},{"x":358.36266315432,"y":-171,"bCoef":0.1,"trait":"line","curve":90},{"x":368,"y":-142.37229643041,"bCoef":0.1,"trait":"line","color":"F8F8F8","curve":90},{"x":260.72508183959,"y":-50.168480548544,"bCoef":0.1,"trait":"line","color":"F8F8F8","curve":90},{"x":368,"y":141.33175243687,"bCoef":0.1,"trait":"line","color":"F8F8F8","curve":-90},{"x":260.72508183959,"y":49.127936555002,"bCoef":0.1,"trait":"line","color":"F8F8F8","curve":-90},{"x":260.72508183959,"y":-50.168480548544,"bCoef":0.1,"trait":"line","color":"F8F8F8","curve":0},{"x":260.72508183959,"y":49.127936555002,"bCoef":0.1,"trait":"line","color":"F8F8F8","curve":0},{"x":-250.86909422732,"y":-1.2295321189394,"bCoef":0.1,"trait":"line","curve":180},{"x":-250.86909422732,"y":0.18898812539692,"bCoef":0.1,"trait":"line","curve":180},{"x":-250.86909422732,"y":-2.6480523632758,"bCoef":0.1,"trait":"line","curve":180},{"x":-250.86909422732,"y":1.6075083697333,"bCoef":0.1,"trait":"line","curve":180},{"x":-250.86909422732,"y":0.89824824756514,"bCoef":0.1,"trait":"line","curve":180},{"x":-250.86909422732,"y":-1.9387922411076,"bCoef":0.1,"trait":"line","curve":180},{"x":-250.86909422732,"y":1.9621384308174,"bCoef":0.1,"trait":"line","curve":180},{"x":-250.86909422732,"y":-3.0026824243599,"bCoef":0.1,"trait":"line","curve":180},{"x":250.69382348534,"y":-1.2295321189394,"bCoef":0.1,"trait":"line","curve":180},{"x":250.69382348534,"y":0.18898812539692,"bCoef":0.1,"trait":"line","curve":180},{"x":250.69382348534,"y":-2.6480523632758,"bCoef":0.1,"trait":"line","curve":180},{"x":250.69382348534,"y":1.6075083697333,"bCoef":0.1,"trait":"line","curve":180},{"x":250.69382348534,"y":0.89824824756514,"bCoef":0.1,"trait":"line","curve":180},{"x":250.69382348534,"y":-1.9387922411076,"bCoef":0.1,"trait":"line","curve":180},{"x":250.69382348534,"y":1.9621384308174,"bCoef":0.1,"trait":"line","curve":180},{"x":250.69382348534,"y":-3.0026824243599,"bCoef":0.1,"trait":"line","curve":180},{"x":-185.66591492467,"y":-1.2295321189394,"bCoef":0.1,"trait":"line","curve":180},{"x":-185.66591492467,"y":0.18898812539692,"bCoef":0.1,"trait":"line","curve":180},{"x":-185.66591492467,"y":-2.6480523632758,"bCoef":0.1,"trait":"line","curve":180},{"x":-185.66591492467,"y":1.6075083697333,"bCoef":0.1,"trait":"line","curve":180},{"x":-185.66591492467,"y":0.89824824756514,"bCoef":0.1,"trait":"line","curve":180},{"x":-185.66591492467,"y":-1.9387922411076,"bCoef":0.1,"trait":"line","curve":180},{"x":-185.66591492467,"y":1.9621384308174,"bCoef":0.1,"trait":"line","curve":180},{"x":-185.66591492467,"y":-3.0026824243599,"bCoef":0.1,"trait":"line","curve":180},{"x":185.49064418269,"y":-1.2295321189394,"bCoef":0.1,"trait":"line","curve":180},{"x":185.49064418269,"y":0.18898812539692,"bCoef":0.1,"trait":"line","curve":180},{"x":185.49064418269,"y":-2.6480523632758,"bCoef":0.1,"trait":"line","curve":180},{"x":185.49064418269,"y":1.6075083697333,"bCoef":0.1,"trait":"line","curve":180},{"x":185.49064418269,"y":0.89824824756514,"bCoef":0.1,"trait":"line","curve":180},{"x":185.49064418269,"y":-1.9387922411076,"bCoef":0.1,"trait":"line","curve":180},{"x":185.49064418269,"y":1.9621384308174,"bCoef":0.1,"trait":"line","curve":180},{"x":185.49064418269,"y":-3.0026824243599,"bCoef":0.1,"trait":"line","curve":180},{"x":-160.58776903904,"y":-159.39453936245,"bCoef":0.1,"trait":"line"},{"x":-160.58776903904,"y":-182.09086327183,"bCoef":0.1,"trait":"line"},{"x":-80.337702205015,"y":-159.39453936245,"bCoef":0.1,"trait":"line"},{"x":-80.337702205015,"y":-182.09086327183,"bCoef":0.1,"trait":"line"},{"x":160.41249829706,"y":-159.39453936245,"bCoef":0.1,"trait":"line"},{"x":160.41249829706,"y":-182.09086327183,"bCoef":0.1,"trait":"line"},{"x":80.162431463036,"y":-159.39453936245,"bCoef":0.1,"trait":"line"},{"x":80.162431463036,"y":-182.09086327183,"bCoef":0.1,"trait":"line"},{"x":-254.88159756902,"y":-171,"bCoef":0.1,"trait":"line"},{"x":-254.88159756902,"y":-182.09086327183,"bCoef":0.1,"trait":"line"},{"x":-371.91294503531,"y":-87.759267023458,"bCoef":0.1,"trait":"line"},{"x":-384.61920561736,"y":-87.759267023458,"bCoef":0.1,"trait":"line"},{"x":371.73767429333,"y":-87.759267023458,"bCoef":0.1,"trait":"line"},{"x":384.44393487538,"y":-87.759267023458,"bCoef":0.1,"trait":"line"},{"x":-371.91294503531,"y":86.718723029916,"bCoef":0.1,"trait":"line"},{"x":-384.61920561736,"y":86.718723029916,"bCoef":0.1,"trait":"line"},{"x":371.73767429333,"y":86.718723029916,"bCoef":0.1,"trait":"line"},{"x":384.44393487538,"y":86.718723029916,"bCoef":0.1,"trait":"line"},{"x":-254.88159756902,"y":171,"bCoef":0.1,"trait":"line"},{"x":-254.88159756902,"y":181.05031927829,"bCoef":0.1,"trait":"line"},{"x":254.70632682704,"y":-171,"bCoef":0.1,"trait":"line"},{"x":254.70632682704,"y":-182.09086327183,"bCoef":0.1,"trait":"line"},{"x":254.70632682704,"y":171,"bCoef":0.1,"trait":"line"},{"x":254.70632682704,"y":181.05031927829,"bCoef":0.1,"trait":"line"},{"x":369,"y":65,"trait":"ballArea","cMask":["ball"],"bCoef":1,"vis":false},{"x":369,"y":-65,"trait":"ballArea","cMask":["ball"],"bCoef":1,"vis":false},{"x":-370,"y":65,"trait":"ballArea","cMask":["ball"],"bCoef":1,"vis":false},{"x":-370,"y":-65,"trait":"ballArea","cMask":["ball"],"bCoef":1,"vis":false},{"x":371,"y":-65,"trait":"ballArea","cMask":["ball"],"bCoef":0,"_selected":"segment"},{"x":371,"y":-171,"trait":"ballArea","cMask":["ball"],"bCoef":0,"_selected":"segment"},{"x":371,"y":65,"trait":"ballArea","cMask":["ball"],"bCoef":0},{"x":371,"y":171,"trait":"ballArea","cMask":["ball"],"bCoef":0},{"x":-371,"y":65,"trait":"ballArea","cMask":["ball"],"bCoef":0},{"x":-371,"y":171,"trait":"ballArea","cMask":["ball"],"bCoef":0},{"x":-371,"y":-65,"trait":"ballArea","cMask":["ball"],"bCoef":0},{"x":-371,"y":-171,"trait":"ballArea","cMask":["ball"],"bCoef":0}],"segments":[{"v0":0,"v1":1,"trait":"ballArea"},{"v0":2,"v1":3,"trait":"ballArea"},{"v0":4,"v1":5,"trait":"ballArea"},{"v0":6,"v1":7,"trait":"ballArea"},{"v0":8,"v1":9,"trait":"line","curve":180,"cGroup":["blueKO"]},{"v0":8,"v1":9,"trait":"line","curve":-180,"cGroup":["redKO"]},{"vis":true,"color":"FFFFFF","bCoef":1,"trait":"ballArea","v0":1,"v1":0,"cMask":["ball"],"x":-368},{"vis":true,"color":"FFFFFF","bCoef":1,"trait":"ballArea","v0":5,"v1":4,"cMask":["ball"],"x":368},{"vis":true,"color":"FFFFFF","bCoef":1,"trait":"ballArea","v0":2,"v1":3,"cMask":["ball"],"x":-368},{"vis":true,"color":"FFFFFF","bCoef":1,"trait":"ballArea","v0":6,"v1":7,"cMask":["ball"],"x":368},{"vis":true,"color":"FFFFFF","bCoef":1,"trait":"ballArea","v0":0,"v1":10,"y":171},{"vis":true,"color":"FFFFFF","bCoef":1,"trait":"ballArea","v0":3,"v1":11,"y":-171},{"curve":0,"vis":true,"color":"FFFFFF","bCoef":0,"trait":"line","v0":12,"v1":13},{"curve":-180,"vis":true,"color":"FFFFFF","bCoef":0,"trait":"line","v0":9,"v1":8},{"curve":180,"vis":true,"color":"FFFFFF","bCoef":0,"trait":"line","v0":15,"v1":14},{"curve":0,"vis":true,"color":"FFFFFF","bCoef":1,"trait":"ballArea","v0":2,"v1":1},{"curve":0,"vis":true,"color":"FFFFFF","bCoef":1,"trait":"ballArea","v0":6,"v1":5},{"vis":false,"color":"FFFFFF","bCoef":1,"trait":"ballArea","v0":16,"v1":17,"cMask":["ball"],"x":330},{"vis":false,"color":"FFFFFF","bCoef":1,"trait":"ballArea","v0":18,"v1":19,"cMask":["ball"],"x":-330},{"vis":false,"color":"FFFFFF","bCoef":1,"trait":"ballArea","v0":20,"v1":21,"cMask":["ball"],"x":-330},{"vis":false,"color":"FFFFFF","bCoef":1,"trait":"ballArea","v0":22,"v1":23,"cMask":["ball"],"x":330},{"v0":26,"v1":27,"curve":0,"color":"F8F8F8","cMask":["red","blue","ball"],"trait":"goalNet","pos":[-700,-80],"y":-80},{"v0":27,"v1":28,"color":"F8F8F8","cMask":["red","blue","ball"],"trait":"goalNet","x":-590},{"v0":28,"v1":29,"curve":0,"color":"F8F8F8","cMask":["red","blue","ball"],"trait":"goalNet","pos":[-700,80],"y":80},{"v0":30,"v1":31,"curve":0,"color":"F8F8F8","cMask":["red","blue","ball"],"trait":"goalNet","pos":[-700,-80],"y":-80},{"v0":31,"v1":32,"color":"F8F8F8","cMask":["red","blue","ball"],"trait":"goalNet","x":-590},{"v0":32,"v1":33,"curve":0,"color":"F8F8F8","cMask":["red","blue","ball"],"trait":"goalNet","pos":[-700,80],"y":80},{"v0":34,"v1":35,"curve":94.0263701017,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line"},{"v0":37,"v1":36,"curve":86.632306418889,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line"},{"v0":38,"v1":39,"curve":-94.026370101699,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line"},{"v0":35,"v1":39,"curve":0,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line"},{"v0":41,"v1":40,"curve":-86.632306418888,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line"},{"v0":43,"v1":42,"curve":86.632306418884,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line"},{"v0":45,"v1":44,"curve":-86.632306418899,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line"},{"v0":46,"v1":47,"curve":-94.026370101699,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line"},{"v0":48,"v1":49,"curve":94.026370101699,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line"},{"v0":50,"v1":51,"curve":0,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":390},{"v0":53,"v1":52,"curve":-180.00692920292,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":-375},{"v0":52,"v1":53,"curve":-180.00218240614,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":-375},{"v0":55,"v1":54,"curve":-179.64823645332,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":-375},{"v0":54,"v1":55,"curve":-180.35758668147,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":-375},{"v0":57,"v1":56,"curve":-180.02357323962,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":-375},{"v0":56,"v1":57,"curve":-180.00924102399,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":-375},{"v0":59,"v1":58,"curve":-180.06885755885,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":-375},{"v0":58,"v1":59,"curve":-180.02948353257,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":-375},{"v0":61,"v1":60,"curve":-179.99869069543,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":375},{"v0":60,"v1":61,"curve":-179.99939258776,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":375},{"v0":63,"v1":62,"curve":-180.08826047163,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":375},{"v0":62,"v1":63,"curve":-179.91186753664,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":375},{"v0":65,"v1":64,"curve":-179.99528711105,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":375},{"v0":64,"v1":65,"curve":-179.99743836358,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":375},{"v0":67,"v1":66,"curve":-179.98626041101,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":375},{"v0":66,"v1":67,"curve":-179.99175181595,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":375},{"v0":69,"v1":68,"curve":-180.04715562398,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":-277.5},{"v0":68,"v1":69,"curve":-179.95294709391,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":-277.5},{"v0":71,"v1":70,"curve":-179.95715750564,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":-277.5},{"v0":70,"v1":71,"curve":-179.89943871875,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":-277.5},{"v0":73,"v1":72,"curve":-179.94773754738,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":-277.5},{"v0":72,"v1":73,"curve":-179.98221351296,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":-277.5},{"v0":75,"v1":74,"curve":-180.4151727218,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":-277.5},{"v0":74,"v1":75,"curve":-179.58764458796,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":-277.5},{"v0":77,"v1":76,"curve":-180.00086646359,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":277.5},{"v0":76,"v1":77,"curve":-180.01965986376,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":277.5},{"v0":79,"v1":78,"curve":-180.03532601389,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":277.5},{"v0":78,"v1":79,"curve":-179.99380079,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":277.5},{"v0":81,"v1":80,"curve":-180.0044468452,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":277.5},{"v0":80,"v1":81,"curve":-180.01386779847,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":277.5},{"v0":83,"v1":82,"curve":-180.05158287563,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":277.5},{"v0":82,"v1":83,"curve":-180.01212223878,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":277.5},{"v0":84,"v1":85,"curve":0,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":-240},{"v0":86,"v1":87,"curve":0,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":-120},{"v0":88,"v1":89,"curve":0,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":240},{"v0":90,"v1":91,"curve":0,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":120},{"v0":92,"v1":93,"curve":0,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":-381},{"v0":94,"v1":95,"curve":0,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":-240,"y":123},{"v0":96,"v1":97,"curve":0,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":-240,"y":123},{"v0":98,"v1":99,"curve":0,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":-240,"y":-123},{"v0":100,"v1":101,"curve":0,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":-240,"y":-123},{"v0":102,"v1":103,"curve":0,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":-381},{"v0":104,"v1":105,"curve":0,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":381},{"v0":106,"v1":107,"curve":0,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":381},{"curve":0,"vis":false,"color":"FFFFFF","bCoef":1,"trait":"ballArea","v0":109,"v1":108,"x":369},{"curve":0,"vis":false,"color":"FFFFFF","bCoef":1,"trait":"ballArea","v0":111,"v1":110,"x":-370},{"vis":false,"color":"FFFFFF","bCoef":0,"trait":"ballArea","v0":112,"v1":113,"cMask":["ball"],"x":371,"_selected":true},{"vis":false,"color":"FFFFFF","bCoef":0,"trait":"ballArea","v0":114,"v1":115,"cMask":["ball"],"x":371},{"vis":false,"color":"FFFFFF","bCoef":0,"trait":"ballArea","v0":116,"v1":117,"cMask":["ball"],"x":-371},{"vis":false,"color":"FFFFFF","bCoef":0,"trait":"ballArea","v0":118,"v1":119,"cMask":["ball"],"x":-371}],"goals":[{"p0":[-374.25,-62.053454903872],"p1":[-374.25,64.043361696331],"team":"red"},{"p0":[374.25,62],"p1":[374.25,-62],"team":"blue"}],"discs":[{"radius":3.9405255187564,"pos":[-368.53340356886,64.043361696331],"color":"6666CC","trait":"goalPost","y":80},{"radius":3.9405255187564,"pos":[-368.53340356886,-62.053454903872],"color":"6666CC","trait":"goalPost","y":-80,"x":-560},{"radius":3.9405255187564,"pos":[368.9681846993,-62.144998272018],"color":"6666CC","trait":"goalPost","y":80},{"radius":3.9405255187564,"pos":[368.09926357786,63.94882446641],"color":"6666CC","trait":"goalPost","y":-80,"x":-560},{"radius":3,"invMass":0,"pos":[-368,-171],"color":"FFCC00","bCoef":0.1,"trait":"line"},{"radius":3,"invMass":0,"pos":[-368,171],"color":"FFCC00","bCoef":0.1,"trait":"line"},{"radius":3,"invMass":0,"pos":[368,171],"color":"FFCC00","bCoef":0.1,"trait":"line"},{"radius":3,"invMass":0,"pos":[368,-171],"color":"FFCC00","bCoef":0.1,"trait":"line"}],"planes":[{"normal":[0,1],"dist":-171,"trait":"ballArea"},{"normal":[0,-1],"dist":-171,"trait":"ballArea"},{"normal":[0,1],"dist":-200,"bCoef":0.2,"cMask":["all"]},{"normal":[0,-1],"dist":-200,"bCoef":0.2,"cMask":["all"]},{"normal":[1,0],"dist":-420,"bCoef":0.2,"cMask":["all"]},{"normal":[-1,0],"dist":-420,"bCoef":0.2,"cMask":["all"]}],"traits":{"ballArea":{"vis":false,"bCoef":1,"cMask":["ball"]},"goalPost":{"radius":8,"invMass":0,"bCoef":1},"goalNet":{"vis":true,"bCoef":0.1,"cMask":["all"]},"kickOffBarrier":{"vis":false,"bCoef":0.1,"cGroup":["redKO","blueKO"],"cMask":["red","blue"]},"line":{"vis":true,"bCoef":0,"cMask":[""]},"arco":{"radius":2,"cMask":["n\/d"],"color":"cccccc"}},"playerPhysics":{"acceleration":0.11,"kickingAcceleration":0.083,"kickStrength":5,"bCoef":0},"ballPhysics":{"radius":6.25,"color":"FFCC00","bCoef":0.4,"invMass":1.5,"damping":0.99}}'
  62. //var classicMap = '{"name":"Futsal x1 and x2 ; by Bazinga! & GLH","width":420,"height":200,"spawnDistance":180,"bg":{"type":"hockey","width":368,"height":171,"kickOffRadius":65,"cornerRadius":0},"vertexes":[{"x":-368,"y":171,"trait":"ballArea","cMask":["ball"],"bCoef":1},{"x":-368,"y":65,"trait":"ballArea","cMask":["ball"],"bCoef":1},{"x":-368,"y":-65,"trait":"ballArea","cMask":["ball"],"bCoef":1},{"x":-368,"y":-171,"trait":"ballArea","bCoef":1,"cMask":["ball"]},{"x":368,"y":171,"trait":"ballArea","cMask":["ball"],"bCoef":1},{"x":368,"y":65,"trait":"ballArea","cMask":["ball"],"bCoef":1},{"x":368,"y":-65,"trait":"ballArea","cMask":["ball"],"bCoef":1},{"x":368,"y":-171,"trait":"ballArea","cMask":["ball"],"bCoef":1},{"x":0,"y":65,"trait":"kickOffBarrier"},{"x":0,"y":-65,"trait":"line"},{"bCoef":1,"trait":"ballArea","x":368,"y":171},{"bCoef":1,"trait":"ballArea","x":368,"y":-171},{"bCoef":0,"trait":"line","x":0,"y":171},{"bCoef":0,"trait":"line","x":0,"y":-171},{"x":0,"y":65,"trait":"kickOffBarrier"},{"x":0,"y":-65,"trait":"kickOffBarrier"},{"x":377,"y":-65,"trait":"line","cMask":["ball"],"bCoef":1},{"x":377,"y":-171,"trait":"ballArea","cMask":["ball"],"bCoef":1},{"x":-377,"y":-65,"trait":"line","cMask":["ball"],"bCoef":1},{"x":-377,"y":-171,"trait":"ballArea","cMask":["ball"],"bCoef":1},{"x":-377,"y":65,"trait":"line","cMask":["ball"],"bCoef":1},{"x":-377,"y":171,"trait":"ballArea","cMask":["ball"],"bCoef":1},{"x":377,"y":65,"trait":"line","cMask":["ball"],"bCoef":1},{"x":377,"y":171,"trait":"ballArea","cMask":["ball"],"bCoef":1},{"x":0,"y":199,"trait":"kickOffBarrier"},{"x":0,"y":65,"trait":"kickOffBarrier"},{"x":0,"y":-65,"trait":"kickOffBarrier"},{"x":0,"y":-199,"trait":"kickOffBarrier"},{"x":-368.53340356886,"y":-62.053454903872,"cMask":["red","blue","ball"],"trait":"goalNet","curve":0,"color":"F8F8F8","pos":[-700,-80]},{"x":-400.05760771891,"y":-62.053454903872,"cMask":["red","blue","ball"],"trait":"goalNet","curve":0,"color":"F8F8F8","pos":[-700,-80]},{"x":-400.05760771891,"y":64.043361696331,"cMask":["red","blue","ball"],"trait":"goalNet","curve":0,"color":"F8F8F8","pos":[-700,80]},{"x":-368.53340356886,"y":64.043361696331,"cMask":["red","blue","ball"],"trait":"goalNet","curve":0,"color":"F8F8F8","pos":[-700,80]},{"x":368.09926357786,"y":63.94882446641,"cMask":["red","blue","ball"],"trait":"goalNet","curve":0,"color":"F8F8F8","pos":[-700,-80]},{"x":400,"y":64,"cMask":["red","blue","ball"],"trait":"goalNet","curve":0,"color":"F8F8F8","pos":[-700,-80]},{"x":400,"y":-61.927767991658,"cMask":["red","blue","ball"],"trait":"goalNet","curve":0,"color":"F8F8F8","pos":[-700,80]},{"x":368.9681846993,"y":-62.144998272018,"cMask":["red","blue","ball"],"trait":"goalNet","curve":0,"color":"F8F8F8","pos":[-700,80]},{"x":-368,"y":-142.37229643041,"bCoef":0.1,"trait":"line","color":"F8F8F8","curve":-90},{"x":-260.90035258157,"y":-50.168480548544,"bCoef":0.1,"trait":"line","color":"F8F8F8","curve":0},{"x":-368,"y":-160.81305960678,"bCoef":0.1,"trait":"line","curve":-90},{"x":-358.5379338963,"y":-171,"bCoef":0.1,"trait":"line","curve":-90},{"x":-368,"y":141.33175243687,"bCoef":0.1,"trait":"line","color":"F8F8F8","curve":90},{"x":-260.90035258157,"y":49.127936555002,"bCoef":0.1,"trait":"line","color":"F8F8F8","curve":0},{"x":-368,"y":159.77251561324,"bCoef":0.1,"trait":"line","curve":90},{"x":-358.5379338963,"y":171,"bCoef":0.1,"trait":"line","curve":90},{"x":368,"y":159.77251561324,"bCoef":0.1,"trait":"line","curve":-90},{"x":358.36266315432,"y":171,"bCoef":0.1,"trait":"line","curve":-90},{"x":368,"y":-160.81305960678,"bCoef":0.1,"trait":"line","curve":90},{"x":358.36266315432,"y":-171,"bCoef":0.1,"trait":"line","curve":90},{"x":368,"y":-142.37229643041,"bCoef":0.1,"trait":"line","color":"F8F8F8","curve":90},{"x":260.72508183959,"y":-50.168480548544,"bCoef":0.1,"trait":"line","color":"F8F8F8","curve":90},{"x":368,"y":141.33175243687,"bCoef":0.1,"trait":"line","color":"F8F8F8","curve":-90},{"x":260.72508183959,"y":49.127936555002,"bCoef":0.1,"trait":"line","color":"F8F8F8","curve":-90},{"x":260.72508183959,"y":-50.168480548544,"bCoef":0.1,"trait":"line","color":"F8F8F8","curve":0},{"x":260.72508183959,"y":49.127936555002,"bCoef":0.1,"trait":"line","color":"F8F8F8","curve":0},{"x":-250.86909422732,"y":-1.2295321189394,"bCoef":0.1,"trait":"line","curve":180},{"x":-250.86909422732,"y":0.18898812539692,"bCoef":0.1,"trait":"line","curve":180},{"x":-250.86909422732,"y":-2.6480523632758,"bCoef":0.1,"trait":"line","curve":180},{"x":-250.86909422732,"y":1.6075083697333,"bCoef":0.1,"trait":"line","curve":180},{"x":-250.86909422732,"y":0.89824824756514,"bCoef":0.1,"trait":"line","curve":180},{"x":-250.86909422732,"y":-1.9387922411076,"bCoef":0.1,"trait":"line","curve":180},{"x":-250.86909422732,"y":1.9621384308174,"bCoef":0.1,"trait":"line","curve":180},{"x":-250.86909422732,"y":-3.0026824243599,"bCoef":0.1,"trait":"line","curve":180},{"x":250.69382348534,"y":-1.2295321189394,"bCoef":0.1,"trait":"line","curve":180},{"x":250.69382348534,"y":0.18898812539692,"bCoef":0.1,"trait":"line","curve":180},{"x":250.69382348534,"y":-2.6480523632758,"bCoef":0.1,"trait":"line","curve":180},{"x":250.69382348534,"y":1.6075083697333,"bCoef":0.1,"trait":"line","curve":180},{"x":250.69382348534,"y":0.89824824756514,"bCoef":0.1,"trait":"line","curve":180},{"x":250.69382348534,"y":-1.9387922411076,"bCoef":0.1,"trait":"line","curve":180},{"x":250.69382348534,"y":1.9621384308174,"bCoef":0.1,"trait":"line","curve":180},{"x":250.69382348534,"y":-3.0026824243599,"bCoef":0.1,"trait":"line","curve":180},{"x":-185.66591492467,"y":-1.2295321189394,"bCoef":0.1,"trait":"line","curve":180},{"x":-185.66591492467,"y":0.18898812539692,"bCoef":0.1,"trait":"line","curve":180},{"x":-185.66591492467,"y":-2.6480523632758,"bCoef":0.1,"trait":"line","curve":180},{"x":-185.66591492467,"y":1.6075083697333,"bCoef":0.1,"trait":"line","curve":180},{"x":-185.66591492467,"y":0.89824824756514,"bCoef":0.1,"trait":"line","curve":180},{"x":-185.66591492467,"y":-1.9387922411076,"bCoef":0.1,"trait":"line","curve":180},{"x":-185.66591492467,"y":1.9621384308174,"bCoef":0.1,"trait":"line","curve":180},{"x":-185.66591492467,"y":-3.0026824243599,"bCoef":0.1,"trait":"line","curve":180},{"x":185.49064418269,"y":-1.2295321189394,"bCoef":0.1,"trait":"line","curve":180},{"x":185.49064418269,"y":0.18898812539692,"bCoef":0.1,"trait":"line","curve":180},{"x":185.49064418269,"y":-2.6480523632758,"bCoef":0.1,"trait":"line","curve":180},{"x":185.49064418269,"y":1.6075083697333,"bCoef":0.1,"trait":"line","curve":180},{"x":185.49064418269,"y":0.89824824756514,"bCoef":0.1,"trait":"line","curve":180},{"x":185.49064418269,"y":-1.9387922411076,"bCoef":0.1,"trait":"line","curve":180},{"x":185.49064418269,"y":1.9621384308174,"bCoef":0.1,"trait":"line","curve":180},{"x":185.49064418269,"y":-3.0026824243599,"bCoef":0.1,"trait":"line","curve":180},{"x":-160.58776903904,"y":-159.39453936245,"bCoef":0.1,"trait":"line"},{"x":-160.58776903904,"y":-182.09086327183,"bCoef":0.1,"trait":"line"},{"x":-80.337702205015,"y":-159.39453936245,"bCoef":0.1,"trait":"line"},{"x":-80.337702205015,"y":-182.09086327183,"bCoef":0.1,"trait":"line"},{"x":160.41249829706,"y":-159.39453936245,"bCoef":0.1,"trait":"line"},{"x":160.41249829706,"y":-182.09086327183,"bCoef":0.1,"trait":"line"},{"x":80.162431463036,"y":-159.39453936245,"bCoef":0.1,"trait":"line"},{"x":80.162431463036,"y":-182.09086327183,"bCoef":0.1,"trait":"line"},{"x":-254.88159756902,"y":-171,"bCoef":0.1,"trait":"line"},{"x":-254.88159756902,"y":-182.09086327183,"bCoef":0.1,"trait":"line"},{"x":-371.91294503531,"y":-87.759267023458,"bCoef":0.1,"trait":"line"},{"x":-384.61920561736,"y":-87.759267023458,"bCoef":0.1,"trait":"line"},{"x":371.73767429333,"y":-87.759267023458,"bCoef":0.1,"trait":"line"},{"x":384.44393487538,"y":-87.759267023458,"bCoef":0.1,"trait":"line"},{"x":-371.91294503531,"y":86.718723029916,"bCoef":0.1,"trait":"line"},{"x":-384.61920561736,"y":86.718723029916,"bCoef":0.1,"trait":"line"},{"x":371.73767429333,"y":86.718723029916,"bCoef":0.1,"trait":"line"},{"x":384.44393487538,"y":86.718723029916,"bCoef":0.1,"trait":"line"},{"x":-254.88159756902,"y":171,"bCoef":0.1,"trait":"line"},{"x":-254.88159756902,"y":181.05031927829,"bCoef":0.1,"trait":"line"},{"x":254.70632682704,"y":-171,"bCoef":0.1,"trait":"line"},{"x":254.70632682704,"y":-182.09086327183,"bCoef":0.1,"trait":"line"},{"x":254.70632682704,"y":171,"bCoef":0.1,"trait":"line"},{"x":254.70632682704,"y":181.05031927829,"bCoef":0.1,"trait":"line"},{"x":377,"y":-65,"trait":"line","cMask":["ball"],"bCoef":1},{"x":377,"y":-171,"trait":"ballArea","cMask":["ball"],"bCoef":1},{"x":-377,"y":-65,"trait":"line","cMask":["ball"],"bCoef":1},{"x":-377,"y":-171,"trait":"ballArea","cMask":["ball"],"bCoef":1},{"x":-377,"y":65,"trait":"line","cMask":["ball"],"bCoef":1},{"x":-377,"y":171,"trait":"ballArea","cMask":["ball"],"bCoef":1},{"x":377,"y":65,"trait":"line","cMask":["ball"],"bCoef":1},{"x":377,"y":171,"trait":"ballArea","cMask":["ball"],"bCoef":1},{"x":371,"y":-65,"trait":"ballArea","cMask":["ball"],"bCoef":0},{"x":371,"y":-171,"trait":"ballArea","cMask":["ball"],"bCoef":0},{"x":371,"y":65,"trait":"ballArea","cMask":["ball"],"bCoef":0},{"x":371,"y":171,"trait":"ballArea","cMask":["ball"],"bCoef":0},{"x":-371,"y":65,"trait":"ballArea","cMask":["ball"],"bCoef":0},{"x":-371,"y":171,"trait":"ballArea","cMask":["ball"],"bCoef":0},{"x":-371,"y":-65,"trait":"ballArea","cMask":["ball"],"bCoef":0},{"x":-371,"y":-171,"trait":"ballArea","cMask":["ball"],"bCoef":0}],"segments":[{"v0":0,"v1":1,"trait":"ballArea"},{"v0":2,"v1":3,"trait":"ballArea"},{"v0":4,"v1":5,"trait":"ballArea"},{"v0":6,"v1":7,"trait":"ballArea"},{"v0":8,"v1":9,"trait":"kickOffBarrier","curve":180,"cGroup":["blueKO"]},{"v0":8,"v1":9,"trait":"kickOffBarrier","curve":-180,"cGroup":["redKO"]},{"vis":true,"color":"FFFFFF","bCoef":1,"trait":"ballArea","v0":1,"v1":0,"cMask":["ball"],"x":-368},{"vis":true,"color":"FFFFFF","bCoef":1,"trait":"ballArea","v0":5,"v1":4,"cMask":["ball"],"x":368},{"vis":true,"color":"FFFFFF","bCoef":1,"trait":"ballArea","v0":2,"v1":3,"cMask":["ball"],"x":-368},{"vis":true,"color":"FFFFFF","bCoef":1,"trait":"ballArea","v0":6,"v1":7,"cMask":["ball"],"x":368},{"vis":true,"color":"FFFFFF","bCoef":1,"trait":"ballArea","v0":0,"v1":10,"y":171},{"vis":true,"color":"FFFFFF","bCoef":1,"trait":"ballArea","v0":3,"v1":11,"y":-171},{"curve":0,"vis":true,"color":"FFFFFF","bCoef":0,"trait":"line","v0":12,"v1":13},{"curve":-180,"vis":true,"color":"FFFFFF","bCoef":0,"trait":"line","v0":9,"v1":8},{"curve":180,"vis":true,"color":"FFFFFF","bCoef":0,"trait":"line","v0":15,"v1":14},{"curve":0,"vis":true,"color":"FFFFFF","bCoef":0,"trait":"line","v0":2,"v1":1},{"curve":0,"vis":true,"color":"FFFFFF","bCoef":0,"trait":"line","v0":6,"v1":5},{"vis":false,"color":"FFFFFF","bCoef":1,"trait":"ballArea","v0":16,"v1":17,"cMask":["ball"],"x":330},{"vis":false,"color":"FFFFFF","bCoef":1,"trait":"ballArea","v0":18,"v1":19,"cMask":["ball"],"x":-330},{"vis":false,"color":"FFFFFF","bCoef":1,"trait":"ballArea","v0":20,"v1":21,"cMask":["ball"],"x":-330},{"vis":false,"color":"FFFFFF","bCoef":1,"trait":"ballArea","v0":22,"v1":23,"cMask":["ball"],"x":330},{"v0":24,"v1":25,"trait":"kickOffBarrier"},{"v0":26,"v1":27,"trait":"kickOffBarrier"},{"v0":28,"v1":29,"curve":0,"color":"F8F8F8","cMask":["red","blue","ball"],"trait":"goalNet","pos":[-700,-80],"y":-80},{"v0":29,"v1":30,"color":"F8F8F8","cMask":["red","blue","ball"],"trait":"goalNet","x":-590},{"v0":30,"v1":31,"curve":0,"color":"F8F8F8","cMask":["red","blue","ball"],"trait":"goalNet","pos":[-700,80],"y":80},{"v0":32,"v1":33,"curve":0,"color":"F8F8F8","cMask":["red","blue","ball"],"trait":"goalNet","pos":[-700,-80],"y":-80},{"v0":33,"v1":34,"color":"F8F8F8","cMask":["red","blue","ball"],"trait":"goalNet","x":-590},{"v0":34,"v1":35,"curve":0,"color":"F8F8F8","cMask":["red","blue","ball"],"trait":"goalNet","pos":[-700,80],"y":80},{"v0":36,"v1":37,"curve":94.0263701017,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line"},{"v0":39,"v1":38,"curve":86.632306418889,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line"},{"v0":40,"v1":41,"curve":-94.026370101699,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line"},{"v0":37,"v1":41,"curve":0,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line"},{"v0":43,"v1":42,"curve":-86.632306418888,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line"},{"v0":45,"v1":44,"curve":86.632306418884,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line"},{"v0":47,"v1":46,"curve":-86.632306418899,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line"},{"v0":48,"v1":49,"curve":-94.026370101699,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line"},{"v0":50,"v1":51,"curve":94.026370101699,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line"},{"v0":52,"v1":53,"curve":0,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":390},{"v0":55,"v1":54,"curve":-180.00692920292,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":-375},{"v0":54,"v1":55,"curve":-180.00218240614,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":-375},{"v0":57,"v1":56,"curve":-179.64823645332,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":-375},{"v0":56,"v1":57,"curve":-180.35758668147,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":-375},{"v0":59,"v1":58,"curve":-180.02357323962,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":-375},{"v0":58,"v1":59,"curve":-180.00924102399,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":-375},{"v0":61,"v1":60,"curve":-180.06885755885,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":-375},{"v0":60,"v1":61,"curve":-180.02948353257,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":-375},{"v0":63,"v1":62,"curve":-179.99869069543,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":375},{"v0":62,"v1":63,"curve":-179.99939258776,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":375},{"v0":65,"v1":64,"curve":-180.08826047163,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":375},{"v0":64,"v1":65,"curve":-179.91186753664,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":375},{"v0":67,"v1":66,"curve":-179.99528711105,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":375},{"v0":66,"v1":67,"curve":-179.99743836358,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":375},{"v0":69,"v1":68,"curve":-179.98626041101,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":375},{"v0":68,"v1":69,"curve":-179.99175181595,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":375},{"v0":71,"v1":70,"curve":-180.04715562398,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":-277.5},{"v0":70,"v1":71,"curve":-179.95294709391,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":-277.5},{"v0":73,"v1":72,"curve":-179.95715750564,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":-277.5},{"v0":72,"v1":73,"curve":-179.89943871875,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":-277.5},{"v0":75,"v1":74,"curve":-179.94773754738,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":-277.5},{"v0":74,"v1":75,"curve":-179.98221351296,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":-277.5},{"v0":77,"v1":76,"curve":-180.4151727218,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":-277.5},{"v0":76,"v1":77,"curve":-179.58764458796,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":-277.5},{"v0":79,"v1":78,"curve":-180.00086646359,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":277.5},{"v0":78,"v1":79,"curve":-180.01965986376,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":277.5},{"v0":81,"v1":80,"curve":-180.03532601389,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":277.5},{"v0":80,"v1":81,"curve":-179.99380079,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":277.5},{"v0":83,"v1":82,"curve":-180.0044468452,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":277.5},{"v0":82,"v1":83,"curve":-180.01386779847,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":277.5},{"v0":85,"v1":84,"curve":-180.05158287563,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":277.5},{"v0":84,"v1":85,"curve":-180.01212223878,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":277.5},{"v0":86,"v1":87,"curve":0,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":-240},{"v0":88,"v1":89,"curve":0,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":-120},{"v0":90,"v1":91,"curve":0,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":240},{"v0":92,"v1":93,"curve":0,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":120},{"v0":94,"v1":95,"curve":0,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":-381},{"v0":96,"v1":97,"curve":0,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":-240,"y":123},{"v0":98,"v1":99,"curve":0,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":-240,"y":123},{"v0":100,"v1":101,"curve":0,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":-240,"y":-123},{"v0":102,"v1":103,"curve":0,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":-240,"y":-123},{"v0":104,"v1":105,"curve":0,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":-381},{"v0":106,"v1":107,"curve":0,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":381},{"v0":108,"v1":109,"curve":0,"vis":true,"color":"F8F8F8","bCoef":0.1,"trait":"line","x":381},{"vis":false,"color":"FFFFFF","bCoef":1,"trait":"ballArea","v0":110,"v1":111,"cMask":["ball"],"x":330},{"vis":false,"color":"FFFFFF","bCoef":1,"trait":"ballArea","v0":112,"v1":113,"cMask":["ball"],"x":-330},{"vis":false,"color":"FFFFFF","bCoef":1,"trait":"ballArea","v0":114,"v1":115,"cMask":["ball"],"x":-330},{"vis":false,"color":"FFFFFF","bCoef":1,"trait":"ballArea","v0":116,"v1":117,"cMask":["ball"],"x":330},{"vis":false,"color":"FFFFFF","bCoef":0,"trait":"ballArea","v0":118,"v1":119,"cMask":["ball"],"x":371},{"vis":false,"color":"FFFFFF","bCoef":0,"trait":"ballArea","v0":120,"v1":121,"cMask":["ball"],"x":371},{"vis":false,"color":"FFFFFF","bCoef":0,"trait":"ballArea","v0":122,"v1":123,"cMask":["ball"],"x":-371},{"vis":false,"color":"FFFFFF","bCoef":0,"trait":"ballArea","v0":124,"v1":125,"cMask":["ball"],"x":-371}],"goals":[{"p0":[-374.25,-62.053454903872],"p1":[-374.25,64.043361696331],"team":"red"},{"p0":[374.25,62],"p1":[374.25,-62],"team":"blue"}],"discs":[{"radius":3.9405255187564,"pos":[-368.53340356886,64.043361696331],"color":"6666CC","trait":"goalPost","y":80},{"radius":3.9405255187564,"pos":[-368.53340356886,-62.053454903872],"color":"6666CC","trait":"goalPost","y":-80,"x":-560},{"radius":3.9405255187564,"pos":[368.9681846993,-62.144998272018],"color":"6666CC","trait":"goalPost","y":80},{"radius":3.9405255187564,"pos":[368.09926357786,63.94882446641],"color":"6666CC","trait":"goalPost","y":-80,"x":-560},{"radius":3,"invMass":0,"pos":[-368,-171],"color":"FFCC00","bCoef":0.1,"trait":"line"},{"radius":3,"invMass":0,"pos":[-368,171],"color":"FFCC00","bCoef":0.1,"trait":"line"},{"radius":3,"invMass":0,"pos":[368,171],"color":"FFCC00","bCoef":0.1,"trait":"line"},{"radius":3,"invMass":0,"pos":[368,-171],"color":"FFCC00","bCoef":0.1,"trait":"line"}],"planes":[{"normal":[0,1],"dist":-171,"trait":"ballArea"},{"normal":[0,-1],"dist":-171,"trait":"ballArea"},{"normal":[0,1],"dist":-200,"bCoef":0.2,"cMask":["all"]},{"normal":[0,-1],"dist":-200,"bCoef":0.2,"cMask":["all"]},{"normal":[1,0],"dist":-420,"bCoef":0.2,"cMask":["all"]},{"normal":[-1,0],"dist":-420,"bCoef":0.2,"cMask":["all"]}],"traits":{"ballArea":{"vis":false,"bCoef":1,"cMask":["ball"]},"goalPost":{"radius":8,"invMass":0,"bCoef":1},"goalNet":{"vis":true,"bCoef":0.1,"cMask":["all"]},"kickOffBarrier":{"vis":false,"bCoef":0.1,"cGroup":["redKO","blueKO"],"cMask":["red","blue"]},"line":{"vis":true,"bCoef":0,"cMask":[""]},"arco":{"radius":2,"cMask":["n\/d"],"color":"cccccc"}},"playerPhysics":{"acceleration":0.11,"kickingAcceleration":0.083,"kickStrength":5,"bCoef":0},"ballPhysics":{"radius":6.25,"color":"FFCC00","bCoef":0.4,"invMass":1.5,"damping":0.99}}'; // Insert your map for 1v1 and 2v2 here. To get minimum file size, here are the instructions : 1. Download the map 2. Go to https://cssminifier.com 3. Paste the result
  63. //var classicMap = '{"name":"FUTSAL 1v1 2v2 by KyU","width":420,"height":200,"bg":{"width":368,"height":171,"kickOffRadius":65,"color":"505050"},"vertexes":[{"x":-368,"y":171,"cMask":["ball"]},{"x":-368,"y":50,"cMask":["ball"]},{"x":-368,"y":-50,"cMask":["ball"]},{"x":-368,"y":-171,"cMask":["ball"]},{"x":368,"y":171,"cMask":["ball"]},{"x":368,"y":50,"cMask":["ball"]},{"x":368,"y":-50,"cMask":["ball"]},{"x":368,"y":-171,"cMask":["ball"]},{"x":0,"y":176,"bCoef":0.1,"cMask":["red","blue"],"cGroup":["redKO","blueKO"]},{"x":0,"y":50,"bCoef":0.1,"cMask":["red","blue"],"cGroup":["redKO","blueKO"]},{"x":0,"y":-50,"bCoef":0,"cMask":[]},{"x":0,"y":-176,"bCoef":0.1,"cMask":["red","blue"],"cGroup":["redKO","blueKO"]},{"x":-384,"y":-50,"bCoef":0.1},{"x":384,"y":-50,"bCoef":0.1},{"x":-384,"y":50,"bCoef":0.1},{"x":384,"y":50,"bCoef":0.1},{"x":-368,"y":-127,"bCoef":0,"cMask":[]},{"x":368,"y":-127,"bCoef":0,"cMask":[]},{"x":-368,"y":127,"bCoef":0,"cMask":[]},{"x":368,"y":127,"bCoef":0,"cMask":[]},{"x":-350,"y":-171,"bCoef":0,"cMask":[]},{"x":-368,"y":-163,"bCoef":0,"cMask":[]},{"x":350,"y":-171,"bCoef":0,"cMask":[]},{"x":368,"y":-163,"bCoef":0,"cMask":[]},{"x":-350,"y":171,"bCoef":0,"cMask":[]},{"x":-368,"y":163,"bCoef":0,"cMask":[]},{"x":350,"y":171,"bCoef":0,"cMask":[]},{"x":368,"y":163,"bCoef":0,"cMask":[]},{"x":368,"y":171,"cMask":["ball"]},{"x":368,"y":-171,"cMask":["ball"]},{"x":0,"y":171,"bCoef":0,"cMask":[]},{"x":0,"y":-171,"bCoef":0,"cMask":[]},{"x":0,"y":50,"bCoef":0.1,"cMask":["red","blue"],"cGroup":["redKO","blueKO"]},{"x":0,"y":-50,"bCoef":0.1,"cMask":["red","blue"],"cGroup":["redKO","blueKO"]},{"x":377,"y":-50,"cMask":["red"]},{"x":377,"y":-171,"cMask":["ball"]},{"x":-377,"y":-50,"cMask":["blue"]},{"x":-377,"y":-171,"cMask":["ball"]},{"x":-377,"y":50,"cMask":["blue"]},{"x":-377,"y":171,"cMask":["ball"]},{"x":377,"y":50,"cMask":["red"]},{"x":377,"y":171,"cMask":["ball"]},{"x":5,"y":170},{"x":364,"y":168},{"x":367,"y":-169},{"x":-368,"y":-171},{"x":-369,"y":168},{"x":1,"y":-172}],"segments":[{"v0":0,"v1":1,"vis":false,"cMask":["ball"]},{"v0":2,"v1":3,"vis":false,"cMask":["ball"]},{"v0":4,"v1":5,"vis":false,"cMask":["ball"]},{"v0":6,"v1":7,"vis":false,"cMask":["ball"]},{"v0":8,"v1":9,"bCoef":0.1,"vis":false,"cMask":["red","blue"],"cGroup":["redKO","blueKO"]},{"v0":9,"v1":10,"bCoef":0.1,"curve":180,"curveF":6.123233995736766e-17,"vis":false,"cMask":["red","blue"],"cGroup":["blueKO"]},{"v0":10,"v1":9,"bCoef":0.1,"curve":180,"curveF":6.123233995736766e-17,"vis":false,"cMask":["red","blue"],"cGroup":["redKO"]},{"v0":10,"v1":11,"bCoef":0.1,"vis":false,"cMask":["red","blue"],"cGroup":["redKO","blueKO"]},{"v0":12,"v1":2,"bCoef":0.1,"curve":35,"curveF":3.1715948023632126},{"v0":6,"v1":13,"bCoef":0.1,"curve":35,"curveF":3.1715948023632126},{"v0":1,"v1":14,"bCoef":0.1,"curve":35,"curveF":3.1715948023632126},{"v0":15,"v1":5,"bCoef":0.1,"curve":35,"curveF":3.1715948023632126},{"v0":14,"v1":12,"bCoef":0.1,"curve":35,"curveF":3.1715948023632126},{"v0":13,"v1":15,"bCoef":0.1,"curve":35,"curveF":3.1715948023632126},{"v0":1,"v1":0,"cMask":["ball"]},{"v0":5,"v1":4,"cMask":["ball"]},{"v0":2,"v1":3,"cMask":["ball"]},{"v0":6,"v1":7,"cMask":["ball"]},{"v0":0,"v1":28,"cMask":["ball"]},{"v0":3,"v1":29,"cMask":["ball"]},{"v0":30,"v1":31,"bCoef":0,"cMask":[]},{"v0":9,"v1":10,"bCoef":0,"curve":180,"curveF":6.123233995736766e-17,"cMask":[]},{"v0":33,"v1":32,"bCoef":0,"curve":180,"curveF":6.123233995736766e-17,"cMask":[]},{"v0":2,"v1":1,"bCoef":0,"cMask":[]},{"v0":6,"v1":5,"bCoef":0,"cMask":[]},{"v0":34,"v1":35,"vis":false,"cMask":["ball"]},{"v0":36,"v1":37,"vis":false,"cMask":["ball"]},{"v0":38,"v1":39,"vis":false,"cMask":["ball"]},{"v0":40,"v1":41,"vis":false,"cMask":["ball"]},{"v0":34,"v1":40,"curve":59.99999999999999,"curveF":1.7320508075688774,"vis":false,"cMask":["red"]},{"v0":38,"v1":36,"curve":59.99999999999999,"curveF":1.7320508075688774,"vis":false,"cMask":["blue"],"color":"FFFFFF"}],"planes":[{"normal":[0,1],"dist":-171,"cMask":["ball"]},{"normal":[0,-1],"dist":-171,"cMask":["ball"]},{"normal":[0,1],"dist":-200,"bCoef":0.2},{"normal":[0,-1],"dist":-200,"bCoef":0.2},{"normal":[1,0],"dist":-420,"bCoef":0.2},{"normal":[-1,0],"dist":-420,"bCoef":0.2}],"goals":[{"p0":[-377,-50],"p1":[-377,50],"team":"red"},{"p0":[377,50],"p1":[377,-50],"team":"blue"}],"discs":[{"radius":6.4,"color":"E7CC03","cGroup":["ball","kick","score"]},{"pos":[-368,50],"radius":5,"bCoef":1,"invMass":0,"color":"FF4136"},{"pos":[-368,-50],"radius":5,"bCoef":1,"invMass":0,"color":"FF4136"},{"pos":[368,50],"radius":5,"bCoef":1,"invMass":0,"color":"74D9"},{"pos":[368,-50],"radius":5,"bCoef":1,"invMass":0,"color":"74D9"},{"pos":[383,51],"radius":3,"bCoef":0,"invMass":0,"color":"74D9","cMask":[]},{"pos":[-383,51],"radius":3,"bCoef":0,"invMass":0,"color":"FF4136","cMask":[]},{"pos":[383,-51],"radius":3,"bCoef":0,"invMass":0,"color":"74D9","cMask":[]},{"pos":[-383,-51],"radius":3,"bCoef":0,"invMass":0,"color":"FF4136","cMask":[]}],"playerPhysics":{"acceleration":0.11,"kickingAcceleration":0.1,"kickStrength":7},"ballPhysics":"disc0","spawnDistance":180}';
  64. //var bigMap = '{"name":"FUTSAL FEH 1.2 by KyU","width":630,"height":280,"bg":{"type":"hockey","width":550,"height":240,"kickOffRadius":80},"vertexes":[{"x":-550,"y":240,"cMask":["ball"]},{"x":-550,"y":80,"cMask":["ball"]},{"x":-550,"y":-80,"cMask":["ball"]},{"x":-550,"y":-240,"cMask":["ball"]},{"x":550,"y":240,"cMask":["ball"]},{"x":550,"y":80,"cMask":["ball"]},{"x":550,"y":-80,"cMask":["ball"]},{"x":550,"y":-240,"cMask":["ball"]},{"x":0,"y":270,"bCoef":0,"cMask":["red","blue"],"cGroup":["redKO","blueKO"]},{"x":0,"y":80,"bCoef":0.1,"cMask":["red","blue"],"cGroup":["redKO","blueKO"]},{"x":0,"y":-80,"bCoef":0.1,"cMask":["red","blue"],"cGroup":["redKO","blueKO"]},{"x":0,"y":80,"bCoef":0,"cMask":["red","blue"],"cGroup":["redKO","blueKO"]},{"x":-557,"y":-80,"bCoef":0.1,"cMask":["ball"]},{"x":-580,"y":-80,"bCoef":0.1,"cMask":["ball"]},{"x":-580,"y":80,"bCoef":0.1,"cMask":["ball"]},{"x":-557,"y":80,"bCoef":0.1,"cMask":["ball"]},{"x":557,"y":-80,"bCoef":0.1,"cMask":["ball"]},{"x":580,"y":-80,"bCoef":0.1,"cMask":["ball"]},{"x":580,"y":80,"bCoef":0.1,"cMask":["ball"]},{"x":557,"y":80,"bCoef":0.1,"cMask":["ball"]},{"x":-550,"y":-160,"cGroup":[]},{"x":-550,"y":160,"cGroup":[]},{"x":-550,"y":-80,"cGroup":[]},{"x":-490,"y":-80,"cGroup":[]},{"x":-490,"y":80,"cGroup":[]},{"x":-550,"y":80,"cGroup":[]},{"x":550,"y":-160,"cGroup":[]},{"x":550,"y":160,"cGroup":[]},{"x":550,"y":-80,"cGroup":[]},{"x":490,"y":-80,"cGroup":[]},{"x":490,"y":80,"cGroup":[]},{"x":550,"y":80,"cGroup":[]},{"x":-420,"y":0,"cGroup":[]},{"x":-422,"y":0,"cGroup":[]},{"x":420,"y":0,"cGroup":[]},{"x":422,"y":0,"cGroup":[]},{"x":-1,"y":0,"cGroup":[]},{"x":2,"y":0,"cGroup":[]},{"x":-548,"y":-230,"cGroup":[]},{"x":-540,"y":-238,"cGroup":[]},{"x":548,"y":-230,"cGroup":[]},{"x":540,"y":-238,"cGroup":[]},{"x":-548,"y":230,"cGroup":[]},{"x":-540,"y":238,"cGroup":[]},{"x":548,"y":230,"cGroup":[]},{"x":540,"y":238,"cGroup":[]},{"x":-550,"y":-197,"cGroup":[]},{"x":-409,"y":-54,"cGroup":[]},{"x":550,"y":-174,"cGroup":[]},{"x":551,"y":171,"cGroup":[]},{"x":-550,"y":87,"cMask":["ball"]},{"x":557,"y":80,"cMask":["ball"]},{"x":557,"y":240,"cMask":["ball"]},{"x":557,"y":-240,"cMask":["ball"]},{"x":557,"y":-80,"cMask":["ball"]},{"x":-555,"y":-240,"cMask":["ball"]},{"x":-555,"y":-80,"cMask":["ball"]},{"x":-557,"y":80,"cMask":["ball"]},{"x":-557,"y":240,"cMask":["ball"]},{"x":-409,"y":44,"cGroup":[]},{"x":-550,"y":206,"cGroup":[]},{"x":549,"y":-196,"cGroup":[]},{"x":409,"y":-55,"cGroup":[]},{"x":409,"y":43,"cGroup":[]},{"x":550,"y":201,"cGroup":[]},{"x":557,"y":-90,"bCoef":0.1,"cMask":["ball"]},{"x":556,"y":92,"bCoef":0.1,"cMask":["ball"]},{"x":555,"y":-90,"bCoef":0.1,"cMask":["ball"]},{"x":554,"y":92,"bCoef":0.1,"cMask":["ball"]},{"x":554,"y":-90,"bCoef":0.1,"cMask":["ball"]},{"x":553,"y":92,"bCoef":0.1,"cMask":["ball"]},{"x":554,"y":-90,"bCoef":0.1,"cMask":["ball"]},{"x":553,"y":92,"bCoef":0.1,"cMask":["ball"]},{"x":552,"y":-90,"bCoef":0.1,"cMask":["ball"]},{"x":551,"y":92,"bCoef":0.1,"cMask":["ball"]},{"x":-557,"y":94,"bCoef":0.1,"cMask":["ball"]},{"x":-555,"y":94,"bCoef":0.1,"cMask":["ball"]},{"x":-553,"y":94,"bCoef":0.1,"cMask":["ball"]},{"x":-551,"y":94,"bCoef":0.1,"cMask":["ball"]},{"x":558,"y":-89,"bCoef":0.1,"cMask":["ball"]},{"x":557,"y":93,"bCoef":0.1,"cMask":["ball"]},{"x":-551,"y":88,"bCoef":0.1,"cMask":[]},{"x":-553,"y":88,"bCoef":0.1,"cMask":[]},{"x":-555,"y":88,"bCoef":0.1,"cMask":[]},{"x":-557,"y":88,"bCoef":0.1,"cMask":[]},{"x":557,"y":-88,"bCoef":0.1,"cMask":[]},{"x":557,"y":90,"bCoef":0.1,"cMask":[]},{"x":555,"y":-88,"bCoef":0.1,"cMask":[]},{"x":555,"y":90,"bCoef":0.1,"cMask":[]},{"x":550,"y":-80,"bCoef":0.1,"cMask":[]},{"x":550,"y":81,"bCoef":0.1,"cMask":[]},{"x":550,"y":-74,"bCoef":0.1,"cMask":[]},{"x":550,"y":-56,"bCoef":0.1,"cMask":[]},{"x":550,"y":-31,"bCoef":0.1,"cMask":[]},{"x":550,"y":-13,"bCoef":0.1,"cMask":[]},{"x":550,"y":11,"bCoef":0.1,"cMask":[]},{"x":550,"y":29,"bCoef":0.1,"cMask":[]},{"x":550,"y":55,"bCoef":0.1,"cMask":[]},{"x":550,"y":73,"bCoef":0.1,"cMask":[]},{"x":-282,"y":-1,"cGroup":[]},{"x":-284,"y":-1,"cGroup":[]},{"x":-550,"y":240,"cMask":["ball"],"cGroup":["ball"]},{"x":550,"y":240,"cMask":["ball"],"cGroup":["ball"]},{"x":-550,"y":-240,"cMask":["ball"],"cGroup":["ball"]},{"x":551,"y":-240,"cMask":["ball"],"cGroup":["ball"]},{"x":283,"y":0,"cGroup":[]},{"x":285,"y":0,"cGroup":[]},{"x":-550,"y":-86,"cMask":["ball"]},{"x":-550,"y":-239,"cMask":["ball"]},{"x":-550,"y":80,"bCoef":0.1,"cMask":[]},{"x":-550,"y":-80,"bCoef":0.1,"cMask":[]},{"x":-550,"y":-73,"bCoef":0.1,"cMask":[]},{"x":-550,"y":-55,"bCoef":0.1,"cMask":[]},{"x":-550,"y":-30,"bCoef":0.1,"cMask":[]},{"x":-550,"y":-12,"bCoef":0.1,"cMask":[]},{"x":-550,"y":12,"bCoef":0.1,"cMask":[]},{"x":-550,"y":30,"bCoef":0.1,"cMask":[]},{"x":-550,"y":56,"bCoef":0.1,"cMask":[]},{"x":-550,"y":74,"bCoef":0.1,"cMask":[]},{"x":0,"y":240,"bCoef":0,"cMask":[]},{"x":0,"y":80,"bCoef":0,"cMask":[]},{"x":0,"y":-80,"bCoef":0,"cMask":["red","blue"],"cGroup":["redKO","blueKO"]},{"x":0,"y":-270,"bCoef":0,"cMask":["red","blue"],"cGroup":["redKO","blueKO"]},{"x":0,"y":-80,"bCoef":0,"cMask":[]},{"x":0,"y":-240,"bCoef":0,"cMask":[]},{"x":0,"y":80,"bCoef":0,"cMask":[]},{"x":0,"y":-80,"bCoef":0,"cMask":[]}],"segments":[{"v0":4,"v1":5,"cMask":["ball"],"color":"FFFFFF"},{"v0":6,"v1":7,"cMask":["ball"],"color":"FFFFFF"},{"v0":12,"v1":13,"bCoef":0.1,"cMask":["ball"],"color":"FFFFFF"},{"v0":13,"v1":14,"bCoef":0.1,"cMask":["ball"],"color":"FFFFFF"},{"v0":14,"v1":15,"bCoef":0.1,"cMask":["ball"],"color":"FFFFFF"},{"v0":16,"v1":17,"bCoef":0.1,"cMask":["ball"],"color":"FFFFFF"},{"v0":17,"v1":18,"bCoef":0.1,"cMask":["ball"],"color":"FFFFFF"},{"v0":18,"v1":19,"bCoef":0.1,"cMask":["ball"],"color":"FFFFFF"},{"v0":32,"v1":33,"cGroup":[],"color":"FFFFFF"},{"v0":34,"v1":35,"cGroup":[],"color":"E0EEE0"},{"v0":36,"v1":37,"cGroup":[],"color":"E0EEE0"},{"v0":39,"v1":38,"curve":80.00000000000001,"curveF":1.19175359259421,"cGroup":[],"color":"E0EEE0"},{"v0":40,"v1":41,"curve":80.00000000000001,"curveF":1.19175359259421,"cGroup":[],"color":"E0EEE0"},{"v0":42,"v1":43,"curve":89.99999999999999,"curveF":1.0000000000000002,"cGroup":[],"color":"E0EEE0"},{"v0":45,"v1":44,"curve":80.00000000000001,"curveF":1.19175359259421,"cGroup":[],"color":"E0EEE0"},{"v0":9,"v1":10,"bCoef":0.1,"curve":180,"curveF":6.123233995736766e-17,"cMask":["red","blue"],"cGroup":["blueKO"],"color":"FFFFFF"},{"v0":10,"v1":9,"bCoef":0.1,"curve":180,"curveF":6.123233995736766e-17,"cMask":["red","blue"],"cGroup":["redKO"],"color":"FFFFFF"},{"v0":46,"v1":47,"curve":89.99999999999999,"curveF":1.0000000000000002,"cGroup":[],"color":"E0EEE0"},{"v0":50,"v1":0,"cMask":["ball"],"color":"FFFFFF"},{"v0":51,"v1":52,"vis":false,"cMask":["ball"],"color":"CCCCFF"},{"v0":53,"v1":54,"vis":false,"cMask":["ball"],"color":"CCCCFF"},{"v0":55,"v1":56,"vis":false,"cMask":["ball"],"color":"CCCCFF"},{"v0":57,"v1":58,"vis":false,"cMask":["ball"],"color":"FFCCCC"},{"v0":59,"v1":60,"curve":89.99999999999999,"curveF":1.0000000000000002,"cGroup":[],"color":"E0EEE0"},{"v0":47,"v1":59,"cGroup":[],"color":"E0EEE0"},{"v0":62,"v1":61,"curve":89.99999999999999,"curveF":1.0000000000000002,"cGroup":[],"color":"E0EEE0"},{"v0":64,"v1":63,"curve":89.99999999999999,"curveF":1.0000000000000002,"cGroup":[],"color":"E0EEE0"},{"v0":62,"v1":63,"cGroup":[],"color":"E0EEE0"},{"v0":89,"v1":90,"bCoef":0.1,"cMask":[],"color":"FFFFFF"},{"v0":91,"v1":92,"bCoef":0.1,"cMask":[],"color":"CF0000"},{"v0":93,"v1":94,"bCoef":0.1,"cMask":[],"color":"CF0000"},{"v0":95,"v1":96,"bCoef":0.1,"cMask":[],"color":"CF0000"},{"v0":97,"v1":98,"bCoef":0.1,"cMask":[],"color":"CF0000"},{"v0":99,"v1":100,"cGroup":[],"color":"FFFFFF"},{"v0":101,"v1":102,"cMask":["ball"],"cGroup":["ball"],"color":"FFFFFF"},{"v0":103,"v1":104,"cMask":["ball"],"cGroup":["ball"],"color":"FFFFFF"},{"v0":105,"v1":106,"cGroup":[],"color":"E0EEE0"},{"v0":108,"v1":107,"cMask":["ball"],"color":"FFFFFF"},{"v0":110,"v1":109,"bCoef":0.1,"cMask":[],"color":"FFFFFF"},{"v0":111,"v1":112,"bCoef":0.1,"cMask":[],"color":"CF0000"},{"v0":113,"v1":114,"bCoef":0.1,"cMask":[],"color":"CF0000"},{"v0":115,"v1":116,"bCoef":0.1,"cMask":[],"color":"CF0000"},{"v0":117,"v1":118,"bCoef":0.1,"cMask":[],"color":"CF0000"},{"v0":11,"v1":8,"bCoef":0,"vis":false,"cMask":["red","blue"],"cGroup":["redKO","blueKO"],"color":"FFFFFF"},{"v0":120,"v1":119,"bCoef":0,"cMask":[],"color":"FFFFFF"},{"v0":122,"v1":121,"bCoef":0,"vis":false,"cMask":["red","blue"],"cGroup":["redKO","blueKO"],"color":"FFFFFF"},{"v0":124,"v1":123,"bCoef":0,"cMask":[],"color":"FFFFFF"},{"v0":126,"v1":125,"bCoef":0,"cMask":[],"color":"FFFFFF"}],"planes":[{"normal":[0,1],"dist":-240,"cMask":["ball"],"cGroup":["ball"]},{"normal":[0,-1],"dist":-240,"cMask":["ball"],"cGroup":["ball"]},{"normal":[0,1],"dist":-270,"bCoef":0.1},{"normal":[0,-1],"dist":-270,"bCoef":0.1},{"normal":[1,0],"dist":-600,"bCoef":0.1},{"normal":[-1,0],"dist":-600,"bCoef":0.1}],"goals":[{"p0":[-550,84],"p1":[-550,-76],"team":"red"},{"p0":[550,80],"p1":[550,-80],"team":"blue"}],"discs":[{"radius":6.4,"color":"E7CC03","cGroup":["ball","kick","score"]},{"pos":[-550,80],"radius":5,"invMass":0},{"pos":[-550,-80],"radius":5,"invMass":0},{"pos":[550,80],"radius":5,"invMass":0},{"pos":[550,-80],"radius":5,"invMass":0}],"playerPhysics":{"acceleration":0.11,"kickingAcceleration":0.1,"kickStrength":7},"ballPhysics":"disc0","spawnDistance":350}';
  65. //var aloneMap = '{"name":"FUTSAL No Goal by KyU","width":420,"height":200,"bg":{"width":368,"height":171,"kickOffRadius":65,"color":"505050"},"vertexes":[{"x":-368,"y":171,"cMask":["ball"]},{"x":-368,"y":50,"cMask":["ball"]},{"x":-368,"y":-50,"cMask":["ball"]},{"x":-368,"y":-171,"cMask":["ball"]},{"x":368,"y":171,"cMask":["ball"]},{"x":368,"y":50,"cMask":["ball"]},{"x":368,"y":-50,"cMask":["ball"]},{"x":368,"y":-171,"cMask":["ball"]},{"x":0,"y":176,"bCoef":0.1,"cMask":["red","blue"],"cGroup":["redKO","blueKO"]},{"x":0,"y":50,"bCoef":0.1,"cMask":["red","blue"],"cGroup":["redKO","blueKO"]},{"x":0,"y":-50,"bCoef":0,"cMask":[]},{"x":0,"y":-176,"bCoef":0.1,"cMask":["red","blue"],"cGroup":["redKO","blueKO"]},{"x":-384,"y":-50,"bCoef":0.1},{"x":384,"y":-50,"bCoef":0.1},{"x":-384,"y":50,"bCoef":0.1},{"x":384,"y":50,"bCoef":0.1},{"x":-368,"y":-127,"bCoef":0,"cMask":[]},{"x":368,"y":-127,"bCoef":0,"cMask":[]},{"x":-368,"y":127,"bCoef":0,"cMask":[]},{"x":368,"y":127,"bCoef":0,"cMask":[]},{"x":-350,"y":-171,"bCoef":0,"cMask":[]},{"x":-368,"y":-163,"bCoef":0,"cMask":[]},{"x":350,"y":-171,"bCoef":0,"cMask":[]},{"x":368,"y":-163,"bCoef":0,"cMask":[]},{"x":-350,"y":171,"bCoef":0,"cMask":[]},{"x":-368,"y":163,"bCoef":0,"cMask":[]},{"x":350,"y":171,"bCoef":0,"cMask":[]},{"x":368,"y":163,"bCoef":0,"cMask":[]},{"x":368,"y":171,"cMask":["ball"]},{"x":368,"y":-171,"cMask":["ball"]},{"x":0,"y":171,"bCoef":0,"cMask":[]},{"x":0,"y":-171,"bCoef":0,"cMask":[]},{"x":0,"y":50,"bCoef":0.1,"cMask":["red","blue"],"cGroup":["redKO","blueKO"]},{"x":0,"y":-50,"bCoef":0.1,"cMask":["red","blue"],"cGroup":["redKO","blueKO"]},{"x":377,"y":-50,"cMask":["red"]},{"x":377,"y":-171,"cMask":["ball"]},{"x":-377,"y":-50,"cMask":["blue"]},{"x":-377,"y":-171,"cMask":["ball"]},{"x":-377,"y":50,"cMask":["blue"]},{"x":-377,"y":171,"cMask":["ball"]},{"x":377,"y":50,"cMask":["red"]},{"x":377,"y":171,"cMask":["ball"]},{"x":5,"y":170},{"x":364,"y":168},{"x":367,"y":-169},{"x":-368,"y":-171},{"x":-369,"y":168},{"x":1,"y":-172}],"segments":[{"v0":0,"v1":1,"vis":false,"cMask":["ball"]},{"v0":2,"v1":3,"vis":false,"cMask":["ball"]},{"v0":4,"v1":5,"vis":false,"cMask":["ball"]},{"v0":6,"v1":7,"vis":false,"cMask":["ball"]},{"v0":8,"v1":9,"bCoef":0.1,"vis":false,"cMask":["red","blue"],"cGroup":["redKO","blueKO"]},{"v0":9,"v1":10,"bCoef":0.1,"curve":180,"curveF":6.123233995736766e-17,"vis":false,"cMask":["red","blue"],"cGroup":["blueKO"]},{"v0":10,"v1":9,"bCoef":0.1,"curve":180,"curveF":6.123233995736766e-17,"vis":false,"cMask":["red","blue"],"cGroup":["redKO"]},{"v0":10,"v1":11,"bCoef":0.1,"vis":false,"cMask":["red","blue"],"cGroup":["redKO","blueKO"]},{"v0":12,"v1":2,"bCoef":0.1,"curve":35,"curveF":3.1715948023632126},{"v0":6,"v1":13,"bCoef":0.1,"curve":35,"curveF":3.1715948023632126},{"v0":1,"v1":14,"bCoef":0.1,"curve":35,"curveF":3.1715948023632126},{"v0":15,"v1":5,"bCoef":0.1,"curve":35,"curveF":3.1715948023632126},{"v0":14,"v1":12,"bCoef":0.1,"curve":35,"curveF":3.1715948023632126},{"v0":13,"v1":15,"bCoef":0.1,"curve":35,"curveF":3.1715948023632126},{"v0":1,"v1":0,"cMask":["ball"]},{"v0":5,"v1":4,"cMask":["ball"]},{"v0":2,"v1":3,"cMask":["ball"]},{"v0":6,"v1":7,"cMask":["ball"]},{"v0":0,"v1":28,"cMask":["ball"]},{"v0":3,"v1":29,"cMask":["ball"]},{"v0":30,"v1":31,"bCoef":0,"cMask":[]},{"v0":9,"v1":10,"bCoef":0,"curve":180,"curveF":6.123233995736766e-17,"cMask":[]},{"v0":33,"v1":32,"bCoef":0,"curve":180,"curveF":6.123233995736766e-17,"cMask":[]},{"v0":2,"v1":1,"bCoef":0,"cMask":[]},{"v0":6,"v1":5,"bCoef":0,"cMask":[]},{"v0":34,"v1":35,"vis":false,"cMask":["ball"]},{"v0":36,"v1":37,"vis":false,"cMask":["ball"]},{"v0":38,"v1":39,"vis":false,"cMask":["ball"]},{"v0":40,"v1":41,"vis":false,"cMask":["ball"]},{"v0":34,"v1":40,"curve":59.99999999999999,"curveF":1.7320508075688774,"vis":false,"cMask":["red"]},{"v0":38,"v1":36,"curve":59.99999999999999,"curveF":1.7320508075688774,"vis":false,"cMask":["blue"],"color":"FFFFFF"}],"planes":[{"normal":[0,1],"dist":-171,"cMask":["ball"]},{"normal":[0,-1],"dist":-171,"cMask":["ball"]},{"normal":[0,1],"dist":-200,"bCoef":0.2},{"normal":[0,-1],"dist":-200,"bCoef":0.2},{"normal":[1,0],"dist":-420,"bCoef":0.2},{"normal":[-1,0],"dist":-420,"bCoef":0.2}],"goals":[],"discs":[{"radius":6.4,"color":"E7CC03","cGroup":["ball","kick","score"]},{"pos":[-368,50],"radius":5,"bCoef":1,"invMass":0,"color":"FF4136"},{"pos":[-368,-50],"radius":5,"bCoef":1,"invMass":0,"color":"FF4136"},{"pos":[368,50],"radius":5,"bCoef":1,"invMass":0,"color":"74D9"},{"pos":[368,-50],"radius":5,"bCoef":1,"invMass":0,"color":"74D9"},{"pos":[383,51],"radius":3,"bCoef":0,"invMass":0,"color":"74D9","cMask":[]},{"pos":[-383,51],"radius":3,"bCoef":0,"invMass":0,"color":"FF4136","cMask":[]},{"pos":[383,-51],"radius":3,"bCoef":0,"invMass":0,"color":"74D9","cMask":[]},{"pos":[-383,-51],"radius":3,"bCoef":0,"invMass":0,"color":"FF4136","cMask":[]}],"playerPhysics":{"acceleration":0.11,"kickingAcceleration":0.1,"kickStrength":7},"ballPhysics":"disc0","spawnDistance":180}';
  66. //var classicMap ='{"name":"FUTSAL 1v1 2v2 by KyU","width":420,"height":200,"bg":{"width":368,"height":171,"kickOffRadius":65,"color":"505050"},"vertexes":[{"x":-368,"y":171,"cMask":["ball"]},{"x":-368,"y":65,"cMask":["ball"]},{"x":-368,"y":-65,"cMask":["ball"]},{"x":-368,"y":-171,"cMask":["ball"]},{"x":368,"y":171,"cMask":["ball"]},{"x":368,"y":65,"cMask":["ball"]},{"x":368,"y":-65,"cMask":["ball"]},{"x":368,"y":-171,"cMask":["ball"]},{"x":0,"y":65,"bCoef":0.1,"cMask":["red","blue"],"cGroup":["redKO","blueKO"]},{"x":0,"y":-65,"bCoef":0,"cMask":[]},{"x":-384,"y":-65,"bCoef":0.1,"cMask":["ball"]},{"x":384,"y":-65,"bCoef":0.1,"cMask":["ball"]},{"x":-384,"y":65,"bCoef":0.1,"cMask":["ball"]},{"x":384,"y":65,"bCoef":0.1,"cMask":["ball"]},{"x":368,"y":171,"cMask":["ball"]},{"x":368,"y":-171,"cMask":["ball"]},{"x":0,"y":171,"bCoef":0,"cMask":[]},{"x":0,"y":-171,"bCoef":0,"cMask":[]},{"x":0,"y":65,"bCoef":0.1,"cMask":["red","blue"],"cGroup":["redKO","blueKO"]},{"x":0,"y":-65,"bCoef":0.1,"cMask":["red","blue"],"cGroup":["redKO","blueKO"]},{"x":377,"y":-65,"cMask":["ball"]},{"x":377,"y":-171,"cMask":["ball"]},{"x":-377,"y":-65,"cMask":["ball"]},{"x":-377,"y":-171,"cMask":["ball"]},{"x":-377,"y":65,"cMask":["ball"]},{"x":-377,"y":171,"cMask":["ball"]},{"x":377,"y":65,"cMask":["ball"]},{"x":377,"y":171,"cMask":["ball"]},{"x":0,"y":199,"bCoef":0.1,"cMask":["red","blue"],"cGroup":["redKO","blueKO"]},{"x":0,"y":65,"bCoef":0.1,"cMask":["red","blue"],"cGroup":["redKO","blueKO"]},{"x":0,"y":-65,"bCoef":0.1,"cMask":["red","blue"],"cGroup":["redKO","blueKO"]},{"x":0,"y":-199,"bCoef":0.1,"cMask":["red","blue"],"cGroup":["redKO","blueKO"]}],"segments":[{"v0":0,"v1":1,"vis":false,"cMask":["ball"]},{"v0":2,"v1":3,"vis":false,"cMask":["ball"]},{"v0":4,"v1":5,"vis":false,"cMask":["ball"]},{"v0":6,"v1":7,"vis":false,"cMask":["ball"]},{"v0":8,"v1":9,"bCoef":0.1,"curve":180,"curveF":6.123233995736766e-17,"vis":false,"cMask":["red","blue"],"cGroup":["blueKO"]},{"v0":9,"v1":8,"bCoef":0.1,"curve":180,"curveF":6.123233995736766e-17,"vis":false,"cMask":["red","blue"],"cGroup":["redKO"]},{"v0":10,"v1":2,"bCoef":0.1,"curve":35,"curveF":3.1715948023632126},{"v0":6,"v1":11,"bCoef":0.1,"curve":35,"curveF":3.1715948023632126},{"v0":1,"v1":12,"bCoef":0.1,"curve":35,"curveF":3.1715948023632126},{"v0":13,"v1":5,"bCoef":0.1,"curve":35,"curveF":3.1715948023632126},{"v0":12,"v1":10,"bCoef":0.1,"curve":35,"curveF":3.1715948023632126,"cMask":["ball"]},{"v0":11,"v1":13,"bCoef":0.1,"curve":35,"curveF":3.1715948023632126,"cMask":["ball"]},{"v0":1,"v1":0,"cMask":["ball"]},{"v0":5,"v1":4,"cMask":["ball"]},{"v0":2,"v1":3,"cMask":["ball"]},{"v0":6,"v1":7,"cMask":["ball"]},{"v0":0,"v1":14,"cMask":["ball"]},{"v0":3,"v1":15,"cMask":["ball"]},{"v0":16,"v1":17,"bCoef":0,"cMask":[]},{"v0":8,"v1":9,"bCoef":0,"curve":180,"curveF":6.123233995736766e-17,"cMask":[]},{"v0":19,"v1":18,"bCoef":0,"curve":180,"curveF":6.123233995736766e-17,"cMask":[]},{"v0":2,"v1":1,"bCoef":0,"cMask":[]},{"v0":6,"v1":5,"bCoef":0,"cMask":[]},{"v0":20,"v1":21,"vis":false,"cMask":["ball"],"color":"FFFFFF"},{"v0":22,"v1":23,"vis":false,"cMask":["ball"],"color":"FFFFFF"},{"v0":24,"v1":25,"vis":false,"cMask":["ball"],"color":"FFFFFF"},{"v0":26,"v1":27,"vis":false,"cMask":["ball"],"color":"FFFFFF"},{"v0":28,"v1":29,"bCoef":0.1,"vis":false,"cMask":["red","blue"],"cGroup":["redKO","blueKO"]},{"v0":30,"v1":31,"bCoef":0.1,"vis":false,"cMask":["red","blue"],"cGroup":["redKO","blueKO"]}],"planes":[{"normal":[0,1],"dist":-171,"cMask":["ball"]},{"normal":[0,-1],"dist":-171,"cMask":["ball"]},{"normal":[0,1],"dist":-200,"bCoef":0.2},{"normal":[0,-1],"dist":-200,"bCoef":0.2},{"normal":[1,0],"dist":-420,"bCoef":0.2},{"normal":[-1,0],"dist":-420,"bCoef":0.2}],"goals":[{"p0":[-377,-65],"p1":[-377,65],"team":"red"},{"p0":[377,65],"p1":[377,-65],"team":"blue"}],"discs":[{"radius":6.4,"color":"E7CC03","cGroup":["ball","kick","score"]},{"pos":[-368,65],"radius":5,"bCoef":1,"invMass":0,"color":"FF4136"},{"pos":[-368,-65],"radius":5,"bCoef":1,"invMass":0,"color":"FF4136"},{"pos":[368,65],"radius":5,"bCoef":1,"invMass":0,"color":"74D9"},{"pos":[368,-65],"radius":5,"bCoef":1,"invMass":0,"color":"74D9"}],"playerPhysics":{"acceleration":0.11,"kickingAcceleration":0.1,"kickStrength":7},"ballPhysics":"disc0","spawnDistance":180}';
  67.  
  68. //MAPA NUEVOS
  69. var aloneMap = '{"name":"FUTSAL No Goal by KyU","width":420,"height":200,"bg":{"width":368,"height":171,"kickOffRadius":65,"color":"505050"},"vertexes":[{"x":-368,"y":171,"cMask":["ball"]},{"x":-368,"y":65,"cMask":["ball"]},{"x":-368,"y":-65,"cMask":["ball"]},{"x":-368,"y":-171,"cMask":["ball"]},{"x":368,"y":171,"cMask":["ball"]},{"x":368,"y":65,"cMask":["ball"]},{"x":368,"y":-65,"cMask":["ball"]},{"x":368,"y":-171,"cMask":["ball"]},{"x":0,"y":65,"bCoef":0.1,"cMask":["red","blue"],"cGroup":["redKO","blueKO"]},{"x":0,"y":-65,"bCoef":0,"cMask":[]},{"x":-384,"y":-65,"bCoef":0.1,"cMask":["ball"]},{"x":384,"y":-65,"bCoef":0.1,"cMask":["ball"]},{"x":-384,"y":65,"bCoef":0.1,"cMask":["ball"]},{"x":384,"y":65,"bCoef":0.1,"cMask":["ball"]},{"x":368,"y":171,"cMask":["ball"]},{"x":368,"y":-171,"cMask":["ball"]},{"x":0,"y":171,"bCoef":0,"cMask":[]},{"x":0,"y":-171,"bCoef":0,"cMask":[]},{"x":0,"y":65,"bCoef":0.1,"cMask":["red","blue"],"cGroup":["redKO","blueKO"]},{"x":0,"y":-65,"bCoef":0.1,"cMask":["red","blue"],"cGroup":["redKO","blueKO"]},{"x":377,"y":-65,"cMask":["ball"]},{"x":377,"y":-171,"cMask":["ball"]},{"x":-377,"y":-65,"cMask":["ball"]},{"x":-377,"y":-171,"cMask":["ball"]},{"x":-377,"y":65,"cMask":["ball"]},{"x":-377,"y":171,"cMask":["ball"]},{"x":377,"y":65,"cMask":["ball"]},{"x":377,"y":171,"cMask":["ball"]},{"x":0,"y":199,"bCoef":0.1,"cMask":["red","blue"],"cGroup":["redKO","blueKO"]},{"x":0,"y":65,"bCoef":0.1,"cMask":["red","blue"],"cGroup":["redKO","blueKO"]},{"x":0,"y":-65,"bCoef":0.1,"cMask":["red","blue"],"cGroup":["redKO","blueKO"]},{"x":0,"y":-199,"bCoef":0.1,"cMask":["red","blue"],"cGroup":["redKO","blueKO"]}],"segments":[{"v0":0,"v1":1,"vis":false,"cMask":["ball"]},{"v0":2,"v1":3,"vis":false,"cMask":["ball"]},{"v0":4,"v1":5,"vis":false,"cMask":["ball"]},{"v0":6,"v1":7,"vis":false,"cMask":["ball"]},{"v0":8,"v1":9,"bCoef":0.1,"curve":180,"curveF":6.123233995736766e-17,"vis":false,"cMask":["red","blue"],"cGroup":["blueKO"]},{"v0":9,"v1":8,"bCoef":0.1,"curve":180,"curveF":6.123233995736766e-17,"vis":false,"cMask":["red","blue"],"cGroup":["redKO"]},{"v0":10,"v1":2,"bCoef":0.1,"curve":35,"curveF":3.1715948023632126},{"v0":6,"v1":11,"bCoef":0.1,"curve":35,"curveF":3.1715948023632126},{"v0":1,"v1":12,"bCoef":0.1,"curve":35,"curveF":3.1715948023632126},{"v0":13,"v1":5,"bCoef":0.1,"curve":35,"curveF":3.1715948023632126},{"v0":12,"v1":10,"bCoef":0.1,"curve":35,"curveF":3.1715948023632126,"cMask":["ball"]},{"v0":11,"v1":13,"bCoef":0.1,"curve":35,"curveF":3.1715948023632126,"cMask":["ball"]},{"v0":1,"v1":0,"cMask":["ball"]},{"v0":5,"v1":4,"cMask":["ball"]},{"v0":2,"v1":3,"cMask":["ball"]},{"v0":6,"v1":7,"cMask":["ball"]},{"v0":0,"v1":14,"cMask":["ball"]},{"v0":3,"v1":15,"cMask":["ball"]},{"v0":16,"v1":17,"bCoef":0,"cMask":[]},{"v0":8,"v1":9,"bCoef":0,"curve":180,"curveF":6.123233995736766e-17,"cMask":[]},{"v0":19,"v1":18,"bCoef":0,"curve":180,"curveF":6.123233995736766e-17,"cMask":[]},{"v0":2,"v1":1,"bCoef":0,"cMask":[]},{"v0":6,"v1":5,"bCoef":0,"cMask":[]},{"v0":20,"v1":21,"vis":false,"cMask":["ball"],"color":"FFFFFF"},{"v0":22,"v1":23,"vis":false,"cMask":["ball"],"color":"FFFFFF"},{"v0":24,"v1":25,"vis":false,"cMask":["ball"],"color":"FFFFFF"},{"v0":26,"v1":27,"vis":false,"cMask":["ball"],"color":"FFFFFF"},{"v0":28,"v1":29,"bCoef":0.1,"vis":false,"cMask":["red","blue"],"cGroup":["redKO","blueKO"]},{"v0":30,"v1":31,"bCoef":0.1,"vis":false,"cMask":["red","blue"],"cGroup":["redKO","blueKO"]}],"planes":[{"normal":[0,1],"dist":-171,"cMask":["ball"]},{"normal":[0,-1],"dist":-171,"cMask":["ball"]},{"normal":[0,1],"dist":-200,"bCoef":0.2},{"normal":[0,-1],"dist":-200,"bCoef":0.2},{"normal":[1,0],"dist":-420,"bCoef":0.2},{"normal":[-1,0],"dist":-420,"bCoef":0.2}],"goals":[],"discs":[{"radius":6.4,"color":"E7CC03","cGroup":["ball","kick","score"]},{"pos":[-368,65],"radius":5,"bCoef":1,"invMass":0,"color":"FF4136"},{"pos":[-368,-65],"radius":5,"bCoef":1,"invMass":0,"color":"FF4136"},{"pos":[368,65],"radius":5,"bCoef":1,"invMass":0,"color":"74D9"},{"pos":[368,-65],"radius":5,"bCoef":1,"invMass":0,"color":"74D9"}],"playerPhysics":{"acceleration":0.11,"kickingAcceleration":0.1,"kickStrength":7},"ballPhysics":"disc0","spawnDistance":180}';
  70. var classicMap ='{"name":"FUTSAL 1v1 2v2 by KyU","width":420,"height":200,"bg":{"width":368,"height":171,"kickOffRadius":65,"color":"505050"},"vertexes":[{"x":-368,"y":171,"cMask":["ball"]},{"x":-368,"y":50,"cMask":["ball"]},{"x":-368,"y":-50,"cMask":["ball"]},{"x":-368,"y":-171,"cMask":["ball"]},{"x":368,"y":171,"cMask":["ball"]},{"x":368,"y":50,"cMask":["ball"]},{"x":368,"y":-50,"cMask":["ball"]},{"x":368,"y":-171,"cMask":["ball"]},{"x":0,"y":176,"bCoef":0.1,"cMask":["red","blue"],"cGroup":["redKO","blueKO"]},{"x":0,"y":50,"bCoef":0.1,"cMask":["red","blue"],"cGroup":["redKO","blueKO"]},{"x":0,"y":-50,"bCoef":0,"cMask":[]},{"x":0,"y":-176,"bCoef":0.1,"cMask":["red","blue"],"cGroup":["redKO","blueKO"]},{"x":-384,"y":-50,"bCoef":0.1},{"x":384,"y":-50,"bCoef":0.1},{"x":-384,"y":50,"bCoef":0.1},{"x":384,"y":50,"bCoef":0.1},{"x":-368,"y":-127,"bCoef":0,"cMask":[]},{"x":368,"y":-127,"bCoef":0,"cMask":[]},{"x":-368,"y":127,"bCoef":0,"cMask":[]},{"x":368,"y":127,"bCoef":0,"cMask":[]},{"x":-350,"y":-171,"bCoef":0,"cMask":[]},{"x":-368,"y":-163,"bCoef":0,"cMask":[]},{"x":350,"y":-171,"bCoef":0,"cMask":[]},{"x":368,"y":-163,"bCoef":0,"cMask":[]},{"x":-350,"y":171,"bCoef":0,"cMask":[]},{"x":-368,"y":163,"bCoef":0,"cMask":[]},{"x":350,"y":171,"bCoef":0,"cMask":[]},{"x":368,"y":163,"bCoef":0,"cMask":[]},{"x":368,"y":171,"cMask":["ball"]},{"x":368,"y":-171,"cMask":["ball"]},{"x":0,"y":171,"bCoef":0,"cMask":[]},{"x":0,"y":-171,"bCoef":0,"cMask":[]},{"x":0,"y":50,"bCoef":0.1,"cMask":["red","blue"],"cGroup":["redKO","blueKO"]},{"x":0,"y":-50,"bCoef":0.1,"cMask":["red","blue"],"cGroup":["redKO","blueKO"]},{"x":377,"y":-50,"cMask":["red"]},{"x":377,"y":-171,"cMask":["ball"]},{"x":-377,"y":-50,"cMask":["blue"]},{"x":-377,"y":-171,"cMask":["ball"]},{"x":-377,"y":50,"cMask":["blue"]},{"x":-377,"y":171,"cMask":["ball"]},{"x":377,"y":50,"cMask":["red"]},{"x":377,"y":171,"cMask":["ball"]}],"segments":[{"v0":0,"v1":1,"vis":false,"cMask":["ball"]},{"v0":2,"v1":3,"vis":false,"cMask":["ball"]},{"v0":4,"v1":5,"vis":false,"cMask":["ball"]},{"v0":6,"v1":7,"vis":false,"cMask":["ball"]},{"v0":8,"v1":9,"bCoef":0.1,"vis":false,"cMask":["red","blue"],"cGroup":["redKO","blueKO"]},{"v0":9,"v1":10,"bCoef":0.1,"curve":180,"curveF":6.123233995736766e-17,"vis":false,"cMask":["red","blue"],"cGroup":["blueKO"]},{"v0":10,"v1":9,"bCoef":0.1,"curve":180,"curveF":6.123233995736766e-17,"vis":false,"cMask":["red","blue"],"cGroup":["redKO"]},{"v0":10,"v1":11,"bCoef":0.1,"vis":false,"cMask":["red","blue"],"cGroup":["redKO","blueKO"]},{"v0":12,"v1":2,"bCoef":0.1,"curve":35,"curveF":3.1715948023632126,"color":"FFFFFF"},{"v0":6,"v1":13,"bCoef":0.1,"curve":35,"curveF":3.1715948023632126,"color":"FFFFFF"},{"v0":1,"v1":14,"bCoef":0.1,"curve":35,"curveF":3.1715948023632126,"color":"FFFFFF"},{"v0":15,"v1":5,"bCoef":0.1,"curve":35,"curveF":3.1715948023632126,"color":"FFFFFF"},{"v0":14,"v1":12,"bCoef":0.1,"curve":35,"curveF":3.1715948023632126,"color":"FFFFFF"},{"v0":13,"v1":15,"bCoef":0.1,"curve":35,"curveF":3.1715948023632126,"color":"FFFFFF"},{"v0":1,"v1":0,"cMask":["ball"],"color":"FFFFFF"},{"v0":5,"v1":4,"cMask":["ball"],"color":"FFFFFF"},{"v0":2,"v1":3,"cMask":["ball"],"color":"FFFFFF"},{"v0":6,"v1":7,"cMask":["ball"],"color":"FFFFFF"},{"v0":0,"v1":28,"cMask":["ball"],"color":"FFFFFF"},{"v0":3,"v1":29,"cMask":["ball"],"color":"FFFFFF"},{"v0":30,"v1":31,"bCoef":0,"cMask":[],"color":"FFFFFF"},{"v0":9,"v1":10,"bCoef":0,"curve":180,"curveF":6.123233995736766e-17,"cMask":[],"color":"FFFFFF"},{"v0":33,"v1":32,"bCoef":0,"curve":180,"curveF":6.123233995736766e-17,"cMask":[],"color":"FFFFFF"},{"v0":2,"v1":1,"bCoef":0,"cMask":[],"color":"FFFFFF"},{"v0":6,"v1":5,"bCoef":0,"cMask":[],"color":"FFFFFF"},{"v0":34,"v1":35,"vis":false,"cMask":["ball"],"color":"FFFFFF"},{"v0":36,"v1":37,"vis":false,"cMask":["ball"],"color":"FFFFFF"},{"v0":38,"v1":39,"vis":false,"cMask":["ball"],"color":"FFFFFF"},{"v0":40,"v1":41,"vis":false,"cMask":["ball"],"color":"FFFFFF"},{"v0":34,"v1":40,"curve":59.99999999999999,"curveF":1.7320508075688774,"vis":false,"cMask":["red"],"color":"FFFFFF"},{"v0":38,"v1":36,"curve":59.99999999999999,"curveF":1.7320508075688774,"vis":false,"cMask":["blue"],"color":"FFFFFF"}],"planes":[{"normal":[0,1],"dist":-171,"cMask":["ball"]},{"normal":[0,-1],"dist":-171,"cMask":["ball"]},{"normal":[0,1],"dist":-200,"bCoef":0.2},{"normal":[0,-1],"dist":-200,"bCoef":0.2},{"normal":[1,0],"dist":-420,"bCoef":0.2},{"normal":[-1,0],"dist":-420,"bCoef":0.2}],"goals":[{"p0":[-377,-50],"p1":[-377,50],"team":"red"},{"p0":[377,50],"p1":[377,-50],"team":"blue"}],"discs":[{"radius":6.4,"color":"E7CC03","cGroup":["ball","kick","score"]},{"pos":[-368,50],"radius":5,"bCoef":1,"invMass":0,"color":"FF4136"},{"pos":[-368,-50],"radius":5,"bCoef":1,"invMass":0,"color":"FF4136"},{"pos":[368,50],"radius":5,"bCoef":1,"invMass":0,"color":"FF4136"},{"pos":[368,-50],"radius":5,"bCoef":1,"invMass":0,"color":"FF4136"},{"pos":[383,51],"radius":3,"bCoef":0,"invMass":0,"cMask":[]},{"pos":[-383,51],"radius":3,"bCoef":0,"invMass":0,"cMask":[]},{"pos":[383,-51],"radius":3,"bCoef":0,"invMass":0,"cMask":[]},{"pos":[-383,-51],"radius":3,"bCoef":0,"invMass":0,"cMask":[]}],"playerPhysics":{"acceleration":0.11,"kickingAcceleration":0.1,"kickStrength":7},"ballPhysics":"disc0","spawnDistance":180}';
  71. var bigMap = '{"name":"FUTSAL FEH 1.3 by KyU","width":630,"height":280,"bg":{"type":"hockey","kickOffRadius":80},"vertexes":[{"x":-550,"y":240,"cMask":["ball"]},{"x":-550,"y":80,"cMask":["ball"]},{"x":-550,"y":-80,"cMask":["ball"]},{"x":-550,"y":-240,"cMask":["ball"]},{"x":550,"y":240,"cMask":["ball"]},{"x":550,"y":80,"cMask":["ball"]},{"x":550,"y":-80,"cMask":["ball"]},{"x":550,"y":-240,"cMask":["ball"]},{"x":0,"y":270,"bCoef":0,"cMask":["red","blue"],"cGroup":["redKO","blueKO"]},{"x":0,"y":80,"bCoef":0.1,"cMask":["red","blue"],"cGroup":["redKO","blueKO"]},{"x":0,"y":-80,"bCoef":0.1,"cMask":["red","blue"],"cGroup":["redKO","blueKO"]},{"x":0,"y":80,"bCoef":0,"cMask":["red","blue"],"cGroup":["redKO","blueKO"]},{"x":-557,"y":-80,"bCoef":0.1,"cMask":["ball"]},{"x":-580,"y":-80,"bCoef":0.1,"cMask":["ball"]},{"x":-580,"y":80,"bCoef":0.1,"cMask":["ball"]},{"x":-557,"y":80,"bCoef":0.1,"cMask":["ball"]},{"x":557,"y":-80,"bCoef":0.1,"cMask":["ball"]},{"x":580,"y":-80,"bCoef":0.1,"cMask":["ball"]},{"x":580,"y":80,"bCoef":0.1,"cMask":["ball"]},{"x":557,"y":80,"bCoef":0.1,"cMask":["ball"]},{"x":-550,"y":-160,"cGroup":[]},{"x":-550,"y":160,"cGroup":[]},{"x":-550,"y":-80,"cGroup":[]},{"x":-490,"y":-80,"cGroup":[]},{"x":-490,"y":80,"cGroup":[]},{"x":-550,"y":80,"cGroup":[]},{"x":550,"y":-160,"cGroup":[]},{"x":550,"y":160,"cGroup":[]},{"x":550,"y":-80,"cGroup":[]},{"x":490,"y":-80,"cGroup":[]},{"x":490,"y":80,"cGroup":[]},{"x":550,"y":80,"cGroup":[]},{"x":-420,"y":0,"cGroup":[]},{"x":-422,"y":0,"cGroup":[]},{"x":420,"y":0,"cGroup":[]},{"x":422,"y":0,"cGroup":[]},{"x":-1,"y":0,"cGroup":[]},{"x":2,"y":0,"cGroup":[]},{"x":-548,"y":-230,"cGroup":[]},{"x":-540,"y":-238,"cGroup":[]},{"x":548,"y":-230,"cGroup":[]},{"x":540,"y":-238,"cGroup":[]},{"x":-548,"y":230,"cGroup":[]},{"x":-540,"y":238,"cGroup":[]},{"x":548,"y":230,"cGroup":[]},{"x":540,"y":238,"cGroup":[]},{"x":-550,"y":-197,"cGroup":[]},{"x":-409,"y":-54,"cGroup":[]},{"x":550,"y":-174,"cGroup":[]},{"x":551,"y":171,"cGroup":[]},{"x":-550,"y":87,"cMask":["ball"]},{"x":557,"y":80,"cMask":["ball"]},{"x":557,"y":240,"cMask":["ball"]},{"x":557,"y":-240,"cMask":["ball"]},{"x":557,"y":-80,"cMask":["ball"]},{"x":-555,"y":-240,"cMask":["ball"]},{"x":-555,"y":-80,"cMask":["ball"]},{"x":-557,"y":80,"cMask":["ball"]},{"x":-557,"y":240,"cMask":["ball"]},{"x":-409,"y":44,"cGroup":[]},{"x":-550,"y":206,"cGroup":[]},{"x":549,"y":-196,"cGroup":[]},{"x":409,"y":-55,"cGroup":[]},{"x":409,"y":43,"cGroup":[]},{"x":550,"y":201,"cGroup":[]},{"x":557,"y":-90,"bCoef":0.1,"cMask":["ball"]},{"x":556,"y":92,"bCoef":0.1,"cMask":["ball"]},{"x":555,"y":-90,"bCoef":0.1,"cMask":["ball"]},{"x":554,"y":92,"bCoef":0.1,"cMask":["ball"]},{"x":554,"y":-90,"bCoef":0.1,"cMask":["ball"]},{"x":553,"y":92,"bCoef":0.1,"cMask":["ball"]},{"x":554,"y":-90,"bCoef":0.1,"cMask":["ball"]},{"x":553,"y":92,"bCoef":0.1,"cMask":["ball"]},{"x":552,"y":-90,"bCoef":0.1,"cMask":["ball"]},{"x":551,"y":92,"bCoef":0.1,"cMask":["ball"]},{"x":-557,"y":94,"bCoef":0.1,"cMask":["ball"]},{"x":-555,"y":94,"bCoef":0.1,"cMask":["ball"]},{"x":-553,"y":94,"bCoef":0.1,"cMask":["ball"]},{"x":-551,"y":94,"bCoef":0.1,"cMask":["ball"]},{"x":558,"y":-89,"bCoef":0.1,"cMask":["ball"]},{"x":557,"y":93,"bCoef":0.1,"cMask":["ball"]},{"x":-551,"y":88,"bCoef":0.1,"cMask":[]},{"x":-553,"y":88,"bCoef":0.1,"cMask":[]},{"x":-555,"y":88,"bCoef":0.1,"cMask":[]},{"x":-557,"y":88,"bCoef":0.1,"cMask":[]},{"x":557,"y":-88,"bCoef":0.1,"cMask":[]},{"x":557,"y":90,"bCoef":0.1,"cMask":[]},{"x":555,"y":-88,"bCoef":0.1,"cMask":[]},{"x":555,"y":90,"bCoef":0.1,"cMask":[]},{"x":550,"y":-80,"bCoef":0.1,"cMask":[]},{"x":550,"y":81,"bCoef":0.1,"cMask":[]},{"x":550,"y":-74,"bCoef":0.1,"cMask":[]},{"x":550,"y":-56,"bCoef":0.1,"cMask":[]},{"x":550,"y":-31,"bCoef":0.1,"cMask":[]},{"x":550,"y":-13,"bCoef":0.1,"cMask":[]},{"x":550,"y":11,"bCoef":0.1,"cMask":[]},{"x":550,"y":29,"bCoef":0.1,"cMask":[]},{"x":550,"y":55,"bCoef":0.1,"cMask":[]},{"x":550,"y":73,"bCoef":0.1,"cMask":[]},{"x":-282,"y":-1,"cGroup":[]},{"x":-284,"y":-1,"cGroup":[]},{"x":-550,"y":240,"cMask":["ball"],"cGroup":["ball"]},{"x":550,"y":240,"cMask":["ball"],"cGroup":["ball"]},{"x":-550,"y":-240,"cMask":["ball"],"cGroup":["ball"]},{"x":551,"y":-240,"cMask":["ball"],"cGroup":["ball"]},{"x":283,"y":0,"cGroup":[]},{"x":285,"y":0,"cGroup":[]},{"x":-550,"y":-86,"cMask":["ball"]},{"x":-550,"y":-239,"cMask":["ball"]},{"x":-550,"y":80,"bCoef":0.1,"cMask":[]},{"x":-550,"y":-80,"bCoef":0.1,"cMask":[]},{"x":-550,"y":-73,"bCoef":0.1,"cMask":[]},{"x":-550,"y":-55,"bCoef":0.1,"cMask":[]},{"x":-550,"y":-30,"bCoef":0.1,"cMask":[]},{"x":-550,"y":-12,"bCoef":0.1,"cMask":[]},{"x":-550,"y":12,"bCoef":0.1,"cMask":[]},{"x":-550,"y":30,"bCoef":0.1,"cMask":[]},{"x":-550,"y":56,"bCoef":0.1,"cMask":[]},{"x":-550,"y":74,"bCoef":0.1,"cMask":[]},{"x":0,"y":240,"bCoef":0,"cMask":[]},{"x":0,"y":80,"bCoef":0,"cMask":[]},{"x":0,"y":-80,"bCoef":0,"cMask":["red","blue"],"cGroup":["redKO","blueKO"]},{"x":0,"y":-270,"bCoef":0,"cMask":["red","blue"],"cGroup":["redKO","blueKO"]},{"x":0,"y":-80,"bCoef":0,"cMask":[]},{"x":0,"y":-240,"bCoef":0,"cMask":[]},{"x":0,"y":80,"bCoef":0,"cMask":[]},{"x":0,"y":-80,"bCoef":0,"cMask":[]}],"segments":[{"v0":4,"v1":5,"cMask":["ball"],"color":"FFFFFF"},{"v0":6,"v1":7,"cMask":["ball"],"color":"FFFFFF"},{"v0":12,"v1":13,"bCoef":0.1,"cMask":["ball"],"color":"FFFFFF"},{"v0":13,"v1":14,"bCoef":0.1,"cMask":["ball"],"color":"FFFFFF"},{"v0":14,"v1":15,"bCoef":0.1,"cMask":["ball"],"color":"FFFFFF"},{"v0":16,"v1":17,"bCoef":0.1,"cMask":["ball"],"color":"FFFFFF"},{"v0":17,"v1":18,"bCoef":0.1,"cMask":["ball"],"color":"FFFFFF"},{"v0":18,"v1":19,"bCoef":0.1,"cMask":["ball"],"color":"FFFFFF"},{"v0":32,"v1":33,"cGroup":[],"color":"FFFFFF"},{"v0":34,"v1":35,"cGroup":[],"color":"E0EEE0"},{"v0":36,"v1":37,"cGroup":[],"color":"E0EEE0"},{"v0":39,"v1":38,"curve":80.00000000000001,"curveF":1.19175359259421,"cGroup":[],"color":"E0EEE0"},{"v0":40,"v1":41,"curve":80.00000000000001,"curveF":1.19175359259421,"cGroup":[],"color":"E0EEE0"},{"v0":42,"v1":43,"curve":89.99999999999999,"curveF":1.0000000000000002,"cGroup":[],"color":"E0EEE0"},{"v0":45,"v1":44,"curve":80.00000000000001,"curveF":1.19175359259421,"cGroup":[],"color":"E0EEE0"},{"v0":9,"v1":10,"bCoef":0.1,"curve":180,"curveF":6.123233995736766e-17,"cMask":["red","blue"],"cGroup":["blueKO"],"color":"FFFFFF"},{"v0":10,"v1":9,"bCoef":0.1,"curve":180,"curveF":6.123233995736766e-17,"cMask":["red","blue"],"cGroup":["redKO"],"color":"FFFFFF"},{"v0":46,"v1":47,"curve":89.99999999999999,"curveF":1.0000000000000002,"cGroup":[],"color":"E0EEE0"},{"v0":50,"v1":0,"cMask":["ball"],"color":"FFFFFF"},{"v0":51,"v1":52,"vis":false,"cMask":["ball"],"color":"CCCCFF"},{"v0":53,"v1":54,"vis":false,"cMask":["ball"],"color":"CCCCFF"},{"v0":55,"v1":56,"vis":false,"cMask":["ball"],"color":"CCCCFF"},{"v0":57,"v1":58,"vis":false,"cMask":["ball"],"color":"FFCCCC"},{"v0":59,"v1":60,"curve":89.99999999999999,"curveF":1.0000000000000002,"cGroup":[],"color":"E0EEE0"},{"v0":47,"v1":59,"cGroup":[],"color":"E0EEE0"},{"v0":62,"v1":61,"curve":89.99999999999999,"curveF":1.0000000000000002,"cGroup":[],"color":"E0EEE0"},{"v0":64,"v1":63,"curve":89.99999999999999,"curveF":1.0000000000000002,"cGroup":[],"color":"E0EEE0"},{"v0":62,"v1":63,"cGroup":[],"color":"E0EEE0"},{"v0":89,"v1":90,"bCoef":0.1,"cMask":[],"color":"FFFFFF"},{"v0":91,"v1":92,"bCoef":0.1,"cMask":[],"color":"CF0000"},{"v0":93,"v1":94,"bCoef":0.1,"cMask":[],"color":"CF0000"},{"v0":95,"v1":96,"bCoef":0.1,"cMask":[],"color":"CF0000"},{"v0":97,"v1":98,"bCoef":0.1,"cMask":[],"color":"CF0000"},{"v0":99,"v1":100,"cGroup":[],"color":"FFFFFF"},{"v0":101,"v1":102,"cMask":["ball"],"cGroup":["ball"],"color":"FFFFFF"},{"v0":103,"v1":104,"cMask":["ball"],"cGroup":["ball"],"color":"FFFFFF"},{"v0":105,"v1":106,"cGroup":[],"color":"E0EEE0"},{"v0":108,"v1":107,"cMask":["ball"],"color":"FFFFFF"},{"v0":110,"v1":109,"bCoef":0.1,"cMask":[],"color":"FFFFFF"},{"v0":111,"v1":112,"bCoef":0.1,"cMask":[],"color":"CF0000"},{"v0":113,"v1":114,"bCoef":0.1,"cMask":[],"color":"CF0000"},{"v0":115,"v1":116,"bCoef":0.1,"cMask":[],"color":"CF0000"},{"v0":117,"v1":118,"bCoef":0.1,"cMask":[],"color":"CF0000"},{"v0":11,"v1":8,"bCoef":0,"vis":false,"cMask":["red","blue"],"cGroup":["redKO","blueKO"],"color":"FFFFFF"},{"v0":120,"v1":119,"bCoef":0,"cMask":[],"color":"FFFFFF"},{"v0":122,"v1":121,"bCoef":0,"vis":false,"cMask":["red","blue"],"cGroup":["redKO","blueKO"],"color":"FFFFFF"},{"v0":124,"v1":123,"bCoef":0,"cMask":[],"color":"FFFFFF"},{"v0":126,"v1":125,"bCoef":0,"cMask":[],"color":"FFFFFF"}],"planes":[{"normal":[0,1],"dist":-240,"cMask":["ball"],"cGroup":["ball"]},{"normal":[0,-1],"dist":-240,"cMask":["ball"],"cGroup":["ball"]},{"normal":[0,1],"dist":-270,"bCoef":0.1},{"normal":[0,-1],"dist":-270,"bCoef":0.1},{"normal":[1,0],"dist":-600,"bCoef":0.1},{"normal":[-1,0],"dist":-600,"bCoef":0.1}],"goals":[{"p0":[-550,84],"p1":[-550,-76],"team":"red"},{"p0":[550,80],"p1":[550,-80],"team":"blue"}],"discs":[{"radius":6.4,"color":"E7CC03","cGroup":["ball","kick","score"]},{"pos":[-550,80],"radius":5,"invMass":0},{"pos":[-550,-80],"radius":5,"invMass":0},{"pos":[550,80],"radius":5,"invMass":0},{"pos":[550,-80],"radius":5,"invMass":0}],"playerPhysics":{"acceleration":0.11,"kickingAcceleration":0.1,"kickStrength":7},"ballPhysics":"disc0","spawnDistance":350}';
  72. /* OPTIONS */
  73.  
  74. var afkLimit = 10;
  75. var drawTimeLimit = Infinity;
  76. var maxTeamSize = 3; // This works for 1 (you might want to adapt things to remove some useless stats in 1v1 like assist or cs), 2, 3 or 4
  77.  
  78. var slowMode = 0;
  79.  
  80. /* PLAYERS */
  81.  
  82. const Team = { SPECTATORS: 0, RED: 1, BLUE: 2 };
  83. var extendedP = [];
  84. var playersHistorial = [];
  85. const eP = { ID: 0, AUTH: 1, CONN: 2, AFK: 3, ACT: 4, GK: 5, MUTE: 6};
  86. const Ss = { GA: 0, WI: 1, DR: 2, LS: 3, WR: 4, GL: 5, AS: 6, GK: 7, CS: 8, CP: 9, RL: 10, NK: 11};
  87. var players;
  88. var teamR;
  89. var teamB;
  90. var teamS;
  91. var afkcont = 0;
  92. var contjugadores = 0;
  93.  
  94.  
  95. //----
  96.  
  97. var ModoChatPausado = [];
  98. const CensurarMensajes = [];
  99.  
  100. function filter(message)
  101. {
  102.     message = message.toLowerCase();
  103.     message = message.replace(/\s/g, '');
  104.     message = message.replace(/\./g,' ')
  105.     if(message.includes("ఌ") ||message.includes("甈") ||message.includes("㐷") ||message.includes("怅") ||message.includes("瘪") ||message.includes("⑸") ||message.includes("㬆") ||message.includes("権") ||message.includes("怜") ||message.includes("∯") ||message.includes("㤒") ||message.includes("䉊") ||message.includes("匊") ||message.includes("ᙻ") ||message.includes("ൽ") ||message.includes("ᴧ") ||message.includes("爂") ||message.includes("爇") ||message.includes("त") ||message.includes("権") ||message.includes("怜") ||message.includes("∯") ||message.includes("㤒") ||message.includes("眮") ||message.includes("㤮") ||message.includes("㵧") ||message.includes("間") ||message.includes("謝") ||message.includes("奶") ||message.includes("如") ||message.includes("失") ||message.includes("好") ||message.includes("莖") ||message.includes("治") ||message.includes("帶") ||message.includes("陰") ||message.includes("play?c=") ||message.includes("https://") ||message.includes("﷽") ||message.includes("﷽") ||message.includes("﷽") ||message.includes("﷽") ||message.includes("﷽") ||message.includes("﷽") ||message.includes("﷽") ||message.includes("﷽") ||message.includes("﷽") ||message.includes("﷽") ||message.includes("﷽") ||message.includes("http"))
  106.     {
  107.         return true;
  108.     }else return false;
  109. }
  110.  
  111. function CensuradorDeSpammeros(message) {
  112.     if (CensurarMensajes.includes(message)) {
  113.         return true;
  114.     }else return false;
  115. }
  116.  
  117. var db = { p: { N: 5, kt: 2 }, log: [] }; function f(a, b, c) { for (var i = 0; i < a.length; i += 1) { if (a[i][b] === c) { return i; } } return -1; } function spammerosFilter(player, message) { if (player.id == 0) { return; } var ind = f(db.log, 'id', player.id); db.log[ind].lm.push({ ts: Date.now() }); if (db.log[ind].lm.length >= db.p.N) { db.log[ind].lm.splice(0, db.log[ind].lm.length - db.p.N); if (db.log[ind].lm.length / ((db.log[ind].lm[db.log[ind].lm.length - 1].ts - db.log[ind].lm[0].ts) / 4000) > db.p.kt) {
  118.                 if (player.admin == false){
  119.                         //if(player.name !== "Andoni Goikoetxea"){ //Aqui ponemos a los STREAKRECORDGENERAL
  120.                         room.kickPlayer(player.id, "[?] ❌ ? PROHIBIDO SPAMMERS ? ❌ ", false);      
  121.                         //}
  122.         }
  123.        
  124.   } } }
  125.        
  126.  
  127. //---------------------------------------------------------------------------------------------------------------------------------------
  128. var bannedPlayersconn = ["33372E3136302E32342E3939", //spam de jugadores
  129.  "39342E3133322E34362E3439", //spam de fakes eucalipto
  130. "38352E3139322E37372E3533", //insultando en la sala
  131. "38392E36342E33342E313039", //sin jugar cuando el partido esta en juego en 1v1
  132. "3133392E34372E3131372E3733", //insultando en la sala
  133. "3230312E3135392E38362E323532", //spam chino
  134. "3138352E3232392E3135372E3430", //spam y es molesto
  135. "3138352E3232392E3135372E3737", //spam y es molesto
  136. "37372E3136342E34322E31",//spam y es molesto 2
  137. "38352E3133382E3233322E313439", //spam y es molesto 3
  138. "3130392E35312E3230362E3833", //spam a un jugador Btcraft - Henriqueal97#4814
  139. "3138352E3137342E3135362E3737", //spam a un jugador Btcraft - Henriqueal97#4814
  140. "38382E31392E392E313537", //insultar a jugadores con spam
  141. "38382E31382E39312E3939", //spammeando en la sala
  142. "3139332E3132362E3135392E3531", //no respetando el juego 2
  143. "322E38322E3232372E323436", //no respetando el juego 3
  144. "39352E31382E3235342E313132", //insultando masivamente sin motivo
  145. "39352E31382E3235342E313434", //insultando masivamente sin motivo
  146. "38332E34332E36342E323434", //jodiendo las partidas de otros jugadores marcandose goles en propia
  147. "38332E3232332E3137372E313037", //con 1 - 0 perdiendo no queria jugar pero estaba en el campo
  148. "38332E3232332E3138302E313333", //con 1 - 0 perdiendo no queria jugar pero estaba en el campo
  149. "38362E3139352E3232352E3131",//insultando masivamente sin motivo
  150. "38322E35392E34382E323333", //spam de jugadores
  151. "38342E32332E3231302E313333", //con 1 - 0 perdiendo no queria jugar pero estaba en el campo
  152. "38382E392E3235322E323236", //no juega en 1v1
  153. "3231332E39382E3131332E323430", //tello - llorica
  154. "352E3234392E34372E3839", //fakeando a Foxy RX en las salas
  155. "38372E3139362E33372E3733", //marcandose goles para joder a los demas
  156. "39342E3133322E3137332E323531", //campeando y tirando hacia porteria rival, jodiendo el partido
  157. "3231322E3233372E3233312E313636", //fakeando a knock out en las pubs
  158. "37392E3136392E3135392E323236", //marcandose autogoles para joder a los demas jugadores
  159. "38362E32342E3133342E323130", //marcandose autogoles para joder
  160. "38362E372E3233392E313833", //marcandose autogoles para joder x2
  161. "3130392E34392E36362E3138", //marcandose autogoles para joder x2
  162. "38392E3138302E3235312E323232", //marcandose goles para joder a los demas
  163. "38352E35392E31352E323439", //insultos, trashtalk, copiando mis salas
  164. "3138352E3230382E32332E3334", //trashtalk en el discord
  165. "38372E3231372E31362E323333", //multicuenta con aos - Nick
  166. "3138352E3136352E33332E323338",//macro visiblemente en mis salas
  167. "39342E36322E37332E313737", //multicuenta Macaco con Esquadrão Maritimista
  168. "38352E3234362E3138332E313130", //Multicuenta entre Chicao y Cardozo
  169. "38342E3132302E3137382E3836", //multicuenta de steal con el nick de POP
  170. "37392E3134372E352E313435", //multicuenta de steal con el nick de POP
  171. "38332E34312E3131302E3833", //multicuentas de muchos usuarios y fakeando mis pubs
  172. "38352E3234302E39332E323434", //marcandose goles constantemente
  173. "322E38332E39322E3833" //no respetando el juego
  174.  ]; // Añade las id de conn de los usuarios que quieres banear,
  175. //ejemplo: var bannedPlayers = ["32908734", "4585454", "046464646"]
  176.  
  177. var bannedPlayersauth = ["0jZpbhli51_9hDXX7lVrhOImxbBJ6MhwNQI4oKEIbvM",//spam de jugadores
  178. "NKZRkDImb7_IdLbaBQ_T4qhYq-1ZJWRMvZ2pGDhLrhQ", // spam de fakes eucalipto
  179. "YnRWXrkkFGTlcexT7ToLEmN9lrLPahaygml12CFgE8s", // spam de fakes eucalipto
  180. "mkYbcm_YTNavnvfK8GMzynEBTTgqmXWH4SAdmBz1tN0", // spam de fakes eucalipto
  181. "aN5QRf88zizgAzHhJ_4_B35BJV00BICflGMGasebgCc", //insultando en la sala
  182. "45S9sDwAbGzJfMV8obCWBeXZ1qJ4RtSeMjMOODNdwGY", //insultando en la sala
  183. "kNUS-LggxiAHTDpgNoG1Vv7Oret71lplssbMjrk-HIc", //insultando en la sala
  184. "QnxRlVNEVQRp1_yrYIWcNPPpE3So7_f3RnKyXZ_GOKc", //insultando en la sala
  185. "_Ln7Ls3UtlsA1Y7kehZe1CnnqIvVUw4cxilnkVYvOPg", //insultando en la sala
  186. "3obYeClKZ4r-WLh7PP8iRGMcXO05CLho12hhWzVZNYs", //insultando en la sala
  187. "-0PCjF1mJ0-kyfR3Y3Dl-QD50UUVrDZSamnS2np0sh0", //sin jugar cuando el partido esta en juego en 1v1
  188. "3X4g_437IxKZj9pbkM7biebypLaPWTaoLrCkLSMWQes", //spam chino
  189. "FPiprQgQjI5dveIAa8YfEkkcnRAKEF6cWZ_Eu6s6Ph8", //spam y es molesto
  190. "pRBA0jjW-6xO0SzLY4bZaIMv6M1lE0hF5tEfYFLcGmw", //spam y es molesto 2
  191. "aZexmrfypIaqWE0EgtzF7bXDHxQsqTvQ3ocXZf8ikog", //spam y es molesto 3
  192. "eDT-2uetn5kPEQm2XhcHJzzEzTkVDeDPfIMdenqfh2w", //spam a un jugador Btcraft - Henriqueal97#4814
  193. "GJ6XUX9cOghztsVSeYYjbv3yPb4IxyjrUu4UmYSMVG4", //spam y es molesto 3
  194. "hoYWLCwTnXRE-mvCCarO5CsuDfQJ2Oaaw-h9rv0aVm4", //spam de fakes eucalipto
  195. "7xbQWp7Q8mztieIQk1zKrzZvK5S3jq_PDsp8R3788Kk", //insultar a jugadores con spam
  196. "Yl1gaZ7iRD1HPmvD2zRApC28ZhZsRsIqvwKz57DsLcg", //insultar a jugadores con spam
  197. "3ZFZ15CVZKh_iLcf9fO5C6mJ37A_RoPij5CNqSP8vFA", //no respetando el juego
  198. "9wuuUML-A-ii__eLcNFLrhIHmhCx_fHP8_Ayf46P51w", //no respetando el juego 2
  199. "DmrguvKSd8EJkqpddV7w9uUj3Ru8ejReIteHxU-DFRQ", //no respetando el juego 3
  200. "Zt5fFDUyq4XwsQJBW_j1jbyGxB_B4ODsrHwKZhM1lpU", //insultando masivamente sin motivo
  201. "fJLJDfrtaXJoIDVAzxvYr4hJXGLsKZVDsNpMgK0gmtI",//jodiendo las partidas de otros jugadores marcandose goles en propia
  202. "tiRmFnIWp60DNq5bN2N2bXVgdUPd6wFkFhxWqBjUtgo", //con 1 - 0 perdiendo no queria jugar pero estaba en el campo
  203. "iGP7f4Q-aaayRwQinyIB-ia3S0t6VAD2bp6DHXO3mU4", //insultando masivamente sin motivo
  204. "Z0GL_IInus00Nbqs3GmMkj9XJqG8DK3mfPZU_mAZMUs", //spam de jugadores
  205. "-ktWxOE1evuxHRnXRMUo9Ap8I8uooXiRPe_5tfW2BjY", //spam de jugadores
  206. "qLNT9uxpKH6Pg2_mZAudXYiC27ZiGLXrosDS8Bk7duA", //spam de jugadores
  207. "4lErGtWuUoh6-T6cBiKnIMZCDLkYW0ootvYD97rCANI", //jodiendo las partidas de otros jugadores marcandose goles en propia
  208. "fJLJDfrtaXJoIDVAzxvYr4hJXGLsKZVDsNpMgK0gmtI", //jodiendo las partidas de otros jugadores marcandose goles en propia
  209. "eHzNAAjxCqXfUsZDLphqpBhW0Gz6VwVGknUWatCAgX8", //jodiendo las partidas de otros jugadores marcandose goles en propia
  210. "3QqlYzWNYtI5dc3cIOOAZg70Sm9EISUIJsoLtfuKUkA", //no juega en 1v1
  211. "hSuEburdCnswVhS7VJuegPIQLdXOlA1BDuLnmVAHZQw", //tello - llorica
  212. "5QxtQgvBmy7yp-qXImIFAnWrBRhNZrQgjhcncvBPHG0", //Fakeando a Foxy RX en las salas
  213. "b25SDvRb85F4VZ7eU_1-_aOSPqdaPeC_vMYjRucVNqM", //marcandose goles para joder a los demas
  214. "gFC8GfqZdJrMXSscA9rT6WJnF87UbO8y4RsMZi3CB5o", //campeando y tirando hacia porteria rival, jodiendo el partido
  215. "zfTQcomJVCHObszYur3z4fj-HMGQNhVi9rM-A34-Ez0", //fakeando a knockout en las pubs
  216. "sDfYprvG3K0q9gQ2b8cUtg9roRJ3dc1vG1tS2RX-wlw", //marcandose autogoles para joder a los demas jugadores
  217. "6GnhhdkcUHG-0ZBYAqjFetuGksO8pjwkFtDvgpzJ3W0", //marcandose autogoles para joder
  218. "QUWj_P8vM6jNqG8lyYxvkBfOexz0pwHKp-RmrjzipWg", //marcandose autogoles para joder x2
  219. "JpVr5AJsePGeTASldKScu7LVeHsRKZqRJ1x_mZPS234", //marcandose autogoles para joder x2
  220. "6ivSnFWMSZie6V2yJwu22apdHkL8UABXNoHSqV-OfWw", //marcandose goles para joder a los demas
  221. "A2M77a-er-rqxpR2egXLOFgwjlZ-PwNi1t5uG42rMNk", //insultos, trashtalk, copiando mis salas
  222. "-0ovI0xgawxnQrgh7yIzAWJE4N3AMh-g2v5lJnr_228", //trashtalk en el discord
  223. "Z9sek4v9Sj46D_70Xp5cyIIuOhHtSTJUR1QxB0wRjtY",//macro visiblemente en mis salas
  224. "Cj8ZKlH2EeWh7ttH9L9_x8FZFu-8U2MYxOfoZwuMi5w", //multicuenta con Nick
  225. "AXU9HbdDWtJgYyZn5VTV-osCI5Wr5JWUKoHaOKqzGLE", //multicuenta con aos
  226. "xNdZJ6Y2A93KmJHgf9OYjIWS6lxBW26WgI_1nFJ3BYc", //multicuenta Macaco con Esquadrão Maritimista
  227. "t_hwRvE4HEcFYCqfAH7PDAE-zYmEy3wq0RohTf13ads", //multicuenta Esquadrão Maritimista con Macaco
  228. "-_Ljs72zsSRmqTYQa8Xi4L7TBXrzKRkEidRYGgBc6HM", //Multicuenta entre Chicao y Cardozo
  229. "cQuTvEFbribLmW943YP_gZAoVKcb4uTqWVqlomTcTSA", //multicuenta de steal con el nick de POP
  230. "50LIgkX2-kRm7U-FyA-clAd7MAv8sDifz7xVJZ8wz5E", //multicuenta de steal con el nick de POP
  231. "mU6sa8czpqIrxJ9ZMlgO7IH6RFEoHfNp5dkXr5TZQZ8", //multicuentas de muchos usuarios y fakeando mis pubs
  232. "rduLhp3Tpr2FGAqinIVSO4216P6qYD4SXNu1NUtQMqw", //marcandose goles constantemente
  233. "hsoNtaQLfD6Ih5AzptW2o1g6D3zQZPIdBdajZGNS0jQ" //spammeando en la sala
  234. ];
  235.  
  236.  
  237. var bannedPlayersnombre = [
  238. "4nalfa", //spam de jugadores
  239. "-4nalfa", //spam de jugadores
  240. "aos", //multicuenta con Nick
  241. "Nick", //multicuenta con aos
  242. "zurdita de oro", //multicuentas entre chus y zurdita
  243. "CHUS FERNANDEZ1", //multicuentas entre chus y zurdita
  244. "CHUS FERNANDEZ", //multicuentas entre chus y zurdita
  245. "Zape", //multicuentas entre chus y zurdita
  246. "Zimdan",//macro visiblemente en mis salas
  247. "stickman", //trashtalk en el discord
  248. "Subcoleg4", //insultos, trashtalk, copiando mis salas
  249. "lar janus", //marcandose autogoles para joder
  250. "...", //marcandose autogoles para joder a los demas jugadores
  251. "N", //marcandose autogoles para joder x2
  252. "i will not own goal", //marcandose autogoles para joder
  253. "RAMOS", //spam de AAAA
  254. "parroco", //insultando en la sala
  255. "Jacobinho Jr.", //insultando en la sala
  256. "我喜欢你", //insultando en la sala
  257. "VonGut", //sin jugar cuando el partido esta en juego en 1v1
  258. "punto", //insultando en la sala
  259. "DaF", //insultando en la sala
  260. "0", //spam chino
  261. "TIENESELCULOLLENADEMIERDA", //spam y es molesto
  262. "SOY PERO QUE...?", //spam y es molesto
  263. "el 7", //spam y es molesto
  264. "Cristiano", //spam y es molesto
  265. "S™", //spam y es molesto 2
  266. "Haxballing", //spam y es molesto 3
  267. "orov", //spam y es molesto
  268. "Orov", //spam y es molesto
  269. "CORONA MATA O VARANDAS!!!", //spam a un jugador Btcraft - Henriqueal97#4814
  270. "KEIZER", //spam y es molesto 3
  271. "Nandinho", //spam de fakes eucalipto
  272. "laura", //spam y es molesto
  273. "MathiasPogba", //insultar a jugadores con spam
  274. "ansel", //insultar a jugadores con spam
  275. "MESSI", //spam y es molesto
  276. "PrinceNeeko", //spammeando s todo el rato
  277. "Exiro", //spammeando todo el rato
  278. "El Gay", //no respetando el juego
  279. "El Rey", //no respetando el juego 3
  280. ".", //insultando masivamente sin motivo
  281. "STEALBASURA.", //insultando masivamente sin motivo
  282. "scp", //insultando masivamente sin motivo
  283. "Tiago Freitas", //no respetando el juego 2
  284. "misudorhueleaporro", //jodiendo las partidas de otros jugadores marcandose goles en propia
  285. "we", //jodiendo las partidas de otros jugadores marcandose goles en propia
  286. "polla", //jodiendo las partidas de otros jugadores marcandose goles en propia
  287. "LORD VADER", //con 1 - 0 perdiendo no queria jugar pero estaba en el campo
  288. "pita", //spam y es molesto 3
  289. ":: Naifas ::", // spam de fakes eucalipto
  290. "ESO ES UN PROBLEMA", //spam de jugadores
  291. "caliente", //spam de jugadores
  292. "COVID-19 MATA O VARANDAS", //spam a un jugador Btcraft - Henriqueal97#4814
  293. "antonio", //no juega en 1v1
  294. "tello", //baneandome como un crio
  295. "matias", //marcandose goles para joder a los demas
  296. "Almofariz", //campeando y tirando hacia porteria rival, jodiendo el partido
  297. "KnOcK 0uT", //fakeando a knock out en las pubs
  298. "Chinese Ronaldo coronavib", //marcandose autogoles para joder a los demas jugadores
  299. "Macaco", //multicuenta Macaco con Esquadrão Maritimista
  300. "Esquadrão Maritimista", //multicuenta Esquadrão Maritimista con Macaco
  301. "Cardozo", //Multicuenta entre Chicao y Cardozo
  302. "Chicao", //Multicuenta entre Chicao y Cardozo
  303. "STEALDEKING", //multicuenta de steal con el nick de POP
  304. "STEAL", //multicuenta de steal con el nick de POP
  305. "Jose mdlr", //multicuenta de steal con el nick de POP
  306. "dj666", //multicuentas de muchos usuarios y fakeando mis pubs
  307. "MORTE AOS PRETOS", //marcandose goles en propia constantemente
  308. "JOE BIDEN - COME ON MAN", //
  309. "? ESP FUTSAL BOT ?" //es la sala
  310. ];
  311.  
  312.  
  313. /*
  314. Posibles baneos en menos de 24h añadirlos
  315.  
  316. */
  317.  
  318.  
  319. //bannedPlayersconn.push("38352E3234302E39332E323434")
  320. //bannedPlayersauth.push("rduLhp3Tpr2FGAqinIVSO4216P6qYD4SXNu1NUtQMqw")
  321. //bannedPlayersnombre.push("MORTE AOS PRETOS")
  322.  
  323. //var bannedPlayers = []; // Añade las id de conn de los usuarios que quieres banear,
  324. //ejemplo: var bannedPlayers = ["32908734", "4585454", "046464646"]
  325.  
  326. /*
  327. 1 - Zape - "3138382E3233392E3135302E3730"
  328. */
  329. //var eljefe = [{name: 'BOT', auth: 'A6aDCkbi9PYjDCoBYqhM1xVam4MDzpxlR975NtK_Xus'}];
  330.  
  331. var playersAllowed1 = [
  332. //{name: 'Reus', passlog: '', verif: 'false', horaj: ''}, //Reus#0971 - j29mc01
  333. //
  334. //{name: 'perro', passlog: 'perroelmejor123', verif: 'false', horaj: ''}, //AlvariitoJEJE#4371
  335. //{name: 'OneLaw', passlog: 'Portugal2020', verif: 'false', horaj: ''}, //OneLaw#8138
  336. //{name: 'DT イヴァンレイ', passlog: '1NNKAajC', verif: 'false', horaj: ''}, //x1v4nk1ng#6097
  337. //{name: 'Dress', passlog: 'S0Z6YIEw', verif: 'false', horaj: ''}, //Javi#0059
  338. //{name: 'miske', passlog: 'QNWM8gf6', verif: 'false', horaj: ''}, //miske#7193
  339. //{name: 'n?', passlog: 'W3h6uYBc', verif: 'false', horaj: ''}, //n?#0558
  340. //{name: 'Magic', passlog: 'fkI3mK94', verif: 'false', horaj: ''}, //Magic#1746
  341. //{name: 'Parejo', passlog: 'QsiiJ3gr', verif: 'false', horaj: ''}, //Parejo#9579
  342. //{name: 'Xavi-vž', passlog: 'w6Wv8oJH', verif: 'false', horaj: ''}, //Xavi-vž#3312
  343. //{name: 'JozeLuyh', passlog: 'VKPvCIgY', verif: 'false', horaj: ''}, //JozeLuyh#9885
  344. //{name: 'Me pido las faltas', passlog: 'pelocho8', verif: 'false', horaj: ''}, //Pelocho#0483
  345. //{name: 'Walid MTH', passlog: 'W12345D', verif: 'false', horaj: ''}, //Walid MTH#2934
  346. //{name: 'Nanu', passlog: 'nacional', verif: 'false', horaj: ''}, //x -tense#4261
  347. //{name: 'Khada', passlog: 'monkey', verif: 'false', horaj: ''}, //KhadaIV#5916
  348. //{name: 'abrahamlaciida', passlog: 'Abraham5432', verif: 'false', horaj: ''}, //Abrahamlaciida#2692
  349. //
  350. //{name: 'Are ya winning, son?', passlog: 'Dad', verif: 'false', horaj: ''}, //Freckled_asf#2071
  351. //{name: 'gonçalo', passlog: 'duarte', verif: 'false', horaj: ''}, //gonçalo#8136
  352. //{name: 'windo', passlog: 'windo87', verif: 'false', horaj: ''}, //pull#5384
  353. //{name: 'Majin Buu', passlog: 'majinbuu123', verif: 'false', horaj: ''}, //Majin Buu#6963
  354. //{name: 'Giber', passlog: 'soulindo123', verif: 'false', horaj: ''}, //giber#4863
  355. //{name: 'Alpe d´Huez', passlog: 'Alpe1234', verif: 'false', horaj: ''}, //Alpe d'Huez#9599
  356. //{name: 'cym', passlog: 'zepefgomez', verif: 'false', horaj: ''}, //cym#0318
  357. //{name: 'lissen', passlog: '1337', verif: 'false', horaj: ''}, //~カツミ~#8586
  358. //{name: 'xd2', passlog: 'xd2', verif: 'false', horaj: ''}, //xd2#5731
  359. //{name: 'MehdiElRey', passlog: 'Atletico789', verif: 'false', horaj: ''}, //Mehdi934#2905
  360. //{name: 'Polo', passlog: '1264', verif: 'false', horaj: ''}, //Polo#1451
  361. //{name: 'zezocasplays', passlog: 'zezocasplays123', verif: 'false', horaj: ''}, //tiagolucas05#6233
  362.  
  363. //{name: 'hz4', passlog: '12345567890', verif: 'false', horaj: ''}, //hertz4726#3031
  364. //{name: 'Zeca', passlog: 'Zecas', verif: 'false', horaj: ''}, //Zeca#9292
  365. //{name: 'Bruno', passlog: '4145', verif: 'false', horaj: ''}, //DragonBoy41#8855
  366. //{name: 'STEAL', passlog: 'FFS3Ddx1', verif: 'false', horaj: ''}, //elamantedetuamante#5777 - cuenta baneada
  367. //{name: 'jdeeew', passlog: 'jdeeew1997', verif: 'false', horaj: ''}, //JDeeew#1508
  368. //{name: 'Maestro', passlog: 'glazba10', verif: 'false', horaj: ''}, //Maestro#8246
  369. //{name: 'garanhão', passlog: 'dinorocha', verif: 'false', horaj: ''}, //Dino#7346
  370. //{name: 'Bernard', passlog: 'Bernardo319', verif: 'false', horaj: ''}, //Bernardo319#8612
  371. //{name: 'Peixoto', passlog: '123', verif: 'false', horaj: ''}, //Peixoto#2578
  372. /*{name: 'BATATAS', passlog: 'BATATAS', verif: 'false', horaj: ''}, //BATATAS#9040
  373. {name: 'PAU', passlog: 'saLmon', verif: 'false', horaj: ''}, //JestingPuppet05#5970
  374. {name: 'Marc', passlog: '17', verif: 'false', horaj: ''}, //Marc17#7156
  375. {name: 'Sesame', passlog: '1512sina', verif: 'false', horaj: ''}, //Кунжут#6829
  376. {name: 'Dave', passlog: 'Haxball71', verif: 'false', horaj: ''}, //Dave 71#0454
  377. {name: 'MrPabLo', passlog: 'alpargata3000', verif: 'false', horaj: ''}, //jjjjjjjj765#9904
  378. {name: 'ae', passlog: 'easports', verif: 'false', horaj: ''}, //aeeeee#5502
  379. {name: 'Zapata', passlog: 'zapata99', verif: 'false', horaj: ''}, //Zapata#9214
  380. {name: 'WhyNot', passlog: 'whynot12331', verif: 'false', horaj: ''}, //WhyNot#0183
  381. {name: 'Nico López', passlog: 'nicolopez', verif: 'false', horaj: ''}, //Nico López#7200
  382. {name: 'Anonimi', passlog: 'Anonini123', verif: 'false', horaj: ''}, //Ofekino#9167
  383. {name: 'pro', passlog: 'haxballpro', verif: 'false', horaj: ''}, //Pro Aka GG#5240
  384. {name: 'SuperMatic', passlog: 'supermatic1997', verif: 'false', horaj: ''}, //SuperMatic#0848
  385. {name: 'Crocop', passlog: 'mirkocrocop0169', verif: 'false', horaj: ''}, //SinNickName#6390
  386. {name: 'Matos', passlog: 'ola123', verif: 'false', horaj: ''}, //Matosmma#6061
  387. {name: 'Fernando Simoncceli', passlog: 'fernandosimon1', verif: 'false', horaj: ''}, //Fernando Simoncelli#6450
  388. {name: 'azizi', passlog: 'poland123', verif: 'false', horaj: ''}, //azizi#4366
  389. {name: 'MatiGMS', passlog: 'Masterisc0', verif: 'false', horaj: ''}, //MatiGMS#5521
  390. {name: 'Bob', passlog: 'bobanza', verif: 'false', horaj: ''}, //Bobo#6316
  391.  
  392. {name: 'RAASEENGAAN', passlog: '71', verif: 'false', horaj: ''}, //RAASEENGAAN#5771
  393. {name: 'Iker Casillas', passlog: 'korpocek123', verif: 'false', horaj: ''}, //I. Casillas#2301
  394. {name: 'pNow', passlog: 'Dripper', verif: 'false', horaj: ''}, //arQues#5860
  395. {name: 'prr', passlog: 'prrfm', verif: 'false', horaj: ''}, //sirmarko24#6419
  396. {name: 'PTM85', passlog: 'Sporting97', verif: 'false', horaj: ''}, //PTM85#9196
  397. {name: 'MacKliper', passlog: 'pera', verif: 'false', horaj: ''}, //MacKliper#1795
  398. {name: 'giovinco', passlog: 'koala77', verif: 'false', horaj: ''}, //dridi#1826
  399. {name: 'ziv', passlog: 'ziv123', verif: 'false', horaj: ''}, //bmatos99#1838
  400. {name: 'xb', passlog: 'xb123', verif: 'false', horaj: ''}, //Morato#4344
  401. {name: 'legend', passlog: 'chancelmbemba', verif: 'false', horaj: ''}, //mrbastine#1845
  402. {name: 'Reuen', passlog: 'asfdjpsw', verif: 'false', horaj: ''}, //Reuen#4398
  403. {name: 'filsan', passlog: '13filsan', verif: 'false', horaj: ''}, //filsan#6093
  404. {name: "Brico-dépôt", passlog: 'maxmaxmax', verif: 'false', horaj: ''}, //octosyllabiste#1008
  405. {name: "Lux", passlog: 'Vegetta', verif: 'false', horaj: ''}, //Lux#3899
  406. {name: "LuMiX", passlog: 'encantado', verif: 'false', horaj: ''}, //LuMiX#3264
  407. {name: "Senku", passlog: 'senku123', verif: 'false', horaj: ''}, //Senku#7820
  408. {name: "Bolinha", passlog: 'Bolinha123', verif: 'false', horaj: ''}, //JEJUZÃO#6438
  409. {name: "Fuyuki", passlog: 'Fuyukianime', verif: 'false', horaj: ''}, //-Fuyuki-#1049
  410. {name: "rekkles", passlog: 'kendomakarroni', verif: 'false', horaj: ''}, //el del momento#8423
  411. {name: "Mesut", passlog: 'Mesutoze10', verif: 'false', horaj: ''}, //Mesut#0848
  412. {name: 'Richardinhooo', passlog: 'meninobonito!69', verif: 'false', horaj: ''}, //Richardinhoooo#2853
  413. {name: 'yusito', passlog: 'yus', verif: 'false', horaj: ''}, //yuso#7199
  414. {name: 'r', passlog: 'rrrr', verif: 'false', horaj: ''}, //cLEAR#0473
  415. {name: 'CarlosDS7', passlog: '5753315', verif: 'false', horaj: ''}, //CarlosDS7#1675
  416. {name: 'Ousmane Dembélé', passlog: 'tugaprodigy120', verif: 'false', horaj: ''}, //TugaProdigy#4324
  417. {name: '<|e|>', passlog: '1234', verif: 'false', horaj: ''}, //Uncarri#9342
  418. {name: "Hazard", passlog: 'Hazard123', verif: 'false', horaj: ''},//Hazard#8151
  419. {name: 'up-skill.org', passlog: '123456', verif: 'false', horaj: ''}, //up-skill.org#2077
  420. {name: 'Cunha', passlog: 'kellhaxball', verif: 'false', horaj: ''}, //cunhAX#3818
  421. {name: 'atmozfears', passlog: '123456789', verif: 'false', horaj: ''}, //Louis#8303
  422. {name: 'MariommrM', passlog: 'portugal05', verif: 'false', horaj: ''}, //Mariommrm#2454
  423. {name: 'Minimestre', passlog: 'Fabioduarte98', verif: 'false', horaj: ''}, //FabioDuarte02#3081
  424. {name: '???????', passlog: '159', verif: 'false', horaj: ''}, //?????#7932    - Benzema es el nick y Diogo#7932 es su discord con letras raras
  425. {name: 'DIO', passlog: 'oraoraora', verif: 'false', horaj: ''}, //Mazigh#5597
  426.  
  427. {name: 'gbtiago', passlog: 'vitoria000', verif: 'false', horaj: ''}, //gbtiago#7364
  428. {name: 'WaroS', passlog: 'waros2027', verif: 'false', horaj: ''}, //WaroS#8017
  429. {name: 'NitrQx', passlog: 'larousse97', verif: 'false', horaj: ''}, //NitrQx#1923
  430. {name: 'revenge', passlog: 'revengeturkey01', verif: 'false', horaj: ''}, //Revenge#1333
  431. {name: 'striker', passlog: 'striker123', verif: 'false', horaj: ''}, //striker19#1851
  432. {name: 'vamos', passlog: '123456', verif: 'false', horaj: ''}, //Хайро (Jairo)#6604
  433. {name: 'Bodybuilder', passlog: 'Body12345!', verif: 'false', horaj: ''}, //kanitoo#8340
  434. {name: 'meme', passlog: 'francalho21', verif: 'false', horaj: ''}, //idk ok#7434
  435. {name: 'Shamba', passlog: 'ruicosta10', verif: 'false', horaj: ''}, //Shambalabad#8342
  436. {name: 'stoutpoop', passlog: 'pasword', verif: 'false', horaj: ''}, //stoutpoop#2456
  437.  
  438. {name: 'Xavi', passlog: 'abcd1234', verif: 'false', horaj: ''}, //moreira#6430
  439. {name: 'player.', passlog: 'Paladino77', verif: 'false', horaj: ''}, //ogoidRF#7848
  440.  
  441. {name: 'Sterling', passlog: 'Yassine130502', verif: 'false', horaj: ''}, //Sterling#6318
  442. {name: 'EmZiR', passlog: 'megustalaempanada', verif: 'false', horaj: ''}, //XxEmZiRxX#5035
  443. {name: 'facherito', passlog: 'facherito11', verif: 'false', horaj: ''}, //Hideonbush#5606
  444.  
  445. {name: 'castle', passlog: 'dlp', verif: 'false', horaj: ''}, //castle#7884
  446. {name: 'Toro', passlog: 'hcf1922', verif: 'false', horaj: ''}, //tOrIvItO#6361
  447. {name: 'Ivan', passlog: 'Iv@n', verif: 'false', horaj: ''}, //Ivan#5421
  448. {name: 'alinde', passlog: 'alinde', verif: 'false', horaj: ''}, //alinde#0412
  449. {name: 'Sal', passlog: 'etxerik97', verif: 'false', horaj: ''}, //Sal#0010
  450. {name: 'Neo', passlog: '1040', verif: 'false', horaj: ''}, //Neo#4788
  451. {name: 'Engrola', passlog: '1<Fx#n', verif: 'false', horaj: ''}, //Engrola#0626
  452. {name: 'Esfera', passlog: 'nectar1na', verif: 'false', horaj: ''}, //Esfera#3566
  453. {name: 'CaballoDeRally', passlog: 'RallyHorse', verif: 'false', horaj: ''}, //CaballoDeRally#4555
  454. {name: 'Zafirex', passlog: 'Rex1998', verif: 'false', horaj: ''}, //Zafirex#5468
  455. {name: '[K]enny', passlog: '123456', verif: 'false', horaj: ''}, //Scout#3805
  456. {name: 'Saiya', passlog: 'saiya', verif: 'false', horaj: ''}, //Ayuub#3448
  457. {name: 'Netto', passlog: '0000', verif: 'false', horaj: ''}, //Netto#5676
  458. {name: 'Vceko', passlog: 'maestro', verif: 'false', horaj: ''}, //Vceko#9356
  459. {name: 'Speculum', passlog: 'Senku95', verif: 'false', horaj: ''}, //Senku#1350
  460. {name: 'Max Ping', passlog: 'p!ng', verif: 'false', horaj: ''}, //question#3357
  461. {name: 'RaS', passlog: 'es gay', verif: 'false', horaj: ''}, //RaS#0572
  462. {name: 'DontStopPlaying', passlog: 'Passworld', verif: 'false', horaj: ''}, //DontStopPlaying#7345
  463. {name: 'TheYisux', passlog: '16072003a', verif: 'false', horaj: ''}, //TheYisux#4380
  464. {name: 'EdgyTheKing', passlog: 'Eduardo50', verif: 'false', horaj: ''}, //EdgyTheKing#1295
  465. {name: '-Wiko', passlog: 'Wiko01', verif: 'false', horaj: ''}, //Wiko#1610
  466. {name: 'Knowledge_', passlog: '123', verif: 'false', horaj: ''}, //Meni#8183
  467. {name: 'wallace', passlog: '123', verif: 'false', horaj: ''}, //reset#4088
  468. {name: 'Horrid', passlog: 'joaquim99', verif: 'false', horaj: ''}, //joaquimgoes#0380
  469. {name: 'Rijo!', passlog: '12345', verif: 'false', horaj: ''}, //Rijo!#4162
  470.  
  471. {name: 'gambas', passlog: 'alabarda69', verif: 'false', horaj: ''}, //gambas#8024
  472. {name: 'TaKa', passlog: 'TaKa0301', verif: 'false', horaj: ''}, //TaKa#2875
  473. {name: 'Lilman_HK', passlog: 'DKAHaters', verif: 'false', horaj: ''}, //Lilman_HK#1185
  474. {name: "Joost SB", passlog: 'Joost2002', verif: 'false', horaj: ''},//Joost#5608
  475. {name: "nuff.", passlog: 'vitoriasc', verif: 'false', horaj: ''},//zlatan#6427
  476.  
  477. {name: "BuenaTula", passlog: 'kikojose0', verif: 'false', horaj: ''},//Sergiiotorree#9035
  478. {name: "SorryVoyToFumao", passlog: 'Fumadon123321', verif: 'false', horaj: ''},//Borís Godunov#1615
  479.  
  480. {name: "John Wayne", passlog: '8111995', verif: 'false', horaj: ''},//Miguel Trojan#2312
  481. {name: "Armando Broja", passlog: 'gzz1', verif: 'false', horaj: ''},//Soks#1980
  482. {name: "umf", passlog: '112233', verif: 'false', horaj: ''},//UMF#1885
  483. {name: "Purplepillato", passlog: 'Giovanni2001', verif: 'false', horaj: ''},//IlMagicoGianni#4143
  484. {name: "Niño nabo", passlog: 'xocolate321', verif: 'false', horaj: ''},//TREXTAR1703#8333
  485. {name: "Tabon", passlog: 'ok123', verif: 'false', horaj: ''},//burnett#3564
  486. {name: "????????????", passlog: 'LiverpoolFC', verif: 'false', horaj: ''},//????????????#8603 - phantom valor es el nick
  487. {name: "Matboys", passlog: 'Matboys30', verif: 'false', horaj: ''},//Matboys#9582
  488. {name: "Data", passlog: 'rossmann9', verif: 'false', horaj: ''},//Datacrash#1337
  489. {name: "South", passlog: 'North', verif: 'false', horaj: ''},//User#1809
  490. {name: "rZ-", passlog: 'rzillo88', verif: 'false', horaj: ''},//rZ-#2385
  491. {name: "Marzonesa", passlog: 'Rootroot1!', verif: 'false', horaj: ''},//inc0gnit#8398
  492.  
  493. {name: 'Drop', passlog: 'skill123', verif: 'false', horaj: ''}, //Izma#5355
  494. {name: 'Ícaro', passlog: '7778wwre', verif: 'false', horaj: ''}, //icxro23#2061
  495. {name: 'Traiииer', passlog: 'trainner10', verif: 'false', horaj: ''}, //bernas#9602
  496. {name: "BigMama", passlog: 'spursareshit', verif: 'false', horaj: ''},//Francisco Pacheco#2981
  497. {name: "Jairo", passlog: 'Gimemanda', verif: 'false', horaj: ''},//JCC_93#0993
  498. {name: "Conor", passlog: 'socmarki', verif: 'false', horaj: ''},//socmarki#7511
  499. {name: "Flyn", passlog: '94140', verif: 'false', horaj: ''},//Swagymexicanboy#8476
  500. {name: "miau", passlog: 'carlos1234', verif: 'false', horaj: ''},//miau#9195
  501. {name: "Br0ken", passlog: '123aa123', verif: 'false', horaj: ''},//der#5502
  502. {name: "tuzo", passlog: 'tuzo1234', verif: 'false', horaj: ''},//xico#0708
  503. {name: "Chuurrooo", passlog: 'Pablito123', verif: 'false', horaj: ''},//! ! Churro#9908
  504. {name: "James Harden", passlog: 'helado12', verif: 'false', horaj: ''},//James Harden#4893 - pnldo#3911 si reclama james harden se chapa la cuenta
  505. {name: 'TheRexp', passlog: 'rafa1010', verif: 'false', horaj: ''}, //TheRexp#5558
  506. {name: 'KoudeIceTea', passlog: 'Koudeicetea1', verif: 'false', horaj: ''}, //KoudeIceTea#8674
  507. {name: 'Kimi', passlog: 'Räikkönen', verif: 'false', horaj: ''}, //Blitza#4823
  508.  
  509. {name: 'PITORR', passlog: 'haxball', verif: 'false', horaj: ''}, //Jamer08#7613
  510. {name: 'Campos', passlog: 'Campos', verif: 'false', horaj: ''}, //Campos milfolhas#0125
  511. {name: '?ⱮìցմҽӀƐѵìӀϩ ӋͲ?', passlog: 'shit', verif: 'false', horaj: ''}, //MiguelEvill#3967
  512.  
  513.  
  514. {name: 'Kanjo', passlog: 'Haxball69', verif: 'false', horaj: ''}, //watteva#3194
  515. {name: 'Ricko', passlog: 'merda', verif: 'false', horaj: ''}, //Ferrao#0920
  516.  
  517. {name: 'Kevin De Bruyne', passlog: 'DeBruyne12', verif: 'false', horaj: ''}, //JakeLike#5087
  518. {name: 'ozema', passlog: '123456789', verif: 'false', horaj: ''}, //Jejlmorais#9831
  519. {name: "ELE A EL DOMINIO", passlog: 'trapeton', verif: 'false', horaj: ''},//victorstd1098#9077
  520. {name: 'playboy', passlog: 'retep2102', verif: 'false', horaj: ''}, //peter.#4593
  521. {name: 'selet', passlog: 'selet132', verif: 'false', horaj: ''}, //selet#0329
  522. {name: 'Burza', passlog: 'qwerty123', verif: 'false', horaj: ''}, //burza#3355
  523. {name: 'bEnji', passlog: 'haxball02', verif: 'false', horaj: ''}, //Rookie44#3148
  524. {name: 'RaZe', passlog: 'Rito', verif: 'false', horaj: ''}, //RaZe_Hammer#3950
  525. {name: 'Köe', passlog: 'koe55', verif: 'false', horaj: ''}, //Köe#3427
  526. {name: '88', passlog: '20020701', verif: 'false', horaj: ''}, //Frank Lucas#5631
  527. {name: 'El_Comandante', passlog: '123', verif: 'false', horaj: ''}, //rubenfontoura#2811
  528. {name: "Orellut", passlog: 'faletinha78', verif: 'false', horaj: ''},//chufa#2434
  529.  
  530. {name: "hirdicon", passlog: 'hirdicon7', verif: 'false', horaj: ''},//hirdicoN#0397
  531. {name: "ITS ME", passlog: 'ZABI FC', verif: 'false', horaj: ''},//ITS ME#6136
  532. {name: "Tobi Misaki", passlog: 'itstobi10', verif: 'false', horaj: ''},//Tobi Misaki#3961
  533. {name: "Providni", passlog: 'nikola2020', verif: 'false', horaj: ''},//Providni#1151
  534. {name: "Yanou™", passlog: 'yaya34', verif: 'false', horaj: ''},//Yanou#9743
  535.  
  536. {name: "JoãoFelix", passlog: 'PAULETA1', verif: 'false', horaj: ''},//Takuara#3138
  537.  
  538. //{name: "Cardozo", passlog: 'card', verif: 'false', horaj: ''},//Cardozo#9497
  539. {name: "Rabo_Goles", passlog: '280698', verif: 'false', horaj: ''},//Danielovix#4163
  540. {name: "a.", passlog: 'haxball', verif: 'false', horaj: ''},//Atorort#1343
  541. {name: "Cipote Goleador", passlog: '4112000', verif: 'false', horaj: ''},//Robiño#6410
  542.  
  543. {name: 'qazac333', passlog: 'qwerty', verif: 'false', horaj: ''}, //qazac333#9409
  544. {name: 'ronaldo', passlog: 'brazilianstriker9', verif: 'false', horaj: ''}, //wherenoeaglesfly#5213
  545. {name: 'Zamorano', passlog: 'zamorano', verif: 'false', horaj: ''}, //parce#5500
  546. {name: 'gotenssj', passlog: 'freelanoireX9', verif: 'false', horaj: ''}, //goat reus#0001
  547. {name: 'FabioPaim', passlog: 'scpscp959', verif: 'false', horaj: ''}, //RonaldoGoat#1435
  548.  
  549.  
  550. {name: 'lvk', passlog: 'lvkinhas', verif: 'false', horaj: ''}, //Lvkinhas#8160
  551. {name: 'carhartt', passlog: 'likeaboss2001', verif: 'false', horaj: ''}, //carhartt#3423
  552. {name: 'wawa', passlog: 'wawa123', verif: 'false', horaj: ''}, //wawa#0363
  553.  
  554.  
  555. {name: 'Brr', passlog: 'peugeot206', verif: 'false', horaj: ''}, //Brrr#2692
  556.  
  557.  
  558. {name: 'Pepinho', passlog: 'gueifaes06', verif: 'false', horaj: ''}, //Kraftin_PT#8498
  559.  
  560. {name: '456', passlog: '1234mnbv', verif: 'false', horaj: ''}, //Francisco cs go#5099
  561.  
  562. */
  563. //{name: 'TRusT', passlog: 'NqxYOMUp', verif: 'false', horaj: ''}, //TRusT#4769
  564. //{name: 'S', passlog: 'kMFPLMXD', verif: 'false', horaj: ''}, //S.#3357
  565. //{name: '⚔ DEADPOOL ⚔', passlog: 'AYH6l6UL', verif: 'false', horaj: ''}, //Xx_BySergi03_xX#0697
  566. //{name: 'El Quaresma', passlog: 'jTvZ01og', verif: 'false', horaj: ''}, //Tiægo.#4950
  567. //{name: 'Callejón 2.0', passlog: 'napoles', verif: 'false', horaj: ''}, //Callejón2.0#2580
  568. //{name: 'Juanma96MLG', passlog: 'e6bw3RvT', verif: 'false', horaj: ''}, //juanma96mlg#2649
  569. //{name: 'Casio™', passlog: 'DgnyONEN', verif: 'false', horaj: ''}, //badrip#6423
  570. //{name: 'Pepe Reina', passlog: 'pepereina123', verif: 'false', horaj: ''}, //Karlonchas#0159
  571. //{name: 'Danuve', passlog: 'CcHAVHXi', verif: 'false', horaj: ''}, //Danuve#0237
  572. //{name: 'A&A', passlog: 'bq0GfQt4', verif: 'false', horaj: ''}, //ALae BelKh#5003
  573. //{name: 'Diosntoeama', passlog: '39h1WpLF', verif: 'false', horaj: ''}, //Diosnoteama#4393
  574. //{name: 'Kingsley Coman', passlog: 'cCZPXcVo', verif: 'false', horaj: ''}, //isareus#9947
  575. //{name: 'Smiteless THC', passlog: '123', verif: 'false', horaj: ''}, //SMITELESS#2408
  576. //{name: 'Pombo', passlog: 'pombo123', verif: 'false', horaj: ''}, //Pomboz#3591
  577. //{name: 'kyO', passlog: 'b3nf1c4s4mpr4', verif: 'false', horaj: ''}, //kyO#0265
  578. //{name: 'Kolos', passlog: 'gemeocalhau', verif: 'false', horaj: ''}, //Domingues_Rafael_TES3#2444
  579. //{name: 'IL NOOB', passlog: 'octagon69', verif: 'false', horaj: ''}, //OcTa.MACEDONEANU#6859
  580. //{name: 'josete', passlog: '123456', verif: 'false', horaj: ''}, //massuk#5175
  581. //{name: 'Deth', passlog: 'deth95', verif: 'false', horaj: ''}, //Deth#9660
  582. //{name: 'Zeus', passlog: 'zeus', verif: 'false', horaj: ''}, //marques04#0798
  583. //{name: 'NicoM', passlog: '135246', verif: 'false', horaj: ''}, //NicoM#4073
  584. //{name: 'kYo', passlog: 'kyo123.', verif: 'false', horaj: ''}, //andreuvig#3849
  585. //{name: 'Ben Simmons', passlog: 'benfica', verif: 'false', horaj: ''}, //Ben Simmons#3504
  586. //{name: 'Ivete', passlog: '1vete', verif: 'false', horaj: ''}, //Ivete#5687
  587. //{name: 'The One', passlog: 'castro4ever', verif: 'false', horaj: ''}, //Moussa Marega#9026
  588. //{name: 'Danse Macabre', passlog: 'ebvkx7pzt', verif: 'false', horaj: ''}, //GustaVoPrG#5940
  589. //{name: '٧ξŋøм', passlog: 'Malaga123', verif: 'false', horaj: ''}, //Vęnøm#8193
  590. //{name: 'UFRAspieler', passlog: 'ufra8', verif: 'false', horaj: ''}, //UFRAspieler#7332
  591. //{name: 'Chicao', passlog: 'pass', verif: 'false', horaj: ''}, //[PT] ??????#0809 - Chicao
  592. //{name: 'Kope', passlog: 'vivaerbetis', verif: 'false', horaj: ''}, //Kope#6073
  593. //{name: 'Nop', passlog: 'registerisstupid', verif: 'false', horaj: ''}, //Nop#4234
  594. //{name: 'peter', passlog: 'Martim2102', verif: 'false', horaj: ''}, //Peter Fenogan#4593
  595. //{name: 'Fontaldinho', passlog: 'golaassoo', verif: 'false', horaj: ''}, //Fontaldinho#2603
  596. //{name: 'voce é burro', passlog: '123', verif: 'false', horaj: ''}, //voce é burro#3759
  597. //{name: '༺??????_???༻', passlog: 'raji88', verif: 'false', horaj: ''}, //Agustin Montoya#8978 - maria_13
  598. //{name: 'Dr Slump', passlog: 'soynoob', verif: 'false', horaj: ''}, //Dr Sump#4084
  599. //{name: 'Otto Von Bismarck', passlog: 'd23398', verif: 'false', horaj: ''}, //Otto Von Bismarck#0681
  600. //{name: 'Kovacic.', passlog: '135246', verif: 'false', horaj: ''}, //Kovacic.#7663
  601. //{name: 'SV', passlog: 'tusetetuso2002', verif: 'false', horaj: ''}, //SV#9731
  602. //{name: 'El Alcaparra', passlog: 'joseantonio', verif: 'false', horaj: ''}, //ElFaryVive#5652
  603. //{name: '1312', passlog: 'pub69', verif: 'false', horaj: ''}, //pizzasdefatia#0134
  604. //{name: 'Tαiρα', passlog: 'lolada10', verif: 'false', horaj: ''}, //Taipa#6624
  605. //{name: 'Broskow', passlog: 'woksorb', verif: 'false', horaj: ''}, //broskow#8731
  606. //{name: 'Balzy', passlog: 'FutsalBalzy', verif: 'false', horaj: ''}, //Balzy#3245
  607. //{name: 'long', passlog: '2623', verif: 'false', horaj: ''}, //LONG#0172
  608. //{name: 'Kamasutra', passlog: 'kama135', verif: 'false', horaj: ''}, //Kamasutra#8720
  609. //{name: 'ElBichoEnTanga', passlog: '1235', verif: 'false', horaj: ''}, //Legend#1717
  610. //{name: 'CneX', passlog: 'malkavian', verif: 'false', horaj: ''}, //CneX#2292
  611. //{name: 'Coco', passlog: 'reseña', verif: 'false', horaj: ''}, //Coco#8419
  612. //{name: 'Vinicius JR', passlog: 'Aguila12', verif: 'false', horaj: ''}, //Vinicius JR#1731
  613. //{name: 'sergiotw17', passlog: 'sergio01', verif: 'false', horaj: ''}, //sergiotw17#9316
  614. //{name: 'EL GRAN PEPE', passlog: 'pepas0', verif: 'false', horaj: ''}, //EL GRAN PEPE#2232
  615. //{name: 'Patas', passlog: 'PBL35', verif: 'false', horaj: ''}, //Daniels#2394
  616. //{name: '? Ahmed Msakni ?', passlog: 'ahmed070', verif: 'false', horaj: ''}, //ahmed msakni#6522
  617. //{name: 'Alfredo Duro', passlog: 'cdflamenco1', verif: 'false', horaj: ''}, //Sayr#0717
  618. //{name: 'Kento', passlog: 'alicosti05', verif: 'false', horaj: ''}, //Kento - Profu'#3914
  619. //{name: 'тidus', passlog: '1234', verif: 'false', horaj: ''}, //тidus#2164
  620. //{name: 'Sheckaa', passlog: 'Sheckaa', verif: 'false', horaj: ''}, //EkisEquis#0075
  621. //{name: 'batata com semilha', passlog: 'batatamadeira', verif: 'false', horaj: ''}, //batata com semilha#5583
  622. //{name: 'Junker AKA Naci muerto', passlog: 'lavacatordaestagorda', verif: 'false', horaj: ''}, //lechowski AKA Naci muerto#3993
  623. //{name: 'Liber', passlog: 'liberhaxball', verif: 'false', horaj: ''}, //Liber#5121
  624. //{name: 'espinete', passlog: '1234', verif: 'false', horaj: ''}, //espinete#8736
  625. //{name: 'D A N I', passlog: 'gostodecona23', verif: 'false', horaj: ''}, //D A N I#4252
  626. //{name: 'Neymar', passlog: 'Portugal20', verif: 'false', horaj: ''}, //Portugal20#0935
  627. //{name: 'Martínez', passlog: 'Migatapanzas1', verif: 'false', horaj: ''}, //Javi Martínez#5938
  628. //{name: 'artio', passlog: 'artio', verif: 'false', horaj: ''}, //roma#0546
  629. //{name: 'JOHN RAMBO', passlog: 'haxball99', verif: 'false', horaj: ''}, //Miguelispro#7280
  630. //{name: 'Dale mas gasolina', passlog: 'dale123', verif: 'false', horaj: ''}, //dale mas gasolina#8172
  631. //{name: 'Alexis', passlog: 'boipreto', verif: 'false', horaj: ''}, //Jesualdo#1030
  632. //{name: 'kepa', passlog: 'kepa1234', verif: 'false', horaj: ''}, //jorge#1476
  633. //{name: 'MaikelDNS', passlog: 'teclado', verif: 'false', horaj: ''}, //Maikel#7225
  634. //{name: 'SENENEFA', passlog: 'Atleticodemadrid', verif: 'false', horaj: ''}, //SENENEFA#2265
  635. //{name: 'ꊼ☊ⓅⒶⒸⒽⒺⒸⓄ☋ꊼ', passlog: 'joaocarlos9', verif: 'false', horaj: ''}, //Pacheco#9274
  636. //{name: 'prapolazza', passlog: '12345', verif: 'false', horaj: ''}, //τø+#3766
  637. //{name: 'Esquadrão Maritimista', passlog: 'maritimomadeira', verif: 'false', horaj: ''}, //Esquadrao Maritimista#4297
  638. //{name: 'Macaco', passlog: 'tuaprima', verif: 'false', horaj: ''}, //Macaco#9594
  639. //{name: 'Faustino_jugon', passlog: 'faustino123', verif: 'false', horaj: ''}, //rgl55#1083
  640. //{name: 'illovengaya', passlog: '123456', verif: 'false', horaj: ''}, //Ubeda#2272
  641. //{name: 'K3V', passlog: 'roto2', verif: 'false', horaj: ''}, //KvnNonStop#1547
  642. //
  643.  
  644. //{name: 'Emperador', passlog: 'Franko76', verif: 'false', horaj: ''}, //AlejandroP#2784
  645. //{name: 'FRANKO', passlog: 'españolito46', verif: 'false', horaj: ''}, //fusilon#3337
  646. //{name: 'RatonAyala', passlog: 'Koke2020', verif: 'false', horaj: ''}, //Boro#4580
  647. //{name: 'NKG TANDA', passlog: 'NKG16', verif: 'false', horaj: ''}, //NKG TANDA#2601
  648. //{name: 'Bruno Fernandes', passlog: 'miranda21', verif: 'false', horaj: ''}, //MIRANDA#0687
  649. //{name: 'avey tare.', passlog: 'animalcollective', verif: 'false', horaj: ''}, //【脂肪遅延犬】#9218
  650. //{name: 'GoKu', passlog: 'futhax28', verif: 'false', horaj: ''}, //KaLaJaN#7678
  651. //{name: 'Preadaz', passlog: '127332', verif: 'false', horaj: ''}, //IL PUTTANO#0431
  652. //{name: 'Valentim9', passlog: 'Valentim90', verif: 'false', horaj: ''}, //⎝⎝✧GͥOͣDͫ✧⎠⎠ Yukki#6196
  653. //{name: 'MejorQueTu', passlog: '1234', verif: 'false', horaj: ''}, //xabierortega99#2180
  654. //{name: 'Eucalipto', passlog: 'pab2010', verif: 'false', horaj: ''}, //White Power Ranger#2405
  655. //{name: 'javi martinez', passlog: '95123', verif: 'false', horaj: ''}, //javimartinez#5908
  656. //{name: 'yoh', passlog: 'jokinha123', verif: 'false', horaj: ''}, //Asuma#8724
  657. //{name: 'Kitars', passlog: 'jtmkenza34', verif: 'false', horaj: ''}, //karim#6342
  658. //{name: 'CarlosV4', passlog: '4444', verif: 'false', horaj: ''}, //CarlosV4#4444
  659. //{name: 'Infernò.Ó', passlog: 'soytuano', verif: 'false', horaj: ''}, //Infernò.Ó#5262
  660. //{name: 'yas108x', passlog: 'ya1w3w5w', verif: 'false', horaj: ''}, //yas1408x#1013
  661. //{name: 'prok4', passlog: 'sarokeño', verif: 'false', horaj: ''}, //prok4#4541
  662. //
  663. //{name: 'Fimosin', passlog: 'superpene23', verif: 'false', horaj: ''}, //Fimosin#9284
  664. //{name: 'MACHOKE ULTRA EVOLUTION', passlog: 'Puño furioso', verif: 'false', horaj: ''}, //King KiDeN#0430
  665. //{name: 'dil', passlog: 'ivona123', verif: 'false', horaj: ''}, //dil#2537
  666. //{name: 'AdriRF', passlog: 'caloret', verif: 'false', horaj: ''}, //Adri RF#8470
  667. //{name: 'Coutinho', passlog: 'coutinho07', verif: 'false', horaj: ''}, //Coutinho#4015
  668. //{name: 'uricupra', passlog: 'llorach', verif: 'false', horaj: ''}, //Uricupra#3539
  669. //{name: 'Haaland', passlog: 'dortmund', verif: 'false', horaj: ''}, //Rodri#1664
  670. //{name: 'Fernando Soriano', passlog: 'sorianisi23', verif: 'false', horaj: ''}, //Fernando Soriano#4818
  671. //{name: 'Jeyvex', passlog: 'manu2005', verif: 'false', horaj: ''}, //Jeyvex#3567
  672. //{name: 'obiguan10', passlog: 'bd5d737', verif: 'false', horaj: ''}, //??obiguan10??#6896
  673. //
  674. //{name: ';jarda;', passlog: 'jarda100', verif: 'false', horaj: ''}, //skttt#5102
  675. //{name: 'Carbon', passlog: 'futsalhaxball', verif: 'false', horaj: ''}, //Carbon#8729
  676. //{name: 'sebaskiller192', passlog: 'Juanntio192', verif: 'false', horaj: ''}, //sebaskiller192#8696
  677. //{name: 'josema95', passlog: 'blancas', verif: 'false', horaj: ''}, //José Manuel#2692
  678. //{name: 'SinDedos', passlog: 'putamadre1', verif: 'false', horaj: ''}, //Loretin#7549
  679. //{name: 'Leverage', passlog: 'haxball69', verif: 'false', horaj: ''}, //barisero#2437
  680. //{name: "cαяℓιтσѕ '-'", passlog: 'j2009hz', verif: 'false', horaj: ''}, //נσѕн - ҳ мαяѕ#1389
  681. //{name: 'Stanly', passlog: 'moverik', verif: 'false', horaj: ''}, //ImPlash#9700
  682. //{name: 'ab', passlog: 'educem96', verif: 'false', horaj: ''}, //EneeRGyTZ#8659
  683. //{name: 'SkullyBeast', passlog: 'skulls', verif: 'false', horaj: ''}, //J20Faria#2592
  684. //{name: 'MAHOMEEES', passlog: 'jeje123', verif: 'false', horaj: ''}, //IMQTP#4299
  685. //
  686. //{name: 'Gohan', passlog: 'kurwa', verif: 'false', horaj: ''}, //Rodriguoh#8295
  687. //{name: '?????????', passlog: 'johnathan', verif: 'false', horaj: ''},//J Richards#5144 - jonathan
  688. //{name: 'Figo', passlog: 'luisfigo', verif: 'false', horaj: ''},//figomoralhes7#5658
  689. //{name: 'KR', passlog: 'pedro2000', verif: 'false', horaj: ''},//Moreira8#4408
  690. //{name: '10aa', passlog: '123321', verif: 'false', horaj: ''},//10aa#1783
  691. //{name: 'skinner', passlog: 'skinner1', verif: 'false', horaj: ''},//skinner#2439
  692. //{name: 'Lewandowski', passlog: 'fince01fince', verif: 'false', horaj: ''},//Wyx#3184
  693. //{name: 'Hulk', passlog: 'xetai', verif: 'false', horaj: ''},//Hulk#8404
  694. //{name: 'Saske', passlog: 'euuB3YBYFNW9ii9dNh', verif: 'false', horaj: ''},//Salva#8312
  695. //{name: 'carlos saramago', passlog: 'primafodida', verif: 'false', horaj: ''},//milho frito#8517
  696. //{name: 'vts', passlog: 'vtsfutsal1029', verif: 'false', horaj: ''},//hipol5000#3636
  697. //{name: 'Samaykom', passlog: '6654321', verif: 'false', horaj: ''},//MOHAMED#9472
  698. //{name: 'тнε pяεттყ Ъσყ', passlog: 'Monteiro21', verif: 'false', horaj: ''},//the pretty boy#8568
  699. //{name: 'SlaiN', passlog: '123ola123', verif: 'false', horaj: ''},//SlaiN#2125
  700. //{name: 'XxalconYTxX', passlog: 'Chocolate.com', verif: 'false', horaj: ''}, //0XxNinjaProxX#6234
  701. //{name: 'POP', passlog: 'POPELMEJOR', verif: 'false', horaj: ''}, //aim10#9667 - multicuenta con steal
  702. //{name: 'Hércules CF', passlog: '1234', verif: 'false', horaj: ''}, //Hércules CF#0768
  703. //{name: 'T0MM¥ €A$H', passlog: '1spaceTommy1', verif: 'false', horaj: ''}, //JaviElHumilde#6623
  704. //{name: 'Airbus', passlog: 'contrahaxball', verif: 'false', horaj: ''}, //Miguelillo8#6962
  705. //{name: 'zipotebacter', passlog: 'dadabacter', verif: 'false', horaj: ''}, //natalios10#0394
  706. //{name: 'Coxinho', passlog: 'achateriasi', verif: 'false', horaj: ''}, //Coxinho#1971
  707. //{name: 'TonyFerrari', passlog: 'Tony3890', verif: 'false', horaj: ''}, //TonyFerrari#5608
  708. //{name: 'Deus', passlog: 'literalhell', verif: 'false', horaj: ''}, //Deus#5709
  709. //{name: 'soaqed', passlog: 'haxcrack123', verif: 'false', horaj: ''}, //SOAQED#8041
  710. //
  711. //{name: 'n00b', passlog: '0000', verif: 'false', horaj: ''}, //It's a me#9487
  712. //{name: 'chun', passlog: 'winners05', verif: 'false', horaj: ''}, //Foxy RX#2413
  713. //{name: 'Divanei', passlog: 'PTM1914', verif: 'false', horaj: ''}, //DivaPSC#4107
  714. //{name: "Mike'O", passlog: 'Miguel.123', verif: 'false', horaj: ''}, //Mike'O#1471
  715. //{name: "Anime", passlog: 'AnimePassword', verif: 'false', horaj: ''}, //MisterJoone#2690
  716. //{name: 'pau', passlog: 'krybbomposlet2', verif: 'false', horaj: ''}, //Vicente#3536
  717. //{name: 'EduardoGG', passlog: 'Unodostrescuatro', verif: 'false', horaj: ''}, //EduardoGG#0612
  718.  
  719. //{name: 'S†эяℓเиφ', passlog: '1234', verif: 'false', horaj: ''}, //davidnisa10#6099
  720. //{name: 'srv', passlog: 'olaola', verif: 'false', horaj: ''}, //srvs2#5293
  721. //{name: 'xRaisy', passlog: 'I dont have', verif: 'false', horaj: ''}, //xRaisy†-†#1552
  722. //{name: 'fabioyt', passlog: 'fabio2908', verif: 'false', horaj: ''}, //YoSoyfabio_YT#8172
  723. //{name: 'HERO', passlog: 'herofutsal', verif: 'false', horaj: ''}, //HERO#1062
  724. //{name: 'DELLAFUENTE', passlog: 'qwerty', verif: 'false', horaj: ''}, //essence#0127
  725. //{name: 'fesa', passlog: 'keks228', verif: 'false', horaj: ''}, //rex#0428
  726. //{name: 'Only Bite', passlog: '1235', verif: 'false', horaj: ''}, //Casadex#2593
  727. //{name: '8 Colu', passlog: 'slbenfica', verif: 'false', horaj: ''}, //8 Coluna#4732
  728. //{name: 'XDRAIMON', passlog: '20100', verif: 'false', horaj: ''}, //RAIMON#8545
  729. //{name: 'Goten', passlog: 'chekaskid', verif: 'false', horaj: ''}, //Goten#9231
  730. //{name: 'Jxel', passlog: 'jxel123123', verif: 'false', horaj: ''}, //Jxel#5545
  731. //{name: 'The Cs1', passlog: 'badjoraz', verif: 'false', horaj: ''}, //N2E CEO | Carlos Sousa#2210
  732. //{name: 'More', passlog: 'morenoiniesta', verif: 'false', horaj: ''}, //JMore5#8337
  733. //{name: 'M̲e̲̲ͥs̲s̲̲ͣi̲̲ͫo', passlog: '135246', verif: 'false', horaj: ''}, //Noob.#4389
  734. //{name: 'Falcão', passlog: 'doze', verif: 'false', horaj: ''}, //ý9#8626
  735. //{name: '??????', passlog: '0123', verif: 'false', horaj: ''}, //Tomer#7222
  736. //{name: 'white pogba', passlog: 'capanga125', verif: 'false', horaj: ''}, //BroweeE#3410
  737. //{name: 'Creator', passlog: '101010', verif: 'false', horaj: ''}, //Creator#7050
  738. //{name: 'ak-47', passlog: 'kirapolla', verif: 'false', horaj: ''}, //ak-47#7965
  739. //
  740. //{name: 'X2X', passlog: 'samihmbarki', verif: 'false', horaj: ''}, //Penta#2184
  741. //{name: 'senhor mangalhao', passlog: 'mangas', verif: 'false', horaj: ''}, //senhor mangalhao#4348
  742. //{name: 'Alex Telles', passlog: 'miranda21', verif: 'false', horaj: ''}, //Miranda#4864
  743. //{name: 'gbherino', passlog: 'klosPos2g1', verif: 'false', horaj: ''}, //LARRYBO$$#7322
  744. //{name: 'cluzen', passlog: 'ola123', verif: 'false', horaj: ''}, //cłuzεห4кк#0213
  745. //{name: "Break'er", passlog: '4156c', verif: 'false', horaj: ''}, //Qatalan Jojuk#2131
  746. //{name: "soph", passlog: 'soph5', verif: 'false', horaj: ''}, //Leelie♥#8355
  747. //{name: "5iD", passlog: 'sid96', verif: 'false', horaj: ''}, //5iD#9915
  748. //{name: "HULK", passlog: 'Nemquerosaber1234', verif: 'false', horaj: ''}, //hug0#5230
  749. //{name: "martim", passlog: 'martim23', verif: 'false', horaj: ''}, //martim9999#2995
  750. //{name: "pipiestrada", passlog: 'ceuve4', verif: 'false', horaj: ''}, //ceuve4#7689
  751. //{name: "ttpp", passlog: 'kola123', verif: 'false', horaj: ''}, //velezsarsfield3#8808
  752. //{name: "Haddad", passlog: 'wydad', verif: 'false', horaj: ''}, //Haddad#4025
  753. //{name: "TrovoN", passlog: 'pestinhaskate28104', verif: 'false', horaj: ''}, //†ʀѳvѳɴ#6634
  754. //{name: "Stone Temple Pilot", passlog: 'Bracara', verif: 'false', horaj: ''}, //GMS99#4934
  755. //{name: 'Gunnarsson', passlog: 'playamero2413', verif: 'false', horaj: ''}, //Gunnarsson#2343
  756. //{name: 'VaXk', passlog: 'HaxPT', verif: 'false', horaj: ''}, //Vasco09#8903
  757. //{name: 'Mambo', passlog: 'dalemambo', verif: 'false', horaj: ''}, //SanchezTraidor#9182
  758. //
  759. //{name: 'alpaca', passlog: '5591', verif: 'false', horaj: ''}, //ramonaso#7622
  760. //{name: 'fsdpl', passlog: 'luis3894', verif: 'false', horaj: ''}, //Luis8805#8702
  761. //
  762. //{name: 'MadreDeus', passlog: 'dama22', verif: 'false', horaj: ''}, //Tgv 2#2028
  763. //{name: 'Sociocordoba', passlog: '12345', verif: 'false', horaj: ''}, //Piova#9100
  764. //{name: 'Oliver', passlog: 'messi6', verif: 'false', horaj: ''}, //O Preto#3029
  765. //{name: 'pepega', passlog: 'pepega1906', verif: 'false', horaj: ''}, //tevez#8899
  766. //{name: 'Adams', passlog: 'none', verif: 'false', horaj: ''}, //Adams#6989
  767. //{name: 'Mestre', passlog: 'pedroso31', verif: 'false', horaj: ''}, //Marcus Edwards#8881
  768. //{name: 'Pollito Goleador', passlog: 'haxball27', verif: 'false', horaj: ''}, //Pollito Goleador#9892
  769. //{name: 'HVoLT', passlog: 'hZOmqWrq4Es2', verif: 'false', horaj: ''}, //HVoLT#3469
  770. //{name: 'Yair', passlog: 'יאיר13243546', verif: 'false', horaj: ''}, //Yair#8819
  771. //{name: 'non_DrK', passlog: 'haxballsucks', verif: 'false', horaj: ''}, //João Duarte#3630
  772. //{name: 'Alfred Hard', passlog: 'haxball10', verif: 'false', horaj: ''}, //Alfred Hard#1077
  773. //{name: 'Cuᴙᴙy', passlog: 'anarchy', verif: 'false', horaj: ''}, //carlosdpteixeira#1866
  774. //{name: 'Barniz', passlog: 'Robert', verif: 'false', horaj: ''}, //Barniz#6168
  775. //{name: 'Atlas', passlog: '19091999', verif: 'false', horaj: ''}, //Atlas#4885
  776. //{name: "bk", passlog: 'adamixno', verif: 'false', horaj: ''}, //Kubait#6401
  777. //{name: "Lunacy", passlog: 'bora4', verif: 'false', horaj: ''}, //Bora#1696
  778. //{name: 'FABBY', passlog: '199221', verif: 'false', horaj: ''}, //FABBY#5205
  779. //{name: 'Roco', passlog: '12345', verif: 'false', horaj: ''}, //Roco#3726
  780. //{name: '.bM', passlog: 'bmw', verif: 'false', horaj: ''}, //3r1c#9446
  781. //{name: 'kolez', passlog: 'Benfica88', verif: 'false', horaj: ''}, //kolez#7722
  782. //{name: 'fid', passlog: 'rusio80lox', verif: 'false', horaj: ''}, //towers#1022
  783. //{name: 'jaestascandido', passlog: 'qwertyuiop', verif: 'false', horaj: ''}, //lol#7751
  784.  
  785.  
  786. /*-----------PONER AQUI LOS NUEVOS DEL HDP DE dj666*/
  787.  
  788. {name: 'Gime', passlog: 'palomo1997s', verif: 'false', horaj: ''},
  789. {name: 'BOT', passlog: 'palomo1997s', verif: 'false', horaj: ''},
  790. {name: 'jocko', passlog: 'diamante10', verif: 'false', horaj: ''}, //jocko#2458
  791. {name: 'rk', passlog: 'rkrygard', verif: 'false', horaj: ''}, //Krygård#3048
  792. {name: 'Chokepic', passlog: 'chokesbydiegop', verif: 'false', horaj: ''}, //DiegoP#0786
  793. {name: 'Fuze', passlog: '1122', verif: 'false', horaj: ''}, //Furious#9138
  794. {name: 'Mandril', passlog: '%%%', verif: 'false', horaj: ''}, //Mandril#9592
  795. {name: 'Andoni Goikoetxea', passlog: 'valhalla5', verif: 'false', horaj: ''}, //Souber#9282
  796. {name: 'YELLOW', passlog: 'yellowbenzen', verif: 'false', horaj: ''}, //YELLOW#2811
  797. {name: 'F4lleЯ', passlog: '123', verif: 'false', horaj: ''}, //DaniFerreira#5391
  798. {name: "Tibbers RW", passlog: '!111', verif: 'false', horaj: ''}, //Tibbers RW#0460
  799. {name: 'Ry', passlog: 'bolotas014723', verif: 'false', horaj: ''}, //Ry#1648
  800. {name: 'w', passlog: 'GX8qljyodt', verif: 'false', horaj: ''}, //w.#6538
  801. {name: 'Amelie Lens', passlog: 'naruto1', verif: 'false', horaj: ''}, //rfzNN#9511
  802. {name: 'WhiskeyCola', passlog: '310798', verif: 'false', horaj: ''}, //WhiskeyCola#0421
  803. {name: 'PhanteR™', passlog: 'Pantera9876', verif: 'false', horaj: ''}, //PhanteR#2413 - Andre005#0184 son Hermanos pero tener cuidado
  804. {name: 'DON CHUS FERNANDEZ', passlog: 'gimetk', verif: 'false', horaj: ''}, //KpasaPoio#4388
  805. {name: 'Alex', passlog: 'ice', verif: 'false', horaj: ''}, //Alejandro.#0752
  806. {name: 'Winky', passlog: 'winkyhaxball', verif: 'false', horaj: ''}, //Alejandro.#0752
  807. {name: 'KnOcK OuT', passlog: 'knock123', verif: 'false', horaj: ''}, //Andre005#0184 - PhanteR#2413 son hermanos pero tener cuidado
  808. {name: 'aitor', passlog: 'naruto', verif: 'false', horaj: ''}, //aitor#7166
  809. {name: 'sss', passlog: 'putapassfiltrada', verif: 'false', horaj: ''}, //Deejay || NightZ.#3812
  810. {name: 'PiPe', passlog: 'guapo123', verif: 'false', horaj: ''}, //BaGo#6108
  811. {name: 'JOHNX', passlog: 'UVoPURa5sH', verif: 'false', horaj: ''}, //JOHNX#5822
  812. {name: "Evanilson", passlog: '1dos3', verif: 'false', horaj: ''},//Evanilson#8282
  813. {name: 'Beast!', passlog: 'ZcUpsqg07C', verif: 'false', horaj: ''}, //[PT] SkyBoyI8#0170
  814. {name: 'Josan', passlog: 'HrnS1hhgLx', verif: 'false', horaj: ''}, //Deku#9061
  815. {name: 'crujidor', passlog: 'ry7V1JBRuH', verif: 'false', horaj: ''}, //sweetblood6#9970
  816. //{name: 'dj666', passlog: 'SL25SlPhVQ', verif: 'false', horaj: ''}, //dj666#7237 - multicuentas y jodiendo mis pubs
  817. {name: 'Redondo', passlog: 'Redondo1', verif: 'false', horaj: ''}, //Redondo#6035
  818. {name: 'Rufian', passlog: 'jeaB2Lg1kL', verif: 'false', horaj: ''}, //Rufian#9672
  819. {name: 'Sodio', passlog: 'nA855P3fyF', verif: 'false', horaj: ''}, //Sodi0#1695
  820. {name: 'Nahy', passlog: 'canarygirl8', verif: 'false', horaj: ''}, //Nahy#6825
  821. {name: 'Mahiru Koizumi', passlog: 'oQ8CrjxxMV', verif: 'false', horaj: ''}, //maya#5792
  822. {name: 'IL PUTTANO', passlog: 'x3U1GxkOmO', verif: 'false', horaj: ''}, //IL PUTTANO#1611
  823. {name: 'Neuer', passlog: '7f38q6oUJU', verif: 'false', horaj: ''}, //DkFranchy#2900
  824. {name: 'Pipi Lacalzalarga', passlog: 'a4AM3vTwss', verif: 'false', horaj: ''}, //Pipi Lacalzalarga#4976
  825. {name: '> BW <', passlog: 'ePVdfajdEj', verif: 'false', horaj: ''}, //> BW <#7594
  826. {name: 'Pero que...?', passlog: '8hD0MQ7q51', verif: 'false', horaj: ''}, //Pablo#6829
  827. {name: 'varo', passlog: 'nRKDCMGd78', verif: 'false', horaj: ''}, //so.blue#4379
  828. {name: 'Zawisza', passlog: 'JRQODVUEo2', verif: 'false', horaj: ''}, //Dziekan#1898
  829. {name: 'Klose', passlog: '8JXhfmbImN', verif: 'false', horaj: ''}, //vargas2sfc#8502
  830. {name: 'DerrickJonesJr.', passlog: 'FMd7wk9OhG', verif: 'false', horaj: ''}, //DerrickJonesJr.#6860
  831. {name: 'El Chapo', passlog: 'MnmgI5eO6c', verif: 'false', horaj: ''}, //El Chapo#0865
  832. {name: 'PocaPlaya', passlog: 'XrbKb1dpjV', verif: 'false', horaj: ''}, //wT.crom1#2434
  833. {name: 'Braisinho', passlog: 'celta', verif: 'false', horaj: ''}, //Braisinho#2666
  834. {name: 'erRs', passlog: 'GfZrdKs8l9', verif: 'false', horaj: ''}, //erRs#6706
  835. {name: 'Arctic', passlog: 'um7kuqiS9x', verif: 'false', horaj: ''}, //Arctic#8299
  836. {name: 'excelinho', passlog: 'hTNhxVJeBW', verif: 'false', horaj: ''}, //Ryo#1862
  837. {name: 'De hazR', passlog: 'mestre hazr', verif: 'false', horaj: ''}, //Hazard#9572 - Traça#2829 son hermanos pero cuidado dudo
  838. {name: 'Patata', passlog: 'G6H5CCMqFc', verif: 'false', horaj: ''}, //Patata#6447
  839. {name: 'David Guetta', passlog: 'TscTf7FOnT', verif: 'false', horaj: ''}, //Aceitunas_sin_hueso#5873
  840. {name: 'Alibaba', passlog: 'QWangXurgT', verif: 'false', horaj: ''}, //Alibaba#7448
  841. {name: 'Ryo', passlog: 'urq6CeOhmZ', verif: 'false', horaj: ''}, //Ryo#9025
  842. {name: 'CSM', passlog: 'hOUQs5JY6I', verif: 'false', horaj: ''}, //CSM#2311
  843. {name: 'Frigopie', passlog: 'srYnl70lZh', verif: 'false', horaj: ''}, //kaskaroto#0937
  844. {name: 'bruno8893', passlog: 'SMvlDvdg3i', verif: 'false', horaj: ''}, //bruno8893#1517
  845. {name: 'Nova', passlog: 'nova123', verif: 'false', horaj: ''}, //Nova Games#8487
  846. {name: 'Legends SC', passlog: 'xTB0JEFn0k', verif: 'false', horaj: ''}, //Legends SC#2554
  847. {name: 'FWN', passlog: 'eresunchorizo', verif: 'false', horaj: ''}, //FWN-#9680
  848. {name: 'Munir', passlog: 'JXXv8Z2ynj', verif: 'false', horaj: ''}, //Munir#2678
  849. {name: 'FD', passlog: 'LqeNe7VThN', verif: 'false', horaj: ''}, //fondoderecha#9342
  850. {name: 'DauS', passlog: 'T8ovnU1KK5', verif: 'false', horaj: ''}, //DauS#5103 y Cigüeñón#2635 son hermanos
  851. {name: 'LIDER', passlog: 'NAjpmJktxR', verif: 'false', horaj: ''}, //LIDER#4443
  852. {name: 'SaN6uiNaRiO', passlog: 'hNaAsawmfT', verif: 'false', horaj: ''}, //SaN6uiNaRiO#8528
  853. {name: 'Sweety', passlog: 'hdpx2', verif: 'false', horaj: ''}, //S3RS3#2536
  854. {name: 'naho', passlog: 'ZtOhoE7wS0', verif: 'false', horaj: ''}, //Naho#9230
  855. {name: 'GuN1', passlog: 'haxball', verif: 'false', horaj: ''}, //GuN1#5271
  856. {name: 'Vkn', passlog: 'qAMpD0cWhs', verif: 'false', horaj: ''}, //VkN#0894
  857. {name: 'OscarAlho', passlog: 'R0ZKcZ7crK', verif: 'false', horaj: ''}, //Almeyda Shemtov#5432
  858. {name: 'La Coma', passlog: 'Q2tlocbdtX', verif: 'false', horaj: ''}, //MCsRe0#0090
  859. {name: 'ElXera', passlog: 'ALLeZKwYfZ', verif: 'false', horaj: ''}, //ElXera#7735
  860. {name: '(̅_̅_̅(̅_̅KATAN_̅_̅_̅̅()', passlog: 'NwPBv1olcO', verif: 'false', horaj: ''}, //katan#7032
  861. {name: 'Adoro Batata Frita', passlog: 'c3wixsSMAm', verif: 'false', horaj: ''}, //Luis Caralho#2266
  862. {name: 'DreD', passlog: 'FrrMCaxtnS', verif: 'false', horaj: ''}, //Sousa#4198
  863. {name: 'Storm', passlog: '47Zb5bE28r', verif: 'false', horaj: ''}, //[A]MicroSD#5718
  864. {name: 'Henry', passlog: 'tacobell', verif: 'false', horaj: ''}, //Henrysito#9610
  865. {name: 'Carla', passlog: 'vySO3hGpcW', verif: 'false', horaj: ''}, //carla95#3555
  866. {name: "IL Crixus'", passlog: 'j86bMI6bq3', verif: 'false', horaj: ''}, //Crixus'#7896
  867. {name: 'porttt', passlog: 'haxis', verif: 'false', horaj: ''}, //porttt#3659
  868. {name: 'D4bZz', passlog: 'servemp1', verif: 'false', horaj: ''}, //D4bbZz#4984
  869. {name: 'Mixu', passlog: 'xDFfJTdW4U', verif: 'false', horaj: ''}, //Mixu#9116
  870. {name: 'dsmextreme', passlog: 'k8QuOt2wQV', verif: 'false', horaj: ''}, //dsmextreme#7571
  871. {name: 'rodr1', passlog: '9lDEZhP9Ux', verif: 'false', horaj: ''}, //Rodri Cardozo#5213
  872. {name: 'Paharo', passlog: 'rGHeQDLDoq', verif: 'false', horaj: ''}, //Paharos#7240
  873. {name: 'jolupetas', passlog: 'jolupetas98', verif: 'false', horaj: ''}, //joseluis98pg#3316
  874. {name: 'reb', passlog: '6x1iYO3ht9', verif: 'false', horaj: ''}, //reb#4174
  875. {name: 'excelente persona', passlog: 'Unx6Nu7DFT', verif: 'false', horaj: ''}, //excelente persona#8216
  876. {name: 'Pams!*', passlog: '7WIurADdF7', verif: 'false', horaj: ''}, //Viti#3465
  877. {name: 'Dust', passlog: 'XV90R0w7ai', verif: 'false', horaj: ''}, //Dust#9515
  878. {name: 'Duck.', passlog: 'K1sH02nKON', verif: 'false', horaj: ''}, //Duck.#3855
  879. {name: 'TOXULANDRON', passlog: 'Ni5H6rJj3D', verif: 'false', horaj: ''}, //CAMARON DE LA ISLA#7403
  880. {name: 'sobota', passlog: '1naExI6ATS', verif: 'false', horaj: ''}, //Vitor#5160
  881. {name: 'h0rus', passlog: 'Bvh0IpZE84', verif: 'false', horaj: ''}, //Nach0man#0466
  882. {name: 'S4nTii', passlog: 'kCowofqLAa', verif: 'false', horaj: ''}, //S4nTii#7249
  883. {name: 'Luis', passlog: 'ZxOd8ZdUpe', verif: 'false', horaj: ''}, //Luifi#9218
  884. {name: 'Kopa', passlog: 'eTUv5UDk3g', verif: 'false', horaj: ''}, //Gunter#4141
  885. {name: 'luck', passlog: '8lfuahvK6M', verif: 'false', horaj: ''}, //luck#0042
  886. {name: 'peido', passlog: 'RceTZyLnV7', verif: 'false', horaj: ''}, //Migumigu#9778
  887. {name: 'Mirkaldo', passlog: 'LdfnP4SFkW', verif: 'false', horaj: ''}, //Mirko#5401
  888. {name: 'ag', passlog: 'dl105w3U8x', verif: 'false', horaj: ''}, //ag#9413
  889. {name: 'Серкан', passlog: 'Oy0VmnPloC', verif: 'false', horaj: ''},//Sarkano#1910
  890. {name: 'liwyy', passlog: 'sbpipPVPnw', verif: 'false', horaj: ''},//-Renatooo.#7100
  891. {name: "'Adriano Correia'", passlog: 'shN6OlTbCQ', verif: 'false', horaj: ''},//Adriano Correia#7610
  892. {name: 'ALaCara', passlog: 'VoswPGuf8i', verif: 'false', horaj: ''}, //ALaCara#2826
  893. {name: 'so easy game for me', passlog: '6iDpSuLtZF', verif: 'false', horaj: ''}, //ludopata#6908
  894. {name: 'raul7', passlog: 'iJwPkSJpAW', verif: 'false', horaj: ''}, //[ES] raul7#2838
  895. {name: 'Maggio', passlog: 'aHp9T2HSp4', verif: 'false', horaj: ''}, //jonune blindado por deus#9551
  896. {name: 'PlayeR.', passlog: 'player2006', verif: 'false', horaj: ''}, //PatataUsada#0991
  897. {name: 'Venkinta', passlog: 'dO80cL2UOw', verif: 'false', horaj: ''}, //Tacenda#8279
  898. {name: 'Alcacer', passlog: 'blIap7VhUq', verif: 'false', horaj: ''}, //Jajalo#4031
  899. {name: 'ClouD', passlog: 'CMeBhJCKde', verif: 'false', horaj: ''}, //SrMiras#0706
  900. {name: 'ciego costa', passlog: 'swyU8ZCBHN', verif: 'false', horaj: ''}, //miguel18#8578
  901. {name: 'Listher', passlog: '28qEtf6qoD', verif: 'false', horaj: ''}, //Listher#1874
  902. {name: 'Iscσ jaa', passlog: 'KacEpUpuGK', verif: 'false', horaj: ''}, //Iscσ jaa#8362
  903. {name: 'leo', passlog: 'FQe82jwjDW', verif: 'false', horaj: ''}, //LEO#9939
  904. {name: 'AdriXx', passlog: 'SvcymmQFGT', verif: 'false', horaj: ''}, //AdriXx#0030
  905. {name: 'vadi', passlog: 'YKMDw3g9m6', verif: 'false', horaj: ''}, //mykr#5253
  906. {name: 'Schimmelzahn', passlog: 'GF8unquRWu', verif: 'false', horaj: ''}, //Schimmelzahn#0458
  907. {name: 'Titzz', passlog: 'Jn9aExopvq', verif: 'false', horaj: ''}, //titzz#7378
  908. {name: 'Mantequilla', passlog: 'TKWNXv2lIM', verif: 'false', horaj: ''}, //Rastaman Vibrations#3318
  909. {name: 'COLBY', passlog: 'SVf1gCp7qq', verif: 'false', horaj: ''}, //LastNightInTown#2643
  910. {name: 'Moldova', passlog: 'RBw1WR5s7N', verif: 'false', horaj: ''}, //Moldova#3329
  911. {name: 'Traça', passlog: '2IIvwTuioL', verif: 'false', horaj: ''}, //Traça#2829 - Hazard#9572 son hermanos pero cuidado dudo
  912. {name: 'benis', passlog: '6dERQLV2Sc', verif: 'false', horaj: ''}, //hamzaa#2308
  913. {name: 'olee', passlog: 'slwonM3FPI', verif: 'false', horaj: ''}, //ola#1595
  914. {name: "monteiro", passlog: 'VlulbmMQhS', verif: 'false', horaj: ''}, //montskar#9436
  915. {name: "Maux", passlog: 'L1sZ6p4w8W', verif: 'false', horaj: ''}, //Maux#9815
  916. {name: 'Not the best', passlog: 'bamboulales', verif: 'false', horaj: ''}, //Popape#8746
  917. {name: "'lεωαиdσωѕкι.", passlog: 'yQuGVyJjO7', verif: 'false', horaj: ''}, //Lewandowski.#9740
  918. {name: 'Common', passlog: 'hxZBOJpmUJ', verif: 'false', horaj: ''}, //imMike#8888
  919. {name: 'Fred88', passlog: 'jlOFXIQJX0', verif: 'false', horaj: ''}, //fred26pt#4245
  920. {name: "X9", passlog: 'IOBMn4xEMc', verif: 'false', horaj: ''}, //X9#3231
  921. {name: 'TIAGO', passlog: 'cCNnNYfCwX', verif: 'false', horaj: ''}, //TIAGO#7715
  922. {name: 'KmbL Elegancè', passlog: 'WXL4KfSLOQ', verif: 'false', horaj: ''}, //Levy Negrescu#9070
  923. {name: 'S1mPle=lol', passlog: 'KyI9fJ7qUh', verif: 'false', horaj: ''}, //S1mPle=lol#2721
  924. {name: 'AAAAAAAAAA', passlog: 'rcfKHECg7m', verif: 'false', horaj: ''}, //E-ratic#7786
  925. {name: 'mattos', passlog: '8wJ2StOokw', verif: 'false', horaj: ''}, //Mattos#8849
  926. {name: 'M̾a̾p̾e̾', passlog: 'combo75', verif: 'false', horaj: ''}, //luismi_mape#1839
  927. {name: 'ruibraga96', passlog: 'scbraga03', verif: 'false', horaj: ''}, //ruibraga96#4859
  928. {name: 'Chazeiro', passlog: 'traore13', verif: 'false', horaj: ''}, //Chazeiro#2755
  929. {name: 'PIXEL ANAL', passlog: 'pedosnegros', verif: 'false', horaj: ''}, //luisis#5438
  930. {name: 'sergi', passlog: '122', verif: 'false', horaj: ''}, //sergi#4700
  931. {name: 'Safer', passlog: 'haxb4ll123', verif: 'false', horaj: ''}, //Samu#7465
  932. {name: 'RBB', passlog: 'pedro2511', verif: 'false', horaj: ''}, //Pedrocalles#4161
  933. {name: 'SeaG', passlog: '123456', verif: 'false', horaj: ''}, //SeaG_GaS#3039
  934. {name: 'Vitoria Setubal', passlog: 'setubal1710', verif: 'false', horaj: ''}, //Lourenco#9730
  935. {name: 'Supa', passlog: 'SUPA', verif: 'false', horaj: ''}, //ArchosAndreas#5640
  936. {name: 'c.Ronaldo #7', passlog: 'fiambre7', verif: 'false', horaj: ''}, //c.Ronaldo7#0907
  937. {name: 'danielika', passlog: 'patatafrita', verif: 'false', horaj: ''}, //damugo98#4546
  938. {name: 'edu', passlog: 'coimbra', verif: 'false', horaj: ''}, //edu#4433
  939. {name: 'gg', passlog: 'GGt', verif: 'false', horaj: ''}, //x_xIsabellax_x#3248 - CorruptedUnicorn#2160 - hermanos
  940. {name: 'Alexinhooooo', passlog: '7a4ab21', verif: 'false', horaj: ''}, //Alexinhooooo#6538
  941. {name: "Element", passlog: 'goraetajaja', verif: 'false', horaj: ''},//Element#6684
  942. {name: 'Cefas', passlog: 'Test123', verif: 'false', horaj: ''}, //Cefas#8762
  943. {name: 'Kleix', passlog: 'CherokyC3', verif: 'false', horaj: ''}, //Kleix#6669
  944. {name: 'Cigüeñón', passlog: 'nonina2', verif: 'false', horaj: ''}, //Cigüeñón#2635 - DauS#5103 : Son hermanos
  945. {name: '✰HⱥҜᎥmZᎥyech✰', passlog: 'Samuel97', verif: 'false', horaj: ''}, //Rei de Guisande#2697
  946. {name: 'Daemon', passlog: 'dae13', verif: 'false', horaj: ''}, //CorruptedUnicorn#2160 - x_xIsabellax_x#3248 - hermanos
  947. {name: 'Frank Ocean', passlog: 'g', verif: 'false', horaj: ''}, //Guilhermee#4378
  948. {name: 'Win', passlog: '12', verif: 'false', horaj: ''}, //Blitz#8139
  949. {name: 'Shaqiri', passlog: 'pedroromao1', verif: 'false', horaj: ''}, //Shaqiri#5533
  950. {name: 'migg', passlog: '4444', verif: 'false', horaj: ''}, //migg#8998
  951. {name: 'Quim', passlog: 'Quim', verif: 'false', horaj: ''}, //P1NHO#1199
  952. {name: 'Talisca@@@', passlog: 'Sandra1974', verif: 'false', horaj: ''}, //TaliscAa#2739
  953. {name: 'T1P', passlog: '0124LOL', verif: 'false', horaj: ''}, //T1P#1615
  954. {name: 'PedroEstrelinha', passlog: 'pedroestrela', verif: 'false', horaj: ''}, //PedroEstrelinha#4061
  955. {name: 'Joana coutinho', passlog: 'mirandela2020', verif: 'false', horaj: ''}, //VITORADAZ TRRINKINHAS#9365
  956. {name: "pabloto", passlog: 'Mikelillo01', verif: 'false', horaj: ''}, //mikelon2004#6526
  957. {name: 'LEAN', passlog: 'lean123', verif: 'false', horaj: ''}, //LEAN#1279
  958. {name: 'x7bluesea', passlog: '123456789', verif: 'false', horaj: ''}, //x7bluesea#1645
  959. {name: 'paulinho', passlog: 'g2', verif: 'false', horaj: ''}, //paulinho#3106
  960. {name: 'Lεgεиdz', passlog: 'NewFuckingPassword', verif: 'false', horaj: ''}, //*Ash* / Lεgεиdz#3187
  961. {name: 'VoxelMush', passlog: 'goleryarte24', verif: 'false', horaj: ''}, //VoxelMush#1235
  962. {name: 'louros', passlog: 'aitor', verif: 'false', horaj: ''}, //louros#7715
  963. {name: 'GORILAZCM', passlog: 'ventilgostosinho', verif: 'false', horaj: ''}, //GOrialz#4791
  964. {name: 'Alcon83', passlog: 'qetu', verif: 'false', horaj: ''}, //Âłčøň83#7314
  965. {name: 'Messi ?', passlog: 'marios323', verif: 'false', horaj: ''}, //4rLd#3642
  966. {name: 'Nickname', passlog: 'Nick1992', verif: 'false', horaj: ''}, //Nickname#1699
  967. {name: 'la venda', passlog: '2', verif: 'false', horaj: ''}, //la venda ?#0886
  968. {name: 'HAZIM_786', passlog: 'haxball78', verif: 'false', horaj: ''}, //hazim#8988
  969. {name: 'k1nder máquina!', passlog: 'k1nder123', verif: 'false', horaj: ''}, //k1nder#8570
  970. {name: 'wozal', passlog: 'wozalbp312', verif: 'false', horaj: ''}, //wozal#6939
  971. {name: 'ely', passlog: 'elysium20', verif: 'false', horaj: ''}, //lxn#0851
  972. {name: 'ad', passlog: 'd4n13l', verif: 'false', horaj: ''}, //Danielo#6857
  973. {name: 'Seulofeu', passlog: 'Seulofeu1#3', verif: 'false', horaj: ''}, //Seulofeu#6517
  974. {name: 'nocnoc', passlog: 'bueno5788', verif: 'false', horaj: ''}, //nocnoc#9631
  975. {name: 'gabrielxlm', passlog: 'gabriel035', verif: 'false', horaj: ''}, //gabri#1019
  976. {name: 'Icαяdi', passlog: 'soad1893', verif: 'false', horaj: ''}, //Icαяdi#4272
  977. {name: 'YandereSimp', passlog: 'Gacho20', verif: 'false', horaj: ''}, //YandereSimp#2947
  978. {name: '123', passlog: 'nNg1&g', verif: 'false', horaj: ''}, //Tomas123#5501
  979. {name: "11", passlog: '090809', verif: 'false', horaj: ''},//znpp#9296
  980. {name: 'RDT9', passlog: 'benfica1904', verif: 'false', horaj: ''}, //davidnisa10#6099
  981. {name: 'Stojiljkovic', passlog: 'Stojiljkovic', verif: 'false', horaj: ''}, //Kiko_#1910
  982. {name: 's3veR', passlog: 'sever18', verif: 'false', horaj: ''}, //s3veR.La#1899
  983. {name: 'mladen', passlog: 'catarina', verif: 'false', horaj: ''},//mladen#2795
  984. {name: '?????', passlog: 'gestaoipg', verif: 'false', horaj: ''}, //моосн#1906 - usopp con letras raras
  985. {name: 'Juanfran', passlog: 'sidoso', verif: 'false', horaj: ''}, //jf#0689
  986. {name: 'K1nG', passlog: 'sk.', verif: 'false', horaj: ''}, //Blackk#2569
  987. {name: 'MC Cristina Ferreira', passlog: 'avatar1', verif: 'false', horaj: ''}, //BELA PICHA#9876
  988. {name: 'Mitre', passlog: 'cosmicsans', verif: 'false', horaj: ''}, //Mitre#7554 - srtena#4739
  989. {name: "WELLINTON", passlog: 'homero123', verif: 'false', horaj: ''}, //anditalika#5105
  990. {name: "Alphabetus", passlog: 'sportingcaralho', verif: 'false', horaj: ''}, //alphabetus#1411
  991. {name: 'Confused', passlog: '1234', verif: 'false', horaj: ''}, //Robi8#9305
  992. {name: 'Sancho', passlog: 'sancho07', verif: 'false', horaj: ''}, //Sancho#1954
  993. {name: 'Sr. OIé', passlog: 'oleasos', verif: 'false', horaj: ''}, //Junquero#5458
  994. {name: 'Jesus_L', passlog: 'MaChadp', verif: 'false', horaj: ''}, //rafaelJn2000#4824
  995. {name: "OI", passlog: 'OI2014', verif: 'false', horaj: ''}, //OI#2225
  996. {name: "sackky", passlog: 'bibelou04', verif: 'false', horaj: ''},//stefanrs_04#0850
  997. {name: 'adri', passlog: 'adri09', verif: 'false', horaj: ''}, //adri#3244
  998. {name: 'яєѵσłυтıση', passlog: 'hax1904', verif: 'false', horaj: ''}, //Fifty#0554
  999. {name: 'P. Nedved', passlog: 'haxball', verif: 'false', horaj: ''}, //nedved#3552
  1000. {name: 'Maritimo', passlog: 'Nacional19101', verif: 'false', horaj: ''}, //Maritimo#0536 - Guilherme_2310#5740
  1001. {name: "mohamed AAC", passlog: 'mohamed200030', verif: 'false', horaj: ''},//Toscano#9185
  1002. {name: 'PeneGoleador', passlog: 'SASUKE22', verif: 'false', horaj: ''}, //Garrapata#2935
  1003. {name: 'pierre', passlog: '4321', verif: 'false', horaj: ''}, //Fernando.#4142
  1004. //{name: 'JOE BIDEN - COME ON MAN', passlog: 'fuckbenfica', verif: 'false', horaj: ''}, //Henriqueal97#4814 - ban por pesado insultando
  1005. {name: 'zeda', passlog: 'qwerty123', verif: 'false', horaj: ''}, //rdmr97#4935
  1006. {name: "jj", passlog: 'passwordhaxball', verif: 'false', horaj: ''},//Mr. Null#4791
  1007. {name: "FLA", passlog: '12345', verif: 'false', horaj: ''},//Cemariquinha#1720
  1008. {name: 'LeetKid', passlog: 'lisboa10', verif: 'false', horaj: ''}, //covid19#8805
  1009. {name: 'Wolf Of Wilderness', passlog: 'azerty', verif: 'false', horaj: ''}, //forTT#3965
  1010.  
  1011. //-----------FIN PONER AQUI LOS NUEVOS*/
  1012.  
  1013.  
  1014.  
  1015. //!addregister azerty Wolf Of Wilderness
  1016.  
  1017.  
  1018. /*playersAllowed1.push({name: "FLA", passlog: '12345', verif: 'false', horaj: ''}
  1019. )*/
  1020.  
  1021.  
  1022. /*playersAllowed1.push({name: 'Brr', passlog: 'peugeot206', verif: 'false', horaj: ''})*/
  1023. //
  1024. {name: 'Gimenez', passlog: 'palomo1997s', verif: 'false'}
  1025. ];
  1026.  
  1027.  
  1028. var playersganadorestorneofutsal = [{name: 'vadi'},
  1029. {name: 'paulinho'},
  1030. {name: 'Safer'},
  1031. {name: 'RBB'},
  1032. {name: 'PlayeR.'},
  1033. {name: 'Alex'},
  1034. {name: 'GuN1'}];
  1035.  
  1036. var mejorgoleador = [];
  1037. var mejorasistente = [];
  1038. var mejorcs = [];
  1039. var mejorjugadorenjugarmaspartidos = [];
  1040. var mejorjugadorenganarmaspartidos = [];
  1041.  
  1042.  
  1043.  
  1044.  
  1045. /*var PLAYERSRECORDGENERAL1 = [];
  1046. var PLAYERSRECORDGENERAL2 = [];
  1047. var PLAYERSRECORDGENERAL3 = [];
  1048. var PLAYERSRECORDMENSUAL = [];
  1049. var PLAYERSRECORDSEMANAL = [];*/
  1050.  
  1051.  
  1052. /*var playersAllowedLVL1 = [
  1053. {name: 'crujidor'},
  1054. {name: 'raul7'}
  1055.  
  1056. ];
  1057.  
  1058. var playersAllowedLVL2 = [
  1059. {name: 'El Quaresma'},
  1060. {name: 'TOXULANDRON'},
  1061. {name: '-sda-sdasd'}
  1062.  
  1063. ];
  1064.  
  1065. var playersAllowedLVL3 = [
  1066. {name: 'DELLAFUENTE'},
  1067. {name: 'Mandril'},
  1068. {name: 'Parejo'},
  1069. {name: 'PocaPlaya'},
  1070. //{name: 'IL PUTTANO'},
  1071. {name: 'Alex'}
  1072. ];
  1073.  
  1074.  
  1075. var playersAllowedLVL4 = [
  1076. {name: 'Raúl'},
  1077. {name: 'VoxelMush'}
  1078. ];
  1079.  
  1080. var playersAllowedLVL5 = [
  1081. //{name: 'Braisinho'},
  1082. {name: 'RBB'},
  1083. {name: 'Gimenez'},
  1084. {name: 'aitor'}
  1085.  
  1086. ];
  1087.  
  1088. var playersAllowedLVL6 = [
  1089. ];
  1090.  
  1091. var playersAllowedLVL7 = [
  1092. //{name: 'Pero que...?'},
  1093. {name: 'w'}
  1094.  
  1095. ];
  1096.  
  1097. var playersAllowedLVL8 = [
  1098. ];
  1099.  
  1100. var playersAllowedLVL9 = [
  1101. ];
  1102.  
  1103. var playersAllowedLVL10 = [
  1104. {name: 'Andoni Goikoetxea'}
  1105. ];*/
  1106. /*var playersaitor = [{name: 'aitor', auth: 'uPlWjzm1QGfKWk0XEDY-7pf-9zJ0a3a1cUqU1fU1EDc'}];
  1107. var playersmahiru = [{name: 'Mahiru Koizumi', auth: 'dsSg70E7g5XaRNZd1DVZxTIo2PdWFjleN6kWWFTfUaE'}];
  1108. var playerscars = [{name: 'Cars', auth: 'zgOz-Kn13ZrG131-kYDaOYvZVCuvQXHKxzDObnTts5k'}];
  1109.  
  1110.  
  1111.  
  1112. var playersAllowed = [
  1113. {name: 'BOT', auth: 'A6aDCkbi9PYjDCoBYqhM1xVam4MDzpxlR975NtK_Xus'},
  1114. {name: 'Gime', auth: 'A6aDCkbi9PYjDCoBYqhM1xVam4MDzpxlR975NtK_Xus'},
  1115. {name: 'Mahiru Koizumi', auth: 'dsSg70E7g5XaRNZd1DVZxTIo2PdWFjleN6kWWFTfUaE'},
  1116. {name: 'la venda', auth: 'I5We5LxPjuMvjE71Ra7wO9cagtbdMmKWUA2rU0plo70'},
  1117. {name: 'Neuer', auth: 'Kdl2bDhuFMfC9Cq0QYSS4ahD9T2uC-MdIvk93ENlqk4'},
  1118. {name: 'rk', auth: 'Li6f0nZBkZAshTL2Ecb1OtlepVER-qv8-imx2nyC8_4'},
  1119. {name: '> BW <', auth: 'TMqr7yPhBHRJpbwQr96t-ajF0Wn2DD41dg9eK4PzD54'},
  1120. {name: 'Dress', auth: 'L8Oz3VEVhgekYdvGgrKK9one2gmZY4SyKOZ9pEa_6xI'},
  1121. {name: 'camaron', auth: 'lffmtrzJJdJXWpFWyvrR8mDqChpAsfQNeDJp6IuQwMs'},
  1122. {name: 'crujidor', auth: 'TGb9DvQfinZiOOkw7-yWLnnp5sPJJvvdRt5S_XQurZo'},
  1123. {name: 'Pero que...?', auth: 'M05YrEpcgTzpnZjYFevb619zqVhv5ukkHedTcxrH21s'},
  1124. {name: 'Cars', auth: 'zgOz-Kn13ZrG131-kYDaOYvZVCuvQXHKxzDObnTts5k'},
  1125. {name: 'miske', auth: '0dS3A36T6rKC0rgkhFjvg3qyDtvqT_Z-PCvMjf1zgjI'},
  1126. {name: 'Maux', auth: '-odByENg-AR3go1bzzdRGH0CGA7e0-KrUTv_L2YkeqE'},
  1127. {name: 'n?', auth: 'oaSYtJ5fA6syTjogUCuxyJdBrhuZdLTmS41jK3Fid5o'},
  1128. {name: 'varo', auth: 'qZwqNw_LVheMMsNqOZt8cWbMvju99OtWcePP1D--_ag'},
  1129. {name: 'Zawisza', auth: 'MnUjMHevbw4SuNCWoFzWN30PxgzI6z2SavRENHCpzog'},
  1130. {name: 'Chokepic', auth: 'XvCSEu-_1icSfUCTfpL9YI-z-tfCUT6p0pxNnA8uw5M'},
  1131. {name: 'M̾a̾p̾e̾', auth: 'EBgAwcUEeYig2ceV0_TYwDKdVQ85em-4Oiev5O4hAoo'},
  1132. {name: 'Mandril', auth: 'D8QglsmgA8LBMRLq23BgLfsKxxKtsiXOfRAhDProBkI'},
  1133. {name: 'issou', auth: 'jqPE9aOp8ABWpoxyQ0jt35qW9qo6YuBtBY6osSItmB4'},
  1134. {name: 'DerrickJonesJr', auth: 'CthC1AdupPqWuZiIFTzRe_9P6LQXgxRh1e7sRCmELk4'},
  1135. {name: 'Junker', auth: 'BR6soflr9g5ETssDPOfIB7NOB0S0r2zT-qTBmcyEXOg'},
  1136. {name: 'Parejo', auth: '9Gb5ethVIPMZUs4wnuelMzYV_1uigKNM6vl_DjDfzQM'},
  1137. {name: 'Venkinta', auth: 'JdXnwJsMuDGVe0mYMS4wdFUoN2Pf0kL9KScJwQ9TS_o'},
  1138. {name: 'VoxelMush', auth: 'mFGG0nujjuASsnCcjlY12RGB29C8uXYCF1dJ7kkZL3Q'},
  1139. {name: 'Mestre', auth: 'WHAmvgZr9A-j9szM5Eo_ehBujz1rIypf1Mk_19Vq4Ds'},
  1140. {name: 'Maestro', auth: '9TjLEPLrywv1MRb-UamIKKmfeXXbvaQ3eufF6iXnIAs'},
  1141. {name: 'Chazeiro', auth: '-LgFq4gaZYu_SfbnRYPICMntA7DoXQMbcy70ynp7XmE'},
  1142. {name: 'humpyy', auth: '699bOua9KHR5DmC4oYkl1ZoHsa3E9Jo8j2I4HA9K5fM'},
  1143. {name: 'TONY MONTANA', auth: 'r_q3GCSgjXahUx8o8xhLY9gAcPFU7aWsVdsFBE36fhs'},
  1144. {name: 'Arctic', auth: '6VOPa_MlX3OPBRVai4kQV-FtzSx0WZfLpDSQlv-mKMs'},
  1145. {name: 'RBB', auth: 'GRPd9csfCz8_BVS58sDhOG78yIJpYal6Dx7bLAYFW10'},
  1146. {name: 'Xavi-vž', auth: 'DlsnKzl5VLkrC0H_p1IHmWK3sExrFehK1Alc_h3QvcM'},
  1147. {name: 'LEAN', auth: 'MtEHFMhz2CDlKxvt5cfGa60UKLl4O20ZYWQQxgW1r5o'},
  1148. {name: 'DELLAFUENTE', auth: 'iUHbYAK3FKPlWqneR7wrKKT1pKSTlD_f8_DZ372V0mM'},
  1149. {name: 'Klose', auth: 'Ot3LXgkyHEHgiEEVDubYmLl-XI1aE4onvskb1sED3Sc'},
  1150. {name: 'Nahy', auth: 'e5WhEUim97yh8RYElnf9QWSmEq4NR3HRCiut18p8LSc'},
  1151. {name: 'aitor', auth: 'uPlWjzm1QGfKWk0XEDY-7pf-9zJ0a3a1cUqU1fU1EDc'},
  1152. {name: 'adri', auth: 'y78J4OQRmXKno-nifIuj22tJMX627H75pb63bkRFUzo'},
  1153. {name: 'erRs', auth: 'VW2qeyNRaBljfEIi6w7CotOQCzIO3WLF1Jtfl0nz6Dk'},
  1154. {name: 'Element', auth: '2k6DDAxOfrFGFW87UPHd87mleEzdGKsfsAoC9mcQv5U'},
  1155. {name: 'Brss', auth: 'RIW0xqwKBQLhDfmy2b4WB8IMKCmdKyDxPcNGvmemqMk'},
  1156. {name: 'Nenox', auth: 'jJA9ZjoZ7XM5fFbLmjsxojY8sJSe1GcGzv5XS4LRhto'},
  1157. {name: 'dj666', auth: 'RThqqBovlHu0AU_RQ8QQnVkpvkk6WSiDR3MyVAvcE18'},
  1158. {name: 'Braisinho', auth: '15ZmGsDTkuaCsVh0-zgXajC7_WuQ88HA0T-GE4fKF1s'},
  1159. {name: 'k1nder máquina!', auth: '3HgbuzfC9dVprK57CphZAfTvBOjYoMvq8hTy_LII5u4'},
  1160. {name: 'jolupetas', auth: 'TK6vE92NUwsWOSJr3qZVDqis0nOiuBQOpyKHrDRrfls'},
  1161. {name: 'Andoni Goikoetxea', auth: 'sL2JLjm_dupRrpeBFNLzH2DNdATBTNx9KM4lFbgIAeg'},
  1162. {name: 'IL PUTTANO', auth: 'YxBj9GiDh-i7v527wJMiN0EDrtdKX55gyL0w0DVuUBs'},
  1163. {name: 'excelinho', auth: '3SqLfIpwfLmx5irhw8rL3EMSO9Nmr5MWjqZbpZpx_1U'},
  1164. {name: 'DT イヴァンレイ', auth: 'hbjq2sBPskTc3XAaX6QgslTLUiw4UW73-cvpGTGpRHU'},
  1165. {name: 'Magic', auth: 'hL133HR5pxoXDEDJoXfZBLNFClzrrNY2UEU6tfXH7A0'},
  1166. {name: 'PocaPlaya', auth: 'CutdkOro_xVVP__f9OxMep7L8yrjEewwmDKgREOsrhA'},
  1167. {name: 'PiPe', auth: 'cBAUriBa8UNSSHBUPSr3KqoN1uU0c0lvH9MWB30OMY0'},
  1168. {name: 'Shhhh', auth: '8kriqMKFHWPm5e_zfI6AezVeUMe4WHWIrlpVzMsxM6g'},
  1169. {name: 'cluzen', auth: 'mngb76DKb5hHPkVZpdAjRdhpdFjvuKGpPtaYjvDsR0M'},
  1170. {name: 'Btcraft', auth: '8rLCyFn1kHKpIddQBCJbSgILFBe66XxMPnb6zx0iyRU'},
  1171. {name: 'Haaland', auth: '2U6LD8_7PXC880MF639NG5RDxqj_vbeR6c63JEbTSGg'},
  1172. {name: 'sss', auth: 'SrWU3GhPUFWUCYIEsn3gq6swm4DAC1P6rZD8pK659jY'},
  1173. {name: 'roque', auth: 'fl1zzaKgadrJjYy3sSF5EUIjdVhShkgG9klX86UZjtk'},
  1174. {name: 'so easy game for me', auth: 'fGraOhCROTb4XpxnSmVa6iuURnF3i1XH2Gbv_MIY-xQ'},
  1175. {name: 'Patata', auth: 'TxU-VXbKN6g_g3Ct6wP4XWkfdH7au6jvRKY7u1H8jIE'},
  1176. {name: 'David Guetta', auth: 'tD3jEI1KSJk-mRfXl0j6MGZMvCAZ6FctnrkbBDdPH-4'},
  1177. {name: 'Alibaba', auth: '3jqSMKWUf-Ew3XGUQ2A7BGVcl-4RPRjnvbXAZjGfkrw'},
  1178. {name: 'Ryo', auth: 'dqNFebKdGAikAAezQxzeZ3wmYzRzs6lU0xXoggS4N0Y'},
  1179. {name: 'De hazR', auth: 'jX7uk_g9FzQO2rGslWHv3wJXLlEEwKK5C4PY7fQPchs'},
  1180. {name: 'VforTheBoudot1', auth: 'SoMVEA9DotFtmd4nMoU_tJUsL7t2RyZWYdHxEiQnSZ4'},
  1181. {name: 'mykr', auth: '0LkXBLrz4sz67b8lm4CcqOKNR1S5Qbn6bpyg8P4l0yc'},
  1182. {name: 'CSM', auth: 'TWrGWrRBZALT95k-O7ip5HhNwBDfbV4m0YXX-grEFQQ'},
  1183. {name: 'Frigopie', auth: '6-KggbwsJfLdjl-bQkgj6Sd2Wa-b46tjzN-Q7dQ5rYI'},
  1184. {name: 'CHUS FERNANDEZ1', auth: '4vk1Hhz1n4XdBWBFJpyJMmlOo9ih5Fv1Q_ozY4d5iP4'},
  1185. {name: 'JozeLuyh', auth: 'RfHq58QqIpVGaGB6yzBIunOc3gtHcbyjeHkmSa0IiKE'},
  1186. {name: 'sobota', auth: 'sEkjWtzKwX8oES9_vJbV5Z7AUw5Bvn7I79gIx20VRLA'},
  1187. {name: 'h0rus', auth: '2ptZqWYBDSMFxrK1k5OQYS-rDGC5cS5N77jYfLTmsFs'},
  1188. {name: 'raul7', auth: 'WOiuW74krhvyWaAAQ8nUSoV_E8XPsy6YJ2E1lNQHAJI'},
  1189. {name: 'wassup', auth: 'w4FzTZ86fMlHCGwYxeHdADSrBljjP0wrk1QAaOExmvs'},
  1190. {name: 'TRusT', auth: 'I6tvXBH3H6K3mEMWwUy4gRLMcDc2q7pDNobYAzONcGM'},
  1191. {name: '! Hammer ! Go', auth: '3_YEGzLNLhew9eY3_Qkh3fm5GUL-l-GCFNzoj3Ey4_I'},
  1192. {name: 'S', auth: 'xCNjN8G-RvdP0-NLCdBxX9YYgz8f7q8ZQMOx26Rg5JU'},
  1193. {name: 's3veR.LA', auth: 'WcOT2z1vtQfvO4GBG6lWYYhdBL2zqPBUImzK_uwvvWU'},
  1194. {name: '⚔ DEADPOOL ⚔', auth: 'XrjkL1_G4O-wn06Mo12mxsu0_3heyd86rCsRlm5Ermc'}, //⚔ DEADPOOL ⚔
  1195. {name: 'El Quaresma', auth: 'Pjjd1xgpEdkZrw0lTXZKbeofmtCKYjU3lm09lw-uReQ'},
  1196. {name: 'Pipi Lacalzalarga', auth: 'HRUmi_oxXJ39pCG-4_gFmh5GgCuQS7lMcUcx5_jTShA'},
  1197. {name: 'Raúl', auth: 'IaBJyCNf4LuWdNAX0qIothKf8tJQ9CytaGEUmjBGSIQ'},
  1198. {name: 'Luis', auth: 'RnTTz27iD5E97fuEq-Ndu1ipMNYiKHvZLNxN5v2TD2Q'},
  1199. {name: 'tello', auth: 'hSuEburdCnswVhS7VJuegPIQLdXOlA1BDuLnmVAHZQw'},
  1200. {name: 'jocko', auth: 'Ia4OA7vcOloq7seaUhfAERWN-6BeyaYlntjwLEQdlQ8'},
  1201. {name: 'Juanfran', auth: 'm_VwmWlDhSts9xqjK4YGHuHqPicvDZepAdtWk7AFnhM'},
  1202. {name: 'El Chapo', auth: 'YTiM6A52ZtWHTNfiy7t7bqyNaMpcM-S-nB7hVKLuTbs'},
  1203. {name: 'TOXULANDRON', auth: 'rKM4NZ8li3t2cr9l3jntfUXOu4Xa76hHODk23mwOdXA'},
  1204. {name: 'Winter', auth: 'wtNk0ZKrAuBY6wwZGwA5pft9PKsnZaDgFLRC6ilwH8g'},
  1205. {name: 'Libertador', auth: 'BoUk4fnXLtpzULK-RzurAEITCMr_j11Yj2txswI1d1A'},
  1206. {name: 'w', auth: 'SlmH59R_pvZWiwfwxhSa3Dho8mvbDpm6OevF_kpEx7Q'},
  1207.  
  1208. //----------------------------------------------------------------------------------
  1209. // faltan por poner arriba
  1210. {name: 'gbtiago', auth: '0KRylmbmiP2ZQlubEEIuF7DM3ekzw9pzsrlcAvQAmzQ'},
  1211. {name: 'josete', auth: 'y11eW8TwkWGOBhbUq2Q2zIRhvjpNV8wZ7tcV8VkqMBo'},
  1212. {name: 'Kra', auth: 'hKHRML5GMgCJyTrhVYBO5B6NQr_jZ75lK_Cg0lNKICc'},
  1213. {name: 'Callejón 2.0', auth: '3rmn3C6ry09ebx_X0lFzHilOFmIJ3eL8OoBRFduqPe8'},
  1214. {name: 'Juanma96MLG', auth: 'zbsHeakTR-Qa_a52AzmUA3wx8bghU3L5k61oTf38V_0'},
  1215. {name: 'excelente persona', auth: 'VAYGP-WnNREwuKewsT4btndN2gOWJhB5TlECVurw5D0'},
  1216. {name: 'Toledo', auth: 'Y0d4svSq1ynLp7EoiJf-Ga7ikKWgxuuS_OLvBK8venk'},
  1217. {name: 'Pams!*', auth: 'Ny_mMZwSOVPF4Aw1W0fMFbZt5t98QNFIZGYbcjnEQK8'},
  1218. {name: 'Dust', auth: 'en7jnyju-oeUUTCWA1vN2WCj08TS4Ub89T5kSpRvbrQ'},
  1219. {name: 'Duck.', auth: 'fmSJzYBQZhhYLYpTrwKrUpkoBpWbBSGf_yNtutDMmEA'},
  1220. //falta en las salas y en link
  1221.  
  1222. {name: 'Casio™', auth: 'JcafdovDyFIe3MGPZ2UqLipBeb7mGcr63-72cMhWtwM'},
  1223. {name: 'Redondo', auth: '_TCNhd_TWyNybzaTZn078mLaC5kMldg6SY995t-IkmM'},
  1224. {name: 'UFRAspieler', auth: 'oWOHmSSpkjW9GFRJJc8A0VswRA035a7IHTWOdOOFlJA'},
  1225. {name: 'perro', auth: '8LDlSsKwOrHvhfqqycky0eX7pylZ6bZDgZ4XzscyLTc'},
  1226. {name: 'Steal', auth: 'FcM23FZC-GKfbQ_AqEtftPE-lvmvyaKKe_4Ie38dStY'},
  1227. {name: 'Kamasutra', auth: 'sxaKRhI9Xz0dhuaZi56S_EslHHSb0IyAEvmRxzYb-gs'},
  1228. {name: 'Cipote Goleador', auth: 'Cswk_wlijwQD7YI2Aulu8foWGvI2Mk46XoUDtnOFCUY'},
  1229. {name: 'Pepe Reina', auth: '_deM12xbJb897jkSyWjWN52-th5AyyGTV6F3i-9LqBg'},
  1230. {name: 'gabrielxlm', auth: 'TxcyJ2_mkOw6dGvnbgZrMCIDgQ0kyKEfLNQYaL-mbd0'},
  1231. {name: 'PeneMicroscopico', auth: 'LfUvacYovCmHliXlPDWjJ-y92EbHmEkWE2m3N-ztqaU'},
  1232. {name: 'Danuve', auth: 'ILxAqRXvJj8yh-uxr0y3GBMjAoiMu5QZWqM26xKrYys'},
  1233. {name: 'A&A', auth: 'HV2oPdrMMmaA7nKs7vg38xeuQ8DWQzN4cVKegW4Ffr8'},
  1234. {name: 'Talisca@@@', auth: 'C6urTtBa2rL06rU2tnRalLIDDSwDEB3HnAJqiMLQjDY'},
  1235. {name: 'passda', auth: 'zX0TP0jd24Tu-OBWh5pIsgcIaE1GUygYM02kyZGGjzM'},
  1236. {name: 'Diosntoeama', auth: 'SLdHxfCnmBe22ROM2vmSegwL9HR3U7-Bc_lElFIL94E'},
  1237. {name: 'PeneGoleador', auth: '0W01xOatCZ9V8SESYODFOcc0DfOn2wLD6HfeaPnv_Uw'},
  1238. {name: '-sda-sdasd', auth: 'U1LJQg-G6jGFSjTd4p4a1KIxiZensPdX8APpYhK4X_8'},
  1239. {name: 'Sodio', auth: 'C-KLpgonLiyHVFlt4_3v1jAdlPLKWRJxYPU1o6aDmzA'},
  1240.  
  1241. //fin
  1242. {name: 'Gimenez', auth: 'Z9jyWMO8EVZF9myPPRsDCOj8UEvnvf5dTnojpKMqx-8'}
  1243. ]; // [{name: 'test', auth: '123'}, {...}, {...}]
  1244.  
  1245. var playersAllowedLVL1 = [
  1246. {name: 'VforTheBoudot1', auth: 'SoMVEA9DotFtmd4nMoU_tJUsL7t2RyZWYdHxEiQnSZ4'},
  1247. {name: 'crujidor', auth: 'TGb9DvQfinZiOOkw7-yWLnnp5sPJJvvdRt5S_XQurZo'},
  1248. {name: 'raul7', auth: 'WOiuW74krhvyWaAAQ8nUSoV_E8XPsy6YJ2E1lNQHAJI'}
  1249.  
  1250. ];
  1251.  
  1252. var playersAllowedLVL2 = [
  1253. {name: 'El Quaresma', auth: 'Pjjd1xgpEdkZrw0lTXZKbeofmtCKYjU3lm09lw-uReQ'},
  1254. {name: 'Shhhh', auth: '8kriqMKFHWPm5e_zfI6AezVeUMe4WHWIrlpVzMsxM6g'},
  1255. {name: 'TOXULANDRON', auth: 'rKM4NZ8li3t2cr9l3jntfUXOu4Xa76hHODk23mwOdXA'},
  1256. {name: '-sda-sdasd', auth: 'U1LJQg-G6jGFSjTd4p4a1KIxiZensPdX8APpYhK4X_8'}
  1257.  
  1258. ];
  1259.  
  1260. var playersAllowedLVL3 = [
  1261. {name: 'DELLAFUENTE', auth: 'iUHbYAK3FKPlWqneR7wrKKT1pKSTlD_f8_DZ372V0mM'},
  1262. {name: 'Mandril', auth: 'D8QglsmgA8LBMRLq23BgLfsKxxKtsiXOfRAhDProBkI'},
  1263. {name: 'Parejo', auth: '9Gb5ethVIPMZUs4wnuelMzYV_1uigKNM6vl_DjDfzQM'},
  1264. {name: 'PocaPlaya', auth: 'CutdkOro_xVVP__f9OxMep7L8yrjEewwmDKgREOsrhA'},
  1265. //{name: 'IL PUTTANO', auth: 'YxBj9GiDh-i7v527wJMiN0EDrtdKX55gyL0w0DVuUBs'},
  1266. {name: 'Cars', auth: 'zgOz-Kn13ZrG131-kYDaOYvZVCuvQXHKxzDObnTts5k'}
  1267. ];
  1268.  
  1269.  
  1270. var playersAllowedLVL4 = [
  1271. {name: 'Canales', auth: 'IaBJyCNf4LuWdNAX0qIothKf8tJQ9CytaGEUmjBGSIQ'},
  1272. {name: 'VoxelMush', auth: 'mFGG0nujjuASsnCcjlY12RGB29C8uXYCF1dJ7kkZL3Q'}
  1273. ];
  1274.  
  1275. var playersAllowedLVL5 = [
  1276. {name: 'Braisinho', auth: '15ZmGsDTkuaCsVh0-zgXajC7_WuQ88HA0T-GE4fKF1s'},
  1277. {name: 'RBB', auth: 'GRPd9csfCz8_BVS58sDhOG78yIJpYal6Dx7bLAYFW10'},
  1278. {name: 'Gimenez', auth: 'Z9jyWMO8EVZF9myPPRsDCOj8UEvnvf5dTnojpKMqx-8'},
  1279. {name: 'Btcraft', auth: '8rLCyFn1kHKpIddQBCJbSgILFBe66XxMPnb6zx0iyRU'},
  1280. {name: 'aitor', auth: 'uPlWjzm1QGfKWk0XEDY-7pf-9zJ0a3a1cUqU1fU1EDc'}
  1281.  
  1282. ];
  1283.  
  1284. var playersAllowedLVL6 = [
  1285. ];
  1286.  
  1287. var playersAllowedLVL7 = [
  1288. //{name: 'Pero que...?', auth: 'M05YrEpcgTzpnZjYFevb619zqVhv5ukkHedTcxrH21s'},
  1289. {name: 'w', auth: 'Aoj-ib9mGnUCvkoyTf6csylCLmYzJKAk0U7d1aM1Q48'}
  1290.  
  1291. ];
  1292.  
  1293. var playersAllowedLVL8 = [
  1294. ];
  1295.  
  1296. var playersAllowedLVL9 = [
  1297. ];
  1298.  
  1299. var playersAllowedLVL10 = [
  1300. {name: 'Andoni Goikoetxea', auth: 'sL2JLjm_dupRrpeBFNLzH2DNdATBTNx9KM4lFbgIAeg'}
  1301. ];*/
  1302.  
  1303. /* GAME */
  1304.  
  1305. var lastTeamTouched;
  1306. var lastPlayersTouched; // These allow to get good goal notifications (it should be lastPlayersKicked, waiting on a next update to get better track of shots on target)
  1307. var countAFK = false; // Created to get better track of activity
  1308. var activePlay = false; // Created to get better track of the possession
  1309. var goldenGoal = false;
  1310. var SMSet = new Set(); // Set created to get slow mode which is useful in chooseMode
  1311. var banList = []; // Getting track of the bans, so we can unban ppl if we want
  1312.  
  1313. /* STATS */
  1314.  
  1315. var game;
  1316. var GKList = ["",""];
  1317. var Rposs = 0;
  1318. var Bposs = 0;
  1319. var point = [{"x": 0, "y": 0}, {"x": 0, "y": 0}]; // created to get ball speed
  1320. var ballSpeed;
  1321. var lastWinner = Team.SPECTATORS;
  1322. var streak = 0;
  1323. var streakpuntua = 0;
  1324. var redPlayers = "";
  1325. var redTeamArray = [];
  1326. var blueTeamArray = [];
  1327. //añado aqui el record exacto para añadirlo manualmente
  1328. var streakRecord = 0;
  1329. var streakRecordPlayers = "";  
  1330. var streakmanualRecord = 0; //STREAKSEMANAL SIEMPRE
  1331. var streakRecordPlayersmanual = ""; //STREAKSEMANAL SIEMPRE
  1332.  
  1333. //PARA RECORDS
  1334. var STREAKRECORDGENERALNUMERO = "NO DEFINIDO";
  1335. var STREAKRECORDMENSUALNUMERO = "NO DEFINIDO";
  1336. var STREAKRECORDSEMANALNUMERO = "NO DEFINIDO";
  1337. var STREAKRECORDGENERAL = "NO DEFINIDO";
  1338. var STREAKRECORDMENSUAL = "NO DEFINIDO";
  1339. var STREAKRECORDSEMANAL = "NO DEFINIDO";
  1340. //PARA RECORDS FIN
  1341. var allBlues = []; // This is to count the players who should be counted for the stats. This includes players who left after the game has started, doesn't include those who came too late or ...
  1342. var allReds = []; // ... those who came in a very unequal game.
  1343.  
  1344. /* BALANCE & CHOOSE */
  1345.  
  1346. var inChooseMode = false; // This variable enables to distinguish the 2 phases of playing and choosing which should be dealt with very differently
  1347. var redCaptainChoice = "";
  1348. var blueCaptainChoice = "";
  1349. var chooseTime = 20;
  1350. var timeOutCap;
  1351.  
  1352. /* AUXILIARY */
  1353.  
  1354. var checkTimeVariable = false; // This is created so the chat doesn't get spammed when a game is ending via timeLimit
  1355. var statNumber = 0; // This allows the room to be given stat information every X minutes
  1356. var endGameVariable = false; // This variable with the one below helps distinguish the cases where games are stopped because they have finished to the ones where games are stopped due to player movements or resetting teams
  1357. var resettingTeams = false;
  1358. var capLeft = false;
  1359. //var FSHaxleagueinterval = 3;//para la liga
  1360. var statInterval = 6;
  1361. var discordInterval = 23;//en español
  1362. var discordInterval2 = 29;//en ingles
  1363. var streakInterval = 31;
  1364. var streakInterval2 = 37;
  1365.  
  1366. //var RECORDGLOBALDISC = 28;
  1367. //var RECORDGLOBALDISC2 = 31;
  1368. loadMap(aloneMap, 0, 0);
  1369.  
  1370. /* OBJECTS */
  1371.  
  1372. function Goal(time, team, striker, assist) {
  1373.         this.time = time;
  1374.         this.team = team;
  1375.         this.striker = striker;
  1376.         this.assist = assist;
  1377. }
  1378.  
  1379. function Game(date, scores, goals) {
  1380.         this.date = date;
  1381.         this.scores = scores;
  1382.         this.goals = goals;
  1383. }
  1384.  
  1385. /* FUNCTIONS */
  1386.  
  1387. /* AUXILIARY FUNCTIONS */
  1388.  
  1389. function getRandomInt(max) { // returns a random number from 0 to max-1
  1390.         return Math.floor(Math.random() * Math.floor(max));
  1391. }
  1392.  
  1393. function getTime(scores) { // returns the current time of the game
  1394.         return "[" + Math.floor(Math.floor(scores.time/60)/10).toString() + Math.floor(Math.floor(scores.time/60)%10).toString() + ":" + Math.floor(Math.floor(scores.time - (Math.floor(scores.time/60) * 60))/10).toString() + Math.floor(Math.floor(scores.time - (Math.floor(scores.time/60) * 60))%10).toString() + "]"
  1395. }
  1396.  
  1397. function pointDistance(p1, p2) {
  1398.         var d1 = p1.x - p2.x;
  1399.         var d2 = p1.y - p2.y;
  1400.         return Math.sqrt(d1 * d1 + d2 * d2);
  1401. }
  1402.  
  1403. function currentStreakFun(player) { // !currentStreak
  1404.         if (streakpuntua > 0){
  1405.                 room.sendAnnouncement("? La racha es de: " + streakpuntua + ", y los jugadores que lo han hecho son: " + redPlayers + " ?", player.id, 0xf7d600, 'normal', 0);
  1406.         } else {
  1407.                 room.sendAnnouncement("No se han establecido rachas todavía. Jugar algunos juegos primero.", player.id, 0xf7d600, 'normal', 0);
  1408.         }
  1409.         return false;
  1410. }
  1411.  
  1412. function streakRecordFun(player) { // !recordStreak
  1413.     if(streakmanualRecord >= streakRecord){
  1414.                 if(streakRecord >= 0){
  1415.                 room.sendAnnouncement("? El record de la sala es de: " + streakmanualRecord + ". Los jugadores son: " + streakRecordPlayersmanual + " ?", player.id, 0x00FF00, 'normal', 0);
  1416.                 }
  1417.                 }
  1418.         else if(streakmanualRecord < streakRecord){
  1419.                 if(streakRecord >= 0){
  1420.                 room.sendAnnouncement("? El record de la sala es de: " + streakRecord + ". Los jugadores son: " + streakRecordPlayers + " ?", player.id, 0x00FF00, 'normal', 0);
  1421.                 }
  1422.         }      
  1423.         else if(streakRecord == 0 && streakmanualRecord == 0){
  1424.         room.sendAnnouncement("No se han establecido records todavía. Jugar algunos juegos primero.", player.id, 0x00FF00, 'normal', 0);
  1425.         }
  1426.         else{
  1427.         room.sendAnnouncement("No se han establecido records todavía. Jugar algunos juegos primero.", player.id, 0x00FF00, 'normal', 0);      
  1428.         }
  1429.         return false;
  1430. }
  1431.  
  1432. /* BUTTONS */
  1433.  
  1434. function topBtn() {
  1435.         if (teamS.length == 0) {
  1436.                 return;
  1437.         }
  1438.         else {
  1439.                 if (teamR.length == teamB.length) {
  1440.                         if (teamS.length > 1) {
  1441.                                 room.setPlayerTeam(teamS[0].id, Team.RED);
  1442.                                 room.setPlayerTeam(teamS[1].id, Team.BLUE);
  1443.                         }
  1444.                         return;
  1445.                 }
  1446.                 else if (teamR.length < teamB.length) {
  1447.                         room.setPlayerTeam(teamS[0].id, Team.RED);
  1448.                 }
  1449.                 else {
  1450.                         room.setPlayerTeam(teamS[0].id, Team.BLUE);
  1451.                 }
  1452.         }
  1453. }
  1454.  
  1455. function randomBtn() {
  1456.         if (teamS.length == 0) {
  1457.                 return;
  1458.         }
  1459.         else {
  1460.                 if (teamR.length == teamB.length) {
  1461.                         if (teamS.length > 1) {
  1462.                                 var r = getRandomInt(teamS.length);
  1463.                                 room.setPlayerTeam(teamS[r].id, Team.RED);
  1464.                                 teamS = teamS.filter((spec) => spec.id != teamS[r].id);
  1465.                                 room.setPlayerTeam(teamS[getRandomInt(teamS.length)].id, Team.BLUE);
  1466.                         }
  1467.                         return;
  1468.                 }
  1469.                 else if (teamR.length < teamB.length) {
  1470.                         room.setPlayerTeam(teamS[getRandomInt(teamS.length)].id, Team.RED);
  1471.                 }
  1472.                 else {
  1473.                         room.setPlayerTeam(teamS[getRandomInt(teamS.length)].id, Team.BLUE);
  1474.                 }
  1475.         }
  1476. }
  1477.  
  1478. function blueToSpecBtn() {
  1479.         resettingTeams = true;
  1480.         setTimeout(() => { resettingTeams = false; }, 100);
  1481.         for (var i = 0; i < teamB.length; i++) {
  1482.                 room.setPlayerTeam(teamB[teamB.length - 1 - i].id, Team.SPECTATORS);
  1483.         }
  1484. }
  1485.  
  1486. function redToSpecBtn() {
  1487.         resettingTeams = true;
  1488.         setTimeout(() => { resettingTeams = false; }, 100);
  1489.         for (var i = 0; i < teamR.length; i++) {
  1490.                 room.setPlayerTeam(teamR[teamR.length - 1 - i].id, Team.SPECTATORS);
  1491.         }
  1492. }
  1493.  
  1494. function resetBtn() {
  1495.         resettingTeams = true;
  1496.         setTimeout(() => { resettingTeams = false; }, 100);
  1497.         if (teamR.length <= teamB.length) {
  1498.                 for (var i = 0; i < teamR.length; i++) {
  1499.                         room.setPlayerTeam(teamB[teamB.length - 1 - i].id, Team.SPECTATORS);
  1500.                         room.setPlayerTeam(teamR[teamR.length - 1 - i].id, Team.SPECTATORS);
  1501.                 }
  1502.                 for (var i = teamR.length; i < teamB.length; i++) {
  1503.                         room.setPlayerTeam(teamB[teamB.length - 1 - i].id, Team.SPECTATORS);
  1504.                 }
  1505.         }
  1506.         else {
  1507.                 for (var i = 0; i < teamB.length; i++) {
  1508.                         room.setPlayerTeam(teamB[teamB.length - 1 - i].id, Team.SPECTATORS);
  1509.                         room.setPlayerTeam(teamR[teamR.length - 1 - i].id, Team.SPECTATORS);
  1510.                 }
  1511.                 for (var i = teamB.length; i < teamR.length; i++) {
  1512.                         room.setPlayerTeam(teamR[teamR.length - 1 - i].id, Team.SPECTATORS);
  1513.                 }
  1514.         }
  1515. }
  1516.  
  1517. function blueToRedBtn() {
  1518.         resettingTeams = true;
  1519.         setTimeout(() => { resettingTeams = false; }, 100);
  1520.         for (var i = 0; i < teamB.length; i++) {
  1521.                 room.setPlayerTeam(teamB[i].id, Team.RED);
  1522.         }
  1523. }
  1524.  
  1525. /* GAME FUNCTIONS */
  1526.  
  1527. function checkTime() {
  1528.         const scores = room.getScores();
  1529.         game.scores = scores;
  1530.         if (Math.abs(scores.time - scores.timeLimit) <= 0.01 && scores.timeLimit != 0) {
  1531.                 if (scores.red != scores.blue) {
  1532.                         if (checkTimeVariable == false) {
  1533.                                 checkTimeVariable = true;
  1534.                                 setTimeout(() => { checkTimeVariable = false; }, 3000);
  1535.                                 scores.red > scores.blue ? endGame(Team.RED) : endGame(Team.BLUE);
  1536.                                 setTimeout(() => { room.stopGame(); }, 2000);
  1537.                         }
  1538.                         return;
  1539.                 }
  1540.                 goldenGoal = true;
  1541.                 room.sendChat("⚽ Gol gana !");
  1542.         }
  1543.         if (Math.abs(drawTimeLimit * 60 - scores.time - 60) <= 0.01 && players.length > 2) {
  1544.                 if (checkTimeVariable == false) {
  1545.                         checkTimeVariable = true;
  1546.                         setTimeout(() => { checkTimeVariable = false; }, 10);
  1547.                         room.sendChat("⌛ Quedan 60 segundos para que termine el partido !");
  1548.                 }
  1549.         }
  1550.         if (Math.abs(scores.time - drawTimeLimit * 60) <= 0.01 && players.length > 2) {
  1551.                 if (checkTimeVariable == false) {
  1552.                         checkTimeVariable = true;
  1553.                         setTimeout(() => { checkTimeVariable = false; }, 10);
  1554.                         endGame(Team.SPECTATORS);
  1555.                         room.stopGame();
  1556.                         goldenGoal = false;
  1557.                 }
  1558.         }
  1559. }
  1560.  
  1561. function endGame(winner) { // handles the end of a game : no stopGame function inside
  1562.         players.length >= 2 * maxTeamSize - 1 ? activateChooseMode() : null;
  1563.         const scores = room.getScores();
  1564.         game.scores = scores;
  1565.         Rposs = Rposs/(Rposs+Bposs);
  1566.         Bposs = 1 - Rposs;
  1567.         lastWinner = winner;
  1568.         endGameVariable = true;
  1569.         redTeamArray = [];
  1570.         blueTeamArray = [];
  1571.         redPlayers = "";
  1572.         let streakPlayers = room.getPlayerList();
  1573.         for (i = 0; i < streakPlayers.length; i++) {
  1574.                 if (streakPlayers[i].team == 1) {
  1575.                         //Establecer array de solo jugadores del equipo rojo
  1576.                         redTeamArray.push(streakPlayers[i].name);
  1577.                 } else if (streakPlayers[i].team == 2) {
  1578.                         //Establecer array de solo jugadores del equipo azul
  1579.                         blueTeamArray.push(streakPlayers[i].name);
  1580.                 }
  1581.         }
  1582.    /* if (redTeamArray.length === 1) { //equipo rojo
  1583.                 redPlayers = redTeamArray[0];
  1584.         } else if (redTeamArray.length === 2) {
  1585.                 redPlayers = redTeamArray.join(' y ');
  1586.         } else if (redTeamArray.length > 2) {
  1587.                 redPlayers = redTeamArray.slice(0, -1).join(', ') + ' y ' + redTeamArray.slice(-1);
  1588.         }      
  1589.         if (blueTeamArray.length === 1) { //equipo azul
  1590.                 redPlayers = blueTeamArray[0];
  1591.         } else if (blueTeamArray.length === 2) {
  1592.                 redPlayers = blueTeamArray.join(' y ');
  1593.         } else if (blueTeamArray.length > 2) {
  1594.                 redPlayers = blueTeamArray.slice(0, -1).join(', ') + ' y ' + blueTeamArray.slice(-1);
  1595.         }*/
  1596.        
  1597.         if (winner == Team.RED) {
  1598.                 if (scores.red == scores.blue){
  1599.                         scores.red += 1;
  1600.                         streak++;
  1601.                         if(players.length >= 2 * maxTeamSize){
  1602.                     redPlayers = redTeamArray.slice(0, -1).join(', ') + ' y ' + redTeamArray.slice(-1);
  1603.                         streakpuntua++;
  1604.                     room.sendChat("? El Red Team ganó " + scores.red + "-" + scores.blue + " ! Victorias consecutivas : " + streakpuntua + " ?");     
  1605.                         }else if(players.length < 2 * maxTeamSize){
  1606.                         streakpuntua = 0;
  1607.                     room.sendChat("? El Red Team ganó " + scores.red + "-" + scores.blue + " ! Victorias consecutivas : 1" + " ?");   
  1608.                         }
  1609.                 }else{
  1610.                         streak++;
  1611.                     if(players.length >= 2 * maxTeamSize){
  1612.                     redPlayers = redTeamArray.slice(0, -1).join(', ') + ' y ' + redTeamArray.slice(-1);
  1613.                     streakpuntua++;
  1614.                     room.sendChat("? El Red Team ganó " + scores.red + "-" + scores.blue + " ! Victorias consecutivas : " + streakpuntua + " ?");
  1615.                 //room.sendChat("? El Red Team ganó " + scores.red + "-" + scores.blue + " ! Victorias consecutivas : " + streakpuntua + " ?");
  1616.                 } else if(players.length < 2 * maxTeamSize){
  1617.                         streakpuntua = 0;
  1618.                     room.sendChat("? El Red Team ganó " + scores.red + "-" + scores.blue + " ! Victorias consecutivas : 1" + " ?");   
  1619.                         }
  1620.         }
  1621.         }
  1622.        
  1623.         else if (winner == Team.BLUE) {
  1624.                
  1625.                 if (scores.red == scores.blue){
  1626.                         scores.blue += 1;
  1627.                         streak = 1;
  1628.                         if(players.length >= 2 * maxTeamSize){
  1629.                         redPlayers = blueTeamArray.slice(0, -1).join(', ') + ' y ' + blueTeamArray.slice(-1);
  1630.                         streakpuntua = 1;
  1631.             room.sendChat("? El Blue Team ganó " + scores.blue + "-" + scores.red + " ! Victorias consecutivas : " + streakpuntua + " ?");
  1632.                         }else if(players.length < 2 * maxTeamSize){
  1633.                         streakpuntua = 0;
  1634.                     room.sendChat("? El Blue Team ganó " + scores.blue + "-" + scores.red + " ! Victorias consecutivas : 1"  + " ?"); 
  1635.                         }
  1636.                 }else{
  1637.                     streak = 1;
  1638.                     if(players.length >= 2 * maxTeamSize){
  1639.                     redPlayers = blueTeamArray.slice(0, -1).join(', ') + ' y ' + blueTeamArray.slice(-1);
  1640.                     streakpuntua = 1;
  1641.                     room.sendChat("? El Blue Team ganó " + scores.blue + "-" + scores.red + " ! Victorias consecutivas : " + streakpuntua + " ?");
  1642.                 //room.sendChat("? El Red Team ganó " + scores.red + "-" + scores.blue + " ! Victorias consecutivas : " + streakpuntua + " ?");
  1643.                 } else if(players.length < 2 * maxTeamSize){
  1644.                         streakpuntua = 0;
  1645.                     room.sendChat("? El Blue Team ganó " + scores.blue + "-" + scores.red + " ! Victorias consecutivas : 1"  + " ?");
  1646.                         }
  1647.                
  1648.             }
  1649.         }      
  1650.         else {
  1651.                 streak = 0;
  1652.                 room.sendChat("? Límite de empate, terminado! ?");
  1653.     }
  1654.     room.sendChat("⭐ Posesión del balón : ? " + (Rposs*100).toPrecision(3).toString() + "% : " + (Bposs*100).toPrecision(3).toString() + "% ?");
  1655.     scores.red == 0 ? (scores.blue == 0 ? room.sendChat("? " + GKList[0].name + " y " + GKList[1].name + " mantuvieron la portería invicta ! ") : room.sendChat("? " + GKList[1].name + " mantuvo la portería invicta ! ")) : scores.blue == 0 ? room.sendChat("? " + GKList[0].name + " mantuvo la portería invicta ! ") : null;
  1656.         updateStats();
  1657.         /*players.forEach(p => {
  1658.                 playersAllowedLVL10.forEach(pa => {
  1659.                 if(pa.name !== p.name){
  1660.                 setAFK(p, false);
  1661.                 getAFK(p) ? updateRoleOnPlayerOut() : updateRoleOnPlayerIn();
  1662.                 room.sendAnnouncement("TODOS LOS JUGADORES QUE ESTAN AFK ESTAN ACTIVOS EXCEPTO NIVEL 10", null, 0x3b83bd, 'normal', 0);
  1663.                 }
  1664.                 })     
  1665.         })*/
  1666.        
  1667.         if(streakpuntua > streakRecord){
  1668.         if(players.length >= 2 * maxTeamSize){
  1669.         streakRecord = streakpuntua;
  1670.         streakRecordPlayers = redPlayers;
  1671.         /*if(streakmanualRecord < streakpuntua){
  1672.         room.sendAnnouncement("? Los jugadores: " + streakRecordPlayers + ", establecen un nuevo record: " + streakRecord + " ?", null, 0xf7d600, 'normal', 0);
  1673.         console.log("Record: " +streakRecordPlayers + " con " + streakRecord); 
  1674.         }*/
  1675.         if(streakpuntua > streakmanualRecord && streakRecord > streakmanualRecord){
  1676.         streakmanualRecord = streakRecord;
  1677.         streakRecordPlayersmanual = redPlayers;
  1678.         room.sendAnnouncement("? Los jugadores: " + streakRecordPlayersmanual + ", establecen un nuevo record: " + streakmanualRecord + " ?", null, 0xf7d600, 'normal', 0);
  1679.         console.log("Record: " +streakRecordPlayers + " con " + streakRecord); 
  1680.         }
  1681.         }
  1682.        
  1683. }
  1684.     if(players.length == 2 * maxTeamSize){
  1685.                 streakpuntua = 0;
  1686.         }
  1687.        
  1688. }
  1689.  
  1690. function SaludandoGenteFun(player, message){
  1691.     //message = message.toLowerCase();
  1692.     //message = message.replace(/\s/g, '');
  1693.     //message = message.replace(/\./g,' ');
  1694.         //var playerName = player.name.replace(/ /g,"_");
  1695.     //var randomizador = Math.floor(Math.random() * (24-0)) + 0; // el max no se cuenta ya que los arrays empiezan por 0
  1696.         //if(message.includes("hola") ||message.includes("HOLA") ||message.includes("hey") ||message.includes("hola bot") ||message.includes("hola BOT")){
  1697.     /*if(message === "hola bot" || message === "hola" || message === "HOLA" || message === "HOLA BOT" ){  
  1698.           switch(randomizador){
  1699.           case 0:
  1700.           setTimeout(() => {room.sendAnnouncement("? ESP FUTSAL BOT ? : " + "HOLA, @" + player.name + ", OJALA ESTES BIEN MUERTO",null, 0x00FFB3, "normal", 0);
  1701.  }, 1000)
  1702.           break;
  1703.           case 1:
  1704.           setTimeout(() => {room.sendAnnouncement("? ESP FUTSAL BOT ? : " + "BUENAS TETAS...DIGO TARDES PERDÓN, @" + player.name + ", LA CONSTUMBRE DE ESTAR CON TU MADRE" ,null, 0x00FFB3, "normal", 0);
  1705.  }, 1000)
  1706.           break;
  1707.           case 2:
  1708.           setTimeout(() => {room.sendAnnouncement("? ESP FUTSAL BOT ? : " + "BUENAS, @" + player.name + ", ESPERO QUE NO LA CAGUES COMO EL INUTIL DE ROQUE",null, 0x00FFB3, "normal", 0);
  1709. }, 1000)
  1710.           break;
  1711.           case 3:
  1712.           setTimeout(() => {room.sendAnnouncement("? ESP FUTSAL BOT ? : " + "HEY, @" + player.name + ", ESPERO QUE NO VENGAS DROGADO, SINO ME CAGARE EN TU PUTA MADRE",null, 0x00FFB3, "normal", 0);
  1713.  }, 1000)
  1714.           break;
  1715.           case 4:
  1716.           setTimeout(() => {room.sendAnnouncement("? ESP FUTSAL BOT ? : " + "HOLA, @" + player.name + ", ¿NO SERAS EL SUBNORMAL DE ROQUE?" ,null, 0x00FFB3, "normal", 0);
  1717. }, 1000)
  1718.           break;
  1719.           case 5:
  1720.           setTimeout(() => {room.sendAnnouncement("? ESP FUTSAL BOT ? : " + "HOLA, @" + player.name + ", ¿NO SERAS EL SUBNORMAL DE PERRO?" ,null, 0x00FFB3, "normal", 0);
  1721. }, 1000)
  1722.           break;
  1723.           case 6:
  1724.           setTimeout(() => {room.sendAnnouncement("? ESP FUTSAL BOT ? : " + "HOLA, @" + player.name + ", OJALA TE ENTRE EL COVID POR EL CULO Y NO JUEGUES AQUI MAS EN TU PUTA VIDA" ,null, 0x00FFB3, "normal", 0);
  1725. }, 1000)
  1726.           break;
  1727.           case 7:
  1728.           setTimeout(() => {room.sendAnnouncement("? ESP FUTSAL BOT ? : @" + player.name + ", NO MERECES NI SALUDO, ESCORIA" ,null, 0x00FFB3, "normal", 0);
  1729. }, 1000)
  1730.           break;
  1731.           case 8:
  1732.           setTimeout(() => {room.sendAnnouncement("? ESP FUTSAL BOT ? : " + "NO ME SALUDES, @" + player.name + ", QUE ESTOY OCUPADO FOLLANDO A TU MADRE" ,null, 0x00FFB3, "normal", 0);
  1733. }, 1000)
  1734.           break;
  1735.           case 9:
  1736.           setTimeout(() => {room.sendAnnouncement("? ESP FUTSAL BOT ? : " + "YA ME SALUDA EL TONTO DE @" + player.name ,null, 0x00FFB3, "normal", 0);
  1737. }, 1000)
  1738.           break;
  1739.           case 10:
  1740.           setTimeout(() => {room.sendAnnouncement("? ESP FUTSAL BOT ? : " + "BUENAS, OJALA @" + player.name + " MUERTO" ,null, 0x00FFB3, "normal", 0);
  1741. }, 1000)
  1742.           break;
  1743.           case 11:
  1744. setTimeout(() => {room.sendAnnouncement("? ESP FUTSAL BOT ? : " + "BUENAS, OJALA @" + player.name + " SIN DESCENDENCIA" ,null, 0x00FFB3, "normal", 0);
  1745. }, 1000)         
  1746.           break;
  1747.           case 12:
  1748. setTimeout(() => {room.sendAnnouncement("? ESP FUTSAL BOT ? : " + "BUENAS TARDES, SEÑORITA @" + player.name + ", ¿QUIERES QUE TE FOLLE O QUE?" ,null, 0x00FFB3, "normal", 0);
  1749. }, 1000)         
  1750.           break;
  1751.           case 13:
  1752. setTimeout(() => {room.sendAnnouncement("? ESP FUTSAL BOT ? : " + "COMO ME VUELVAS A SALUDAR, @" + player.name + ", VOY A TU CASA Y TE FOLLO HIJO DE PUTA" ,null, 0x00FFB3, "normal", 0);
  1753.  }, 1000)        
  1754.           break;
  1755.           case 14:
  1756.           setTimeout(() => {room.sendAnnouncement("? ESP FUTSAL BOT ? : " + "BUENAS, @" + player.name + ", TE ESTAN LLAMANDO DE LA SALA DE ROQUE PARA TE CAGUES EN SU PUTA MADRE" ,null, 0x00FFB3, "normal", 0);
  1757. }, 1000)
  1758.           break;
  1759.           case 15:
  1760. setTimeout(() => {room.sendAnnouncement("? ESP FUTSAL BOT ? : " + "YA LLEGO @" + player.name + " EL QUE FALTABA PARA TENER A TODOS LOS TONTOS EN UNA MISMA SALA" ,null, 0x00FFB3, "normal", 0);
  1761. }, 1000)         
  1762.           break;
  1763.           case 16:
  1764.           setTimeout(() => {room.sendAnnouncement("? ESP FUTSAL BOT ? : " + "NO TE MERECES NI UN SALUDO DE LO FEO QUE ERES @" + player.name ,null, 0x00FFB3, "normal", 0);
  1765.  }, 1000)
  1766.           break;
  1767.           case 17:
  1768.           setTimeout(() => {room.sendAnnouncement("? ESP FUTSAL BOT ? : " + "HOLA, @" + player.name + ", DICE PERRO QUE TE APUNTES A SU LIGA O SE MEA EN TI" ,null, 0x00FFB3, "normal", 0);
  1769. }, 1000)
  1770.           break;
  1771.           case 18:
  1772.           setTimeout(() => {room.sendAnnouncement("? ESP FUTSAL BOT ? : @" + player.name + ", COMO ME VUELVAS A SALUDAR, VAS A JUGAR A LA SALA DE SPACEBOUNCE CON MATAOS" ,null, 0x00FFB3, "normal", 0);
  1773. }, 1000)
  1774.           break;
  1775.           case 19:
  1776.           setTimeout(() => {room.sendAnnouncement("? ESP FUTSAL BOT ? : @" + player.name + " SE CREE QUE, PORQUE SEA EL ESCLAVO DE GIMENEZ, TENGA QUE SALUDAR A ESTE TROZO DE MIERDA" ,null, 0x00FFB3, "normal", 0);
  1777. }, 1000)
  1778.           break;
  1779.           case 20:
  1780.           setTimeout(() => {room.sendAnnouncement("? ESP FUTSAL BOT ? : SOY BOT, PERO NO GILIPOLLAS COMO PARA SALUDAR A BASURA COMO @" + player.name  ,null, 0x00FFB3, "normal", 0);
  1781. }, 1000)
  1782.           break;
  1783.           case 21:
  1784.           setTimeout(() => {room.sendAnnouncement("? ESP FUTSAL BOT ? : BUENAS... HE DICHO QUE BUENAS @" + player.name + ", HIJO DE PUTA JAJA S1"  ,null, 0x00FFB3, "normal", 0);
  1785. }, 1000)
  1786.           break;
  1787.           case 22:
  1788.           setTimeout(() => {room.sendAnnouncement("? ESP FUTSAL BOT ? : HOLA BUENAS... @" + player.name + ", HE DICHO HOLA BUENAS SUBNORMAL "  ,null, 0x00FFB3, "normal", 0);
  1789. }, 1000)
  1790.           break;
  1791.           case 23:
  1792.           setTimeout(() => {
  1793.           room.sendAnnouncement("? ESP FUTSAL BOT ? : HOLA, @" + player.name + ", IGUAL QUE ENTRAS PUEDES SALIR PUTO MANCO"     ,null, 0x00FFB3, "normal", 0);
  1794.           }, 1000)
  1795.           break;
  1796.       default:
  1797.           setTimeout(() => {room.sendAnnouncement("? ESP FUTSAL BOT ? : " + " @" + player.name + ", BIENVENIDO", 0x00FFB3, "normal", 0);}, 1000)
  1798.         }
  1799. } */
  1800. }
  1801. function quickRestart() {
  1802.         room.stopGame();
  1803.         setTimeout(() => { room.startGame(); }, 1000);
  1804. }
  1805.  
  1806. function resumeGame() {
  1807.         setTimeout(() => { room.startGame(); }, 1000);
  1808.         setTimeout(() => { room.pauseGame(false); }, 1000);
  1809. }
  1810.  
  1811. function activateChooseMode() {
  1812.         inChooseMode = true;
  1813.         slowMode = 2;
  1814.         room.sendChat("Modo lento activado (2 segundos)!");
  1815. }
  1816.  
  1817. function deactivateChooseMode() {
  1818.         inChooseMode = false;
  1819.         clearTimeout(timeOutCap);
  1820.         if (slowMode != 0) {
  1821.                 slowMode = 0;
  1822.                 room.sendChat("Modo lento terminado.");
  1823.         }
  1824.         redCaptainChoice = "";
  1825.         blueCaptainChoice = "";
  1826. }
  1827.  
  1828. function loadMap(map, scoreLim, timeLim) {
  1829.         if (map == aloneMap) {
  1830.                 room.setCustomStadium(aloneMap);
  1831.         }
  1832.         else if (map == classicMap) {
  1833.                 (classicMap != '') ? room.setCustomStadium(classicMap) : room.setDefaultStadium("Classic");
  1834.         }
  1835.         else if (map == bigMap) {
  1836.                 (bigMap != '.') ? room.setCustomStadium(bigMap) : room.setDefaultStadium("Big");
  1837.         }
  1838.         else {
  1839.                 room.setCustomStadium(map);
  1840.         }
  1841.         room.setScoreLimit(scoreLim);
  1842.         room.setTimeLimit(timeLim);
  1843. }
  1844.  
  1845. /* PLAYER FUNCTIONS */
  1846.  
  1847. function updateTeams() { // update the players' list and all the teams' list
  1848.         players = room.getPlayerList().filter((player) => player.id != 0 && !getAFK(player));
  1849.         teamR = players.filter(p => p.team === Team.RED);
  1850.         teamB = players.filter(p => p.team === Team.BLUE);
  1851.         teamS = players.filter(p => p.team === Team.SPECTATORS);
  1852. }
  1853.  
  1854. function handleInactivity() { // handles inactivity : players will be kicked after afkLimit
  1855.         if (countAFK && (teamR.length + teamB.length) > 1) {
  1856.                 for (var i = 0; i < teamR.length ; i++) {
  1857.                         setActivity(teamR[i], getActivity(teamR[i]) + 1);
  1858.                 }
  1859.                 for (var i = 0; i < teamB.length ; i++) {
  1860.                         setActivity(teamB[i], getActivity(teamB[i]) + 1);
  1861.                 }
  1862.         }
  1863.         for (var i = 0; i < extendedP.length ; i++) {
  1864.                 if (extendedP[i][eP.ACT] == 60 * (2/3 * afkLimit)) {
  1865.                         room.sendChat("[PV] ⛔ @" + room.getPlayer(extendedP[i][eP.ID]).name + ", si no te mueves o envías un mensaje dentro de los siguientes " + Math.floor(afkLimit / 3) + " segundos, seras kickeado!", extendedP[i][eP.ID]);
  1866.                 }
  1867.                 if (extendedP[i][eP.ACT] >= 60 * afkLimit) {
  1868.                         extendedP[i][eP.ACT] = 0;
  1869.             if (room.getScores().time <= afkLimit - 0.5) {
  1870.                                 setTimeout(() => { !inChooseMode ? quickRestart() : room.stopGame(); }, 10);
  1871.                         }
  1872.                         room.kickPlayer(extendedP[i][eP.ID], "AFK", false);
  1873.                 }
  1874.         }
  1875. }
  1876.  
  1877. function getAuth(player) {
  1878.         return extendedP.filter((a) => a[0] == player.id) != null ? extendedP.filter((a) => a[0] == player.id)[0][eP.AUTH] : null;
  1879. }
  1880.  
  1881. function getAFK(player) {
  1882.         return extendedP.filter((a) => a[0] == player.id) != null ? extendedP.filter((a) => a[0] == player.id)[0][eP.AFK] : null;
  1883. }
  1884.  
  1885.  
  1886. /*function setAFK(player, value) {
  1887.         let isLevel10 = false;
  1888.  
  1889.         playersAllowedLVL10.forEach(p => {
  1890.                 if (p.name === player.name) {
  1891.                         isLevel10 = true;
  1892.                 }
  1893.         });
  1894.  
  1895.     /*if (afkcont >= 3 && value && !isLevel10) {
  1896.                 room.sendAnnouncement("? El limite de jugadores afk por sala es de 3 ?",player.id, 0x00FF00, 'normal', 0);
  1897.                 room.sendAnnouncement("? The AFK limit per room is 3 ?",player.id, 0x00FF00, 'normal', 0);
  1898.     } else {
  1899.                 if (players.length != 1 && player.team != Team.SPECTATORS) {
  1900.                         if (player.team == Team.RED && streak > 0 && room.getScores() == null) {
  1901.                                 room.setPlayerTeam(player.id, Team.SPECTATORS);
  1902.                         }
  1903.                         /*else if (player.team == Team.BLUE && streak > 0 && room.getScores() == null) {
  1904.                                 room.setPlayerTeam(player.id, Team.SPECTATORS);
  1905.                         }*/
  1906.                 /*      else {
  1907.                                 room.sendChat("No puedes ser AFK mientras estás en un equipo !", player.id);
  1908.                                 room.sendChat("You cant be AFK when you are in one team !", player.id);
  1909.                                 return false;
  1910.                         }
  1911.                 }
  1912.                 else if (players.length == 1 && !getAFK(player)) {
  1913.                         room.setPlayerTeam(player.id, Team.SPECTATORS);
  1914.                 }
  1915.  
  1916.         //value ? afkcont++ : afkcont--;
  1917.                 //extendedP.filter((a) => a[0] == player.id).forEach((player) => player[eP.AFK] = value);
  1918.                 room.sendChat(player.name + (getAFK(player) ? " está AFK !" : " ya no está AFK !"));
  1919.                 getAFK(player) ? updateRoleOnPlayerOut() : updateRoleOnPlayerIn();
  1920.     //}
  1921. }*/
  1922. function setAFK(player, value) {
  1923.         extendedP.filter((a) => a[0] == player.id).forEach((player) => player[eP.AFK] = value);
  1924.         console.log("Nombre: " + player.name + ", AFK: " + value + ", Fecha: " + new Date().toLocaleTimeString());
  1925.         let hora = new Date();
  1926.         let minutos = hora.getMinutes();
  1927.         if(value == true){
  1928.         playersAllowed1.forEach(p => {
  1929.         if (player.name === p.name) {
  1930.                  p.horaj = minutos;
  1931.         }
  1932.     }) 
  1933.         }else{
  1934.         playersAllowed1.forEach(p => {
  1935.         if (player.name === p.name) {
  1936.                  p.horaj = "";
  1937.         }
  1938.     }) 
  1939.         }
  1940. }
  1941.  
  1942. function getActivity(player) {
  1943.         return extendedP.filter((a) => a[0] == player.id) != null ? extendedP.filter((a) => a[0] == player.id)[0][eP.ACT] : null;
  1944. }
  1945.  
  1946. function setActivity(player, value) {
  1947.         extendedP.filter((a) => a[0] == player.id).forEach((player) => player[eP.ACT] = value);
  1948. }
  1949.  
  1950. function getGK(player) {
  1951.         return extendedP.filter((a) => a[0] == player.id) != null ? extendedP.filter((a) => a[0] == player.id)[0][eP.GK] : null;
  1952. }
  1953.  
  1954. function setGK(player, value) {
  1955.         extendedP.filter((a) => a[0] == player.id).forEach((player) => player[eP.GK] = value);
  1956. }
  1957.  
  1958. function getMute(player) {
  1959.         return extendedP.filter((a) => a[0] == player.id) != null ? extendedP.filter((a) => a[0] == player.id)[0][eP.MUTE] : null;
  1960. }
  1961.  
  1962. function setMute(player, value) {
  1963.         extendedP.filter((a) => a[0] == player.id).forEach((player) => player[eP.MUTE] = value);
  1964. }
  1965.  
  1966. /* BALANCE & CHOOSE FUNCTIONS */
  1967.  
  1968. function updateRoleOnPlayerIn() {
  1969.         updateTeams();
  1970.         if (inChooseMode) {
  1971.                 if (players.length == 6) {
  1972.                         loadMap(bigMap, scoreLimitBig, timeLimitBig);
  1973.                 }
  1974.                 if (teamS.length > 0) {
  1975.                 getSpecList(teamR.length <= teamB.length ? teamR[0] : teamB[0]);       
  1976.                 }
  1977.         }
  1978.         balanceTeams();
  1979. }
  1980.  
  1981. function updateRoleOnPlayerOut() {
  1982.     updateTeams();
  1983.         if (room.getScores() != null) {
  1984.                 var scores = room.getScores();
  1985.                 //if (players.length >= 2 * maxTeamSize && scores.time >= (5/6) * game.scores.timeLimit && teamR.length != teamB.length) {
  1986.                 /*if (players.length >= 2 * maxTeamSize && scores.time >= (8/12) * game.scores.timeLimit && teamR.length != teamB.length) {
  1987.                         if (teamR.length < teamB.length) {     
  1988.                 //if (scores.blue - scores.red == 2) {
  1989.                             if (scores.blue - scores.red == 1) {
  1990.                                         endGame(Team.BLUE);
  1991.                                         room.sendChat("? Abandono detectado. Juego terminado ?");
  1992.                                         setTimeout(() => { room.stopGame(); }, 100);
  1993.                                         return;
  1994.                                 }
  1995.                         }
  1996.                         else {
  1997.                                 //if (scores.red - scores.blue == 2) {
  1998.                                 if (scores.red - scores.blue == 1) {
  1999.                                         endGame(Team.RED);
  2000.                                         room.sendChat("? Abandono detectado. Juego terminado ?");
  2001.                                         setTimeout(() => { room.stopGame(); }, 100);
  2002.                                         return;
  2003.                                 }
  2004.                         }
  2005.                 }*/
  2006.                 if (players.length >= 2 * maxTeamSize && scores.time >= (0/12) * game.scores.timeLimit && teamR.length != teamB.length) {
  2007.                         if (teamR.length < teamB.length) {     
  2008.                 //if (scores.blue - scores.red == 2) {
  2009.                             if (scores.blue - scores.red == 1) {
  2010.                                         endGame(Team.BLUE);
  2011.                                         room.sendChat("? Abandono detectado. Juego terminado ?");
  2012.                                         setTimeout(() => { room.stopGame(); }, 100);
  2013.                                         return;
  2014.                                 }
  2015.                         }
  2016.                         else {
  2017.                                 //if (scores.red - scores.blue == 2) {
  2018.                                 if (scores.red - scores.blue == 1) {
  2019.                                         endGame(Team.RED);
  2020.                                         room.sendChat("? Abandono detectado. Juego terminado ?");
  2021.                                         setTimeout(() => { room.stopGame(); }, 100);
  2022.                                         return;
  2023.                                 }
  2024.                         }
  2025.                 }
  2026.                 if (players.length >= 2 * maxTeamSize && scores.time >= game.scores.timeLimit && teamR.length != teamB.length){
  2027.                         if (teamR.length < teamB.length) {
  2028.                                 endGame(Team.BLUE);
  2029.                                 room.sendChat("? Abandono detectado. Juego terminado ?");
  2030.                                 setTimeout(() => { room.stopGame(); }, 100);
  2031.                                 return;
  2032.                         }
  2033.                         else {
  2034.                                 if(teamR.length > teamB.length){
  2035.                                 endGame(Team.RED);
  2036.                                 room.sendChat("? Abandono detectado. Juego terminado ?");
  2037.                                 setTimeout(() => { room.stopGame(); }, 100);
  2038.                                 return;
  2039.                                 }
  2040.                         }
  2041.                 }
  2042.         }
  2043.         if (inChooseMode) {
  2044.                 if (players.length == 5) {
  2045.                         loadMap(classicMap, scoreLimitClassic, timeLimitClassic);
  2046.                 }
  2047.                 //---------------------------------Estaba anteriormente---------------------------------------
  2048.                 /*if (teamR.length == 0 || teamB.length == 0) {
  2049.                         //teamR.length == 0 ? room.setPlayerTeam(teamS[0].id, Team.RED) : room.setPlayerTeam(teamS[0].id, Team.BLUE);
  2050.                         teamR.length == 0 ? room.setPlayerTeam(teamS[0]?.id, Team.RED) : room.setPlayerTeam(teamS[0]?.id, Team.BLUE);
  2051.                         return;
  2052.                 }*/
  2053.                 //--------------------------------Estaba anteriormente---------------------------------------
  2054.                 if (teamR.length == 0 || teamB.length == 0) {
  2055.             if (teamS.length > 0) {
  2056.                 teamR.length == 0 ? room.setPlayerTeam(teamS[0].id, Team.RED) : room.setPlayerTeam(teamS[0].id, Team.BLUE);
  2057.             }
  2058.             return;
  2059.         }
  2060.                 if (Math.abs(teamR.length - teamB.length) == teamS.length) {
  2061.                         room.sendChat("No hay alternativa, déjame manejar esta situación ...");
  2062.                         deactivateChooseMode();
  2063.                         resumeGame();
  2064.                         var b = teamS.length;
  2065.                         if (teamR.length > teamB.length) {
  2066.                                 for (var i = 0 ; i < b ; i++) {
  2067.                                         setTimeout(() => { room.setPlayerTeam(teamS[0].id, Team.BLUE); }, 5*i);
  2068.                                 }
  2069.                         }
  2070.                         else {
  2071.                                 for (var i = 0 ; i < b ; i++) {
  2072.                                         setTimeout(() => { room.setPlayerTeam(teamS[0].id, Team.RED); }, 5*i);
  2073.                                 }
  2074.                         }
  2075.                         return;
  2076.                 }
  2077.                 if (streak == 0 && room.getScores() == null) {
  2078.                         if (Math.abs(teamR.length - teamB.length) == 2) { // if someone left a team has 2 more players than the other one, put the last chosen guy back in his place so it's fair
  2079.                                 room.sendChat("? Equilibrando equipos... ?");
  2080.                                 teamR.length > teamB.length ? room.setPlayerTeam(teamR[teamR.length - 1].id, Team.SPECTATORS) : room.setPlayerTeam(teamB[teamB.length - 1].id, Team.SPECTATORS);
  2081.                         }
  2082.                 }
  2083.                 if (teamR.length == teamB.length && teamS.length < 2) {
  2084.                         deactivateChooseMode();
  2085.                         resumeGame();
  2086.                         return;
  2087.                 }
  2088.                 capLeft ? choosePlayer() : getSpecList(teamR.length <= teamB.length ? teamR[0] : teamB[0]);
  2089.         }
  2090.         balanceTeams();
  2091. }
  2092.  
  2093. function balanceTeams() {
  2094.         if (!inChooseMode) {
  2095.                 if (players.length == 1 && teamR.length == 0) {
  2096.             quickRestart();
  2097.             loadMap(aloneMap, 0, 0);
  2098.                         room.setPlayerTeam(players[0].id, Team.RED);
  2099.                 }
  2100.                 else if (Math.abs(teamR.length - teamB.length) == teamS.length && teamS.length > 0) {
  2101.                         const n = Math.abs(teamR.length - teamB.length);
  2102.                         if (players.length == 2) {
  2103.                                 quickRestart();
  2104.                                 loadMap(classicMap, scoreLimitClassic, timeLimitClassic);
  2105.                         }
  2106.                         if (teamR.length > teamB.length) {
  2107.                                 for (var i = 0 ; i < n ; i++) {
  2108.                                         room.setPlayerTeam(teamS[i].id, Team.BLUE);
  2109.                                 }
  2110.                         }
  2111.                         else {
  2112.                                 for (var i = 0 ; i < n ; i++) {
  2113.                                         room.setPlayerTeam(teamS[i].id, Team.RED);
  2114.                                 }
  2115.                         }
  2116.                 }
  2117.                 else if (Math.abs(teamR.length - teamB.length) > teamS.length) {
  2118.                         const n = Math.abs(teamR.length - teamB.length);
  2119.                         if (players.length == 1) {
  2120.                                 quickRestart();
  2121.                                 loadMap(aloneMap, 0, 0);
  2122.                                 room.setPlayerTeam(players[0].id, Team.RED);
  2123.                                 return;
  2124.                         }
  2125.                         else if (players.length == 5) {
  2126.                                 quickRestart();
  2127.                                 loadMap(classicMap, scoreLimitClassic, timeLimitClassic);
  2128.                         }
  2129.                         if (players.length == maxTeamSize * 2 - 1) {
  2130.                                 allReds = [];
  2131.                                 allBlues = [];
  2132.                         }
  2133.                         if (teamR.length > teamB.length) {
  2134.                                 for (var i = 0 ; i < n ; i++) {
  2135.                                         room.setPlayerTeam(teamR[teamR.length - 1 - i].id, Team.SPECTATORS);
  2136.                                 }
  2137.                         }
  2138.                         else {
  2139.                                 for (var i = 0 ; i < n ; i++) {
  2140.                                         room.setPlayerTeam(teamB[teamB.length - 1 - i].id, Team.SPECTATORS);
  2141.                                 }
  2142.                         }
  2143.                 }
  2144.                 else if (Math.abs(teamR.length - teamB.length) < teamS.length && teamR.length != teamB.length) {
  2145.                         room.pauseGame(true);
  2146.                         activateChooseMode();
  2147.                         choosePlayer();
  2148.                 }
  2149.                 else if (teamS.length >= 2 && teamR.length == teamB.length && teamR.length < maxTeamSize) {
  2150.                         if (teamR.length == 2) {
  2151.                                 quickRestart();
  2152.                                 loadMap(bigMap, scoreLimitBig, timeLimitBig);
  2153.                         }
  2154.                         topBtn();
  2155.                 }
  2156.         }
  2157. }
  2158.  
  2159. function choosePlayer() {
  2160.         clearTimeout(timeOutCap);
  2161.         if (teamR.length <= teamB.length && teamR.length != 0) {
  2162.                 room.sendChat("[PV] Para elegir un jugador, ingrese su número en la lista dada o use 'top', 'random' o 'bottom'.", teamR[0].id);
  2163.                 timeOutCap = setTimeout(function (player) { room.sendChat("[PV] Date prisa @" + player.name + ", solo quedan " + Number.parseInt(chooseTime / 2) + " segundos para elegir !", player.id); timeOutCap = setTimeout(function (player) { room.kickPlayer(player.id, "¡No elegiste a tiempo!", false); }, chooseTime * 500, teamR[0]); }, chooseTime * 1000, teamR[0]);
  2164.         }
  2165.         else if (teamB.length < teamR.length && teamB.length != 0) {
  2166.                 room.sendChat("[PV] Para elegir un jugador, ingrese su número en la lista dada o use 'top', 'random' o 'bottom'.", teamB[0].id);
  2167.                 timeOutCap = setTimeout(function (player) { room.sendChat("[PV] Date prisa @" + player.name + ", solo quedan " + Number.parseInt(chooseTime / 2) + " segundos para elegir !", player.id); timeOutCap = setTimeout(function (player) { room.kickPlayer(player.id, "¡No elegiste a tiempo!", false); }, chooseTime * 500, teamB[0]); }, chooseTime * 1000, teamB[0]);
  2168.         }
  2169.         if (teamR.length != 0 && teamB.length != 0) getSpecList(teamR.length <= teamB.length ? teamR[0] : teamB[0]);
  2170. }
  2171.  
  2172. function getSpecList(player) {
  2173.         if (teamS.length > 0) {
  2174.         var cstm = "[PV] Jugadores : ";
  2175.         for (var i = 0 ; i < teamS.length ; i++) {
  2176.                 if (140 - cstm.length < (teamS[i].name + "[" + (i+1) + "], ").length) {
  2177.                         room.sendChat(cstm, player.id);
  2178.                         cstm = "... ";
  2179.                 }
  2180.                 cstm += teamS[i].name + "[" + (i+1) + "], ";
  2181.         }
  2182.         cstm = cstm.substring(0,cstm.length - 2);
  2183.         cstm += ".";
  2184.         room.sendChat(cstm, player.id);
  2185.         }
  2186. }
  2187.  
  2188. function getSpecList1(team, player = null) {
  2189.     var cstm = "[PV] Jugadores : ";
  2190.     for (i = 0; i < teamS.length; i++) {
  2191.         if (140 - cstm.length < (teamS[i].name + "[" + (i + 1) + "], ").length) {
  2192.             if (team == Team.RED && teamR.length > 0) room.sendChat(cstm, teamROrder[0].id);
  2193.             else if (team == Team.BLUE && teamB.length > 0) room.sendChat(cstm, teamBOrder[0].id);
  2194.             else if (team == Team.SPECTATORS && player != null) room.sendChat(cstm, player.id);
  2195.             cstm = "... ";
  2196.         }
  2197.         cstm += teamS[i].name + "[" + (i + 1) + "], ";
  2198.     }
  2199.     if (cstm == "[PV] Jugadores : ") {
  2200.         if (team == Team.RED && teamR.length > 0) room.sendChat(cstm, teamROrder[0].id);
  2201.         else if (team == Team.BLUE && teamB.length > 0) room.sendChat(cstm, teamBOrder[0].id);
  2202.         else if (team == Team.SPECTATORS && player != null) room.sendChat(cstm, player.id);
  2203.         return;
  2204.     }
  2205.     cstm = cstm.substring(0, cstm.length - 2) + ".";
  2206.     if (team == Team.RED && teamR.length > 0) room.sendChat(cstm, teamROrder[0].id);
  2207.     else if (team == Team.BLUE && teamB.length > 0) room.sendChat(cstm, teamBOrder[0].id);
  2208.     else if (team == Team.SPECTATORS && player != null) room.sendChat(cstm, player.id);
  2209. }
  2210.  
  2211. /* STATS FUNCTIONS */
  2212.  
  2213. function getLastTouchOfTheBall() {
  2214.         const ballPosition = room.getBallPosition();
  2215.         updateTeams();
  2216.         for (var i = 0; i < players.length; i++) {
  2217.                 if (players[i].position != null) {
  2218.                         var distanceToBall = pointDistance(players[i].position, ballPosition);
  2219.                         if (distanceToBall < triggerDistance) {
  2220.                                 !activePlay ? activePlay = true : null;
  2221.                                 if (lastTeamTouched == players[i].team && lastPlayersTouched[0] != null && lastPlayersTouched[0].id != players[i].id) {
  2222.                                         lastPlayersTouched[1] = lastPlayersTouched[0];
  2223.                                         lastPlayersTouched[0] = players[i];
  2224.                                 }
  2225.                                 lastTeamTouched = players[i].team;
  2226.                         }
  2227.                 }
  2228.         }
  2229. }
  2230.  
  2231. function getStats() { // gives possession, ball speed and GK of each team
  2232.         if (activePlay) {
  2233.                 updateTeams();
  2234.                 lastTeamTouched == Team.RED ? Rposs++ : Bposs++;
  2235.                 var ballPosition = room.getBallPosition();
  2236.                 point[1] = point[0];
  2237.                 point[0] = ballPosition;
  2238.                 ballSpeed = (pointDistance(point[0], point[1]) * 60 * 60 * 60)/15000;
  2239.                 var k = [-1, Infinity];
  2240.                 for (var i = 0; i < teamR.length; i++) {
  2241.                         if (teamR[i].position.x < k[1]) {
  2242.                                 k[0] = teamR[i];
  2243.                                 k[1] = teamR[i].position.x;
  2244.                         }
  2245.                 }
  2246.                 k[0] != -1 ? setGK(k[0], getGK(k[0]) + 1) : null;
  2247.                 k = [-1, -Infinity];
  2248.                 for (var i = 0; i < teamB.length; i++) {
  2249.                         if (teamB[i].position.x > k[1]) {
  2250.                                 k[0] = teamB[i];
  2251.                                 k[1] = teamB[i].position.x;
  2252.                         }
  2253.                 }
  2254.                 k[0] != -1 ? setGK(k[0], getGK(k[0]) + 1) : null;
  2255.                 findGK();
  2256.         }
  2257. }
  2258.  
  2259. function updateStats() {
  2260.         //if (players.length >= 2 * maxTeamSize && (game.scores.time >= (5 / 6) * game.scores.timeLimit || game.scores.red == game.scores.scoreLimit || game.scores.blue == game.scores.scoreLimit) && allReds.length >= maxTeamSize && allBlues.length >= maxTeamSize) {
  2261.                 if (players.length >= 2 * maxTeamSize && (game.scores.time >= (1 / 12) * game.scores.timeLimit || game.scores.red == game.scores.scoreLimit || game.scores.blue == game.scores.scoreLimit) && allReds.length >= maxTeamSize && allBlues.length >= maxTeamSize) {       
  2262.                 var stats;
  2263.                 for (var i = 0; i < allReds.length; i++) {
  2264.                         localStorage.getItem(getAuth(allReds[i])) ? stats = JSON.parse(localStorage.getItem(getAuth(allReds[i]))) : stats = [0, 0, 0, 0, "0.00", 0, 0, 0, 0, "0.00", "player", allReds[i].name];
  2265.                         stats[Ss.GA]++;
  2266.                         lastWinner == Team.RED ? stats[Ss.WI]++ : lastWinner == Team.BLUE ? stats[Ss.LS]++ : stats[Ss.DR]++;
  2267.                         stats[Ss.WR] = (100 * stats[Ss.WI] / stats[Ss.GA]).toPrecision(3);
  2268.                         localStorage.setItem(getAuth(allReds[i]), JSON.stringify(stats));
  2269.                 }
  2270.                 for (var i = 0; i < allBlues.length; i++) {
  2271.                         localStorage.getItem(getAuth(allBlues[i])) ? stats = JSON.parse(localStorage.getItem(getAuth(allBlues[i]))) : stats = [0, 0, 0, 0, "0.00", 0, 0, 0, 0, "0.00", "player", allBlues[i].name];
  2272.                         stats[Ss.GA]++;
  2273.                         lastWinner == Team.BLUE ? stats[Ss.WI]++ : lastWinner == Team.RED ? stats[Ss.LS]++ : stats[Ss.DR]++;
  2274.                         stats[Ss.WR] = (100 * stats[Ss.WI] / stats[Ss.GA]).toPrecision(3);
  2275.                         localStorage.setItem(getAuth(allBlues[i]), JSON.stringify(stats));
  2276.                 }
  2277.                 for (var i = 0; i < game.goals.length; i++) {
  2278.                         if (game.goals[i].striker != null) {
  2279.                                 if ((allBlues.concat(allReds)).findIndex((player) => player.id == game.goals[i].striker.id) != -1) {
  2280.                                         stats = JSON.parse(localStorage.getItem(getAuth(game.goals[i].striker)));
  2281.                                         stats[Ss.GL]++;
  2282.                                         localStorage.setItem(getAuth(game.goals[i].striker), JSON.stringify(stats));
  2283.                                 }
  2284.                         }
  2285.                         if (game.goals[i].assist != null) {
  2286.                                 if ((allBlues.concat(allReds)).findIndex((player) => player.name == game.goals[i].assist.name) != -1) {
  2287.                                         stats = JSON.parse(localStorage.getItem(getAuth(game.goals[i].assist)));
  2288.                                         stats[Ss.AS]++;
  2289.                                         localStorage.setItem(getAuth(game.goals[i].assist), JSON.stringify(stats));
  2290.                                 }
  2291.                         }
  2292.                 }
  2293.                 if (allReds.findIndex((player) => player.id == GKList[0].id) != -1) {
  2294.                         stats = JSON.parse(localStorage.getItem(getAuth(GKList[0])));
  2295.                         stats[Ss.GK]++;
  2296.                         game.scores.blue == 0 ? stats[Ss.CS]++ : null;
  2297.                         stats[Ss.CP] = (100 * stats[Ss.CS] / stats[Ss.GK]).toPrecision(3);
  2298.                         localStorage.setItem(getAuth(GKList[0]), JSON.stringify(stats));
  2299.                 }
  2300.                 if (allBlues.findIndex((player) => player.id == GKList[1].id) != -1) {
  2301.                         stats = JSON.parse(localStorage.getItem(getAuth(GKList[1])));
  2302.                         stats[Ss.GK]++;
  2303.                         game.scores.red == 0 ? stats[Ss.CS]++ : null;
  2304.                         stats[Ss.CP] = (100 * stats[Ss.CS] / stats[Ss.GK]).toPrecision(3);
  2305.                         localStorage.setItem(getAuth(GKList[1]), JSON.stringify(stats));
  2306.                 }
  2307.         }
  2308. }
  2309.  
  2310. function findGK() {
  2311.         var tab = [[-1,""], [-1,""]];
  2312.         for (var i = 0; i < extendedP.length ; i++) {
  2313.                 if (room.getPlayer(extendedP[i][eP.ID]) != null && room.getPlayer(extendedP[i][eP.ID]).team == Team.RED) {
  2314.                         if (tab[0][0] < extendedP[i][eP.GK]) {
  2315.                                 tab[0][0] = extendedP[i][eP.GK];
  2316.                                 tab[0][1] = room.getPlayer(extendedP[i][eP.ID]);
  2317.                         }
  2318.                 }
  2319.                 else if (room.getPlayer(extendedP[i][eP.ID]) != null && room.getPlayer(extendedP[i][eP.ID]).team == Team.BLUE) {
  2320.                         if (tab[1][0] < extendedP[i][eP.GK]) {
  2321.                                 tab[1][0] = extendedP[i][eP.GK];
  2322.                                 tab[1][1] = room.getPlayer(extendedP[i][eP.ID]);
  2323.                         }
  2324.                 }
  2325.         }
  2326.         GKList = [tab[0][1], tab[1][1]];
  2327. }
  2328.  
  2329. setInterval(() => {
  2330.         var tableau = [];
  2331.         if (statNumber % 5 == 0) {
  2332.                 Object.keys(localStorage).forEach(function (key) { if (!["player_name", "view_mode", "geo", "avatar", "player_auth_key"].includes(key)) { tableau.push([(JSON.parse(localStorage.getItem(key))[Ss.NK]), (JSON.parse(localStorage.getItem(key))[Ss.GA])]); } });
  2333.                 if (tableau.length < 5) {
  2334.                         return false;
  2335.                 }
  2336.                 tableau.sort(function (a, b) { return b[1] - a[1]; });
  2337.                 room.sendChat("Partidos Jugados> #1 " + tableau[0][0] + ": " + tableau[0][1] + " #2 " + tableau[1][0] + ": " + tableau[1][1] + " #3 " + tableau[2][0] + ": " + tableau[2][1] + " #4 " + tableau[3][0] + ": " + tableau[3][1] + " #5 " + tableau[4][0] + ": " + tableau[4][1]);
  2338.         }
  2339.         if (statNumber % 5 == 1) {
  2340.                 Object.keys(localStorage).forEach(function (key) { if (!["player_name", "view_mode", "geo", "avatar", "player_auth_key"].includes(key)) { tableau.push([(JSON.parse(localStorage.getItem(key))[Ss.NK]), (JSON.parse(localStorage.getItem(key))[Ss.WI])]); } });
  2341.                 if (tableau.length < 5) {
  2342.                         return false;
  2343.                 }
  2344.                 tableau.sort(function (a, b) { return b[1] - a[1]; });
  2345.                 room.sendChat("Victorias> #1 " + tableau[0][0] + ": " + tableau[0][1] + " #2 " + tableau[1][0] + ": " + tableau[1][1] + " #3 " + tableau[2][0] + ": " + tableau[2][1] + " #4 " + tableau[3][0] + ": " + tableau[3][1] + " #5 " + tableau[4][0] + ": " + tableau[4][1]);
  2346.         }
  2347.         if (statNumber % 5 == 2) {
  2348.                 Object.keys(localStorage).forEach(function (key) { if (!["player_name", "view_mode", "geo", "avatar", "player_auth_key"].includes(key)) { tableau.push([(JSON.parse(localStorage.getItem(key))[Ss.NK]), (JSON.parse(localStorage.getItem(key))[Ss.GL])]); } });
  2349.                 if (tableau.length < 5) {
  2350.                         return false;
  2351.                 }
  2352.                 tableau.sort(function (a, b) { return b[1] - a[1]; });
  2353.                 room.sendChat("Goles> #1 " + tableau[0][0] + ": " + tableau[0][1] + " #2 " + tableau[1][0] + ": " + tableau[1][1] + " #3 " + tableau[2][0] + ": " + tableau[2][1] + " #4 " + tableau[3][0] + ": " + tableau[3][1] + " #5 " + tableau[4][0] + ": " + tableau[4][1]);
  2354.         }
  2355.         if (statNumber % 5 == 3) {
  2356.                 Object.keys(localStorage).forEach(function (key) { if (!["player_name", "view_mode", "geo", "avatar", "player_auth_key"].includes(key)) { tableau.push([(JSON.parse(localStorage.getItem(key))[Ss.NK]), (JSON.parse(localStorage.getItem(key))[Ss.AS])]); } });
  2357.                 if (tableau.length < 5) {
  2358.                         return false;
  2359.                 }
  2360.                 tableau.sort(function (a, b) { return b[1] - a[1]; });
  2361.                 room.sendChat("Asistencias> #1 " + tableau[0][0] + ": " + tableau[0][1] + " #2 " + tableau[1][0] + ": " + tableau[1][1] + " #3 " + tableau[2][0] + ": " + tableau[2][1] + " #4 " + tableau[3][0] + ": " + tableau[3][1] + " #5 " + tableau[4][0] + ": " + tableau[4][1]);
  2362.         }
  2363.         if (statNumber % 5 == 4) {
  2364.                 Object.keys(localStorage).forEach(function (key) { if (!["player_name", "view_mode", "geo", "avatar", "player_auth_key"].includes(key)) { tableau.push([(JSON.parse(localStorage.getItem(key))[Ss.NK]), (JSON.parse(localStorage.getItem(key))[Ss.CS])]); } });
  2365.                 if (tableau.length < 5) {
  2366.                         return false;
  2367.                 }
  2368.                 tableau.sort(function (a, b) { return b[1] - a[1]; });
  2369.                 room.sendChat("CS> #1 " + tableau[0][0] + ": " + tableau[0][1] + " #2 " + tableau[1][0] + ": " + tableau[1][1] + " #3 " + tableau[2][0] + ": " + tableau[2][1] + " #4 " + tableau[3][0] + ": " + tableau[3][1] + " #5 " + tableau[4][0] + ": " + tableau[4][1]);
  2370.         }
  2371.         statNumber++;
  2372. }, statInterval * 60 * 1000);
  2373.  
  2374. /* EVENTS */
  2375.  
  2376. /* PLAYER MOVEMENT */
  2377.  
  2378. room.onPlayerJoin = function(player) {
  2379.         contjugadores++;
  2380.         var listajug = contjugadores + "/" + maxPlayers;
  2381.         console.log(listajug)
  2382.         //playerName = player.name.replace(/ /g,"_");
  2383.     //var randomizador = Math.floor(Math.random() * (24-0)) + 0; // el max no se cuenta ya que los arrays empiezan por 0
  2384.         var authIsAllowed = false;
  2385.         var nameIsAllowed = false;
  2386.         if (db.log.filter((p) => p.id == player.id).length == 0) { db.log.push({ id: player.id, lm: [] }); }
  2387.  
  2388.  
  2389. //-----------------------------------------Para pubs------------------------------------------------------------------------------
  2390. var jugador = player.name;
  2391.         var todojunto = jugador.trim();
  2392.         if(!(jugador == todojunto)){
  2393.                 room.kickPlayer(player.id, "Tu nickname no puede tener espacios a la izquierda y a la derecha", false);
  2394.                 return;
  2395.         }
  2396. bannedPlayersconn.forEach(p => {
  2397.         if (player.conn === p) {
  2398.             room.kickPlayer(player.id, "No tienes permiso para entrar a estas salas", true);
  2399.             return;
  2400.         }
  2401.     })
  2402.         bannedPlayersauth.forEach(p => {
  2403.         if (player.auth === p) {
  2404.             room.kickPlayer(player.id, "No tienes permiso para entrar a estas salas", true);
  2405.             return;
  2406.         }
  2407.     })
  2408.         bannedPlayersnombre.forEach(p => {
  2409.         if (player.name === p) {
  2410.             room.kickPlayer(player.id, "No tienes permiso para entrar a estas salas", true);
  2411.             return;
  2412.         }
  2413.         })
  2414.  
  2415.         if (player.auth && extendedP) {
  2416.                 extendedP.forEach(p => {
  2417.                         if (player.name == p[7] && player.conn == p[2] && player.auth == p[1]) {
  2418.                                 room.kickPlayer(p[0], 'Relog', false);
  2419.                                 return;
  2420.                         }
  2421.                 });
  2422.         }
  2423.  
  2424.         playersAllowed1.forEach(p => {
  2425.         if (player.name == p.name && p.verif == "true") {
  2426.         room.kickPlayer(player.id, "Estas entrando con el mismo nick que un usuario en la sala", true);
  2427.         return;
  2428.         }
  2429.     })
  2430.        
  2431.  
  2432. /*playersAllowed.forEach(p => {
  2433.                 if (player.name == p.name) {
  2434.                         nameIsAllowed = true;
  2435.  
  2436.                         if (nameIsAllowed && player.auth == p.auth) {
  2437.                                 authIsAllowed = true;
  2438.                         }
  2439.                 }
  2440.         })
  2441. if (nameIsAllowed && !authIsAllowed) {
  2442.                         room.kickPlayer(player.id, 'Estas fakeando a un jugador que esta registrado. Info: https://discord.gg/3MhhZPN', false); // kick
  2443.                         return;
  2444.                 }
  2445. */
  2446. //--------------------------PARA PUBS -----------------------------------------------------------------------------------------------
  2447. //---------------------------PARA REGISTRADOS----------------------------------------------------------------------------------------
  2448.         /*playersAllowed.forEach(p => {
  2449.                 if (player.auth == p.auth) {
  2450.                         authIsAllowed = true;
  2451.  
  2452.                         if (authIsAllowed && player.name == p.name) {
  2453.                                 nameIsAllowed = true;
  2454.                         }
  2455.                 }
  2456.         })*/
  2457.         /*if (!authIsAllowed) {
  2458.                 room.kickPlayer(player.id, 'Tienes que registrarte, You have to register. Info: https://discord.gg/3MhhZPN', false); // kick
  2459.                 return;
  2460.         } else {
  2461.                 if (!nameIsAllowed && authIsAllowed) {
  2462.                         room.kickPlayer(player.id, 'Este nickname no corresponde a tu id. Info: https://discord.gg/3MhhZPN', false); // kick
  2463.                         return;
  2464.                 }
  2465.         }*/
  2466.         /*playersAllowed.forEach(p => {
  2467.                 if (player.name == p.name) {
  2468.                         nameIsAllowed = true;
  2469.  
  2470.                         if (nameIsAllowed && player.auth == p.auth) {
  2471.                                 authIsAllowed = true;
  2472.                         }
  2473.                 }
  2474.         })*/
  2475.        
  2476.         /*if (nameIsAllowed && !authIsAllowed) {
  2477.                         room.kickPlayer(player.id, 'Estas fakeando a un jugador que esta registrado. Info: https://discord.gg/3MhhZPN', false); // kick
  2478.                         return;
  2479.                 }*/
  2480.        
  2481. //---------------------------PARA REGISTRADOS----------------------------------------------------------------------------------------
  2482. player.test = "asdf";
  2483.         console.log(player)
  2484.         console.log(JSON.stringify(player))
  2485.  
  2486.     //multicuenta con auth, bloqueado
  2487.         if (player.auth && extendedP) {
  2488.                 extendedP.forEach(p => {
  2489.                         if (player.auth === p[1]) {
  2490.                                 room.kickPlayer(p[0], 'Estas entrando con mas de un usuario', false);
  2491.                                 return;
  2492.                         }
  2493.                 });
  2494.         }
  2495.         /*if (player.conn && extendedP) {
  2496.         let playersSameIp = 0;
  2497.         extendedP.forEach(p => {
  2498.             if (player.conn === p[2]) {
  2499.                 playersSameIp++;
  2500.                 console.log(playersSameIp);
  2501.             }
  2502.         });
  2503.  
  2504.         if (playersSameIp >= 2) {
  2505.             room.kickPlayer(player.id, 'Estas entrando con multicuentas en mi sala', false);
  2506.             return;
  2507.         }
  2508.     }*/
  2509.         /*if (player.conn && extendedP) {
  2510.         let playersSameIp = 0;
  2511.         extendedP.forEach(p => {
  2512.             if (player.conn === p[2]) {
  2513.                 playersSameIp++;
  2514.             }
  2515.         });
  2516.  
  2517.         if (playersSameIp > 2) {
  2518.             room.kickPlayer(p[0], 'Estas entrando con mas de un usuario', false);
  2519.             return;
  2520.         }
  2521.     }*/
  2522. /*      bannedPlayersconn.forEach(p => {
  2523.         if (player.conn === p) {
  2524.             room.kickPlayer(player.id, "You aren't allowed to play on this room", true);
  2525.             return;
  2526.         }
  2527.     })
  2528.         bannedPlayersauth.forEach(p => {
  2529.         if (player.auth === p) {
  2530.             room.kickPlayer(player.id, "You aren't allowed to play on this room", true);
  2531.             return;
  2532.         }
  2533.     })
  2534.         bannedPlayersnombre.forEach(p => {
  2535.         if (player.name === p) {
  2536.             room.kickPlayer(player.id, "You aren't allowed to play on this room", true);
  2537.             return;
  2538.         }
  2539.     })*/
  2540.         console.log('RETURN')
  2541.         console.log("Entro: " + player.name + " en la sala." + " Hora: " + new Date().toLocaleTimeString())
  2542.         /*if (player.conn && extendedP) {
  2543.                 extendedP.forEach(p => {
  2544.                         if (player.conn === p[2]) {
  2545.                                 room.kickPlayer(p[0], 'Mismo usuario!!!', false);
  2546.                                 return;
  2547.                         }
  2548.                 });
  2549.         }*/
  2550. /*bannedPlayers.forEach(p => {
  2551.         if (player.conn === p) {
  2552.             room.kickPlayer(player.id, "You aren't allowed to play on this room", true);
  2553.             return;
  2554.         }
  2555.     })*/
  2556.     console.log(new Date().toLocaleTimeString());
  2557.     extendedP.push([player.id, player.auth, player.conn, false, 0, 0, false, player.name]);
  2558.  
  2559.     playersHistorial.forEach(p => {
  2560.         if (p[0] !== player.name && (p[1] === player.auth || p[2] === player.conn)) {
  2561.             console.log('Multicuenta: ' + player.name + ' ha entrado con otro nick, antes era ' + p[0] + " - Hora: " + new Date().toLocaleTimeString())
  2562.         }
  2563.     });
  2564.  
  2565.         playersHistorial.push([player.name, player.auth, player.conn]);
  2566.         //const eP = { ID: 0, AUTH: 1, CONN: 2, AFK: 3, ACT: 4, GK: 5, MUTE: 6, REG: false };
  2567.         //updateRoleOnPlayerIn();
  2568.         updateRoleOnPlayerIn();
  2569.         //playerName = player.name.replace(/ /g,"_");
  2570.     //var SaludosRandomBot = ['Todos demos la bienvenida a X, aunque es muy gilipollas', ' ojalá la pases bien!', ', acabas de unirte al host.', ' te damos las bienvenida.', ', nos alegra mucho que nos elijas!', ' hola!  llegó el más crack.', ' nos hacias falta en éste host.', ' hola!!!', ' gracias por unirte a nuestra comunidad.', ' te damos la bienvenida', ' ha llegado. Se acabó la fiesta.', ' te estábamos esperando', ' está aquí, tal y como predijo la profecía.', ' acaba de unirse. ¡Hagan como que están jugando!', ' acaba de aterrizar', ' se ha unido.', ' ha venido a carrear conos y a marcar muchos goles.', ' está aquí.', ' se ha unido al host! ¡Es superefectivo!', ' se ha unido. Ahora deberán jugar más que el 100%.', ' acaba de unirse... ¿O no?', ' MIRÁ QUIÉN LLEGÓ ¡Es un pájaro! ¡Es un avión! Ah no, no he dicho nada. Flashé', ' hola! quédate un rato y disfruta.', ' llegó el más grande.', ' ha ingresado. Eh muchachos, miren quién llegó.', ' Te estábamos esperando ( ͡° ͜ʖ ͡°)', ' se ha unido al host.', ' acaba de llegar.', ' apareció! cuidado que es salvaje.', ' Hola!! Alguien lo andaba buscando?', ' te estabamos esperando!'];
  2571.     //var GeneradorRandom = SaludosRandomBot[(Math.random() * SaludosRandomBot.length) | 0]
  2572.         room.sendChat("[PV] ? Bienvenido " + player.name + " ! Escriba '!help' para ver los comandos. Entra en nuestro Discord: https://discord.gg/3MhhZPN ", player.id);
  2573.     room.sendChat("[PV] Si buscas competir en una liga, accede a FSHaxleague. Discord: https://discord.gg/rNGN7DX", player.id);
  2574.         //room.sendChat("[PV] ? Welcome " + player.name + " ! Type '!help' to see the commands. Join our Discord: https://discord.gg/3MhhZPN ", player.id);
  2575.  
  2576. /*eljefe.forEach(p => {
  2577.         if (player.auth == p.auth) {
  2578.       if (localStorage.getItem(player.auth) != null) {
  2579.                 if (JSON.parse(localStorage.getItem(player.auth))[Ss.RL] != "player") {
  2580.                         room.setPlayerAdmin(player.id, true);
  2581.                         room.sendChat((JSON.parse(localStorage.getItem(player.auth))[Ss.RL] == "master" ? "Master " : "Admin ") + player.name + " has connected to the room !");
  2582.                 }
  2583.         }
  2584.         }
  2585.     })*/
  2586.     /*let reg = false;
  2587.  
  2588.         playersAllowed1.forEach(p => {
  2589.                 if (p.name == player.name) {
  2590.                         reg = true;
  2591.                         room.sendAnnouncement("Tienes 10 segundos para poder escribir la contraseña, sino seras kickeado", player.id, 0x00FFB3, "normal", 0);
  2592.                         setTimeout(() => {
  2593.                                 if (p.verif !== "true" && player?.id) {
  2594.                                         room.kickPlayer(player.id, "Has tardado más de 10 segundos en iniciar sesion", false);
  2595.                                 } else {
  2596.                                         if (localStorage.getItem(player.auth) != null) {
  2597.                                                 if (JSON.parse(localStorage.getItem(player.auth))[Ss.RL] != "player") {
  2598.                                                         room.setPlayerAdmin(player.id, true);
  2599.                                                         room.sendChat((JSON.parse(localStorage.getItem(player.auth))[Ss.RL] == "master" ? "Master " : "Admin ") + player.name + " has connected to the room !");
  2600.                                                 }
  2601.                                         }
  2602.                                 }
  2603.                         }, 10000);
  2604.                 }
  2605.         });
  2606.         if (!reg) {
  2607.                 updateRoleOnPlayerIn();
  2608.                 room.sendChat("[PV] ? Bienvenido " + player.name + " ! Escriba '!help' para ver los comandos. Entra en nuestro Discord: https://discord.gg/3MhhZPN ", player.id);
  2609.             room.sendChat("[PV] Si buscas competir en una liga, accede a Futsal Haxleague Discord: https://discord.gg/yBSWh86", player.id);
  2610.  
  2611.         }*/
  2612.         if (localStorage.getItem(player.auth) != null) {
  2613.                 if (JSON.parse(localStorage.getItem(player.auth))[Ss.RL] != "player") {
  2614.                         room.setPlayerAdmin(player.id, true);
  2615.                         room.sendChat((JSON.parse(localStorage.getItem(player.auth))[Ss.RL] == "master" ? "Master " : "Admin ") + player.name + " has connected to the room !");
  2616.                 }
  2617.         }
  2618.         //playerName = player.name.replace(/ /g,"_");
  2619.         //var randomizador = Math.floor(Math.random() * (4-0)) + 0;
  2620.         /*switch(randomizador){
  2621.           case 0:
  2622.           setTimeout(() => {
  2623.           room.sendAnnouncement("? ESP FUTSAL BOT ? : " + "DEMOS LA BIENVENIDA AL SUBNORMAL DE @" + player.name,null, 0x00FFB3, "normal", 0);
  2624.           }, 1000)
  2625.           break;
  2626.           case 1:
  2627.           setTimeout(() => {
  2628.           room.sendAnnouncement("? ESP FUTSAL BOT ? : " + "BUENAS TETAS...DIGO TARDES PERDÓN, LA CONSTUMBRE DE ESTAR CON LA MADRE DE @" + player.name ,null, 0x00FFB3, "normal", 0);
  2629.           }, 1000)
  2630.           break;
  2631.           case 2:
  2632.           setTimeout(() => {
  2633.           room.sendAnnouncement("? ESP FUTSAL BOT ? : " + "SALUDAR A @" + player.name + "! A VER SI HOY SE LAS COME TAN DOBLADAS COMO SU MADRE ANOCHE",null, 0x00FFB3, "normal", 0);
  2634.           }, 1000)
  2635.           break;
  2636.           case 3:
  2637.           setTimeout(() => {
  2638.           room.sendAnnouncement("? ESP FUTSAL BOT ? : " + "Y CON @" + player.name + " YA SOMOS 12! PARECE LA ULTIMA FIESTA QUE MONTÓ SU MADRE...AUNQUE...HABIA MAS NEGROS",null, 0x00FFB3, "normal", 0);
  2639.           }, 1000)
  2640.           break;
  2641.           case 4:
  2642.           setTimeout(() => {
  2643.           room.sendAnnouncement("? ESP FUTSAL BOT ? : " + "QUE DIA MAS BONITO... ¿QUE TE PARECE, @" + player.name +", SI TE DOY ADMIN, TU MANEJAS LA SALA Y YO ME VOY A MANEJAR A TU MADRE?" ,null, 0x00FFB3, "normal", 0);
  2644.           }, 1000)
  2645.           break;
  2646.           case 5:
  2647.           setTimeout(() => {
  2648.           room.sendAnnouncement("? ESP FUTSAL BOT ? : " + "HACED SITIO QUE LLEGA @" + player.name + ", LA ULTIMA VEZ SALIERON 4 PARA QUE PUDIERA ENTRAR... EL MUY HIJO DE PUTA" ,null, 0x00FFB3, "normal", 0);
  2649.           }, 1000)
  2650.           break;
  2651.           case 6:
  2652.           setTimeout(() => {
  2653.           room.sendAnnouncement("? ESP FUTSAL BOT ? : " + "HOLA, @" + player.name + ", OJALA TE ENTRE EL COVID POR EL CULO Y NO JUEGUES AQUI MAS EN TU PUTA VIDA" ,null, 0x00FFB3, "normal", 0);
  2654.           }, 1000)
  2655.           break;
  2656.           case 7:
  2657.           setTimeout(() => {
  2658.           room.sendAnnouncement("? ESP FUTSAL BOT ? : " + "EN VEZ DE ESTAR HACIENDO COSAS PRODUCTIVAS... Y JUGANDO A ESTA MIERDA @" + player.name ,null, 0x00FFB3, "normal", 0);
  2659.           }, 1000)
  2660.           break;
  2661.           case 8:
  2662.           setTimeout(() => {
  2663.           room.sendAnnouncement("? ESP FUTSAL BOT ? : " + "TODOS DEMOS LA BIENVENIDA A @" + player.name + ", AUNQUE EL MUY GILIPOLLAS NO SEPA MOVERSE" ,null, 0x00FFB3, "normal", 0);
  2664.           }, 1000)
  2665.           break;
  2666.           case 9:
  2667.           setTimeout(() => {
  2668.           room.sendAnnouncement("? ESP FUTSAL BOT ? : " + "YA LLEGA EL TONTO DE @" + player.name ,null, 0x00FFB3, "normal", 0);
  2669.           }, 1000)
  2670.           break;
  2671.           case 10:
  2672.           setTimeout(() => {
  2673.           room.sendAnnouncement("? ESP FUTSAL BOT ? : " + "BUENAS, @" + player.name + ", TE ESTAN LLAMANDO DE LA SALA DE NEUER DE REAL SOCCER" ,null, 0x00FFB3, "normal", 0);
  2674.           }, 1000)
  2675.           break;
  2676.           case 11:
  2677.           setTimeout(() => {
  2678.           room.sendAnnouncement("? ESP FUTSAL BOT ? : " + "BUENAS, @" + player.name + ", TE ESTAN LLAMANDO DE LA SALA DE SPACEBOUNCE CON RETRASADOS COMO TU" ,null, 0x00FFB3, "normal", 0);
  2679.           }, 1000)
  2680.           break;
  2681.           case 12:
  2682.           setTimeout(() => {
  2683.           room.sendAnnouncement("? ESP FUTSAL BOT ? : " + "BUENAS, @" + player.name + ", TE ESTAN LLAMANDO DE LA SALA DE 6MAN CON ROSSI" ,null, 0x00FFB3, "normal", 0);
  2684.           }, 1000)
  2685.           break;
  2686.           case 13:
  2687.           setTimeout(() => {
  2688.           room.sendAnnouncement("? ESP FUTSAL BOT ? : " + "BUENAS, @" + player.name + ", TE ESTAN LLAMANDO DE LA SALA DE TU PUTA MADRE PARA QUE TE LA FOLLES" ,null, 0x00FFB3, "normal", 0);
  2689.           }, 1000)
  2690.           break;
  2691.           case 14:
  2692.           setTimeout(() => {
  2693.           room.sendAnnouncement("? ESP FUTSAL BOT ? : " + "BUENAS, @" + player.name + ", TE ESTAN LLAMANDO DE LA SALA DE ROQUE PARA TE CAGUES EN SU PUTA MADRE" ,null, 0x00FFB3, "normal", 0);
  2694.           }, 1000)
  2695.           break;
  2696.           case 15:
  2697.           setTimeout(() => {
  2698.           room.sendAnnouncement("? ESP FUTSAL BOT ? : " + "YA LLEGO @" + player.name + ", EL QUE FALTABA PARA TENER A TODOS LOS TONTOS EN UNA MISMA SALA" ,null, 0x00FFB3, "normal", 0);
  2699.           }, 1000)
  2700.           break;
  2701.           case 16:
  2702.           setTimeout(() => {
  2703.           room.sendAnnouncement("? ESP FUTSAL BOT ? : " + "NO TE MERECES NI UN SALUDO DE LO FEO QUE ERES @" + player.name ,null, 0x00FFB3, "normal", 0);
  2704.           }, 1000)
  2705.           break;
  2706.           case 17:
  2707.           setTimeout(() => {
  2708.           room.sendAnnouncement("? ESP FUTSAL BOT ? : " + "HOLA, @" + player.name + ", DICE PERRO QUE TE APUNTES A SU LIGA O SE MEA EN TI" ,null, 0x00FFB3, "normal", 0);
  2709.           }, 1000)
  2710.           break;
  2711.           case 18:
  2712.           setTimeout(() => {
  2713.           room.sendAnnouncement("? ESP FUTSAL BOT ? : " + "HOLA, @" + player.name + "... HE DICHO QUE HOLA, GILIPOLLAS" ,null, 0x00FFB3, "normal", 0);
  2714.           }, 1000)
  2715.           break;
  2716.           case 19:
  2717.           setTimeout(() => {
  2718.           room.sendAnnouncement("? ESP FUTSAL BOT ? : BUENAS TARDES... HE DICHO QUE BUENAS TARDES @" + player.name + ", HIJO DE PUTA JAJA S1 "  ,null, 0x00FFB3, "normal", 0);
  2719.           }, 1000)
  2720.           break;
  2721.           case 20:
  2722.           setTimeout(() => {
  2723.           room.sendAnnouncement("? ESP FUTSAL BOT ? : HOLA BUENAS... @" + player.name + ", HE DICHO HOLA BUENAS SUBNORMAL "  ,null, 0x00FFB3, "normal", 0);
  2724.           }, 1000)
  2725.           break;
  2726.           case 21:
  2727.       setTimeout(() => {
  2728.           room.sendAnnouncement("? ESP FUTSAL BOT ? : YA HA LLEGADO @" + player.name + ", PARA JODER LA SALA"  ,null, 0x00FFB3, "normal", 0);
  2729.           }, 1000)  
  2730.           break;
  2731.           case 22:
  2732.           setTimeout(() => {
  2733.           room.sendAnnouncement("? ESP FUTSAL BOT ? : @" + player.name + ", TE BUSCA TU JEFE PARA CAGARSE EN TU PUTA MADRE"     ,null, 0x00FFB3, "normal", 0);
  2734.           }, 1000)
  2735.           break;
  2736.           case 23:
  2737.           setTimeout(() => {
  2738.           room.sendAnnouncement("? ESP FUTSAL BOT ? : HOLA, @" + player.name + ", IGUAL QUE ENTRAS PUEDES SALIR PUTO MANCO"     ,null, 0x00FFB3, "normal", 0);
  2739.           }, 1000)
  2740.           break;
  2741.       default:
  2742.           setTimeout(() => {
  2743.       room.sendAnnouncement("? ESP FUTSAL BOT ? : " + " @" + player.name + ", BIENVENIDO", 0x00FFB3, "normal", 0);       
  2744.           }, 1000);
  2745.      
  2746.         }*/
  2747.         /*extendedP.forEach(p => {
  2748.                 if (extendedP.length >= maxPlayers - 1) { // Poner contraseña
  2749.         room.setPassword(password);
  2750.     }
  2751.                 })*/
  2752.         /*if (players.length >= maxPlayers - 1) { // Poner contraseña
  2753.         room.setPassword(password);
  2754.     }*/
  2755.         /*playersAllowed1.forEach(p => {
  2756.         if (p.name == player.name) {
  2757.             room.sendAnnouncement("Tienes 10 segundos para poder escribir la contraseña, sino seras kickeado", player.id, 0x00FFB3, "normal", 0);
  2758.             setTimeout(() => {
  2759.                 let cont = 0;
  2760.  
  2761.                 players.forEach(pl => {
  2762.                     if (pl.name == player.name) {
  2763.                         cont++;
  2764.                     }
  2765.                 })
  2766.  
  2767.                 setTimeout(() => {
  2768.                     if(p.verif !== "true"){
  2769.                         room.kickPlayer(player.id, "Has tardado más de 10 segundos en iniciar sesion", cont === 2 ? true : false);
  2770.                     }
  2771.                 }, 100);
  2772.             }, 10000);
  2773.         }
  2774.     });*/
  2775.         /*playersAllowed1.forEach(p => {
  2776.                 if (p.name == player.name) {
  2777.                         room.sendAnnouncement("Tienes 10 segundos para poder escribir la contraseña, sino seras kickeado", player.id, 0x00FFB3, "normal", 0);
  2778.                         setTimeout(() => {
  2779.                                 if (p.verif !== "true" && player?.id) {
  2780.                                         room.kickPlayer(player.id, "Has tardado más de 10 segundos en iniciar sesion", false);
  2781.                                 }
  2782.                         }, 10000);
  2783.                 }
  2784.         })*/
  2785.         playersAllowed1.forEach(p => {
  2786.                 if (p.name == player.name) {
  2787.                         room.sendAnnouncement("ESTAS EN MODO NO REGISTRO. TENDRAS LIMITACIONES HASTA QUE NO TE LOGUEES", player.id, 0x00FFB3, "normal", 0);
  2788.                         room.sendAnnouncement("YOU ARE NOT IN REGISTER MODE. YOU ARE LIMITED TO PLAY/PICK PEOPLE UNTIL YOU ARE NOT LOGGED IN", player.id, 0x00FFB3, "normal", 0);
  2789.                 }
  2790.         })
  2791. }
  2792.  
  2793. room.onPlayerTeamChange = function(changedPlayer, byPlayer) {
  2794.         if (changedPlayer.id == 0) {
  2795.                 room.setPlayerTeam(0, Team.SPECTATORS);
  2796.                 return;
  2797.         }
  2798.         if (getAFK(changedPlayer) && changedPlayer.team != Team.SPECTATORS) {
  2799.                 room.setPlayerTeam(changedPlayer.id, Team.SPECTATORS);
  2800.                 room.sendChat(changedPlayer.name + " está AFK !");
  2801.                 return;
  2802.         }
  2803.         updateTeams();
  2804.         if (room.getScores() != null) {
  2805.                 var scores = room.getScores();
  2806.                 if (changedPlayer.team != Team.SPECTATORS && scores.time <= (3/4) * scores.timeLimit  && Math.abs(scores.blue - scores.red) < 2) {
  2807.                         (changedPlayer.team == Team.RED) ? allReds.push(changedPlayer) : allBlues.push(changedPlayer);
  2808.                 }
  2809.         }
  2810.         if (changedPlayer.team == Team.SPECTATORS) {
  2811.                 setActivity(changedPlayer, 0);
  2812.         }
  2813.         if (inChooseMode && resettingTeams == false && byPlayer.id == 0) {
  2814.                 if (Math.abs(teamR.length - teamB.length) == teamS.length) {
  2815.                         deactivateChooseMode();
  2816.                         resumeGame();
  2817.                         var b = teamS.length;
  2818.                         if (teamR.length > teamB.length) {
  2819.                                 for (var i = 0 ; i < b ; i++) {
  2820.                                         setTimeout(() => { room.setPlayerTeam(teamS[0].id, Team.BLUE); }, 200*i);
  2821.                                 }
  2822.                         }
  2823.                         else {
  2824.                                 for (var i = 0 ; i < b ; i++) {
  2825.                                         setTimeout(() => { room.setPlayerTeam(teamS[0].id, Team.RED); }, 200*i);
  2826.                                 }
  2827.                         }
  2828.                         return;
  2829.                 }
  2830.                 else if ((teamR.length == maxTeamSize && teamB.length == maxTeamSize) || (teamR.length == teamB.length && teamS.length < 2)) {
  2831.                         deactivateChooseMode();
  2832.                         resumeGame();
  2833.                 }
  2834.                 else if (teamR.length <= teamB.length && redCaptainChoice != "") { // choice remembered
  2835.                         redCaptainChoice == "top" ? room.setPlayerTeam(teamS[0].id, Team.RED) : redCaptainChoice == "random" ? room.setPlayerTeam(teamS[getRandomInt(teamS.length)].id, Team.RED) : room.setPlayerTeam(teamS[teamS.length - 1].id, Team.RED);
  2836.                         return;
  2837.                 }
  2838.                 else if (teamB.length < teamR.length && blueCaptainChoice != "") {
  2839.                         blueCaptainChoice == "top" ? room.setPlayerTeam(teamS[0].id, Team.BLUE) : blueCaptainChoice == "random" ? room.setPlayerTeam(teamS[getRandomInt(teamS.length)].id, Team.BLUE) : room.setPlayerTeam(teamS[teamS.length - 1].id, Team.BLUE);
  2840.                         return;
  2841.                 }
  2842.                 else {
  2843.                         choosePlayer();
  2844.                 }
  2845.         }
  2846. }
  2847.  
  2848. room.onPlayerLeave = function(player) {
  2849.         contjugadores--;
  2850.         var listajug = contjugadores + "/" + maxPlayers;
  2851.         console.log(listajug)
  2852.        
  2853.         //var randomizador = Math.floor(Math.random() * (14-0)) + 0; // el max no se cuenta ya que los arrays empiezan por 0
  2854.         if (player.team !== 0) {
  2855.                 if (teamR) {
  2856.                         if (teamR.findIndex((red) => red.id == player.id) == 0 && inChooseMode && teamR.length <= teamB.length) {
  2857.                                 choosePlayer();
  2858.                                 capLeft = true; setTimeout(() => { capLeft = false; }, 10);
  2859.                         }
  2860.                 }
  2861.                 if (teamB) {
  2862.                         if (teamB.findIndex((blue) => blue.id == player.id) == 0 && inChooseMode && teamB.length < teamR.length) {
  2863.                                 choosePlayer();
  2864.                                 capLeft = true; setTimeout(() => { capLeft = false; }, 10);
  2865.                         }
  2866.                 }
  2867.             //updateRoleOnPlayerOut();
  2868.         }
  2869.         setActivity(player, 0);
  2870.         /*if (getAFK(player)) {
  2871.         setAFK(player, false);
  2872.     }*/
  2873.         /*if (getAFK(player)) {
  2874.         setAFK(player, false);
  2875.     }*/
  2876.         updateRoleOnPlayerOut();
  2877.    
  2878.         /*extendedP.forEach(p => {
  2879.                 if (extendedP.length <= maxPlayers - 2) { // Quitar contraseña
  2880.         room.setPassword(null);
  2881.     }
  2882.                 })*/
  2883.         /*if (players) {
  2884.                 if (players.length <= maxPlayers - 2) { // Quitar contraseña
  2885.                 room.setPassword(null);
  2886.             }
  2887.         }*/
  2888.    /*switch(randomizador){
  2889.           case 0:
  2890.           setTimeout(() => {
  2891.           room.sendAnnouncement("? ESP FUTSAL BOT ? : " + "OTRO QUE SE VA HUMILLADO, COMO @" + player.name,null, 0x00FFB3, "normal", 0);
  2892.           }, 1000)
  2893.           break;
  2894.       case 1:
  2895.           setTimeout(() => {
  2896.           room.sendAnnouncement("? ESP FUTSAL BOT ? : " + "MENOS MAL QUE SE FUE EL MANCO DE @" + player.name + ", AHORA YA SE PUEDE JUGAR EN SERIO" ,null, 0x00FFB3, "normal", 0);
  2897.           }, 1000)
  2898.           break;
  2899.       case 2:
  2900.           setTimeout(() => {
  2901.           room.sendAnnouncement("? ESP FUTSAL BOT ? : " + "ADIOS HIJO DE PUTA, @" + player.name + ", OJALA TE PARTAN LAS PUTAS MANOS PARA QUE NO VUELVAS A JUGAR EN ESTAS SALAS" ,null, 0x00FFB3, "normal", 0);
  2902.           }, 1000)
  2903.           break;
  2904.       case 3:
  2905.           setTimeout(() => {
  2906.           room.sendAnnouncement("? ESP FUTSAL BOT ? : " + "ADIOS HIJO DE PUTA, @" + player.name + ", VETE A JUGAR AL MAINCRA CON MATAOS DE TU NIVEL Y DEJA A LOS PROFESIONALES JUGAR" ,null, 0x00FFB3, "normal", 0);
  2907.           }, 1000)
  2908.           break;
  2909.       case 4:
  2910.           setTimeout(() => {
  2911.           room.sendAnnouncement("? ESP FUTSAL BOT ? : " + "ADIOS, @" + player.name + ", OJALA TE APLASTEN CABALLOS EN CELO" ,null, 0x00FFB3, "normal", 0);
  2912.           }, 1000)
  2913.           break;
  2914.       case 5:
  2915.           setTimeout(() => {
  2916.           room.sendAnnouncement("? ESP FUTSAL BOT ? : " + "ADIOS, @" + player.name + ", ABORTO DE MIERDA, VETE A ESTAR CON TUS PADRES HABER SI ASI TE QUIEREN" ,null, 0x00FFB3, "normal", 0);
  2917.           }, 1000)
  2918.           break;       
  2919.       case 6:
  2920.           setTimeout(() => {
  2921.           room.sendAnnouncement("? ESP FUTSAL BOT ? : " + "VETE SI, QUE NO TE COGEN POR LO INUTIL QUE ERES AL JUGAR A ESTE JUEGO EN 2D Y SIN MANOS, @" + player.name ,null, 0x00FFB3, "normal", 0);
  2922.           }, 1000)
  2923.           break;
  2924.       case 7:
  2925.           setTimeout(() => {
  2926.           room.sendAnnouncement("? ESP FUTSAL BOT ? : @" + player.name + " SE VA EXTRAPOLADO Y HUMILLADO COMO UN U13" ,null, 0x00FFB3, "normal", 0);
  2927.           }, 1000)
  2928.           break;
  2929.       case 8:
  2930.           setTimeout(() => {
  2931.           room.sendAnnouncement("? ESP FUTSAL BOT ? : @" + player.name + ", VETE A JUGAR A UNA SALA QUE HAYA MIERDAS COMO TU PARA GANAR UNA PARTIDA" ,null, 0x00FFB3, "normal", 0);
  2932.           }, 1000)
  2933.           break;
  2934.       case 9:
  2935.           setTimeout(() => {
  2936.           room.sendAnnouncement("? ESP FUTSAL BOT ? : @" + player.name + " SE VA A APUNTARSE A LA MIERDA DE LIGA PERRO PARA JUGAR ALGO",null, 0x00FFB3, "normal", 0);
  2937.           }, 1000)
  2938.           break;
  2939.       case 10:
  2940.           setTimeout(() => {
  2941.           room.sendAnnouncement("? ESP FUTSAL BOT ? : @" + player.name + " SE VA HUMILLADO COMO ROQUE LAS 24/7",null, 0x00FFB3, "normal", 0);
  2942.           }, 1000)
  2943.           break;       
  2944.       case 11:
  2945.           setTimeout(() => {
  2946.           room.sendAnnouncement("? ESP FUTSAL BOT ? : @" + player.name + ", PARA LO QUE HAS JUGADO MEJOR NO HABER ENTRADO HIJO DE PUTA",null, 0x00FFB3, "normal", 0);
  2947.           }, 1000)
  2948.           break;
  2949.       case 12:
  2950.           setTimeout(() => {
  2951.           room.sendAnnouncement("? ESP FUTSAL BOT ? : MENUDO RIDICULO HAS HECHO, MEJOR NO VUELVAS @" + player.name,null, 0x00FFB3, "normal", 0);
  2952.           }, 1000)
  2953.           break;
  2954.           case 13:
  2955.           setTimeout(() => {
  2956.           room.sendAnnouncement("? ESP FUTSAL BOT ? : VINISTE, PERDISTE Y TE FUISTE DE VUELTA A TU PUTA CASA MANCO DE MIERDA, @" + player.name,null, 0x00FFB3, "normal", 0);
  2957.           }, 1000)
  2958.           break;
  2959.           default:
  2960.           setTimeout(() => {
  2961.           room.sendAnnouncement("? ESP FUTSAL BOT ? : " + "HASTA LUEGO, @" + player.name ,null, 0x00FFB3, "normal", 0);
  2962.           }, 1000)
  2963.        */
  2964.            playersAllowed1.forEach(p => {
  2965.                 if (p.name == player.name) {
  2966.         p.verif = "false";     
  2967.         }
  2968.         })
  2969.         playersAllowed1.forEach(p => {
  2970.                 if (p.name == player.name) {
  2971.         p.horaj = "";  
  2972.         }
  2973.         })
  2974.         console.log("Salio: " + player.name + " de la sala." + " Hora: " + new Date().toLocaleTimeString())
  2975.         }
  2976.        
  2977.  
  2978. /*room.onPlayerLeave = function(player) {
  2979.         if (player.team !== 0) {
  2980.                 updateRoleOnPlayerOut();
  2981.                 if (teamR) {
  2982.                         if (teamR.findIndex((red) => red.id == player.id) == 0 && inChooseMode && teamR.length <= teamB.length) {
  2983.                                 choosePlayer();
  2984.                                 capLeft = true; setTimeout(() => { capLeft = false; }, 10);
  2985.                                
  2986.                         }
  2987.                 }
  2988.                 else if (teamB) {
  2989.                         if (teamB.findIndex((blue) => blue.id == player.id) == 0 && inChooseMode && teamB.length < teamR.length) {
  2990.                                 choosePlayer();
  2991.                                 capLeft = true; setTimeout(() => { capLeft = false; }, 10);
  2992.                         }
  2993.                 }
  2994.                
  2995.                 //updateRoleOnPlayerOut();
  2996.         }
  2997.                         setActivity(player, 0);
  2998.  
  2999.        
  3000.  
  3001.        
  3002.         if (players) {
  3003.                 if (players.length <= maxPlayers - 2) { // Quitar contraseña
  3004.                 room.setPassword(null);
  3005.             }
  3006.         }
  3007. }*/
  3008.  
  3009. room.onPlayerKicked = function(kickedPlayer, reason, ban, byPlayer) {
  3010.         ban == true ? banList.push([kickedPlayer.name, kickedPlayer.id]) : null;
  3011.         //console.log("Jugador: " +  kickedPlayer.name + ", Auth: " + kickedPlayer.auth + ", Conn: " + kickedPlayer.conn)
  3012. }
  3013. //-----------------------------Eventos anti spam------------------------------------------------------
  3014.  
  3015.  
  3016. //-----------------------------------------------------------------------------------
  3017. /* PLAYER ACTIVITY */
  3018.  
  3019. room.onPlayerChat = function (player, message) {
  3020.         if (userRegistered(player)) {
  3021.                 SaludandoGenteFun(player, message);
  3022.         }
  3023.  
  3024.         spammerosFilter(player, message);
  3025.     if(filter(message)) return false;
  3026.         if(CensuradorDeSpammeros(message)) return false;
  3027.         //PlayerMessage = message; - - - en caso de que los jugadores que estan registrados puedan escribir
  3028.         adminMessage = message;
  3029.         message = message.split(/ +/);
  3030.         player.team != Team.SPECTATORS ? setActivity(player, 0) : null;
  3031.        
  3032.        
  3033.        
  3034. //-----------------Eventos del chat--------------------------------------------------------------------------
  3035.  
  3036. if (ModoChatPausado.includes(player.id)==true && inChooseMode == false && !(message[0].includes("!"))){
  3037.                                 room.sendAnnouncement("[?] El Modo Pausado está activado. Sólo puedes enviar 1 mensaje cada 3 segundos. ⏱",player.id,0x00FF00,"bold",2);
  3038.                                 room.sendAnnouncement("[?] The Paused Mode is activated. You only can send 1 message every 3 seconds ⏱",player.id,0x00FF00,"bold",2);
  3039.                                 return false;
  3040.        
  3041.         }
  3042.                         if (player.admin==false && ModoChatPausado.includes(player.id)==false && inChooseMode == false && !(message[0].includes("!"))){
  3043.                                 //if(player.name !== "Andoni Goikoetxea"){
  3044.                                 ModoChatPausado.push(player.id);
  3045.                                
  3046.                                
  3047.                                 setTimeout(function(){
  3048.                                 ModoChatPausado.splice(ModoChatPausado.indexOf(player.id),1);
  3049.                                 }, 3000);      
  3050.                                        
  3051.                                 //}
  3052.                                
  3053.         }
  3054.     if(CensuradorDeSpammeros(message)) return false;
  3055.     if (message.indexOf("!") == 0) return false;
  3056.  
  3057. //-----------------------------------------------------EVENTOS DEL CHAT----------------------------------------------------------------------------
  3058.         /*playersAllowedLVL10.forEach(p => {
  3059.         if (player.name === p.name) {
  3060.         if (["!afk"].includes(message[0].toLowerCase()) && userRegistered(player)) {
  3061.                 if (players.length != 1 && player.team != Team.SPECTATORS) {
  3062.                         if (player.team == Team.RED && streak > 0 && room.getScores() == null) {
  3063.                                 room.setPlayerTeam(player.id, Team.SPECTATORS);
  3064.                         }
  3065.                         //else if (player.team == Team.BLUE && streak > 0 && room.getScores() == null) {
  3066.                                 //room.setPlayerTeam(player.id, Team.SPECTATORS);
  3067.                         //}
  3068.                         else {
  3069.                                 room.sendChat("No puedes ser AFK mientras estás en un equipo !", player.id);
  3070.                                 return false;
  3071.                         }
  3072.                 }
  3073.                 else if (players.length == 1 && !getAFK(player)) {
  3074.                         room.setPlayerTeam(player.id, Team.SPECTATORS);
  3075.                 }
  3076.                 setAFK(player, !getAFK(player));
  3077.                 room.sendChat(player.name + (getAFK(player) ? " está AFK !" : " ya no está AFK !"));
  3078.                 getAFK(player) ? updateRoleOnPlayerOut() : updateRoleOnPlayerIn();
  3079.         }
  3080.         }
  3081.     })*/
  3082.        
  3083.        
  3084.        
  3085.         if (["!help"].includes(message[0].toLowerCase())) {
  3086.                 room.sendChat("[PV] Commands : !me, !discord, !games, !wins, !goals, !assists, !cs, !afks, !mutes, !bans, !spec, !record, !racha, !fshaxleague.", player.id);
  3087.                 //room.sendChat("[PV] Commands : !grecord, !mrecord, !srecord", player.id);
  3088.                 player.admin ? room.sendChat("[PV] Admin : !mute <duration = 3> #<id>, !unmute all/#<id>, !clearbans <number = all>, !slow <duration>, !endslow, !afk", player.id) : null;
  3089.         }
  3090.        
  3091.         else if (["!p"].includes(message[0].toLowerCase())) {
  3092.                     playersAllowed1.forEach(p => {
  3093.                     if(player.name === p.name && p.verif == "false"){
  3094.                         var contraseña = "";
  3095.                         for(i = 1; i < message.length; i++){
  3096.                                 if(message.length - 1 == i){
  3097.                                         contraseña += message[i];
  3098.                                 }else{
  3099.                                 contraseña += message[i] + " ";
  3100.                                 }
  3101.                         }
  3102.                         if(p.passlog === contraseña){
  3103.                         p.verif = "true";
  3104.             room.sendAnnouncement("Inicio de sesion con: " + player.name, player.id, 0x00FF00, 'normal', 0);
  3105.                         room.sendAnnouncement("Logged with: " + player.name, player.id, 0x00FF00, 'normal', 0);
  3106.                         console.log("Inicio de sesion: " + player.name + " esta logueado." + " Hora: " + new Date().toLocaleTimeString())
  3107.             return false;                      
  3108.                         }else{
  3109.                         room.sendAnnouncement("Has puesto los datos incorrectamente. Vuelve a repetir el proceso, " + player.name,player.id, 0x00FF00, 'normal', 0);
  3110.                         room.sendAnnouncement("You have entered the data incorrectly. Repeat the process again, " + player.name,player.id, 0x00FF00, 'normal', 0);
  3111.             return false;                      
  3112.                         }                      
  3113.                         }
  3114.         })
  3115.         }
  3116.         /*else if (["!p"].includes(message[0].toLowerCase())) {
  3117.                 playersAllowed1.forEach(p => {
  3118.                         if (player.name === p.name && p.verif == "false") {
  3119.                                 var contraseña = "";
  3120.                                 for (i = 1; i < message.length; i++) {
  3121.                                         if (message.length - 1 == i) {
  3122.                                                 contraseña += message[i];
  3123.                                         } else {
  3124.                                                 contraseña += message[i] + " ";
  3125.                                         }
  3126.                                 }
  3127.                                 if (p.passlog === contraseña) {
  3128.                                         p.verif = "true";
  3129.                                         room.sendAnnouncement("Inicio de sesion con exito, usuario: " + player.name, player.id, 0x00FF00, 'normal', 0);
  3130.  
  3131.                                         //const eP = { ID: 0, AUTH: 1, CONN: 2, AFK: 3, ACT: 4, GK: 5, MUTE: 6, REG: false };
  3132.                                         //updateRoleOnPlayerIn();
  3133.                                         updateRoleOnPlayerIn();
  3134.  
  3135.                                         room.sendChat("[PV] ? Bienvenido " + player.name + " ! Escriba '!help' para ver los comandos. Entra en nuestro Discord: https://discord.gg/3MhhZPN ", player.id);
  3136.                                         room.sendChat("[PV] Si buscas competir en una liga, accede a Futsal Haxleague Discord: https://discord.gg/yBSWh86", player.id);
  3137.  
  3138.                                         return false;
  3139.                                 } else {
  3140.                                         room.sendAnnouncement("Has puesto los datos incorrectamente. Vuelve a repetir el proceso, " + player.name, player.id, 0x00FF00, 'normal', 0);
  3141.                                         return false;
  3142.                                 }
  3143.                         }
  3144.                 })
  3145.         }*/
  3146.         /*else if (["!addregister"].includes(message[0].toLowerCase())) {
  3147.                 if(player.admin){
  3148.                         if(message.length == 3){
  3149.                                 playersAllowed.push({name: message[1], auth: message[2]})
  3150.                                 room.sendChat("Jugador Registrado Añadido!");
  3151.                                 return false;
  3152.                         }
  3153.                 }
  3154.         }*/
  3155.         else if (["!addregister"].includes(message[0].toLowerCase())) {
  3156.                 if(player.admin){
  3157.                         var nickname = "";
  3158.                         for(i = 2; i < message.length; i++){
  3159.                                 if(message.length - 1 == i){
  3160.                                         nickname += message[i];
  3161.                                 }else{
  3162.                                 nickname += message[i] + " ";
  3163.                                 }
  3164.                         }
  3165.                         playersAllowed1.push({name: nickname, passlog: message[1], verif: "false", horaj: ""})
  3166.                                 room.sendChat("Jugador Registrado Añadido!");
  3167.                                 return false;
  3168.             }
  3169.         }
  3170.        
  3171. /*      else if (["!addnivel1"].includes(message[0].toLowerCase())) {
  3172.                 if(player.admin){
  3173.                         var nickname = "";
  3174.                         for(i = 1; i < message.length; i++){
  3175.                                 if(message.length - 1 == i){
  3176.                                         nickname += message[i];
  3177.                                 }else{
  3178.                                 nickname += message[i] + " ";
  3179.                                 }
  3180.                         }
  3181.                         playersAllowedLVL1.push({name: nickname})
  3182.                                 room.sendChat("Jugador Registrado Nivel 1!");
  3183.                                 return false;
  3184.             }
  3185.         }
  3186.         else if (["!addnivel2"].includes(message[0].toLowerCase())) {
  3187.                 if(player.admin){
  3188.                         var nickname = "";
  3189.                         for(i = 1; i < message.length; i++){
  3190.                                 if(message.length - 1 == i){
  3191.                                         nickname += message[i];
  3192.                                 }else{
  3193.                                 nickname += message[i] + " ";
  3194.                                 }
  3195.                         }
  3196.                         playersAllowedLVL2.push({name: nickname})
  3197.                                 room.sendChat("Jugador Registrado Nivel 2!");
  3198.                                 return false;
  3199.             }
  3200.         }
  3201.         else if (["!addnivel3"].includes(message[0].toLowerCase())) {
  3202.                 if(player.admin){
  3203.                         var nickname = "";
  3204.                         for(i = 1; i < message.length; i++){
  3205.                                 if(message.length - 1 == i){
  3206.                                         nickname += message[i];
  3207.                                 }else{
  3208.                                 nickname += message[i] + " ";
  3209.                                 }
  3210.                         }
  3211.                         playersAllowedLVL3.push({name: nickname})
  3212.                                 room.sendChat("Jugador Registrado Nivel 3!");
  3213.                                 return false;
  3214.             }
  3215.         }
  3216.         else if (["!addnivel4"].includes(message[0].toLowerCase())) {
  3217.         if(player.admin){
  3218.                         var nickname = "";
  3219.                         for(i = 1; i < message.length; i++){
  3220.                                 if(message.length - 1 == i){
  3221.                                         nickname += message[i];
  3222.                                 }else{
  3223.                                 nickname += message[i] + " ";
  3224.                                 }
  3225.                         }
  3226.                         playersAllowedLVL4.push({name: nickname})
  3227.                                 room.sendChat("Jugador Registrado Nivel 4!");
  3228.                                 return false;
  3229.             }
  3230.         }
  3231.         else if (["!addnivel5"].includes(message[0].toLowerCase())) {
  3232.                 if(player.admin){
  3233.                         var nickname = "";
  3234.                         for(i = 1; i < message.length; i++){
  3235.                                 if(message.length - 1 == i){
  3236.                                         nickname += message[i];
  3237.                                 }else{
  3238.                                 nickname += message[i] + " ";
  3239.                                 }
  3240.                         }
  3241.                         playersAllowedLVL5.push({name: nickname})
  3242.                                 room.sendChat("Jugador Registrado Nivel 5!");
  3243.                                 return false;
  3244.             }
  3245.         }
  3246.         else if (["!addnivel6"].includes(message[0].toLowerCase())) {
  3247.                 if(player.admin){
  3248.                         var nickname = "";
  3249.                         for(i = 1; i < message.length; i++){
  3250.                                 if(message.length - 1 == i){
  3251.                                         nickname += message[i];
  3252.                                 }else{
  3253.                                 nickname += message[i] + " ";
  3254.                                 }
  3255.                         }
  3256.                         playersAllowedLVL6.push({name: nickname})
  3257.                                 room.sendChat("Jugador Registrado Nivel 6!");
  3258.                                 return false;
  3259.             }
  3260.         }
  3261.         else if (["!addnivel7"].includes(message[0].toLowerCase())) {
  3262.         if(player.admin){
  3263.                         var nickname = "";
  3264.                         for(i = 1; i < message.length; i++){
  3265.                                 if(message.length - 1 == i){
  3266.                                         nickname += message[i];
  3267.                                 }else{
  3268.                                 nickname += message[i] + " ";
  3269.                                 }
  3270.                         }
  3271.                         playersAllowedLVL7.push({name: nickname})
  3272.                                 room.sendChat("Jugador Registrado Nivel 7!");
  3273.                                 return false;
  3274.             }
  3275.         }
  3276.         else if (["!addnivel8"].includes(message[0].toLowerCase())) {
  3277.                 if(player.admin){
  3278.                         var nickname = "";
  3279.                         for(i = 1; i < message.length; i++){
  3280.                                 if(message.length - 1 == i){
  3281.                                         nickname += message[i];
  3282.                                 }else{
  3283.                                 nickname += message[i] + " ";
  3284.                                 }
  3285.                         }
  3286.                         playersAllowedLVL8.push({name: nickname})
  3287.                                 room.sendChat("Jugador Registrado Nivel 8!");
  3288.                                 return false;
  3289.             }
  3290.         }
  3291.         else if (["!addnivel9"].includes(message[0].toLowerCase())) {
  3292.         if(player.admin){
  3293.                         var nickname = "";
  3294.                         for(i = 1; i < message.length; i++){
  3295.                                 if(message.length - 1 == i){
  3296.                                         nickname += message[i];
  3297.                                 }else{
  3298.                                 nickname += message[i] + " ";
  3299.                                 }
  3300.                         }
  3301.                         playersAllowedLVL9.push({name: nickname})
  3302.                                 room.sendChat("Jugador Registrado Nivel 9!");
  3303.                                 return false;
  3304.             }
  3305.         }
  3306.         else if (["!addnivel10"].includes(message[0].toLowerCase())) {
  3307.         if(player.admin){
  3308.                         var nickname = "";
  3309.                         for(i = 1; i < message.length; i++){
  3310.                                 if(message.length - 1 == i){
  3311.                                         nickname += message[i];
  3312.                                 }else{
  3313.                                 nickname += message[i] + " ";
  3314.                                 }
  3315.                         }
  3316.                         playersAllowedLVL10.push({name: nickname})
  3317.                                 room.sendChat("Jugador Registrado Nivel 10 ✨!");
  3318.                                 return false;
  3319.             }
  3320.         }
  3321. */     
  3322.         else if (["!banconn"].includes(message[0].toLowerCase())) {
  3323.                 if(player.admin){
  3324.                         if(message[1]){
  3325.                                 bannedPlayersconn.push(message[1])
  3326.                                 room.sendChat("Jugador Baneado!");
  3327.                                 return false;
  3328.                         }
  3329.                 }
  3330.         }
  3331.         else if (["!banauth"].includes(message[0].toLowerCase())) {
  3332.                 if(player.admin){
  3333.                         if(message[1]){
  3334.                                 bannedPlayersauth.push(message[1])
  3335.                                 room.sendChat("Jugador Baneado!");
  3336.                                 return false;
  3337.                         }
  3338.                 }
  3339.         }
  3340.         else if (["!bannick"].includes(message[0].toLowerCase())) {
  3341.                 if(player.admin){
  3342.                         if(message[1]){
  3343.                                 bannedPlayersnombre.push(message[1])
  3344.                                 room.sendChat("Jugador Baneado!");
  3345.                                 return false;
  3346.                         }
  3347.                 }
  3348.         }
  3349.    else if (["!afk"].includes(message[0].toLowerCase()) && userRegistered(player)) {
  3350.                 if (players.length != 1 && player.team != Team.SPECTATORS) {
  3351.                         if (player.team == Team.RED && streak > 0 && room.getScores() == null) {
  3352.                                 room.setPlayerTeam(player.id, Team.SPECTATORS);
  3353.                         }
  3354.                         else {
  3355.                                 room.sendChat("No puedes ser AFK mientras estás en un equipo !", player.id);
  3356.                                 room.sendChat("You cant be AFK when you are in one team !", player.id);
  3357.                                 return false;
  3358.                         }
  3359.                 }
  3360.                 else if (players.length == 1 && !getAFK(player)) {
  3361.                         room.setPlayerTeam(player.id, Team.SPECTATORS);
  3362.                 }
  3363.                 setAFK(player, !getAFK(player));
  3364.                 room.sendChat(player.name + (getAFK(player) ? " is now AFK !" : " is not AFK anymore !"));
  3365.                 getAFK(player) ? updateRoleOnPlayerOut() : updateRoleOnPlayerIn();
  3366.                
  3367.         }
  3368.  
  3369.     /*else if (["!afk"].includes(message[0].toLowerCase()) && userRegistered(player)) {
  3370.                 //&& userRegistered(player)
  3371.         //if (localStorage.getItem(getAuth(player)) && JSON.parse(localStorage.getItem(getAuth(player)))[Ss.RL] == "master") {
  3372.        
  3373.                 /*if (contafk < 4) {
  3374.             contafk++;
  3375.             }
  3376.                 else if(contafk >= 4){
  3377.                         room.sendChat("El maximo de afks permitido son 3", player.id);
  3378.                         return false;
  3379.                 }*/
  3380.                 /*if(setAFK(value) == true){
  3381.                         room.sendChat("AFK +1", player.id);
  3382.                 }
  3383.                 else{
  3384.                         room.sendChat("AFK -1", player.id);
  3385.                 }*/
  3386.                 /*setAFK(player, !getAFK(player));
  3387.         //}
  3388. }*/
  3389.         else if (["!afks", "!afklist"].includes(message[0].toLowerCase())) {
  3390.                 var cstm = "[PV] Lista de AFK : ";
  3391.                 for (var i = 0; i < extendedP.length; i++) {
  3392.                         if (room.getPlayer(extendedP[i][eP.ID]) != null && getAFK(room.getPlayer(extendedP[i][eP.ID]))) {
  3393.                                 if (140 - cstm.length < (room.getPlayer(extendedP[i][eP.ID]).name + ", ").length) {
  3394.                                         room.sendChat(cstm, player.id);
  3395.                                         cstm = "... ";
  3396.                                 }
  3397.                                 cstm += room.getPlayer(extendedP[i][eP.ID]).name + ", ";
  3398.                         }
  3399.                 }
  3400.                 if (cstm == "[PV] Lista de AFK : ") {
  3401.                         room.sendChat("[PV] No hay nadie en la lista de AFK !", player.id);
  3402.                         return false;
  3403.                 }
  3404.                 cstm = cstm.substring(0, cstm.length - 2);
  3405.                 cstm += ".";
  3406.                 room.sendChat(cstm, player.id);
  3407.         }
  3408.         /*else if (["!save"].includes(message[0].toLowerCase())) {
  3409.         if (player.admin) {
  3410.             saveStats();
  3411.         }
  3412.     }*/
  3413.         else if (["!discord"].includes(message[0].toLowerCase())) {
  3414.       room.sendChat("[PV] ? Discord Support: https://discord.gg/3MhhZPN ", player.id);
  3415.     }
  3416.         else if (["!currentStreak", "!racha"].includes(message[0].toLowerCase())) {
  3417.       currentStreakFun(player);
  3418.     }
  3419.         else if (["!recordStreak", "!record"].includes(message[0].toLowerCase())) {
  3420.       streakRecordFun(player);
  3421.     }
  3422.         //Records generales
  3423.         /*else if (["!grecord"].includes(message[0].toLowerCase()) && userRegistered(player)) {
  3424.       room.sendAnnouncement("Todavia no está disponible este comando", player.id, 0x00FFFF, 'normal', 0);
  3425.     }
  3426.         else if (["!mrecord"].includes(message[0].toLowerCase()) && userRegistered(player)) {
  3427.       room.sendAnnouncement("Todavia no está disponible este comando", player.id, 0x00FFFF, 'normal', 0);
  3428.     }
  3429.         else if (["!srecord"].includes(message[0].toLowerCase()) && userRegistered(player)) {
  3430.       room.sendAnnouncement("Todavia no está disponible este comando", player.id, 0x00FFFF, 'normal', 0);
  3431.     }*/
  3432.         //records generales
  3433.         else if (["!fshaxleague"].includes(message[0].toLowerCase())) {
  3434.     room.sendAnnouncement("? FSHaxleague Discord: https://discord.gg/rNGN7DX ?", player.id, 0x00FF00, 'normal', 0);
  3435.     }
  3436.         else if(["!clearbansall"].includes(message[0].toLowerCase())){
  3437.                 if(player.admin){
  3438.                 room.clearBans();
  3439.         room.sendChat("Bans cleared !");
  3440.         banList = [];
  3441.                 return false;
  3442.                 }
  3443.         }
  3444.         else if (["!spec", "!specs"].includes(message[0].toLowerCase())) {
  3445.         getSpecList1(Team.SPECTATORS, player);
  3446.     }
  3447.         else if (["!me"].includes(message[0].toLowerCase()) && userRegistered(player)) {
  3448.                 var stats;
  3449.                 localStorage.getItem(getAuth(player)) ? stats = JSON.parse(localStorage.getItem(getAuth(player))) : stats = [0, 0, 0, 0, "0.00", 0, 0, 0, 0, "0.00"];
  3450.                 room.sendChat("[PV] " + player.name + "> PJ: " + stats[Ss.GA] + ", Victorias: " + stats[Ss.WI] + ", Empates: " + stats[Ss.DR] + ", Derrotas: " + stats[Ss.LS] + ", WR: " + stats[Ss.WR] + "%, Goles: " + stats[Ss.GL] + ", Asistencias: " + stats[Ss.AS] + ", GK: " + stats[Ss.GK] + ", CS: " + stats[Ss.CS] + ", CS%: " + stats[Ss.CP] + "%", player.id);
  3451.         }
  3452.         else if (["!games"].includes(message[0].toLowerCase()) && userRegistered(player)) {
  3453.                 var tableau = [];
  3454.                 Object.keys(localStorage).forEach(function (key) { if (!["player_name", "view_mode", "geo", "avatar", "player_auth_key"].includes(key)) { tableau.push([(JSON.parse(localStorage.getItem(key))[Ss.NK]), (JSON.parse(localStorage.getItem(key))[Ss.GA])]); } });
  3455.                 if (tableau.length < 5) {
  3456.                         room.sendChat("[PV] Aún no se han jugado partidos suficientes.", player.id);
  3457.                         return false;
  3458.                 }
  3459.                 tableau.sort(function (a, b) { return b[1] - a[1]; });
  3460.                 room.sendChat("[PV] Partidos Jugados> #1 " + tableau[0][0] + ": " + tableau[0][1] + " #2 " + tableau[1][0] + ": " + tableau[1][1] + " #3 " + tableau[2][0] + ": " + tableau[2][1] + " #4 " + tableau[3][0] + ": " + tableau[3][1] + " #5 " + tableau[4][0] + ": " + tableau[4][1], player.id);
  3461.         }
  3462.         else if (["!wins"].includes(message[0].toLowerCase()) && userRegistered(player)) {
  3463.                 var tableau = [];
  3464.                 Object.keys(localStorage).forEach(function (key) { if (!["player_name", "view_mode", "geo", "avatar", "player_auth_key"].includes(key)) { tableau.push([(JSON.parse(localStorage.getItem(key))[Ss.NK]), (JSON.parse(localStorage.getItem(key))[Ss.WI])]); } });
  3465.                 if (tableau.length < 5) {
  3466.                         room.sendChat("[PV] Aún no se han jugado partidos suficientes.", player.id);
  3467.                         return false;
  3468.                 }
  3469.                 tableau.sort(function (a, b) { return b[1] - a[1]; });
  3470.                 room.sendChat("[PV] Victorias> #1 " + tableau[0][0] + ": " + tableau[0][1] + " #2 " + tableau[1][0] + ": " + tableau[1][1] + " #3 " + tableau[2][0] + ": " + tableau[2][1] + " #4 " + tableau[3][0] + ": " + tableau[3][1] + " #5 " + tableau[4][0] + ": " + tableau[4][1], player.id);
  3471.         }
  3472.         else if (["!goals"].includes(message[0].toLowerCase()) && userRegistered(player)) {
  3473.                 var tableau = [];
  3474.                 Object.keys(localStorage).forEach(function (key) { if (!["player_name", "view_mode", "geo", "avatar", "player_auth_key"].includes(key)) { tableau.push([(JSON.parse(localStorage.getItem(key))[Ss.NK]), (JSON.parse(localStorage.getItem(key))[Ss.GL])]); } });
  3475.                 if (tableau.length < 5) {
  3476.                         room.sendChat("[PV] Aún no se han jugado partidos suficientes.", player.id);
  3477.                         return false;
  3478.                 }
  3479.                 tableau.sort(function (a, b) { return b[1] - a[1]; });
  3480.                 room.sendChat("[PV] Goles> #1 " + tableau[0][0] + ": " + tableau[0][1] + " #2 " + tableau[1][0] + ": " + tableau[1][1] + " #3 " + tableau[2][0] + ": " + tableau[2][1] + " #4 " + tableau[3][0] + ": " + tableau[3][1] + " #5 " + tableau[4][0] + ": " + tableau[4][1], player.id);
  3481.         }
  3482.         else if (["!assists"].includes(message[0].toLowerCase()) && userRegistered(player)) {
  3483.                 var tableau = [];
  3484.                 Object.keys(localStorage).forEach(function (key) { if (!["player_name", "view_mode", "geo", "avatar", "player_auth_key"].includes(key)) { tableau.push([(JSON.parse(localStorage.getItem(key))[Ss.NK]), (JSON.parse(localStorage.getItem(key))[Ss.AS])]); } });
  3485.                 if (tableau.length < 5) {
  3486.                         room.sendChat("[PV] Aún no se han jugado partidos suficientes.", player.id);
  3487.                         return false;
  3488.                 }
  3489.                 tableau.sort(function (a, b) { return b[1] - a[1]; });
  3490.                 room.sendChat("[PV] Asistencias> #1 " + tableau[0][0] + ": " + tableau[0][1] + " #2 " + tableau[1][0] + ": " + tableau[1][1] + " #3 " + tableau[2][0] + ": " + tableau[2][1] + " #4 " + tableau[3][0] + ": " + tableau[3][1] + " #5 " + tableau[4][0] + ": " + tableau[4][1], player.id);
  3491.         }
  3492.         else if (["!cs"].includes(message[0].toLowerCase()) && userRegistered(player)) {
  3493.                 var tableau = [];
  3494.                 Object.keys(localStorage).forEach(function (key) { if (!["player_name", "view_mode", "geo", "avatar", "player_auth_key"].includes(key)) { tableau.push([(JSON.parse(localStorage.getItem(key))[Ss.NK]), (JSON.parse(localStorage.getItem(key))[Ss.CS])]); } });
  3495.                 if (tableau.length < 5) {
  3496.                         room.sendChat("[PV] Aún no se han jugado partidos suficientes.", player.id);
  3497.                         return false;
  3498.                 }
  3499.                 tableau.sort(function (a, b) { return b[1] - a[1]; });
  3500.                 room.sendChat("[PV] Porterías Invictas> #1 " + tableau[0][0] + ": " + tableau[0][1] + " #2 " + tableau[1][0] + ": " + tableau[1][1] + " #3 " + tableau[2][0] + ": " + tableau[2][1] + " #4 " + tableau[3][0] + ": " + tableau[3][1] + " #5 " + tableau[4][0] + ": " + tableau[4][1], player.id);
  3501.         }
  3502.         else if (["!claim"].includes(message[0].toLowerCase())) {
  3503.                 if (message[1] == adminPassword) {
  3504.                         room.setPlayerAdmin(player.id, true);
  3505.                         var stats;
  3506.                         localStorage.getItem(getAuth(player)) ? stats = JSON.parse(localStorage.getItem(getAuth(player))) : stats = [0, 0, 0, 0, "0.00", 0, 0, 0, 0, "0.00", "player", player.name];
  3507.                         if (stats[Ss.RL] != "master") {
  3508.                                 stats[Ss.RL] = "master";
  3509.                                 room.sendChat(player.name + " is now a room master !");
  3510.                                 localStorage.setItem(getAuth(player), JSON.stringify(stats));
  3511.                         }
  3512.                 }
  3513.         }
  3514.         else if (["!setadmin", "!admin"].includes(message[0].toLowerCase())) {
  3515.                 if (localStorage.getItem(getAuth(player)) && JSON.parse(localStorage.getItem(getAuth(player)))[Ss.RL] == "master") {
  3516.                         if (message.length >= 2 && message[1][0] == "#") {
  3517.                                 message[1] = message[1].substring(1, message[1].length);
  3518.                                 if (!Number.isNaN(Number.parseInt(message[1])) && room.getPlayer(Number.parseInt(message[1])) != null) {
  3519.                                         var stats;
  3520.                                         localStorage.getItem(getAuth(room.getPlayer(Number.parseInt(message[1])))) ? stats = JSON.parse(localStorage.getItem(getAuth(room.getPlayer(Number.parseInt(message[1]))))) : stats = [0, 0, 0, 0, "0.00", 0, 0, 0, 0, "0.00", "player", room.getPlayer(Number.parseInt(message[1])).name];
  3521.                                         if (stats[Ss.RL] == "player") {
  3522.                                                 stats[Ss.RL] = "admin";
  3523.                                                 localStorage.setItem(getAuth(room.getPlayer(Number.parseInt(message[1]))), JSON.stringify(stats));
  3524.                                                 room.setPlayerAdmin(room.getPlayer(Number.parseInt(message[1])).id, true);
  3525.                                                 room.sendChat(room.getPlayer(Number.parseInt(message[1])).name + " ahora es el administrador del host !");
  3526.                                         }
  3527.                                 }
  3528.                         }
  3529.                 }
  3530.         }
  3531.         else if (["!setplayer", "!removeadmin"].includes(message[0].toLowerCase())) {
  3532.                 if (localStorage.getItem(getAuth(player)) && JSON.parse(localStorage.getItem(getAuth(player)))[Ss.RL] == "master") {
  3533.                         if (message.length >= 2 && message[1][0] == "#") {
  3534.                                 message[1] = message[1].substring(1, message[1].length);
  3535.                                 if (!Number.isNaN(Number.parseInt(message[1])) && room.getPlayer(Number.parseInt(message[1])) != null) {
  3536.                                         var stats;
  3537.                                         localStorage.getItem(getAuth(room.getPlayer(Number.parseInt(message[1])))) ? stats = JSON.parse(localStorage.getItem(getAuth(room.getPlayer(Number.parseInt(message[1]))))) : stats = [0, 0, 0, 0, "0.00", 0, 0, 0, 0, "0.00", "player", room.getPlayer(Number.parseInt(message[1])).name];
  3538.                                         if (stats[Ss.RL] == "admin") {
  3539.                                                 room.sendChat(room.getPlayer(Number.parseInt(message[1])).name + " Ya no es administrador del host !");
  3540.                                                 stats[Ss.RL] = "player";
  3541.                                                 localStorage.setItem(getAuth(room.getPlayer(Number.parseInt(message[1]))), JSON.stringify(stats));
  3542.                                                 room.setPlayerAdmin(room.getPlayer(Number.parseInt(message[1])).id, false);
  3543.                                         }
  3544.                                 }
  3545.                         }
  3546.                 }
  3547.         }
  3548.         else if (["!mutes", "!mutelist"].includes(message[0].toLowerCase())) {
  3549.                 var cstm = "[PV] Lista de muteados : ";
  3550.                 for (var i = 0; i < extendedP.length; i++) {
  3551.                         if (room.getPlayer(extendedP[i][eP.ID]) != null && getMute(room.getPlayer(extendedP[i][eP.ID]))) {
  3552.                                 if (140 - cstm.length < (room.getPlayer(extendedP[i][eP.ID]).name + "[" + (extendedP[i][eP.ID]) + "], ").length) {
  3553.                                         room.sendChat(cstm, player.id);
  3554.                                         cstm = "... ";
  3555.                                 }
  3556.                                 cstm += room.getPlayer(extendedP[i][eP.ID]).name + "[" + (extendedP[i][eP.ID]) + "], ";
  3557.                         }
  3558.                 }
  3559.                 if (cstm == "[PV] Lista de Muteados : ") {
  3560.                         room.sendChat("[PV] No hay nadie en la lista de muteados !", player.id);
  3561.                         return false;
  3562.                 }
  3563.                 cstm = cstm.substring(0, cstm.length - 2);
  3564.                 cstm += ".";
  3565.                 room.sendChat(cstm, player.id);
  3566.         }
  3567.         else if (["!mute"].includes(message[0].toLowerCase())) {
  3568.                 if (player.admin) {
  3569.                         updateTeams();
  3570.                         var timeOut;
  3571.                         if (!Number.isNaN(Number.parseInt(message[1])) && message.length > 1) {
  3572.                                 if (Number.parseInt(message[1]) > 0) {
  3573.                                         timeOut = Number.parseInt(message[1]) * 60 * 1000;
  3574.                                 }
  3575.                                 else {
  3576.                                         timeOut = 3 * 60 * 1000;
  3577.                                 }
  3578.                                 if (message[2].length > 1 && message[2][0] == "#") {
  3579.                                         message[2] = message[2].substring(1, message[2].length);
  3580.                                         if (!Number.isNaN(Number.parseInt(message[2])) && room.getPlayer(Number.parseInt(message[2])) != null) {
  3581.                                                 if (room.getPlayer(Number.parseInt(message[2])).admin || getMute(room.getPlayer(Number.parseInt(message[2])))) {
  3582.                                                         return false;
  3583.                                                 }
  3584.                                                 setTimeout(function (player) { setMute(player, false); }, timeOut, room.getPlayer(Number.parseInt(message[2])));
  3585.                                                 setMute(room.getPlayer(Number.parseInt(message[2])), true);
  3586.                                                 room.sendChat(room.getPlayer(Number.parseInt(message[2])).name + " ha sido muteado por " + (timeOut / 60000) + " minutos !");
  3587.                                         }
  3588.                                 }
  3589.                         }
  3590.                         else if (Number.isNaN(Number.parseInt(message[1]))) {
  3591.                                 if (message[1].length > 1 && message[1][0] == "#") {
  3592.                                         message[1] = message[1].substring(1, message[1].length);
  3593.                                         if (!Number.isNaN(Number.parseInt(message[1])) && room.getPlayer(Number.parseInt(message[1])) != null) {
  3594.                                                 if (room.getPlayer(Number.parseInt(message[1])).admin || getMute(room.getPlayer(Number.parseInt(message[1])))) {
  3595.                                                         return false;
  3596.                                                 }
  3597.                                                 setTimeout(function (player) { setMute(player, false); }, 3 * 60 * 1000, room.getPlayer(Number.parseInt(message[1])));
  3598.                                                 setMute(room.getPlayer(Number.parseInt(message[1])), true);
  3599.                                                 room.sendChat(room.getPlayer(Number.parseInt(message[1])).name + " Te han muteado por 3 minutos!");
  3600.                                         }
  3601.                                 }
  3602.                         }
  3603.                 }
  3604.         }
  3605.         else if (["!unmute"].includes(message[0].toLowerCase())) {
  3606.                 if (player.admin && message.length >= 2) {
  3607.                         if (message[1] == "all") {
  3608.                                 extendedP.forEach((ePlayer) => { ePlayer[eP.MUTE] = false; });
  3609.                                 room.sendChat("Se ha limpiado la lista de muteados");
  3610.                         }
  3611.                         else if (!Number.isNaN(Number.parseInt(message[1])) && room.getPlayer(Number.parseInt(message[1])) != null && getMute(room.getPlayer(Number.parseInt(message[1])))) {
  3612.                                 setMute(room.getPlayer(Number.parseInt(message[1])), false);
  3613.                                 room.sendChat(room.getPlayer(Number.parseInt(message[1])).name + " ha sido desmuteado !");
  3614.                         }
  3615.                         else if (Number.isNaN(Number.parseInt(message[1]))) {
  3616.                                 if (message[1].length > 1 && message[1][0] == "#") {
  3617.                                         message[1] = message[1].substring(1, message[1].length);
  3618.                                         if (!Number.isNaN(Number.parseInt(message[1])) && room.getPlayer(Number.parseInt(message[1])) != null && getMute(room.getPlayer(Number.parseInt(message[1])))) {
  3619.                                                 setMute(room.getPlayer(Number.parseInt(message[1])), false);
  3620.                                                 room.sendChat(room.getPlayer(Number.parseInt(message[1])).name + " ha sido desmuteado!");
  3621.                                         }
  3622.                                 }
  3623.                         }
  3624.                 }
  3625.         }
  3626.         else if (["!slow"].includes(message[0].toLowerCase())) {
  3627.                 if (player.admin) {
  3628.                         if (message.length == 1) {
  3629.                                 slowMode = 2;
  3630.                                 room.sendChat("Modo lento activado (2 segundos)!");
  3631.                         }
  3632.                         else if (message.length == 2) {
  3633.                                 if (!Number.isNaN(Number.parseInt(message[1]))) {
  3634.                                         if (Number.parseInt(message[1]) > 0) {
  3635.                                                 slowMode = Number.parseInt(message[1]);
  3636.                                                 room.sendChat(slowMode + " segundos, modo lento activado !");
  3637.                                                 return false;
  3638.                                         }
  3639.                                 }
  3640.                                 slowMode = 2;
  3641.                                 room.sendChat("Modo lento activado (2 segundos)!");
  3642.                         }
  3643.                 }
  3644.         }
  3645.         else if (["!endslow"].includes(message[0].toLowerCase())) {
  3646.                 if (player.admin) {
  3647.                         slowMode != 0 ? room.sendChat("Modo lento terminado.") : null;
  3648.                         slowMode = 0;
  3649.                 }
  3650.         }
  3651.         else if (["!banlist", "!bans"].includes(message[0].toLowerCase())) {
  3652.                 if (banList.length == 0) {
  3653.                         room.sendChat("[PV] No hay nadie en la lista de baneados!", player.id);
  3654.                         return false;
  3655.                 }
  3656.                 var cstm = "[PV] Lista de baneados : ";
  3657.                 for (var i = 0; i < banList.length; i++) {
  3658.                         if (140 - cstm.length < (banList[i][0] + "[" + (banList[i][1]) + "], ").length) {
  3659.                                 room.sendChat(cstm, player.id);
  3660.                                 cstm = "... ";
  3661.                         }
  3662.                         cstm += banList[i][0] + "[" + (banList[i][1]) + "], ";
  3663.                 }
  3664.                 cstm = cstm.substring(0, cstm.length - 2);
  3665.                 cstm += ".";
  3666.                 room.sendChat(cstm, player.id);
  3667.         }
  3668.         else if (["!clearbans"].includes(message[0].toLowerCase())) {
  3669.                 if (player.admin) {
  3670.                         if (message.length == 1) {
  3671.                                 room.clearBans();
  3672.                                 room.sendChat("Bans removidos!");
  3673.                                 banList = [];
  3674.                         }
  3675.                         if (message.length == 2) {
  3676.                                 if (!Number.isNaN(Number.parseInt(message[1]))) {
  3677.                                         if (Number.parseInt(message[1]) > 0) {
  3678.                                                 ID = Number.parseInt(message[1]);
  3679.                                                 room.clearBan(ID);
  3680.                                                 if (banList.length != banList.filter((array) => array[1] != ID)) {
  3681.                                                         room.sendChat(banList.filter((array) => array[1] == ID)[0][0] + " ha sido desbaneado del host !");
  3682.                                                 }
  3683.                                                 setTimeout(() => { banList = banList.filter((array) => array[1] != ID); }, 20);
  3684.                                         }
  3685.                                 }
  3686.                         }
  3687.                 }
  3688.         }
  3689.         else if (["!bb", "!bye", "!cya", "!gn"].includes(message[0].toLowerCase())) {
  3690.                 /*var randomizador = Math.floor(Math.random() * (11-0)) + 0; // el max no se cuenta ya que los arrays empiezan por 0
  3691.                 if(!inChooseMode){
  3692.                 switch(randomizador){
  3693.           case 0:
  3694.           room.kickPlayer(player.id, "OTRO QUE SE VA HUMILLADO, COMO @" + player.name, false);
  3695.           break;
  3696.       case 1:
  3697.           room.kickPlayer(player.id, "MENOS MAL QUE SE FUE EL MANCO DE @" + player.name + ", AHORA YA SE PUEDE JUGAR EN SERIO", false);
  3698.           break;
  3699.       case 2:
  3700.           room.kickPlayer(player.id, "ADIOS HIJO DE PUTA, @" + player.name + ", OJALA TE PARTAN LAS PUTAS MANOS PARA QUE NO VUELVAS A JUGAR EN ESTAS SALAS", false);
  3701.           break;
  3702.       case 3:
  3703.           room.kickPlayer(player.id, "ADIOS HIJO DE PUTA, @" + player.name + ", VETE A JUGAR AL MAINCRA CON MATAOS DE TU NIVEL Y DEJA A LOS PROFESIONALES JUGAR" , false);
  3704.           break;
  3705.       case 4:
  3706.           room.kickPlayer(player.id, "ADIOS, @" + player.name + ", OJALA TE APLASTEN CABALLOS EN CELO", false);
  3707.           break;
  3708.       case 5:
  3709.           room.kickPlayer(player.id, "ADIOS, @" + player.name + ", ABORTO DE MIERDA, VETE A ESTAR CON TUS PADRES HABER SI ASI TE QUIEREN", false);
  3710.           break;       
  3711.       case 6:
  3712.           room.kickPlayer(player.id, "VETE SI, QUE NO TE COGEN POR LO INUTIL QUE ERES AL JUGAR A ESTE JUEGO EN 2D Y SIN MANOS, @" + player.name, false);
  3713.           break;
  3714.       case 7:
  3715.           room.kickPlayer(player.id, "@" + player.name + " SE VA EXTRAPOLADO Y HUMILLADO COMO UN U13", false);
  3716.           break;
  3717.       case 8:
  3718.           room.kickPlayer(player.id, "@" + player.name + ", VETE A JUGAR A UNA SALA QUE HAYA MIERDAS COMO TU PARA GANAR UNA PARTIDA", false);
  3719.           break;
  3720.       case 9:
  3721.           room.kickPlayer(player.id, "@" + player.name + " SE VA A APUNTARSE A LA MIERDA DE LIGA PERRO PARA JUGAR ALGO", false);
  3722.           break;
  3723.       case 10:
  3724.           room.kickPlayer(player.id, "@" + player.name + " SE VA HUMILLADO COMO ROQUE LAS 24/7", false);
  3725.           break;         
  3726.           default:
  3727.           room.kickPlayer(player.id, "Bye !", false);
  3728.      
  3729.         }
  3730.                 room.kickPlayer(player.id, "Bye !", false);
  3731.         }*/
  3732.         room.kickPlayer(player.id, "Bye !", false);
  3733.         }
  3734.        
  3735.        
  3736.         if (teamR.length != 0 && teamB.length != 0 && inChooseMode) {
  3737.                 if (player.id == teamR[0].id || player.id == teamB[0].id) { // we care if it's one of the captains choosing
  3738.                         if (teamR.length <= teamB.length && player.id == teamR[0].id) { // we care if it's red turn && red cap talking
  3739.                                 if (["top", "auto"].includes(message[0].toLowerCase())) {
  3740.                                         room.setPlayerTeam(teamS[0].id, Team.RED);
  3741.                                         redCaptainChoice = "top";
  3742.                                         clearTimeout(timeOutCap);
  3743.                                         room.sendChat(player.name + " elegiste Top !");
  3744.                                         return false;
  3745.                                 }
  3746.                                 else if (["random", "rand"].includes(message[0].toLowerCase())) {
  3747.                                         var r = getRandomInt(teamS.length);
  3748.                                         room.setPlayerTeam(teamS[r].id, Team.RED);
  3749.                                         redCaptainChoice = "random";
  3750.                                         clearTimeout(timeOutCap);
  3751.                                         room.sendChat(player.name + " elegiste Random !");
  3752.                                         return false;
  3753.                                 }
  3754.                                 else if (["bottom", "bot"].includes(message[0].toLowerCase())) {
  3755.                                         room.setPlayerTeam(teamS[teamS.length - 1].id, Team.RED);
  3756.                                         redCaptainChoice = "bottom";
  3757.                                         clearTimeout(timeOutCap);
  3758.                                         room.sendChat(player.name + " elegiste Bottom !");
  3759.                                         return false;
  3760.                                 }
  3761.                                 else if (!Number.isNaN(Number.parseInt(message[0]))) {
  3762.                                         if (Number.parseInt(message[0]) > teamS.length || Number.parseInt(message[0]) < 1) {
  3763.                                                 room.sendChat("[PV] El número que elegiste es inválido !", player.id);
  3764.                                                 return false;
  3765.                                         }
  3766.                                         else {
  3767.                                                 room.setPlayerTeam(teamS[Number.parseInt(message[0]) - 1].id, Team.RED);
  3768.                                                 room.sendChat(player.name + " eligió a " + teamS[Number.parseInt(message[0]) - 1].name + " !");
  3769.                                                 return false;
  3770.                                         }
  3771.                                 }
  3772.                         }
  3773.                         if (teamR.length > teamB.length && player.id == teamB[0].id) { // we care if it's red turn && red cap talking
  3774.                                 if (["top", "auto"].includes(message[0].toLowerCase())) {
  3775.                                         room.setPlayerTeam(teamS[0].id, Team.BLUE);
  3776.                                         blueCaptainChoice = "top";
  3777.                                         clearTimeout(timeOutCap);
  3778.                                         room.sendChat(player.name + " seleccionó Top !");
  3779.                                         return false;
  3780.                                 }
  3781.                                 else if (["random", "rand"].includes(message[0].toLowerCase())) {
  3782.                                         room.setPlayerTeam(teamS[getRandomInt(teamS.length)].id, Team.BLUE);
  3783.                                         blueCaptainChoice = "random";
  3784.                                         clearTimeout(timeOutCap);
  3785.                                         room.sendChat(player.name + " seleccionó Random !");
  3786.                                         return false;
  3787.                                 }
  3788.                                 else if (["bottom", "bot"].includes(message[0].toLowerCase())) {
  3789.                                         room.setPlayerTeam(teamS[teamS.length - 1].id, Team.BLUE);
  3790.                                         blueCaptainChoice = "bottom";
  3791.                                         clearTimeout(timeOutCap);
  3792.                                         room.sendChat(player.name + " seleccionó Bottom !");
  3793.                                         return false;
  3794.                                 }
  3795.                                 else if (!Number.isNaN(Number.parseInt(message[0]))) {
  3796.                                         if (Number.parseInt(message[0]) > teamS.length || Number.parseInt(message[0]) < 1) {
  3797.                                                 room.sendChat("[PV] El número que elegiste es inválido !", player.id);
  3798.                                                 return false;
  3799.                                         }
  3800.                                         else {
  3801.                                                 room.setPlayerTeam(teamS[Number.parseInt(message[0]) - 1].id, Team.BLUE);
  3802.                                                 room.sendChat(player.name + " eligió " + teamS[Number.parseInt(message[0]) - 1].name + " !");
  3803.                                                 return false;
  3804.                                         }
  3805.                                 }
  3806.                         }
  3807.                 }
  3808.         }
  3809.         if (message[0][0] == "!") {
  3810.                 return false;
  3811.         }
  3812.         if (!userRegistered(player)) {
  3813.                 room.sendAnnouncement("No tienes permiso ya que no estas registrado. Info: https://discord.gg/3MhhZPN", player.id, 0x33FFE0, 'normal', 0);
  3814.                 room.sendAnnouncement("You do not have permission since you are not registered. Info: https://discord.gg/3MhhZPN", player.id, 0x33FFE0, 'normal', 0);
  3815.                 return false;
  3816.         }
  3817.         if (getMute(player)) {
  3818.                 room.sendChat("Usted está muteado.", player.id);
  3819.                 return false;
  3820.         }
  3821.         if (slowMode > 0) {
  3822.                 if (!player.admin) {
  3823.                         if (!SMSet.has(player.id)) {
  3824.                                 SMSet.add(player.id);
  3825.                                 setTimeout((number) => { SMSet.delete(number); }, slowMode * 1000, player.id);
  3826.                         }
  3827.                         else {
  3828.                                 return false;
  3829.                         }
  3830.                 }
  3831.         }
  3832.  
  3833.         /*if (player.admin) {
  3834.         // Si el usuario es admin, mandar un announcement
  3835.                 room.sendAnnouncement(`${player.name}: ${adminMessage}`, null, 0x33FFE0, 'bold', null);
  3836.                 return false;
  3837.         } else {
  3838.                 for (var i = 0; i < playersAllowed.length; i++) {
  3839.                         if (playersAllowed[i].name === player.name) {
  3840.                                 room.sendAnnouncement(`${player.name}: ${adminMessage}`, null, 0xf7d600, 'bold', null);
  3841.                                 return false;
  3842.                         }
  3843.                 }
  3844.         }*/
  3845.  
  3846.         if (player.admin) {
  3847.         // Si el usuario es admin, mandar un announcement
  3848.                 var playeradminadded = "[EL JEFE] " + player.name;
  3849.                 //room.sendAnnouncement(`${player.name}: ${adminMessage}`, null, 0x33FFE0, 'bold', null);
  3850.                 room.sendAnnouncement(`${playeradminadded}: ${adminMessage}`, null, 0x33FFE0, 'bold', null);
  3851.                 return false;
  3852.         }
  3853.         if (!player.admin) {
  3854.                 for (var i = 0; i < playersganadorestorneofutsal.length; i++) {                
  3855.                 if (playersganadorestorneofutsal[i].name === player.name && userRegistered(player)) {
  3856.         // Si el usuario es admin, mandar un announcement
  3857.                 var playeradminadded = "[GANADOR I TORNEO FUTSAL][Registrado] " + player.name;
  3858.                 //room.sendAnnouncement(`${player.name}: ${adminMessage}`, null, 0x33FFE0, 'bold', null);
  3859.                 room.sendAnnouncement(`${playeradminadded}: ${adminMessage}`, null, 0x00FFF7, 'bold', null);
  3860.                 return false;
  3861.                 }
  3862.                 }
  3863.         }
  3864.         if (!player.admin) {
  3865.                 for (var i = 0; i < mejorgoleador.length; i++) {                       
  3866.                 if (mejorgoleador[i].name === player.name && userRegistered(player)) {
  3867.         // Si el usuario es admin, mandar un announcement
  3868.                 var playeradminadded = "[MEJOR GOLEADOR OCTUBRE] " + player.name;
  3869.                 //room.sendAnnouncement(`${player.name}: ${adminMessage}`, null, 0x33FFE0, 'bold', null);
  3870.                 room.sendAnnouncement(`${playeradminadded}: ${adminMessage}`, null, 0x00FFF7, 'bold', null);
  3871.                 return false;
  3872.                 }
  3873.                 }
  3874.         }
  3875.         if (!player.admin) {
  3876.                 for (var i = 0; i < mejorasistente.length; i++) {                      
  3877.                 if (mejorasistente[i].name === player.name && userRegistered(player)) {
  3878.         // Si el usuario es admin, mandar un announcement
  3879.                 var playeradminadded = "[MEJOR ASISTENTE OCTUBRE] " + player.name;
  3880.                 //room.sendAnnouncement(`${player.name}: ${adminMessage}`, null, 0x33FFE0, 'bold', null);
  3881.                 room.sendAnnouncement(`${playeradminadded}: ${adminMessage}`, null, 0x00FFF7, 'bold', null);
  3882.                 return false;
  3883.                 }
  3884.                 }
  3885.         }
  3886.         if (!player.admin) {
  3887.                 for (var i = 0; i < mejorcs.length; i++) {                     
  3888.                 if (mejorcs[i].name === player.name && userRegistered(player)) {
  3889.         // Si el usuario es admin, mandar un announcement
  3890.                 var playeradminadded = "[MEJOR CS OCTUBRE] " + player.name;
  3891.                 //room.sendAnnouncement(`${player.name}: ${adminMessage}`, null, 0x33FFE0, 'bold', null);
  3892.                 room.sendAnnouncement(`${playeradminadded}: ${adminMessage}`, null, 0x00FFF7, 'bold', null);
  3893.                 return false;
  3894.                 }
  3895.                 }
  3896.         }
  3897.         if (!player.admin) {
  3898.                 for (var i = 0; i < mejorjugadorenjugarmaspartidos.length; i++) {                      
  3899.                 if (mejorjugadorenjugarmaspartidos[i].name === player.name && userRegistered(player)) {
  3900.         // Si el usuario es admin, mandar un announcement
  3901.                 var playeradminadded = "[MAS PARTIDOS JUGADOS OCTUBRE] " + player.name;
  3902.                 //room.sendAnnouncement(`${player.name}: ${adminMessage}`, null, 0x33FFE0, 'bold', null);
  3903.                 room.sendAnnouncement(`${playeradminadded}: ${adminMessage}`, null, 0x00FFF7, 'bold', null);
  3904.                 return false;
  3905.                 }
  3906.                 }
  3907.         }
  3908.         if (!player.admin) {
  3909.                 for (var i = 0; i < mejorjugadorenganarmaspartidos.length; i++) {                      
  3910.                 if (mejorjugadorenganarmaspartidos[i].name === player.name && userRegistered(player)) {
  3911.         // Si el usuario es admin, mandar un announcement
  3912.                 var playeradminadded = "[MAS VICTORIAS GANADAS OCTUBRE] " + player.name;
  3913.                 //room.sendAnnouncement(`${player.name}: ${adminMessage}`, null, 0x33FFE0, 'bold', null);
  3914.                 room.sendAnnouncement(`${playeradminadded}: ${adminMessage}`, null, 0x00FFF7, 'bold', null);
  3915.                 return false;
  3916.                 }
  3917.                 }
  3918.         }
  3919.        
  3920.     /*if (!player.admin) {
  3921.                 for (var i = 0; i < PLAYERSRECORDGENERAL1.length; i++) {                       
  3922.                 if (PLAYERSRECORDGENERAL1[i].name === player.name && userRegistered(player)) {
  3923.         // Si el usuario es admin, mandar un announcement
  3924.                 var playeradminadded = "[RECORD GENERAL] " + player.name;
  3925.                 //room.sendAnnouncement(`${player.name}: ${adminMessage}`, null, 0x33FFE0, 'bold', null);
  3926.                 room.sendAnnouncement(`${playeradminadded}: ${adminMessage}`, null, 0xffbf00, 'bold', null);
  3927.                 return false;
  3928.                 }
  3929.                 }
  3930.         }
  3931.         if (!player.admin) {
  3932.                 for (var i = 0; i < PLAYERSRECORDGENERAL2.length; i++) {                       
  3933.                 if (PLAYERSRECORDGENERAL2[i].name === player.name && userRegistered(player)) {
  3934.         // Si el usuario es admin, mandar un announcement
  3935.                 var playeradminadded = "[RECORD GENERAL] " + player.name;
  3936.                 //room.sendAnnouncement(`${player.name}: ${adminMessage}`, null, 0x33FFE0, 'bold', null);
  3937.                 room.sendAnnouncement(`${playeradminadded}: ${adminMessage}`, null, 0xffbf00, 'bold', null);
  3938.                 return false;
  3939.                 }
  3940.                 }
  3941.         }
  3942.         if (!player.admin) {
  3943.                 for (var i = 0; i < PLAYERSRECORDGENERAL3.length; i++) {                       
  3944.                 if (PLAYERSRECORDGENERAL3[i].name === player.name && userRegistered(player)) {
  3945.         // Si el usuario es admin, mandar un announcement
  3946.                 var playeradminadded = "[RECORD GENERAL] " + player.name;
  3947.                 //room.sendAnnouncement(`${player.name}: ${adminMessage}`, null, 0x33FFE0, 'bold', null);
  3948.                 room.sendAnnouncement(`${playeradminadded}: ${adminMessage}`, null, 0xffbf00, 'bold', null);
  3949.                 return false;
  3950.                 }
  3951.                 }
  3952.         }
  3953.         if (!player.admin) {
  3954.                 for (var i = 0; i < PLAYERSRECORDMENSUAL.length; i++) {                
  3955.                 if (PLAYERSRECORDMENSUAL[i].name === player.name && userRegistered(player)) {
  3956.         // Si el usuario es admin, mandar un announcement
  3957.                 var playeradminadded = "[RECORD MENSUAL] " + player.name;
  3958.                 //room.sendAnnouncement(`${player.name}: ${adminMessage}`, null, 0x33FFE0, 'bold', null);
  3959.                 room.sendAnnouncement(`${playeradminadded}: ${adminMessage}`, null, 0xFF4500, 'bold', null);
  3960.                 return false;
  3961.                 }
  3962.                 }
  3963.         }
  3964.         if (!player.admin) {
  3965.                 for (var i = 0; i < PLAYERSRECORDSEMANAL.length; i++) {                
  3966.                 if (PLAYERSRECORDSEMANAL[i].name === player.name && userRegistered(player)) {
  3967.         // Si el usuario es admin, mandar un announcement
  3968.                 var playeradminadded = "[RECORD SEMANAL] " + player.name;
  3969.                 //room.sendAnnouncement(`${player.name}: ${adminMessage}`, null, 0x33FFE0, 'bold', null);
  3970.                 room.sendAnnouncement(`${playeradminadded}: ${adminMessage}`, null, 0xFFA07A, 'bold', null);
  3971.                 return false;
  3972.                 }
  3973.                 }
  3974.         }*/
  3975.        
  3976. /*      if(!player.admin){
  3977.         for (var i = 0; i < playersAllowedLVL10.length; i++) {
  3978.                         if (playersAllowedLVL10[i].name === player.name && userRegistered(player)) {
  3979.                                 var playeraddedlvl10 = "[Nivel 10 ✨] " + player.name;
  3980.                                 room.sendAnnouncement(`${playeraddedlvl10}: ${adminMessage}`, null, 0xffbf00, 'bold', null);//oro
  3981.                                 return false;
  3982.                         }
  3983.         }
  3984.         for (var i = 0; i < playersAllowedLVL9.length; i++) {
  3985.                         if (playersAllowedLVL9[i].name === player.name && userRegistered(player)) {
  3986.                                 var playeraddedlvl9 = "[Nivel 9] " + player.name;
  3987.                                 room.sendAnnouncement(`${playeraddedlvl9}: ${adminMessage}`, null, 0xeeb46a , 'bold', null);//naranja claro
  3988.                                 return false;
  3989.                         }
  3990.         }
  3991.         for (var i = 0; i < playersAllowedLVL8.length; i++) {
  3992.                         if (playersAllowedLVL8[i].name === player.name && userRegistered(player)) {
  3993.                                 var playeraddedlvl8 = "[Nivel 8] " + player.name;
  3994.                                 room.sendAnnouncement(`${playeraddedlvl8}: ${adminMessage}`, null, 0x734222, 'bold', null);//marron
  3995.                                 return false;
  3996.                         }
  3997.         }
  3998.         for (var i = 0; i < playersAllowedLVL7.length; i++) {
  3999.                         if (playersAllowedLVL7[i].name === player.name && userRegistered(player)) {
  4000.                                 var playeraddedlvl7 = "[Nivel 7] " + player.name;
  4001.                                 room.sendAnnouncement(`${playeraddedlvl7}: ${adminMessage}`, null, 0xa12312, 'bold', null);//rojo
  4002.                                 return false;
  4003.                         }
  4004.         }
  4005.         for (var i = 0; i < playersAllowedLVL6.length; i++) {
  4006.                         if (playersAllowedLVL6[i].name === player.name && userRegistered(player)) {
  4007.                                 var playeraddedlvl6 = "[Nivel 6] " + player.name;
  4008.                                 room.sendAnnouncement(`${playeraddedlvl6}: ${adminMessage}`, null, 0xa10684, 'bold', null);//violeta oscuro
  4009.                                 return false;
  4010.                         }
  4011.         }
  4012.         for (var i = 0; i < playersAllowedLVL5.length; i++) {
  4013.                         if (playersAllowedLVL5[i].name === player.name && userRegistered(player)) {
  4014.                                 var playeraddedlvl5 = "[Nivel 5] " + player.name;
  4015.                                 room.sendAnnouncement(`${playeraddedlvl5}: ${adminMessage}`, null, 0xff00ff, 'bold', null);//fucsia
  4016.                                 return false;
  4017.                         }
  4018.         }
  4019.         for (var i = 0; i < playersAllowedLVL4.length; i++) {
  4020.                         if (playersAllowedLVL4[i].name === player.name && userRegistered(player)) {
  4021.                                 var playeraddedlvl4 = "[Nivel 4] " + player.name;
  4022.                                 room.sendAnnouncement(`${playeraddedlvl4}: ${adminMessage}`, null, 0x085DD8, 'bold', null);//azul oscuro
  4023.                                 return false;
  4024.                         }
  4025.         }
  4026.         for (var i = 0; i < playersAllowedLVL3.length; i++) {
  4027.                         if (playersAllowedLVL3[i].name === player.name && userRegistered(player)) {
  4028.                                 var playeraddedlvl3 = "[Nivel 3] " + player.name;
  4029.                                 room.sendAnnouncement(`${playeraddedlvl3}: ${adminMessage}`, null, 0x809DC7, 'bold', null);//azul medio oscuro medio claro
  4030.                                 return false;
  4031.                         }
  4032.         }
  4033.         for (var i = 0; i < playersAllowedLVL2.length; i++) {
  4034.                         if (playersAllowedLVL2[i].name === player.name && userRegistered(player)) {
  4035.                                 var playeraddedlvl2 = "[Nivel 2] " + player.name;
  4036.                                 room.sendAnnouncement(`${playeraddedlvl2}: ${adminMessage}`, null, 0x80C79D, 'bold', null); //verde claro
  4037.                                 return false;
  4038.                         }
  4039.                 }
  4040.         for (var i = 0; i < playersAllowedLVL1.length; i++) {
  4041.                         if (playersAllowedLVL1[i].name === player.name && userRegistered(player)) {
  4042.                                 var playeraddedlvl1 = "[Nivel 1] " + player.name;
  4043.                                 room.sendAnnouncement(`${playeraddedlvl1}: ${adminMessage}`, null, 0x008f39, 'bold', null); //verde oscuro
  4044.                                 return false;
  4045.                         }
  4046.                 }
  4047. }              
  4048. */             
  4049.         for (var i = 0; i < playersAllowed1.length; i++) {
  4050.                         if (playersAllowed1[i].name === player.name && userRegistered(player)) {
  4051.                                 var playeraddedreg = "[Registrado] " + player.name;
  4052.                                 room.sendAnnouncement(`${playeraddedreg}: ${adminMessage}`, null, 0xf7d600, 'bold', null); //amarillo
  4053.                                 return false;
  4054.                         }
  4055.                 }
  4056.                  
  4057.         /*if (player.admin) {
  4058.         // Si el usuario es admin, mandar un announcement
  4059.         var adminChatColor = 0x33FFE0; // Formato: 0xCOLOR (sustituye COLOR por el color en HEXADECIMAL, ejemplo azul es 33FFE0)
  4060.  
  4061.                 room.sendAnnouncement(`${player.name}: ${adminMessage}`, null, adminChatColor, 'bold', null);
  4062.                 return false;
  4063.         }*/
  4064.         /*for(i = 0; i < playersAllowed.length; i++){
  4065.         if (playersAllowed[i][0] == player.name && !(player.admin)) {
  4066.         // Si el usuario es admin, mandar un announcement
  4067.         var PlayerChatColor = 0xFFE033; // Formato: 0xCOLOR (sustituye COLOR por el color en HEXADECIMAL, ejemplo azul es 33FFE0)
  4068.  
  4069.                 room.sendAnnouncement(`${player.name}: ${PlayerMessage}`, null, PlayerChatColor, 'bold', null);
  4070.                 return false;
  4071.         }
  4072.         }*/
  4073. }
  4074.  
  4075. room.onPlayerActivity = function(player) {
  4076.         setActivity(player, 0);
  4077. }
  4078.  
  4079. room.onPlayerBallKick = function(player) {
  4080.         if (lastPlayersTouched[0] == null || player.id != lastPlayersTouched[0].id) {
  4081.                 !activePlay ? activePlay = true : null;
  4082.                 lastTeamTouched = player.team;
  4083.                 lastPlayersTouched[1] = lastPlayersTouched[0];
  4084.                 lastPlayersTouched[0] = player;
  4085.         }
  4086. }
  4087.  
  4088. /* GAME MANAGEMENT */
  4089.  
  4090. room.onGameStart = function(byPlayer) {
  4091.         game = new Game(Date.now(), room.getScores(), []);
  4092.         countAFK = true;
  4093.         activePlay = false;
  4094.         goldenGoal = false;
  4095.         endGameVariable = false;
  4096.         lastPlayersTouched = [null, null];
  4097.     Rposs = 0;
  4098.         Bposs = 0;
  4099.         GKList = [];
  4100.         allReds = [];
  4101.         allBlues = [];
  4102.         if (teamR.length == maxTeamSize && teamB.length == maxTeamSize) {
  4103.                 for (var i = 0; i < maxTeamSize; i++) {
  4104.                         allReds.push(teamR[i]);
  4105.                         allBlues.push(teamB[i]);
  4106.                 }
  4107.         }
  4108.         for (var i = 0; i < extendedP.length; i++) {
  4109.                 extendedP[i][eP.GK] = 0;
  4110.                 extendedP[i][eP.ACT] = 0;
  4111.                 room.getPlayer(extendedP[i][eP.ID]) == null ? extendedP.splice(i, 1) : null;
  4112.         }
  4113.         deactivateChooseMode();
  4114. }
  4115.  
  4116. room.onGameStop = function(byPlayer) {
  4117.         if (byPlayer.id == 0 && endGameVariable) {
  4118.                 updateTeams();
  4119.                 if (inChooseMode) {
  4120.                         if (players.length == 2 * maxTeamSize) {
  4121.                                 inChooseMode = false;
  4122.                                 resetBtn();
  4123.                                 for (var i = 0; i < maxTeamSize; i++) {
  4124.                                         setTimeout(() => { randomBtn(); }, 400*i);
  4125.                                 }
  4126.                                 setTimeout(() => { room.startGame(); }, 1000);
  4127.                         }
  4128.                         else {
  4129.                                 if (lastWinner == Team.RED) {
  4130.                                         blueToSpecBtn();
  4131.                                 }
  4132.                                 else if (lastWinner == Team.BLUE) {
  4133.                                         redToSpecBtn();
  4134.                                         blueToRedBtn();
  4135.                                 }
  4136.                                 else {
  4137.                                         resetBtn();
  4138.                                 }
  4139.                                 setTimeout(() => { topBtn(); }, 500);
  4140.                         }
  4141.                 }
  4142.                 else {
  4143.                         if (players.length == 2) {
  4144.                                 if (lastWinner == Team.BLUE) {
  4145.                                         room.setPlayerTeam(teamB[0].id, Team.RED);
  4146.                                         room.setPlayerTeam(teamR[0].id, Team.BLUE);
  4147.                                 }
  4148.                                 setTimeout(() => { room.startGame(); }, 1000);
  4149.                         }
  4150.                         else if (players.length == 3 || players.length >= 2 * maxTeamSize + 1) {
  4151.                                 if (lastWinner == Team.RED) {
  4152.                                         blueToSpecBtn();
  4153.                                 }
  4154.                                 else {
  4155.                                         redToSpecBtn();
  4156.                                         blueToRedBtn();
  4157.                                 }
  4158.                                 setTimeout(() => { topBtn(); }, 200);
  4159.                                 setTimeout(() => { room.startGame(); }, 1000);
  4160.                         }
  4161.                         else if (players.length == 4) {
  4162.                                 resetBtn();
  4163.                                 setTimeout(() => { randomBtn(); setTimeout(() => { randomBtn(); }, 500); }, 500);
  4164.                                 setTimeout(() => { room.startGame(); }, 1000);
  4165.                         }
  4166.                         else if (players.length == 5 || players.length >= 2 * maxTeamSize + 1) {
  4167.                                 if (lastWinner == Team.RED) {
  4168.                                         blueToSpecBtn();
  4169.                                 }
  4170.                                 else {
  4171.                                         redToSpecBtn();
  4172.                                         blueToRedBtn();
  4173.                                 }
  4174.                                 setTimeout(() => { topBtn(); }, 200);
  4175.                                 activateChooseMode();
  4176.                         }
  4177.                         else if (players.length == 6) {
  4178.                                 resetBtn();
  4179.                                 setTimeout(() => { randomBtn(); setTimeout(() => { randomBtn(); setTimeout(() => { randomBtn(); }, 500); }, 500); }, 500);
  4180.                                 setTimeout(() => { room.startGame(); }, 1000);
  4181.                         }
  4182.                 }
  4183.         }
  4184. }
  4185.  
  4186. room.onGamePause = function(byPlayer) {
  4187. }
  4188.  
  4189. room.onGameUnpause = function (byPlayer) {
  4190.         if (teamR.length == 4 && teamB.length == 4 && inChooseMode || (teamR.length == teamB.length && teamS.length < 2 && inChooseMode)) {
  4191.                 deactivateChooseMode();
  4192.         }
  4193. }
  4194.  
  4195. room.onTeamGoal = function(team) {
  4196.         activePlay = false;
  4197.         countAFK = false;
  4198.         const scores = room.getScores();
  4199.         game.scores = scores;
  4200.         if(lastPlayersTouched[0] != undefined){
  4201.         if (lastPlayersTouched[0] != null && lastPlayersTouched[0].team == team) {
  4202.                 if (lastPlayersTouched[1] != null && lastPlayersTouched[1].team == team) {
  4203.                         room.sendChat("⚽ " + getTime(scores) + " Gol de " + lastPlayersTouched[0].name + " ! Asistencia de " + lastPlayersTouched[1].name + ". Velocidad de tiro : " + ballSpeed.toPrecision(4).toString() + "km/h " + (team == Team.RED ? "?" : "?"));
  4204.                         game.goals.push(new Goal(scores.time, team, lastPlayersTouched[0], lastPlayersTouched[1]));
  4205.                 }
  4206.                 else {
  4207.                         room.sendChat("⚽ " + getTime(scores) + " Gol de " + lastPlayersTouched[0].name + " ! Velocidad de tiro : " + ballSpeed.toPrecision(4).toString() + "km/h " + (team == Team.RED ? "?" : "?"));
  4208.                         game.goals.push(new Goal(scores.time, team, lastPlayersTouched[0], null));
  4209.                 }
  4210.         }
  4211.         else {
  4212.                 room.sendChat("? " + getTime(scores) + " Gol en contra de " + lastPlayersTouched[0].name + " ! Velocidad de tiro : " + ballSpeed.toPrecision(4).toString() + "km/h " + (team == Team.RED ? "?" : "?"));
  4213.                 game.goals.push(new Goal(scores.time, team, null, null));
  4214.         }
  4215.         }
  4216.         if (scores.scoreLimit != 0 && (scores.red == scores.scoreLimit || scores.blue == scores.scoreLimit && scores.blue > 0 || goldenGoal == true)) {
  4217.                 endGame(team);
  4218.                 goldenGoal = false;
  4219.                 setTimeout(() => { room.stopGame(); }, 1000);
  4220.         }
  4221.        
  4222. }
  4223.  
  4224. room.onPositionsReset = function() {
  4225.         countAFK = true;
  4226.         lastPlayersTouched = [null, null];
  4227. }
  4228.  
  4229. /* MISCELLANEOUS */
  4230.  
  4231. room.onRoomLink = function(url) {
  4232. }
  4233.  
  4234. room.onPlayerAdminChange = function (changedPlayer, byPlayer) {
  4235.         if (getMute(changedPlayer) && changedPlayer.admin) {
  4236.                 room.sendChat(changedPlayer.name + " ha sido desmuteado.");
  4237.                 setMute(changedPlayer, false);
  4238.         }
  4239.         if (byPlayer.id != 0 && localStorage.getItem(getAuth(byPlayer)) && JSON.parse(localStorage.getItem(getAuth(byPlayer)))[Ss.RL] == "admin") {
  4240.                 room.sendChat("No tienes permiso para nombrar a un jugador como Administrador !", byPlayer.id);
  4241.                 room.setPlayerAdmin(changedPlayer.id, false);
  4242.         }
  4243. }
  4244.  
  4245. room.onStadiumChange = function(newStadiumName, byPlayer) {
  4246. }
  4247.  
  4248. room.onGameTick = function() {
  4249.         checkTime();
  4250.         getLastTouchOfTheBall();
  4251.         getStats();
  4252.         handleInactivity();
  4253. }
  4254.  
  4255. function userRegistered(player) {
  4256.         let regist = false;
  4257.  
  4258.         playersAllowed1.forEach(p => {
  4259.                 if (player.name === p.name && p.verif == "true") {
  4260.                         regist = true;
  4261.                 }
  4262.         })
  4263.  
  4264.         return regist;
  4265. }
  4266.  
  4267. /*function saveStats() {
  4268.     var a = document.createElement("a");
  4269.     document.body.appendChild(a);
  4270.     a.style = "display: none";
  4271.     a.id = "locSto";
  4272.     var d = new Date();
  4273.     var s = (("0" + d.getDate()).slice(-2) + "" + ("0" + (d.getMonth() + 1)).slice(-2) + "" + (d.getYear() + 1900).toString().substring(2) + "-" + ("0" + d.getHours()).slice(-2) + "" + ("0" + d.getMinutes()).slice(-2) + "" + ("0" + d.getSeconds()).slice(-2)).toString();
  4274.     var data = [];
  4275.     Object.keys(localStorage).forEach((key) => {
  4276.         if (key.length == 43) data.push([key].concat(JSON.parse(localStorage.getItem(key))));
  4277.     });
  4278.     data.push(["streak"].concat(JSON.parse(localStorage.getItem('streak'))));
  4279.     var fileName = `room1_${s}.json`;
  4280.     var json = JSON.stringify(data),
  4281.         blob = new Blob([json], { type: "octet/stream" });
  4282.     randomUrl = window.URL.createObjectURL(blob);
  4283.     a.href = randomUrl;
  4284.     a.download = fileName;
  4285.     console.log("get_update");
  4286.     room.sendChat("✅ Stats were saved successfully !");
  4287. }
  4288.  
  4289. setInterval(() => {
  4290.     saveStats();
  4291. }, 60 * 60 * 1000);*/
  4292.  
  4293. setTimeout(() => {
  4294.     setInterval(() => {
  4295.     //room.sendChat("? This host was created by Gouiri[FR] and edited by Gimenez20[GI] ?");
  4296.         //room.sendChat("? Do you search team to play our leagues? You can enjoy with our leagues (Big 4v4-3def | Real Soccer) ?");
  4297.         //room.sendChat("? TS3: hbpt.ts.io, Forum: https://haxball.pt/ , Discord: https://discord.gg/3MhhZPN ?");
  4298.         room.sendAnnouncement("? Discord de soporte/info: https://discord.gg/3MhhZPN ?", null, 0xE6E6FA, 'normal', 0);
  4299.         room.sendAnnouncement("? FSHaxleague Discord: https://discord.gg/KjB6kqp ?", null, 0xE6E6FA, 'normal', 0);
  4300.         room.sendAnnouncement("? Directos de FSHaxleague: http://www.twitch.tv/fshaxleague ?", null, 0xE6E6FA, 'normal', 0);
  4301. }, discordInterval * 60 * 1000); }, 10000);
  4302.  
  4303. setTimeout(() => {
  4304.     setInterval(() => {
  4305.     //room.sendChat("? This host was created by Gouiri[FR] and edited by Gimenez20[GI] ?");
  4306.         //room.sendChat("? Do you search team to play our leagues? You can enjoy with our leagues (Big 4v4-3def | Real Soccer) ?");
  4307.         //room.sendChat("? TS3: hbpt.ts.io, Forum: https://haxball.pt/ , Discord: https://discord.gg/3MhhZPN ?");
  4308.         room.sendAnnouncement("? Support/info Discord: https://discord.gg/3MhhZPN ?", null, 0xE6E6FA, 'normal', 0);
  4309.         room.sendAnnouncement("? FSHaxleague Discord: https://discord.gg/rNGN7DX ?", null, 0xE6E6FA, 'normal', 0);
  4310.         room.sendAnnouncement("? FSHaxleague Streams: http://www.twitch.tv/fshaxleague ?", null, 0xE6E6FA, 'normal', 0);
  4311. }, discordInterval2 * 60 * 1000); }, 10000);
  4312.  
  4313. setTimeout(() => {
  4314.     setInterval(() => {
  4315.                 if(streakpuntua > 0 && !inChooseMode && streakRecord >= 0){
  4316.                 room.sendAnnouncement("? The CurrentStreak is: " + streakpuntua + ", and the players are: " + redPlayers + " ?", null, 0xf7d600, 'normal', 0);
  4317.             if(streakmanualRecord >= streakRecord){
  4318.                 room.sendAnnouncement("? The RecordStreak is: " + streakmanualRecord + ". Players: " + streakRecordPlayersmanual + " ?",null, 0x00FF00, 'normal', 0);
  4319.                 }
  4320.                 else if(streakRecord > streakmanualRecord){
  4321.                 room.sendAnnouncement("? The RecordStreak is: " + streakRecord + ". Players: " + streakRecordPlayers + " ?",null, 0x00FF00, 'normal', 0);                      
  4322.                 }
  4323.         //room.sendAnnouncement("? El record de la sala es de: " + streakRecord + ". Los jugadores son: " + streakRecordPlayers + " ?",null, 0x00FF00, 'normal', 0);
  4324.         room.sendAnnouncement("? If you want to see the CurrentStreak or RecordStreak are the !racha and !record commands" + " ?", null, 0xf7d600, 'normal', 0);
  4325.     //room.sendAnnouncement("? Si quereis los records globales, mensuales y semanales, usar los comandos !grecord, !mrecord y !srecord" + " ?", null, 0xf7d600, 'normal', 0);  
  4326.                         }
  4327. }, streakInterval2 * 60 * 1000); }, 10000);
  4328.  
  4329. setTimeout(() => {
  4330.     setInterval(() => {
  4331.                 if(streakpuntua > 0 && !inChooseMode && streakRecord >= 0){
  4332.                 room.sendAnnouncement("? La racha es de: " + streakpuntua + ", y los jugadores que lo han hecho son: " + redPlayers + " ?", null, 0xf7d600, 'normal', 0);
  4333.             if(streakmanualRecord >= streakRecord){
  4334.                 room.sendAnnouncement("? El record de las sala es de: " + streakmanualRecord + ". Los jugadores son: " + streakRecordPlayersmanual + " ?",null, 0x00FF00, 'normal', 0);
  4335.                 }
  4336.                 else if(streakRecord > streakmanualRecord){
  4337.                 room.sendAnnouncement("? El record de las sala es de: " + streakRecord + ". Los jugadores son: " + streakRecordPlayers + " ?",null, 0x00FF00, 'normal', 0);                    
  4338.                 }
  4339.         //room.sendAnnouncement("? El record de la sala es de: " + streakRecord + ". Los jugadores son: " + streakRecordPlayers + " ?",null, 0x00FF00, 'normal', 0);
  4340.         room.sendAnnouncement("? Si quereis ver la racha o el record de la sala son los comandos !racha y !record" + " ?", null, 0xf7d600, 'normal', 0);
  4341.     //room.sendAnnouncement("? Si quereis los records globales, mensuales y semanales, usar los comandos !grecord, !mrecord y !srecord" + " ?", null, 0xf7d600, 'normal', 0);  
  4342.                         }
  4343. }, streakInterval * 60 * 1000); }, 10000);
  4344.  
  4345. /*setTimeout(() => {
  4346.     setInterval(() => {
  4347.         room.sendAnnouncement("? Nuevo/New FSHaxleague Discord: https://discord.gg/rNGN7DX ?", null, 0xE6E6FA, 'normal', 0);
  4348. }, FSHaxleagueinterval * 60 * 1000); }, 10000);*/
  4349.  
  4350. /*setTimeout(() => {
  4351.     setInterval(() => {
  4352.         room.sendAnnouncement("? PRONTO SE ELIMINARÁN LOS NIVELES, Y AÑADIREMOS PREMIOS POR STREAK ?", null, 0xE6E6FA, 'normal', 0);
  4353.         room.sendAnnouncement("? INFO EN NUESTRO DISCORD: https://discord.gg/3MhhZPN ?", null, 0xE6E6FA, 'normal', 0);
  4354. }, RECORDGLOBALDISC * 60 * 1000); }, 10000);
  4355.  
  4356.  
  4357. setTimeout(() => {
  4358.     setInterval(() => {
  4359.         room.sendAnnouncement("? LEVELS WILL BE ELIMINATED SOON, AND WE WILL ADD AWARDS FOR STREAKS ?", null, 0xE6E6FA, 'normal', 0);
  4360.         room.sendAnnouncement("? INFO IN OUR DISCORD: https://discord.gg/3MhhZPN  ?", null, 0xE6E6FA, 'normal', 0);
  4361. }, RECORDGLOBALDISC2 * 60 * 1000); }, 10000);*/
  4362.  
  4363. //PRONTO AÑADIREMOS ESTE SETTIMEOUT
  4364. /*setTimeout(() => {
  4365.     setInterval(() => {
  4366.         room.sendAnnouncement("? Record general: " + STREAKRECORDGENERALNUMERO + ", y los jugadores son: " + STREAKRECORDGENERAL + " ?", null, 0xE6E6FA, 'normal', 0);
  4367.         room.sendAnnouncement("? Record mensual: " + STREAKRECORDMENSUALNUMERO + ", y los jugadores son: " + STREAKRECORDMENSUAL + " ?", null, 0xE6E6FA, 'normal', 0);
  4368.         room.sendAnnouncement("? Record semanal: " + STREAKRECORDSEMANALNUMERO + ", y los jugadores son: " + STREAKRECORDSEMANAL + " ?", null, 0xE6E6FA, 'normal', 0);
  4369. }, RECORDGLOBALDISC * 60 * 1000); }, 10000);*/
  4370. /*var STREAKRECORDGENERALNUMERO = "";
  4371. var STREAKRECORDMENSUALNUMERO = "";
  4372. var STREAKRECORDSEMANALNUMERO = "";
  4373. var STREAKRECORDGENERAL = "";
  4374. var STREAKRECORDMENSUAL = "";
  4375. var STREAKRECORDSEMANAL = "";*/
  4376. /*setTimeout(() => {
  4377.     setInterval(() => {
  4378.                 let horamax = new Date();
  4379.                 let maxmin = horamax.getMinutes();
  4380.                 playersAllowed1.forEach(p => {
  4381.                 if(maxmin - p.horaj == 1 || p.horaj - maxmin == 59){
  4382.         setAFK(p, !getAFK(p));
  4383.                 //room.sendChat(p.name + (getAFK(p) ? " is now AFK !" : " is not AFK anymore !"));
  4384.                 //getAFK(p) ? updateRoleOnPlayerOut() : updateRoleOnPlayerIn();        
  4385.                 }
  4386.         })
  4387. }, 1000); }, 1000);*/
  4388.