const By_SixzJ_Discord_VUVt6cCzum_0x12de11=(function(){let _0x3025c0=!![];return function(_0xdc6d04,_0x5e2fcc){const _0x150d9a=_0x3025c0?function(){if(_0x5e2fcc){const _0x146831=_0x5e2fcc['apply'](_0xdc6d04,arguments);return _0x5e2fcc=null,_0x146831;}}:function(){};return _0x3025c0=![],_0x150d9a;};}()),By_SixzJ_Discord_VUVt6cCzum_0x22e70d=By_SixzJ_Discord_VUVt6cCzum_0x12de11(this,function(){return By_SixzJ_Discord_VUVt6cCzum_0x22e70d['toString']()['search']('(((.+)+)+)'+'+$')['toString']()['constructo'+'r'](By_SixzJ_Discord_VUVt6cCzum_0x22e70d)['search']('(((.+)+)+)'+'+$');});By_SixzJ_Discord_VUVt6cCzum_0x22e70d();const By_SixzJ_Discord_VUVt6cCzum_0x1b82a7=Date['now']();import{Entity,EntityHealthComponent,ItemLockMode,ItemStack,Player,system,world}from'@minecraft/server';import{ChatModified}from'./Systems/Chat/ChatSend';import{showHealthEmoji}from'./Class/Client/ZPlayer';import{ConsoleLog,IconInstance,SendTexts}from'./Functions/Additional';import{TimerCounter}from'./Functions/TimerCounter';import{ScoreBoardModified}from'./Systems/Scoreboard/Board';import By_SixzJ_Discord_VUVt6cCzum_0x3f5c26 from'./Class/ZItemOptions';import By_SixzJ_Discord_VUVt6cCzum_0x2c6677 from'./Class/ZVector';import By_SixzJ_Discord_VUVt6cCzum_0x234e58 from'./Database/ZXKDatabase';import{UIInitial}from'./Interface/General';import{ChangePlayer}from'./Class/Client/CustomPlayer';import{db_system_name,DEFAULT_SERVER_DB_NAME}from'./Constants/Variables';import By_SixzJ_Discord_VUVt6cCzum_0xac076b from'./Class/Animations/ZFrames';import{Objectives}from'./Constants/Objectives';import{UAConfig}from'./Config/UAConfig';import{EmojisType}from'./Libs/EmojisTypes';import{LoadAnim,ReplaceCodesXzj}from'./Core/ReplaceCodes';import By_SixzJ_Discord_VUVt6cCzum_0x12d59c from'./Class/ZTime';import{OpenPlayerMenu}from'./Interface/Client/cos';let By_SixzJ_Discord_VUVt6cCzum_0x513a9e=null,By_SixzJ_Discord_VUVt6cCzum_0x328a4c;const By_SixzJ_Discord_VUVt6cCzum_0x4c3584=0x4,{Muertes:By_SixzJ_Discord_VUVt6cCzum_0x57638a,Asesinatos:By_SixzJ_Discord_VUVt6cCzum_0x472f6f}=Objectives,By_SixzJ_Discord_VUVt6cCzum_0x8adc99=_0x3fe401=>world['scoreboard']['getObjecti'+'ve'](_0x3fe401)||world['scoreboard']['addObjecti'+'ve'](_0x3fe401,_0x3fe401),{ExtraOptions:{ReplaceCodesOptions:{NameOptions:By_SixzJ_Discord_VUVt6cCzum_0x19d148}}}=UAConfig,By_SixzJ_Discord_VUVt6cCzum_0x102480=()=>new By_SixzJ_Discord_VUVt6cCzum_0x234e58(DEFAULT_SERVER_DB_NAME,null,null,world)['getValue']('on',0x0)==0x0,By_SixzJ_Discord_VUVt6cCzum_0x46d808={'isAdmin'(){const {Admins:{Tags:_0x4e879a}}=UAConfig;return _0x4e879a['some'](_0x278eb6=>this['hasTag'](_0x278eb6));},'emojiDimension'(){const {Predetermined:{UseNewDimensionIcons:_0x5263c9}}=UAConfig;return[{'minecraft:overworld':EmojisType['Overworld'],'minecraft:nether':EmojisType['Nether'],'minecraft:the_end':EmojisType['The_end']},{'minecraft:overworld':EmojisType['Overworld2'],'minecraft:nether':EmojisType['Nether2'],'minecraft:the_end':EmojisType['The_end2']}][_0x5263c9?0x0:0x1][this['dimension']['id']];},'emojiHealth'(_0x5cdfcb=0x0){const _0x48de22=[0x14,0x14,0x4,0x0,0x0],_0x204dff=parseInt(this['getHealth']()/this['getHealth'](!![])*_0x48de22[_0x5cdfcb]);return[['','','','','','','','','','','','','','','','','','','','',''],['','','','','','','','','','','','','','','','','','','','',''],['','','','',''],['']][_0x5cdfcb][_0x204dff]||'';},'getHealth'(_0x534395=![]){const _0x5116d8=this['getCompone'+'nt'](EntityHealthComponent['componentI'+'d']),_0x5ed655=Math['floor'](_0x5116d8?.['currentVal'+'ue']),_0x2ea26c=Math['floor'](_0x5116d8?.['effectiveM'+'ax']);return _0x534395?_0x2ea26c:_0x5ed655;}};Object['assign'](Player['prototype'],By_SixzJ_Discord_VUVt6cCzum_0x46d808),Object['assign'](Entity['prototype'],By_SixzJ_Discord_VUVt6cCzum_0x46d808),Object['assign'](Array['prototype'],{'deleteElement'(_0x40db93){this['splice'](_0x40db93-0x1,0x1);}}),world['beforeEven'+'ts']['chatSend']['subscribe'](_0x37b559=>{const {message:_0x38ab0e}=_0x37b559;if(By_SixzJ_Discord_VUVt6cCzum_0x102480())return;ChatModified(_0x37b559);}),system['runInterva'+'l'](()=>{try{if(By_SixzJ_Discord_VUVt6cCzum_0x102480())return;By_SixzJ_Discord_VUVt6cCzum_0x513a9e=new By_SixzJ_Discord_VUVt6cCzum_0x234e58(DEFAULT_SERVER_DB_NAME,null,null,world);if(By_SixzJ_Discord_VUVt6cCzum_0x513a9e['getValue']('on')==0x0)return;const {Name:_0x9b537d,ScoreBoard:_0x1c7385,CustomEntities:_0x15ca73}=By_SixzJ_Discord_VUVt6cCzum_0x513a9e['getValue'](db_system_name),{Name:_0x3b3a6f}=By_SixzJ_Discord_VUVt6cCzum_0x513a9e['getValue']('Formats'),_0x410656=world['getAllPlay'+'ers']();LoadAnim()['then'](_0x413b8f=>{if(!_0x413b8f)return;for(let _0x3b578d=0x0;_0x3b578d<_0x410656['length'];_0x3b578d++){const _0x423cc7=_0x410656[_0x3b578d];system['runTimeout'](()=>{if(_0x9b537d)_0x423cc7['nameTag']=''+ReplaceCodesXzj(_0x423cc7,_0x3b3a6f,By_SixzJ_Discord_VUVt6cCzum_0x19d148);if(_0x1c7385)ScoreBoardModified(_0x423cc7);},0x1);}});}catch(_0x3a618d){}},By_SixzJ_Discord_VUVt6cCzum_0x4c3584),world['beforeEven'+'ts']['itemUse']['subscribe'](({source:_0x5dcb9b,itemStack:_0x2975b5})=>{_0x5dcb9b['isAdmin']()&&_0x2975b5['typeId']==='ua:config'&&UIInitial(_0x5dcb9b,IconInstance());}),world['afterEvent'+'s']['playerSpaw'+'n']['subscribe'](({player:_0x464e92,initialSpawn:_0x13de63})=>{if(!_0x13de63)return;By_SixzJ_Discord_VUVt6cCzum_0x513a9e={'db':new By_SixzJ_Discord_VUVt6cCzum_0x234e58(_0x464e92['id'],null,null,world),'time':new By_SixzJ_Discord_VUVt6cCzum_0x12d59c()};const _0xdd9fe4=world['scoreboard']['getObjecti'+'ve']('tamaño')||world['scoreboard']['addObjecti'+'ve']('tamaño','tamaño');!_0xdd9fe4['hasPartici'+'pant'](_0x464e92)&&_0xdd9fe4['setScore'](_0x464e92,0xa),!By_SixzJ_Discord_VUVt6cCzum_0x513a9e['db']['hasKey']('reg')&&(By_SixzJ_Discord_VUVt6cCzum_0x513a9e['db']['newValue']({'reg':!![],'name':_0x464e92['name'],'id':_0x464e92['id'],'customContent':{'editName':_0x464e92['name'],'colors':{'name':[],'message':[]},'rank':[],'emojis':[]},'date':By_SixzJ_Discord_VUVt6cCzum_0x513a9e['time']['getFullDat'+'e']()+' '+By_SixzJ_Discord_VUVt6cCzum_0x513a9e['time']['getFullTim'+'e']()}),ConsoleLog(['toRegister'+': El jugad'+'or fue reg'+'istrado:',_0x464e92['id']])),By_SixzJ_Discord_VUVt6cCzum_0x513a9e=new By_SixzJ_Discord_VUVt6cCzum_0x234e58('Custom',null,null,_0x464e92),!By_SixzJ_Discord_VUVt6cCzum_0x513a9e['hasKey']('Options')&&By_SixzJ_Discord_VUVt6cCzum_0x513a9e['newValue']({'Options':{'_Type':0x0,'_Int':0x0,'_Opc':{}},'OptionsTxt':{'_Type':0x0,'_Int':0x0,'_Opc':{}}});}),system['afterEvent'+'s']['scriptEven'+'tReceive']['subscribe'](({message:_0xc896b9,id:_0x470f64,sourceEntity:_0x24faf0})=>{if(!_0x470f64['startsWith']('ua:'))return;switch(_0x470f64['replace'](/ua:/g,'')){case'admin':const _0x9a0012=_0xc896b9?_0xc896b9:_0x24faf0['name'],_0x521502=world['getAllPlay'+'ers']()['find'](_0x8210ff=>_0x8210ff['name']==_0x9a0012),{Admins:{Tags:_0x5142a6}}=UAConfig,_0x11ede9=new By_SixzJ_Discord_VUVt6cCzum_0x3f5c26('ua:config');_0x5142a6['some'](_0x39feeb=>_0x521502['addTag'](_0x39feeb)),_0x11ede9['set'](_0x521502,{'cantidad':0x1,'lore':['
§l§8-----'+'----------'+'--§r','§r §c'+'-={ §bInfo'+'§c }=-','§r§gItem f'+'or server '+'config','','§r§dCreato'+'r: §bSixzJ','§r§9Discor'+'d: §7josem'+'erohdp','§8§l------'+'----------'+'-'],'keepOnDeath':!![],'lock':ItemLockMode['inventory'],'slot':0x0}),SendTexts(world,['%ua.send.e'+'vent.add',_0x521502['name']]);break;default:SendTexts(world,['%ua.send.e'+'vent.error']);break;}}),system['runInterva'+'l'](()=>{if(By_SixzJ_Discord_VUVt6cCzum_0x102480())return;const _0xf940d3=world['getAllPlay'+'ers']();for(let _0x11c80f=0x0;_0x11c80f<_0xf940d3['length'];_0x11c80f++){const _0xc57899=_0xf940d3[_0x11c80f];TimerCounter(_0xc57899),ChangePlayer(_0xc57899);}},By_SixzJ_Discord_VUVt6cCzum_0x4c3584*0x5),world['afterEvent'+'s']['entityHitE'+'ntity']['subscribe'](({hitEntity:_0xab5b38,damagingEntity:_0x208279})=>{const _0x4bdfbf=new By_SixzJ_Discord_VUVt6cCzum_0x3f5c26('ua:config');if(!_0x4bdfbf['isInHand'](_0x208279))return;if(_0xab5b38 instanceof Player&&_0x208279 instanceof Player){OpenPlayerMenu(_0x208279,IconInstance(),_0xab5b38['id']);return;}}),world['afterEvent'+'s']['entityHurt']['subscribe'](({hurtEntity:_0x1856e2,damage:_0x10d5fe})=>{const {dimension:_0x210fb1,location:_0x7e0b7d}=_0x1856e2;By_SixzJ_Discord_VUVt6cCzum_0xac076b['showHologr'+'am'](_0x210fb1,_0x7e0b7d,('§e-§c'+_0x10d5fe['toFixed'](0x1)+showHealthEmoji(_0x1856e2,!![],0x0))['replace'](/undefined/g,''),![],0.1,!![],!![]);}),world['afterEvent'+'s']['entityDie']['subscribe'](({deadEntity:_0x43f0cd,damageSource:{damagingEntity:_0x38c4ec}})=>{By_SixzJ_Discord_VUVt6cCzum_0x8adc99(By_SixzJ_Discord_VUVt6cCzum_0x57638a)['addScore'](_0x43f0cd,0x1);if(_0x38c4ec)By_SixzJ_Discord_VUVt6cCzum_0x8adc99(By_SixzJ_Discord_VUVt6cCzum_0x472f6f)['addScore'](_0x38c4ec,0x1);},{'entityTypes':['minecraft:'+'player']}),world['afterEvent'+'s']['worldIniti'+'alize']['subscribe'](async()=>{By_SixzJ_Discord_VUVt6cCzum_0x513a9e={'db':new By_SixzJ_Discord_VUVt6cCzum_0x234e58(DEFAULT_SERVER_DB_NAME,null,null,world),'time':new By_SixzJ_Discord_VUVt6cCzum_0x12d59c()};!By_SixzJ_Discord_VUVt6cCzum_0x513a9e['db']['hasKey']('reg')&&By_SixzJ_Discord_VUVt6cCzum_0x513a9e['db']['newValue']({'on':0x0,'reg':!![],'typeHealthEmoji':0x0,'prefixes':[],'FrameType':0x0,'Separators':['','',''],'started':{'day':By_SixzJ_Discord_VUVt6cCzum_0x513a9e['time']['day'],'month':By_SixzJ_Discord_VUVt6cCzum_0x513a9e['time']['moth']},'ServerInfo':{'SVNM_Type':0x0,'SVNM_Name':'ZXKServer','SVNM_Int':0x6,'SVNM_Opc':{},'SVNM_Chc':0x0,'SVIP_Type':0x0,'SVIP_Name':'zxk.server'+'.net','SVIP_Int':0x6,'SVIP_Opc':{},'SVIP_Chc':0x0,'SVPT_Type':0x0,'SVPT_Name':'19132','SVPT_Int':0x6,'SVPT_Opc':{},'SVPT_Chc':0x0},'ScoreBoard':{'Long':0x12,'Board':['-centerTex'+'t($server_'+'name)
','§8-centerT'+'ext($date_'+'server)
§r','
§7$cps ','-ivs] §7$'+'server_tps'+'§r','
$server_a'+'rrow','
$color_'+'name$name§'+'r','
§r$rank'+'§r','
§7-getS'+'core(money'+')§r','
§7-getS'+'core(death'+'s)§r','
§7-getS'+'core(kills'+')§r','
§7$time'+'_client§r','
§7$onli'+'ne_players'+'/60§r','
§7-cente'+'rText($ser'+'ver_ip)§r','
$server_a'+'rrow'],'Advanced':{'Enabled':![],'MultiScores':[{'Data':{'WithTagsOrScore':'scores','Tags':[],'Scores':[['money',0x14],['dollar',0xe]]},'Board':['-centerTex'+'t($server_'+'name)
','§8-centerT'+'ext($date_'+'server)
§r','
$server_a'+'rrow','
§7$name'+'§r','
§r$rank'+'§r','
§7-getS'+'core(money'+')§r','
§7$time'+'_client§r','
§7-cente'+'rText($ser'+'ver_ip)§r','
$server_a'+'rrow']}]}},'Systems':{'ScoreBoard':!![],'Chat':!![],'Name':!![]},'Arrows':[['§c}>§8===='+'========§c'+'<{','§c}§8=§c>§'+'8========='+'=§c<§8=§c{','§c}§8==§c>'+'§8========'+'§c<§8==§c{','§c}§8===§c'+'>§8======§'+'c<§8===§c{','§c}§8====§'+'c>§8====§c'+'<§8====§c{','§c}§8====='+'§c>§8==§c<'+'§8=====§c{','§c}§8====='+'=§c><§8==='+'===§c{','§c}§8====='+'=§c<>§8==='+'===§c{','§c}§8====='+'§c<§8==§c>'+'§8=====§c{','§c}§8====§'+'c<§8====§c'+'>§8====§c{','§c}§8===§c'+'<§8======§'+'c>§8===§c{','§c}§8==§c<'+'§8========'+'§c>§8==§c{','§c}§8=§c<§'+'8========='+'=§c>§8=§c{','§c}<§8===='+'========§c'+'>{'],['|}§r|>||=='+'=========='+'|<|{§r','|}§r|=|>||'+'=========='+'|<|=|{§r','|}§r||=|=|'+'>||======='+'=|<|=||=|{'+'§r','|}§r||==|='+'|>||======'+'|<|=||==|{'+'§r','|}§r||===|'+'=|>||====|'+'<|=||===|{'+'§r','|}§r||===='+'|=|>||==|<'+'|=||====|{'+'§r','|}§r||===='+'==|><||==='+'===|{§r','|}§r||===='+'==|<>||==='+'===|{§r','|}§r||===='+'=|<|||==|>'+'||=====|{§'+'r','|}§r||===='+'|<|||=||=='+'|=|>||===='+'|{§r','|}§r||===|'+'<|||=||==='+'=|=|>||==='+'|{§r','|}§r||==|<'+'|||=||===='+'==|=|>||=='+'|{§r','|}§r||=|<|'+'||=||====='+'===|=|>||='+'|{§r','|}§r|<|||='+'||========'+'==|=|>|{§r'],['}>========'+'====<{','}=>======='+'===<={','}==>======'+'==<=={','}===>====='+'=<==={','}====>===='+'<===={','}=====>==<'+'====={','}======><='+'====={','}======<>='+'====={','}=====<==>'+'====={','}====<===='+'>===={','}===<====='+'=>==={','}==<======'+'==>=={','}=<======='+'===>={','}<========'+'====>{']],'Formats':{'Chat':'$dimension'+' » $rank $'+'color_name'+'$name §r§8'+'$time_serv'+'er§f:§r $c'+'olor_messa'+'ge$message','Name':'$health$he'+'alth_emoji'+'
$rank $co'+'lor_name$n'+'ame
§r§gCP'+'S: §8$cps '+'§f§l|§r :e'+'spada: §c-'+'getScore(k'+'ills) §f§l'+'|§r :diner'+'o: §6-getS'+'core(money'+')'},'AdvancedConfigSystems':{'Chat':{'BlockText':!![],'AntiSpam':!![],'Cooldown':{'Enabled':!![],'Sec':0x5},'Reduce':!![]}}});const _0xb0e346=Date['now']();By_SixzJ_Discord_VUVt6cCzum_0x328a4c={'color':['§a','§g','§c'][Math['round'](By_SixzJ_Discord_VUVt6cCzum_0x234e58['getPercent'+'ageOfTotal'+'Usage'](world)/0x64*0x3)],'loadTime':_0xb0e346-By_SixzJ_Discord_VUVt6cCzum_0x1b82a7},By_SixzJ_Discord_VUVt6cCzum_0x328a4c='The server'+' loads at:'+' §e'+By_SixzJ_Discord_VUVt6cCzum_0x513a9e['time']['getFullTim'+'e']()+('§r the day'+': §e')+By_SixzJ_Discord_VUVt6cCzum_0x513a9e['time']['getFullDat'+'e']()+('§r and the'+' api took '+'§e')+By_SixzJ_Discord_VUVt6cCzum_0x328a4c['loadTime']+('§rms to lo'+'ad with th'+'e database'+' at ')+By_SixzJ_Discord_VUVt6cCzum_0x328a4c['color']+By_SixzJ_Discord_VUVt6cCzum_0x234e58['getPercent'+'ageOfTotal'+'Usage'](world)+'%%',system['runTimeout'](()=>{SendTexts(world,[By_SixzJ_Discord_VUVt6cCzum_0x328a4c]),By_SixzJ_Discord_VUVt6cCzum_0x328a4c=null;},By_SixzJ_Discord_VUVt6cCzum_0x4c3584*0x5*0x5);});
© 2023 Quttera Ltd. All rights reserved.