For Lune Script

LUNE

Voor het installeren van scripts heb je een extensie nodig, zoals Tampermonkey, Greasemonkey of Violentmonkey.

Voor het installeren van scripts heb je een extensie nodig, zoals Tampermonkey of Violentmonkey.

Voor het installeren van scripts heb je een extensie nodig, zoals Tampermonkey of Violentmonkey.

Voor het installeren van scripts heb je een extensie nodig, zoals Tampermonkey of Userscripts.

Voor het installeren van scripts heb je een extensie nodig, zoals {tampermonkey_link:Tampermonkey}.

Voor het installeren van scripts heb je een gebruikersscriptbeheerder nodig.

(Ik heb al een user script manager, laat me het downloaden!)

Voor het installeren van gebruikersstijlen heb je een extensie nodig, zoals {stylus_link:Stylus}.

Voor het installeren van gebruikersstijlen heb je een extensie nodig, zoals {stylus_link:Stylus}.

Voor het installeren van gebruikersstijlen heb je een extensie nodig, zoals {stylus_link:Stylus}.

Voor het installeren van gebruikersstijlen heb je een gebruikersstijlbeheerder nodig.

Voor het installeren van gebruikersstijlen heb je een gebruikersstijlbeheerder nodig.

Voor het installeren van gebruikersstijlen heb je een gebruikersstijlbeheerder nodig.

(Ik heb al een beheerder - laat me doorgaan met de installatie!)

// ==UserScript==
// @name         For Lune Script
// @namespace    http://tampermonkey.net/
// @version      1.0.5
// @description  LUNE
// @author       Trail
// @match        https://gota.io/web/*
// @grant        GM_addStyle
// @contributor  FFEC
// @require      https://code.jquery.com/jquery-3.3.1.min.js
// @icon         https://i.imgur.com/KCxa1BP.png
// ==/UserScript==

addStyleSheet('@import url(https://fonts.googleapis.com/css?family=Karla);');

function addStyleSheet(style){
  var getHead = document.getElementsByTagName("HEAD")[0];
  var cssNode = window.document.createElement( 'style' );
  var elementStyle= getHead.appendChild(cssNode);
  elementStyle.innerHTML = style;
  return elementStyle;
}

var fillTextz = CanvasRenderingContext2D.prototype.fillText;
CanvasRenderingContext2D.prototype.fillText = function(){
    var argumentz = arguments;
    if(this.canvas.id == 'leaderboard-canvas'){
    this.font = 'bold 15px Karla';
    }
    if(this.canvas.id == 'minimap-canvas'){
    this.font = 'bold 15px Karla';
    }
    if(this.canvas.id == 'party-canvas'){
    this.font = 'bold 15px Karla';
    }
    fillTextz.apply(this, arguments);
};

///////////////
// Cosmetics //
///////////////
GM_addStyle('#logo {background-image: url("https://cdn.discordapp.com/attachments/426002425133006848/588349230842642433/20190612_154936.JPG");}');
GM_addStyle('#minimap-canvas {background-image: url("https://i.imgur.com/sJHfBYc.png");}');
GM_addStyle('#main-stats {background-image: url("https://i.imgur.com/4d6w5Fs.png");}');
GM_addStyle('*{font-family: Karla;}');
GM_addStyle('.coordinates {font-family: Karla;}');
GM_addStyle('.gota-btn {font-family: Karla !important; background-color: rgba(0, 0, 0, 0) !important}');
GM_addStyle('#leaderboard-panel {font-size: 22px;}');
GM_addStyle('.main-panel {border: solid 3px rgba(99, 97, 95, 0.5)}');
GM_addStyle('.main-panel {border-radius: 5px}');
GM_addStyle('.main-version {width: 290px; font-size: 11px;}');
GM_addStyle('#main {width: 1075px; background-color: transparent; border: none;}');
GM_addStyle('#main-content {height: 490px; margin-top: 80px; padding: 0 15px 0 15px;}');
GM_addStyle('#main-left {margin-top: 80px; margin-right: 1px; margin-left: -16px; height: 490px; width: 371px;}');
GM_addStyle('#main-right {height: 490px; width: 345px; margin-top: 80px;}');
GM_addStyle('#main-account {margin: 10px 10px;}');
GM_addStyle('#main-social {background: none; border: none;}');
GM_addStyle('.main-bottom {margin-bottom: 12px;}');
GM_addStyle('.main-bottom-stats {border-radius: 5px}');
GM_addStyle('.main-input-btns {margin-top: 12px;}');
GM_addStyle('.gota-btn {border-radius: 15px;}');
GM_addStyle('.gota-btn:hover {filter: hue-rotate(25deg)}');
GM_addStyle('.gota-btn:hover {box-shadow: 0px 0px 0px rgba(10,10,10,10)}');
GM_addStyle('#popup-party {border-radius: 5px; border-width: 2px;}');
GM_addStyle('#popup-login {border-radius: 5px; border-width: 2px;}');
GM_addStyle('.login-input {border-radius: 0px}');
GM_addStyle('#chat-input {border-radius: 0px}');
GM_addStyle('#chat-container {border-radius: 5px 5px 0px 0px}');
GM_addStyle('#leaderboard-panel, #score-panel, #minimap-panel, #party-panel, #chat-container {border-radius: 5px; border-width: 2px; box-shadow: none; background-color: rgba(0, 0, 0, 0) !important}');
GM_addStyle('#chat-input {font-weight: bold}');
GM_addStyle('#name-box {font-weight: bold}');
GM_addStyle('.stext {margin-top: 2px; margin-bottom: 2px;}');
GM_addStyle('.server-row:hover {background: rgb(119, 119, 119);}');
GM_addStyle('.server-row {transition: all 0.3s}');
GM_addStyle('.server-container, .options-container {width: 90%;}');
GM_addStyle('.server-selected {background-color: rgba(0, 255, 255, 0.8) !important;}');
GM_addStyle('.sp-replacer, input[type="checkbox" i] {margin-right: 7.5px;}');
GM_addStyle('.scrimmage-select {border: 2px solid black; border-radius: 10px; padding: 4px; font-weight: bold; margin-top: 3px;}');
GM_addStyle('.xp-meter > span {background: linear-gradient(to right, red, orange, yellow, green, cyan, blue, violet, pink);}');
GM_addStyle('.xp-meter, .xp-meter > span {border-radius: 5px;}');
GM_addStyle(' #onesignal-bell-container.onesignal-reset .onesignal-bell-launcher.onesignal-bell-launcher-md .onesignal-bell-launcher-button {display: none;}');
GM_addStyle('#name-box {display: inline-flex;}');
GM_addStyle('input[type="checkbox" i] {-webkit-appearance: none; background: #ff0000; color: white; border-radius: 5px; padding: 4px; transition: background 0.3s;}');
GM_addStyle('input[type="checkbox" i]:checked {background: #00f000; color: #014401; padding: 4px; padding-right: 9px;}');
GM_addStyle('input[type="checkbox" i]:checked:after {content: "ON";}');
GM_addStyle('input[type="checkbox" i]:not(:checked):before {content: "OFF"}');
GM_addStyle('.options-container::-webkit-scrollbar, tbody#servers-body-eu::-webkit-scrollbar, tbody#servers-body-na::-webkit-scrollbar, .scrimmage-mode-box::-webkit-scrollbar {background-color: #3d3d3d; border-radius: 10px; width: 10px;}');
GM_addStyle('.options-container::-webkit-scrollbar-thumb {background-color: #5f5f5f; border-radius: 10px;}');
GM_addStyle('tbody#servers-body-eu::-webkit-scrollbar-thumb, tbody#servers-body-na::-webkit-scrollbar-thumb, .scrimmage-mode-box::-webkit-scrollbar-thumb {background-color: #7f7f7f; border-radius: 10px;}');
GM_addStyle('#leaderboard-panel {color: aqua !important}');
GM_addStyle('#inner-rb {background-color: rgba(0, 0, 0, 0)}');
GM_addStyle('#main-rb {background-color: rgba(0, 0, 0, 0)}');
GM_addStyle('#main-account {background-color: rgba(0, 0, 0, 0)}');
GM_addStyle('.main-bottom-stats {background-color: rgba(0, 0, 0, 0) !important}');
GM_addStyle('#main-scrimmage {background-color: rgba(0, 0, 0, 0) !important}');
GM_addStyle('#scrimmage-menu {background-color: rgba(0, 0, 0, 0) !important}');
GM_addStyle('#scrimmage-custom-btn-container {background-color: rgba(0, 0, 0, 0) !important}');
GM_addStyle('#scrimmage-mode-info {background-color: rgba(0, 0, 0, 0) !important}');
GM_addStyle('.scrimmage-mode-box {background-color: rgba(0, 0, 0, 0) !important}');
GM_addStyle('#popup-profile {background-color: rgba(0, 0, 0, 0) !important}');
GM_addStyle('#emote-panel {background-color: rgba(0, 0, 0, 0) !important}');
GM_addStyle('#autocomplete-panel {background-color: rgba(0, 0, 0, 0) !important}');
GM_addStyle('#popup-party {background-color: rgba(0, 0, 0, 0) !important}');
GM_addStyle('#server-tab-eu, #server-tab-na, #server-tab-ap {background-color: rgba(0, 0, 0, 0) !important}');
GM_addStyle('#servers-body-eu, #server-content {background-color: rgba(0, 0, 0, 0) !important}');
GM_addStyle('.server-selected {background-color: rgba(255, 0, 0, 0.78) !important}');
GM_addStyle('.server-table {color: rgba(0, 255, 255, 1) !important}');
/////////////////
// Other Stuff //
/////////////////

$( "#btn-trello" ).remove();
$(".main-bottom-links").remove();
$(".divider").remove();
$(".current-status").remove();
$('#server-tab-eu').text('for Lune');
$("#server-tab-eu").css({
    "color":"green"
});
$('#server-tab-na').text('not for Lune');
$("#server-tab-na").css({
    "color":"orange"
});
$('#server-tab-ap').text('for Arrow');
$("#server-tab-ap").css({
    "color":"red"
});

$('#btn-play').text('Lune Rekt Noobs');
$('#btn-servers').text('Noob Rooms');
$('#profile-clan-membership').text('Lune Queen <3');
$(".main-bottom-left").append('<a id="APEX D." href="https://discord.gg/X6HTueA" target="_blank">Lune <3</a>');
$("#umdiscord").css({
    "border-style": "solid",
    "border-width": "1px",
    "border-color": "#fff",
    "background-color": "rgba(23, 22, 23, 0)",
    "margin-bottom": "8px",
    "border-radius": "10px",
    "padding": "0 10px 3px 10px",
    "color": "aqua",
    "font-size": "20px",
    "text-align": "center"
});

$("#main-content").append('<a id="umroster" href="https://www.youtube.com/channel/UC4W8B1ZuARBq3juAHsNd9-Q" target="_blank">My Queens Channel</a>');
$("#umroster").css({
    "border-style": "solid",
    "border-width": "1px",
    "border-color": "#fff",
    "background-color": "rgba(23, 22, 23, 0)",
    "border-radius": "10px",
    "padding": "0 10px 3px 10px",
    "color": "red",
    "font-size": "20px",
    "text-align": "center"
});
////////////////////
// Console Log(s) //
////////////////////

console.log("%cLUNE<3 Script is enabled. Message Arrow(Arrow#3144) on discord for needed help.", "font-size: 25px; font-weight: bold; background: red; color: white; padding: 10px; border: solid 2px orange;");