[{"data":1,"prerenderedAt":284},["ShallowReactive",2],{"/docs/scripts/battlepass/tebex":3,"/docs/scripts/battlepass/tebex-surround":272,"/docs/scripts/battlepass/tebex-implemented-suggestions":283},{"id":4,"title":5,"body":6,"description":262,"extension":263,"head":264,"implementedSuggestions":264,"meta":265,"navigation":266,"path":267,"schemaOrg":264,"seo":268,"sitemap":269,"stem":270,"__hash__":271},"docs/1.docs/scripts/2.battlepass/3.tebex.md","Tebex Implementation",{"type":7,"value":8,"toc":254},"minimark",[9,182,187,190,194,200,210,214,222,226,250],[10,11,13,18,57,72,80,84,102,107,142,147,153,157],"steps",{"level":12},"3",[14,15,17],"h3",{"id":16},"add-tebex-secret-key-to-your-servercfg","Add Tebex Secret Key to Your server.cfg",[19,20,21,25,37,49],"ol",{},[22,23,24],"li",{},"Log in to your Tebex control panel.",[22,26,27,28,32,33,36],{},"On the left-hand navigation menu, click ",[29,30,31],"strong",{},"Integrations"," and ",[29,34,35],{},"Game Servers",".",[22,38,39,40,43,44],{},"Click ",[29,41,42],{},"Instructions"," next to the Game Server you want to use.\n",[45,46],"img",{"alt":47,"src":48},"","/docs/coinsystem/secretkey.png",[22,50,51,52,56],{},"Copy the command provided and paste it into your ",[53,54,55],"code",{},"server.cfg",". It should look something like this:",[58,59,63],"pre",{"className":60,"code":61,"filename":55,"language":62,"meta":47,"style":47},"language-cfg shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","sv_tebexSecret \u003CYourSecretKey>\n","cfg",[53,64,65],{"__ignoreMap":47},[66,67,70],"span",{"class":68,"line":69},"line",1,[66,71,61],{},[73,74,75,76,79],"p",{},"Make sure to replace ",[53,77,78],{},"\u003CYourSecretKey>"," with the actual secret key provided by Tebex.",[14,81,83],{"id":82},"create-a-tebex-package","Create a Tebex Package",[19,85,86,92,95],{},[22,87,88,89,36],{},"In your Tebex control panel, navigate to ",[29,90,91],{},"Packages",[22,93,94],{},"Create a new package, for example, \"Premium Battle Pass\".",[22,96,97,98,101],{},"At the bottom of the package creation screen, select ",[29,99,100],{},"Game Server Commands"," as the deliverable type.",[73,103,104],{},[45,105],{"alt":47,"src":106},"/docs/coinsystem/deliverable.png",[19,108,110,116,136,139],{"start":109},4,[22,111,112,113,36],{},"Select your game server and click ",[29,114,115],{},"Add Command",[22,117,118,119],{},"Use the following command to deliver premium:",[58,120,124],{"className":121,"code":122,"language":123,"meta":47,"style":47},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","bpsaveredeemcode {transaction}\n","bash",[53,125,126],{"__ignoreMap":47},[66,127,128,132],{"class":68,"line":69},[66,129,131],{"class":130},"sBMFI","bpsaveredeemcode",[66,133,135],{"class":134},"sfazB"," {transaction}\n",[22,137,138],{},"Click on the settings icon on the right",[22,140,141],{},"Select your game server again here and make sure that the command is executed even if the player is offline (if you require the player to be online and the player is online, it may not work)",[73,143,144],{},[45,145],{"alt":47,"src":146},"/docs/coinsystem/command.png",[19,148,150],{"start":149},6,[22,151,152],{},"Save your package.",[14,154,156],{"id":155},"test-the-integration","Test the Integration",[19,158,159,166,172,179],{},[22,160,161,162,165],{},"In the Tebex control panel, click ",[29,163,164],{},"Payments"," on the left-hand menu.",[22,167,168,169,36],{},"Click on ",[29,170,171],{},"Create Payment",[22,173,174,175,178],{},"Enter your username under ",[29,176,177],{},"Customer"," and select the package you created earlier.",[22,180,181],{},"After creating the payment, you should be able to claim premium in-game by using your payment ID.",[183,184,186],"h2",{"id":185},"possible-problems","Possible Problems",[73,188,189],{},"If players are unable to claim premium after a Tebex purchase, try the following solutions:",[14,191,193],{"id":192},"wait-for-processing","Wait for Processing",[73,195,196,199],{},[29,197,198],{},"Problem:"," Sometimes there's a short delay before premium become available after a successful purchase.",[73,201,202,205,206,209],{},[29,203,204],{},"Fix:"," Inform players that it can take ",[29,207,208],{},"up to 5 minutes"," for premium to be claimable in-game after completing the purchase.",[14,211,213],{"id":212},"check-tebex-secret-key-usage","Check Tebex Secret Key Usage",[73,215,216,218,219,36],{},[29,217,198],{}," Payments may not be linked to the correct server if multiple servers are using the same ",[53,220,221],{},"tebexSecretKey",[73,223,224],{},[29,225,204],{},[227,228,229,235,244],"ul",{},[22,230,231,232,234],{},"Open the ",[53,233,55],{}," file on all running servers.",[22,236,237,238,241,242,36],{},"Make sure ",[29,239,240],{},"only your live (production) server"," contains the ",[53,243,221],{},[22,245,246,249],{},[29,247,248],{},"Remove the key"," from all other environments (e.g., development or test servers).",[251,252,253],"style",{},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}",{"title":47,"searchDepth":69,"depth":255,"links":256},2,[257],{"id":185,"depth":255,"text":186,"children":258},[259,261],{"id":192,"depth":260,"text":193},3,{"id":212,"depth":260,"text":213},"This guide explains how to connect your Battle Pass V3 with Tebex to handle premium purchases via Tebex.","md",null,{},true,"/docs/scripts/battlepass/tebex",{"title":5,"description":262},{"loc":267},"1.docs/scripts/2.battlepass/3.tebex","9-CkzDEToJyG1Ep-AokGeMr3c2STZ0-FRRgSys1LNRk",[273,278],{"title":274,"path":275,"stem":276,"description":277,"children":-1},"Custom Quests","/docs/scripts/battlepass/quests","1.docs/scripts/2.battlepass/2.quests","The Battle Pass V3 allows you to define your own quests and track player progress through them. This guide will walk you through creating a custom quest using the configurator and updating quest progress in your script.",{"title":279,"path":280,"stem":281,"description":282,"children":-1},"Jaksam Jobs Creator Quests","/docs/scripts/battlepass/jobcreator","1.docs/scripts/2.battlepass/4.jobcreator","This guide explains how to connect Battle Pass V3 quests with item collection using ox_inventory and Jaksam's Jobs Creator.",[],1784834599247]