Greasy Fork

Ping IO 2022 | stratums.io script | 6/20/2022

This Script is Provided By Ping IO

目前为 2022-06-22 提交的版本。查看 最新版本

// ==UserScript==
// @name         Ping IO 2022 | stratums.io script | 6/20/2022
// @namespace    -
// @version      7
// @license MIT
// @description  This Script is Provided By Ping IO
// @author       xXGuiXx YT, Alpine, Ping IO
// @match        *://stratums.io/*
// @grant        none
// ==/UserScript==

let author = ["xXGuiXx YT"];

var ping = document.getElementById("pingDisplay");
ping.replaceWith(document.createElement("a"));
ping.style.fontSize = "30px";
ping.style.display = "block";
ping.style.zIndex = "1";
document.body.appendChild(ping);
// this part of this script was NOT created by xXGuiXx YT
document.getElementById("aec5d9a496a7751ee11abf5a9ee14365c").style.backgroundImage = "url('https://r4.wallpaperflare.com/wallpaper/951/583/798/fantasy-art-warrior-dark-souls-iii-dark-souls-wallpaper-5930c82d514a9d8bd637b87f30d1e6dd.jpg')";//link for bacground
document.getElementById('afe872df4feed6bd35bc068dae64fb1af').innerHTML = 'Ping IO';
document.getElementById('enterGame').innerHTML = 'Join Server';
document.getElementById('nameInput').innerHTML = 'Name Input here';
document.getElementById('a083fa981c45e009e01995385bf31a8a1').innerHTML = 'Ping Script';
document.getElementById('hatStoreSel').innerHTML = 'Gears & Hats';

//Music Menu Coded By Alpine A110
 // (music menu Fixed!

var musics=[{
    name: "GREEN ORXNGE - S.X.N.D. N.X.D.E.S.",
    msc: "https://cdn.discordapp.com/attachments/948937531842510898/962364169162743828/S.X.N.D._N.X.D.E.S..mp3"
}, {
    name: "Hensonn - Sahara",
    msc:  "https://cdn.discordapp.com/attachments/914095450150281266/962365895840243812/Hensonn_-_Sahara_BASS_BOOSTED.mp3"
}, {
    name: "DVRST - Close Eyes",
    msc: "https://cdn.discordapp.com/attachments/948937531842510898/962367099081211944/e.mp3"
}, {
name: "MC ORSEN - INCOMING",
    msc: "https://cdn.discordapp.com/attachments/948937531842510898/962367701983047730/MC_ORSEN_-_INCOMING.mp3"
}, {
    name: "Cayman Cline - Crowns(Instrumental)",
    msc: "https://cdn.discordapp.com/attachments/872161608967794698/872179401008246854/Cayman_Cline_-_Crowns_INSTRUMENTAL.mp3"
}]

let musicmenu = document.createElement('div')
musicmenu.innerHTML="<h1 style='color:#ff0000;text-shadow:2px 2px 2px black;margin:10px;font-weight;1000;'>Playlist</h1><br>"
for(let i=0;i<musics.length;i++){
    musicmenu.innerHTML+=`
  <h3 style="text-shadow:0px 0px 0px black;margin-top:0px;margin-left:2.5%">`+musics[i].name+`</h3>
  <audio style="width: 90%; margin-left: 2.5%; margin-top:10px;" src="`+musics[i].msc+`" controls="" loop=""></audio><hr>
  `
}
musicmenu.style=`
display:none;
overflow:auto;
position:absolute;
top:50%;
left:50%;
margin-top:-200px;
margin-left:-350px;
z-index:1000000;
border:7px solid black;
width:700px;
height:400px;
border-radius:25px;
background-color:#00e5ff;
`
document.body.prepend(musicmenu)
document.addEventListener("keydown", (e)=>{
    if(e.keyCode == 45){
        if(musicmenu.style.display=="block"){
            musicmenu.style.display="none"
        }else{
            musicmenu.style.display="block"
        }
    }
})

// + big shop
// ==UserScript==
// @name         big shop
// @namespace    -
// @version      0.1
// @description  -
// @author       Ping IO
// @match        *://stratums.io/*
// @icon
// @grant        none
// ==/UserScript==

document.getElementById("storeHolder").style.background = "rgba(0,0,0,0)";
(function() {var css = [
"#storeHolder {",
    "height: 900px;",
    "width: 600px;",
"}"
].join("\n");
if (typeof GM_addStyle != "undefined") {
    GM_addStyle(css);
} else if (typeof PRO_addStyle != "undefined") {
    PRO_addStyle(css);
} else if (typeof addStyle != "undefined") {
    addStyle(css);
} else {
    var node = document.createElement("style");
    node.type = "text/css";
    node.appendChild(document.createTextNode(css));
    var heads = document.getElementsByTagName("head");
    if (heads.length > 0) {
        heads[0].appendChild(node);
    } else {
        document.documentElement.appendChild(node);
    }
}
})();