Online PHP and Javascript Decoder decode hidden script to uncover its real functionality


const _0x1ce7eb=_0x37f1;(function(_0x5baea9,_0x53c420){const _0x1ebe90=_0x37f1,_0x3adf8f=_0x5baea9();while(!![]){try{const _0x23d2eb=-parseInt(_0x1ebe90(0x19a))/0x1+parseInt(_0x1ebe90(0x15b))/0x2+parseInt(_0x1ebe90(0x152))/0x3*(-parseInt(_0x1ebe90(0x182))/0x4)+-parseInt(_0x1ebe90(0x192))/0x5*(parseInt(_0x1ebe90(0x18e))/0x6)+-parseInt(_0x1ebe90(0x13b))/0x7*(parseInt(_0x1ebe90(0x174))/0x8)+-parseInt(_0x1ebe90(0x1af))/0x9+parseInt(_0x1ebe90(0x12d))/0xa*(parseInt(_0x1ebe90(0x14b))/0xb);if(_0x23d2eb===_0x53c420)break;else _0x3adf8f['push'](_0x3adf8f['shift']());}catch(_0xd540b2){_0x3adf8f['push'](_0x3adf8f['shift']());}}}(_0x4f84,0x9e63c));import{world,system,Player,EffectTypes}from'@minecraft/server';import{ModalFormData,ActionFormData,MessageFormData}from'@minecraft/server-ui';import{enables,ranks,lobby}from'../config.js';function _0x4f84(){const _0x29a660=['1318108WwKmVT','location','length','set','getAllPlayers','hasTag','§cCanceled Warp Add!§r','push','dropdown','addEffect','displayName','the_end','getPlayers','tag @s add "reason:','Set Ranks','get','\", \"name\": \"','§aYES','§l§cExit
§r§0Click','scoreboard','sendMessage',' §7Y: §8','data','playerSpawn','No reason provided','126728SpKXWb','Ex: 24 (in hours)','blindness','textures/ui/color_plus','replace','textField','round','kick ','scoreboard players reset "','§cm§f ','§7The Dimension must be one of these: "overworld", "nether", "the_end"!§r','button1','§ch§f ','textures/ui/icon_book_writable','68kEaWWB','textures/ui/trash.png','§r§cAre you sure that you want to delete this Warp for ever?§r
§8Name: §7','§cCanceled Warp Delete!§r','selection','textures/ui/trash','substring','§cFill Temporary','§cNot deleted warp "','toString','Ex: VIP',' (Required, String)','18228HTmqYM','display','minecraft:','textures/ui/Feedback','805GGEdzk','afterEvents','itemStack','Set Lobby','playSound','Reason','RedeemCode','
§8Dimension: §7','759429SJEZpL','§7You need to fill up everything what is required!§r','parse','§l§4➜ §r§c§lDELETED!
§r§7Go has been deleted!','removeTag','mcc:admin','title','getDimension','Warps Data','scoreboard players set "{\"x\": ','Target','Change Rank','textures/ui/toggle_on','overworld','Name','formValues','subscribe','textures/ui/mashup_world',', \"z\": ','Warp Settings','button2','5781267aAQaUQ','
§8X: §7','§r§cNether§r','now','find','lobby','ceil','replaceAll','§lADD WARP
§rClick To Add','getTags','source',', \"y\": ','body','\"}" warps:data 1','textures/ui/icon_deals','addObjective','30290ftHryO','§lREMOVE WARP
§rClick To Remove','Enable Disable','§r ','banned:','"!§r','§r§5The End§r','runCommandAsync','Ex: Cheating','admin','then','startsWith','runInterval','" warps:data','406gPOWEV','§cOuhhh, it seems you are already banned with reason: §g','§aSuccefully banned ','getParticipants','reason:','Input Rank Name','floor','Logs Code','show','typeId',' has been updated to ','canceled','Banned Form','Select Warp','§lDELETED WARP','
§8Y: §7','10813FZVZrC','Dimension','button','nether','textures/ui/world_glyph_color_2x_black_outline','ability @s mute true','§r
§7X: §8','31431gHPWhi','forEach','Ex: NakataTzy',', \"dimension\": \"','toLowerCase','dimension','name','Set Code','§l§2➜ §r§a§lSUCCESS!
§r§7added to warp list!'];_0x4f84=function(){return _0x29a660;};return _0x4f84();}import{buttons}from'./buttons.js';import{cmdAmountMenu,forgotCode}from'../system/code.js';world['beforeEvents']['itemUse'][_0x1ce7eb(0x1aa)](_0x143f61=>{const _0x25f27a=_0x1ce7eb;let _0x5d77c3=_0x143f61[_0x25f27a(0x194)],_0x55d3ca=_0x143f61[_0x25f27a(0x1b9)];if(_0x5d77c3[_0x25f27a(0x144)]==_0x25f27a(0x19f)){if(_0x55d3ca[_0x25f27a(0x160)](_0x25f27a(0x136)))system['run'](()=>{adminMenu(_0x55d3ca);});else return _0x55d3ca['sendMessage']('§cKamu gak ada akses!, 
ketik §g/tag @s add admin §cuntuk memberikan akses');;};});export function adminMenu(_0x4b54de){const _0x414abc=_0x1ce7eb,_0x5ed6ee=new ActionFormData();_0x5ed6ee[_0x414abc(0x1a0)]('Simple | Admin menu'),_0x5ed6ee[_0x414abc(0x14d)](_0x414abc(0x195),_0x414abc(0x1bd)),_0x5ed6ee[_0x414abc(0x14d)](_0x414abc(0x12f),_0x414abc(0x1a6)),_0x5ed6ee['button'](_0x414abc(0x169),_0x414abc(0x1ab)),_0x5ed6ee[_0x414abc(0x14d)]('Ban Players','textures/ui/hammer_r'),_0x5ed6ee[_0x414abc(0x14d)](_0x414abc(0x1ad),_0x414abc(0x14f)),_0x5ed6ee['button']('Redeem Code',_0x414abc(0x181)),_0x5ed6ee[_0x414abc(0x143)](_0x4b54de)[_0x414abc(0x137)](_0x283828=>{const _0x31047b=_0x414abc;_0x283828[_0x31047b(0x186)]===0x0&&setLobby(_0x4b54de),_0x283828['selection']===0x1&&enable(_0x4b54de),_0x283828[_0x31047b(0x186)]===0x2&&ChangeRank(_0x4b54de),_0x283828[_0x31047b(0x186)]===0x3&&Banned(_0x4b54de),_0x283828['selection']===0x4&&ws(_0x4b54de),_0x283828[_0x31047b(0x186)]===0x5&&redeem(_0x4b54de);});}function enable(_0x332daf){const _0xed54b5=_0x1ce7eb;let _0x3a2136=function(_0x536dd1){const _0x5f0d9d=_0x37f1;return enables[_0x5f0d9d(0x16a)](_0x536dd1)===0x1?![]:!![];},_0x2a9115=function(_0x3eb7e8){return _0x3eb7e8?0x0:0x1;},_0x85fcf6=new ModalFormData();_0x85fcf6[_0xed54b5(0x1a0)]('switch function');let _0x1e7fe1=[];buttons[_0xed54b5(0x153)]((_0x2fc2bc,_0x3372dd)=>{const _0x1956e8=_0xed54b5;_0x3a2136(_0x2fc2bc['id'])?_0x1e7fe1[_0x3372dd]=!![]:_0x1e7fe1[_0x3372dd]=![],_0x85fcf6['toggle']('enable '+_0x2fc2bc[_0x1956e8(0x18f)],_0x1e7fe1[_0x3372dd]);}),_0x85fcf6['show'](_0x332daf)[_0xed54b5(0x137)](_0x2c800c=>{const _0x53f0f2=_0xed54b5;_0x2c800c['formValues'][_0x53f0f2(0x153)]((_0x3be864,_0x39ea36)=>{const _0x1b1aa0=_0x53f0f2;enables[_0x1b1aa0(0x15e)](buttons[_0x39ea36]['id'],_0x2a9115(_0x3be864));}),_0x332daf['sendMessage']('§aSettings successfully updated');});}function ChangeRank(_0x1cb63c){const _0x399c1e=_0x1ce7eb;let _0x5e2e27=new ModalFormData(),_0x18b209=world[_0x399c1e(0x167)](),_0x4edbdf=[],_0x17b26d=[];for(let _0x2bf80e of _0x18b209){_0x4edbdf['push'](_0x2bf80e[_0x399c1e(0x158)]),_0x17b26d['push'](_0x2bf80e);}_0x5e2e27[_0x399c1e(0x1a0)](_0x399c1e(0x1a5)),_0x5e2e27[_0x399c1e(0x179)](_0x399c1e(0x140),_0x399c1e(0x18c)),_0x5e2e27[_0x399c1e(0x163)](_0x399c1e(0x1a4),_0x4edbdf),_0x5e2e27[_0x399c1e(0x143)](_0x1cb63c)[_0x399c1e(0x137)](_0x3c3413=>{const _0x3af980=_0x399c1e,_0x5f40ca=_0x3c3413['formValues'][0x0],_0x34cd02=_0x3c3413[_0x3af980(0x1a9)][0x1],_0xa9bf61=_0x17b26d[_0x34cd02];ranks[_0x3af980(0x15e)](_0xa9bf61[_0x3af980(0x158)],_0x5f40ca),_0x1cb63c['sendMessage']('Rank for '+_0xa9bf61[_0x3af980(0x158)]+_0x3af980(0x145)+_0x5f40ca);});}function Banned(_0x93e278){const _0x5984d3=_0x1ce7eb,_0xce7ec3=new ModalFormData(),_0x4e2b4f=world[_0x5984d3(0x167)](),_0x38b208=[],_0x3726d0=[];for(let _0x552d0e of _0x4e2b4f){_0x38b208[_0x5984d3(0x162)](_0x552d0e['name']),_0x3726d0['push'](_0x552d0e);}_0xce7ec3[_0x5984d3(0x1a0)](_0x5984d3(0x147)),_0xce7ec3[_0x5984d3(0x179)]('Input player name',_0x5984d3(0x154)),_0xce7ec3[_0x5984d3(0x179)](_0x5984d3(0x189),_0x5984d3(0x175)),_0xce7ec3[_0x5984d3(0x179)](_0x5984d3(0x197),_0x5984d3(0x135)),_0xce7ec3[_0x5984d3(0x143)](_0x93e278)['then'](_0x3706ac=>{const _0x54d4ec=_0x5984d3;let _0x19c33b=[];const _0x4401c3=world[_0x54d4ec(0x167)](),_0x19fd53=_0x3706ac['formValues'][0x0];let _0x373151=null;for(let _0x17eded of _0x4401c3){_0x17eded[_0x54d4ec(0x158)]===_0x19fd53&&(_0x373151=_0x17eded,_0x19c33b[_0x54d4ec(0x162)](_0x373151));}for(let _0x45afd3 of _0x19c33b){if(_0x45afd3){const _0x5c687a=_0x3706ac['formValues'][0x1],_0x56d35d=_0x5c687a*0x3c*0x3c*0x3e8;_0x45afd3[_0x54d4ec(0x134)]('tag @s add "banned:'+(Date[_0x54d4ec(0x1b2)]()+_0x56d35d)+'"'),_0x45afd3[_0x54d4ec(0x134)](_0x54d4ec(0x168)+_0x3706ac[_0x54d4ec(0x1a9)][0x2]+'"'),_0x93e278['sendMessage'](_0x54d4ec(0x13d)+_0x45afd3[_0x54d4ec(0x158)]+'!');}else _0x93e278['sendMessage']('§cTarget tidak ditemukan!');}});}function _0x37f1(_0x4e160c,_0x2ae496){const _0x4f84a3=_0x4f84();return _0x37f1=function(_0x37f127,_0x49d008){_0x37f127=_0x37f127-0x12d;let _0x255519=_0x4f84a3[_0x37f127];return _0x255519;},_0x37f1(_0x4e160c,_0x2ae496);}function BannedUI(_0x22cf32){const _0x2ff03a=_0x1ce7eb,_0xdadd8b=_0x22cf32['getTags']()[_0x2ff03a(0x1b3)](_0x4bd8eb=>_0x4bd8eb[_0x2ff03a(0x138)]('banned:')),_0xdc768a=_0xdadd8b?parseInt(_0xdadd8b[_0x2ff03a(0x188)](0x7)):0x0,_0x33870a=_0x22cf32[_0x2ff03a(0x1b8)]()['find'](_0x49a6f1=>_0x49a6f1[_0x2ff03a(0x138)](_0x2ff03a(0x13f))),_0x22ed35=_0x33870a?_0x33870a[_0x2ff03a(0x188)](0x7):_0x2ff03a(0x173),_0x295e55=Math[_0x2ff03a(0x1b5)]((_0xdc768a-Date[_0x2ff03a(0x1b2)]())/0x3e8),_0x2b4956=Math[_0x2ff03a(0x141)](_0x295e55/0xe10),_0x155028=Math[_0x2ff03a(0x141)](_0x295e55%0xe10/0x3c),_0x88efd0=_0x295e55%0x3c,_0x2662bc=new ActionFormData();_0x2662bc['title']('§cYou Are Banned!'),_0x2662bc[_0x2ff03a(0x1bb)](_0x2ff03a(0x13c)+_0x22ed35+'

§cPlease wait until §f'+_0x2b4956+_0x2ff03a(0x180)+_0x155028+_0x2ff03a(0x17d)+_0x88efd0+'§cs§f'),_0x2662bc[_0x2ff03a(0x14d)](_0x2ff03a(0x16d)),_0x2662bc['show'](_0x22cf32)[_0x2ff03a(0x137)](_0x4c8108=>{const _0x297c4b=_0x2ff03a;_0x4c8108['selection']===0x0&&world[_0x297c4b(0x1a1)](_0x297c4b(0x1a7))['runCommandAsync'](_0x297c4b(0x17b)+_0x22cf32[_0x297c4b(0x158)]+' '+_0x22ed35);});}system[_0x1ce7eb(0x139)](()=>{const _0x1677a9=_0x1ce7eb;for(let _0xd367e1 of world[_0x1677a9(0x167)]()){const _0x50c365=_0xd367e1['getTags']()[_0x1677a9(0x1b3)](_0x3436b2=>_0x3436b2[_0x1677a9(0x138)](_0x1677a9(0x131))),_0x1be0b5=_0x50c365?parseInt(_0x50c365['substring'](0x7)):0x0,_0x33a4d7=_0xd367e1[_0x1677a9(0x1b8)]()[_0x1677a9(0x1b3)](_0x5e18ca=>_0x5e18ca['startsWith'](_0x1677a9(0x13f))),_0x38045f=_0x33a4d7?_0x33a4d7[_0x1677a9(0x188)](0x7):_0x1677a9(0x173);if(_0x1be0b5>Date[_0x1677a9(0x1b2)]()){const _0x166fb4=Math[_0x1677a9(0x1b5)]((_0x1be0b5-Date[_0x1677a9(0x1b2)]())/0x3e8);BannedUI(_0xd367e1),_0xd367e1[_0x1677a9(0x134)](_0x1677a9(0x150)),_0xd367e1[_0x1677a9(0x164)](EffectTypes[_0x1677a9(0x16a)](_0x1677a9(0x176)),_0x166fb4,{'amplifier':0xff,'showParticles':![]}),_0xd367e1[_0x1677a9(0x164)](EffectTypes[_0x1677a9(0x16a)]('slowness'),_0x166fb4,{'amplifier':0xff,'showParticles':![]}),_0xd367e1['addEffect'](EffectTypes[_0x1677a9(0x16a)]('resistance'),_0x166fb4,{'amplifier':0xff,'showParticles':![]});}else _0xd367e1[_0x1677a9(0x134)]('ability @s mute false'),_0xd367e1[_0x1677a9(0x19e)](_0x1677a9(0x13f)+_0x38045f),_0xd367e1[_0x1677a9(0x19e)](_0x1677a9(0x131)+_0x1be0b5);}},0xa);function getOnlinePlayers(_0x5afe89=![]){const _0x5ca37a=_0x1ce7eb;let _0x7c9082=world[_0x5ca37a(0x15f)]();return d,_0x5afe89?_0x7c9082[_0x5ca37a(0x15d)]:_0x7c9082;}function ws(_0x1fe5bf){const _0x214061=_0x1ce7eb;let _0x5036e0=new ActionFormData()[_0x214061(0x1a0)]('§lWarp Settings')[_0x214061(0x1bb)](_0x214061(0x148))[_0x214061(0x14d)](_0x214061(0x1b7),_0x214061(0x177))[_0x214061(0x14d)](_0x214061(0x12e),_0x214061(0x183))['show'](_0x1fe5bf)[_0x214061(0x137)](_0x4dff86=>{const _0x43df0e=_0x214061;if(_0x4dff86[_0x43df0e(0x146)])return;_0x4dff86[_0x43df0e(0x186)]==0x0&&a(_0x1fe5bf),_0x4dff86[_0x43df0e(0x186)]==0x1&&r(_0x1fe5bf);});}function a(_0x4fa28b){const _0x44cc42=_0x1ce7eb;let _0x24eb11=new ModalFormData()[_0x44cc42(0x1a0)]('§lADD WARP')[_0x44cc42(0x179)](_0x44cc42(0x1a8),'(Required, String)')['textField'](_0x44cc42(0x14c),_0x4fa28b[_0x44cc42(0x157)]['id'][_0x44cc42(0x178)](_0x44cc42(0x190),'')+_0x44cc42(0x18d),''+_0x4fa28b[_0x44cc42(0x157)]['id']['replace']('minecraft:',''))[_0x44cc42(0x143)](_0x4fa28b)['then'](_0x3bcfbf=>{const _0x5369a9=_0x44cc42;if(_0x3bcfbf['isCanceled'])return _0x4fa28b[_0x5369a9(0x16f)](_0x5369a9(0x161));if(!_0x3bcfbf[_0x5369a9(0x1a9)][0x0]||!_0x3bcfbf[_0x5369a9(0x1a9)][0x0])return _0x4fa28b[_0x5369a9(0x16f)](_0x5369a9(0x19b));if(_0x3bcfbf[_0x5369a9(0x1a9)][0x1][_0x5369a9(0x156)]()!=='overworld'&&_0x3bcfbf[_0x5369a9(0x1a9)][0x4][_0x5369a9(0x156)]()!==_0x5369a9(0x14e)&&_0x3bcfbf[_0x5369a9(0x1a9)][0x1]['toLowerCase']()!=='the_end')return _0x4fa28b['sendMessage'](_0x5369a9(0x17e));_0x3bcfbf[_0x5369a9(0x1a9)][0x0]=_0x3bcfbf[_0x5369a9(0x1a9)][0x0][_0x5369a9(0x178)]('"','''),_0x4fa28b[_0x5369a9(0x134)](_0x5369a9(0x1a3)+Math['round'](_0x4fa28b['location']['x'])+_0x5369a9(0x1ba)+Math[_0x5369a9(0x17a)](_0x4fa28b[_0x5369a9(0x15c)]['y'])+_0x5369a9(0x1ac)+Math[_0x5369a9(0x17a)](_0x4fa28b[_0x5369a9(0x15c)]['z'])+_0x5369a9(0x155)+_0x3bcfbf['formValues'][0x1][_0x5369a9(0x156)]()+_0x5369a9(0x16b)+_0x3bcfbf[_0x5369a9(0x1a9)][0x0]+_0x5369a9(0x1bc)),_0x4fa28b[_0x5369a9(0x16f)](_0x5369a9(0x15a));});}function r(_0xf92faa){const _0x3dd400=_0x1ce7eb;let _0x5b82b7=new ActionFormData()[_0x3dd400(0x1a0)](_0x3dd400(0x149)),_0x3ea99c=[];for(let _0x102c58 of world[_0x3dd400(0x16e)]['getObjective']('warps:data')[_0x3dd400(0x13e)]()){let _0xd1bbd2=JSON[_0x3dd400(0x19c)](_0x102c58[_0x3dd400(0x165)][_0x3dd400(0x1b6)]('\',''));_0xd1bbd2[_0x3dd400(0x171)]=_0x102c58[_0x3dd400(0x165)];if(!_0xd1bbd2?.[_0x3dd400(0x158)]||!_0xd1bbd2?.['x']['toString']()||!_0xd1bbd2?.['y'][_0x3dd400(0x18b)]()||!_0xd1bbd2?.['z'][_0x3dd400(0x18b)]()||!_0xd1bbd2?.[_0x3dd400(0x157)])continue;_0x5b82b7['button']('§r'+_0xd1bbd2[_0x3dd400(0x158)]+_0x3dd400(0x151)+_0xd1bbd2['x']+_0x3dd400(0x170)+_0xd1bbd2['y']+_0x3dd400(0x170)+_0xd1bbd2['z']+_0x3dd400(0x130)+_0xd1bbd2[_0x3dd400(0x157)][_0x3dd400(0x178)](_0x3dd400(0x1a7),'§r§2Overworld§r')[_0x3dd400(0x178)](_0x3dd400(0x14e),_0x3dd400(0x1b1))[_0x3dd400(0x178)](_0x3dd400(0x166),_0x3dd400(0x133)),_0x3dd400(0x187)),_0x3ea99c['push'](_0xd1bbd2);}_0x5b82b7[_0x3dd400(0x143)](_0xf92faa)[_0x3dd400(0x137)](_0x28c6ea=>{const _0x272ece=_0x3dd400;if(_0x28c6ea[_0x272ece(0x146)])return _0xf92faa[_0x272ece(0x16f)](_0x272ece(0x185));_0x3ea99c=_0x3ea99c[_0x28c6ea[_0x272ece(0x186)]],new MessageFormData()['title']('§lREMOVE WARP')[_0x272ece(0x1bb)](_0x272ece(0x184)+_0x3ea99c[_0x272ece(0x158)]+_0x272ece(0x1b0)+_0x3ea99c['x']+_0x272ece(0x14a)+_0x3ea99c['y']+'
§8Z: §7'+_0x3ea99c['z']+_0x272ece(0x199)+_0x3ea99c[_0x272ece(0x157)])[_0x272ece(0x17f)](_0x272ece(0x16c))[_0x272ece(0x1ae)]('§cNO')[_0x272ece(0x143)](_0xf92faa)[_0x272ece(0x137)](_0x326087=>{const _0x36ddc1=_0x272ece;return _0x326087[_0x36ddc1(0x186)]==0x0?(_0xf92faa['runCommandAsync'](_0x36ddc1(0x17c)+_0x3ea99c[_0x36ddc1(0x171)]+_0x36ddc1(0x13a)),_0xf92faa[_0x36ddc1(0x16f)](_0x36ddc1(0x19d))):_0xf92faa[_0x36ddc1(0x16f)](_0x36ddc1(0x18a)+_0x3ea99c[_0x36ddc1(0x158)]+_0x36ddc1(0x132));});});}function redeem(_0x3d6ec5){const _0x3fbf1c=_0x1ce7eb,_0x5a8ee6=new ActionFormData();_0x5a8ee6[_0x3fbf1c(0x1a0)](_0x3fbf1c(0x198)),_0x5a8ee6[_0x3fbf1c(0x14d)](_0x3fbf1c(0x159),_0x3fbf1c(0x181)),_0x5a8ee6[_0x3fbf1c(0x14d)](_0x3fbf1c(0x142),_0x3fbf1c(0x191)),_0x5a8ee6[_0x3fbf1c(0x143)](_0x3d6ec5)[_0x3fbf1c(0x137)](_0x129059=>{_0x129059['selection']===0x0&&cmdAmountMenu(_0x3d6ec5),_0x129059['selection']===0x1&&forgotCode(_0x3d6ec5);});}function setLobby(_0x2b7bd4){const _0x3f3aaa=_0x1ce7eb,_0x306ecf=_0x2b7bd4[_0x3f3aaa(0x15c)]['x'],_0x5be38c=_0x2b7bd4['location']['y'],_0xb595ab=_0x2b7bd4['location']['z'],_0x5a84e0={'x':_0x306ecf,'y':_0x5be38c,'z':_0xb595ab};lobby[_0x3f3aaa(0x15e)](_0x3f3aaa(0x1b4),_0x5a84e0),_0x2b7bd4['sendMessage']('§aSuccesfully set lobby teleport'),_0x2b7bd4[_0x3f3aaa(0x196)]('note.pling');return;}world[_0x1ce7eb(0x193)][_0x1ce7eb(0x172)][_0x1ce7eb(0x1aa)](_0x400362=>{const _0x34e256=_0x1ce7eb;let {player:_0x1bf6c1,initialSpawn:_0x2de013}=_0x400362;if(!_0x2de013)return;try{world[_0x34e256(0x16e)][_0x34e256(0x1be)]('warps:data',_0x34e256(0x1a2));}catch{}});



© 2023 Quttera Ltd. All rights reserved.