Hi, as title say, i want to make this premium visible on CB. It's good on .premium too, but i want something different.
If player buy for exemple, 1 day of premium, i want to display with ON, i want to add 3 methods. 1 day, 2 days and 3 days. Again, if player buy 1 day, and this is ON, 2 and 3 days, to be OFF.
I have something configured, but isn't good. I want to fix it.
int premiumDays =0;
returnHtml = returnHtml.replace("%if_player_buy_1_day%",Integer.toString(premiumDays,1));// if player buy 1 day, display ON. 2 & 3 days, off
returnHtml = returnHtml.replace("%if_player_buy_2_days%",Integer.toString(premiumDays,2));// to display off
returnHtml = returnHtml.replace("%if_player_buy_3_days%",Integer.toString(premiumDays,3));// to display off
🤝 SocNet is looking for new partners and suppliers!
We are building a reliable partner network across all areas of online business.
If you're in digital, traffic, accounts, or media — let’s discuss collaboration opportunities.
📌 Open to:
— Webmasters and media buyers
— Telegram channel and website owners
— Sellers of accounts and auto-registered profiles
— Developers of digital services
— Marketing agencies and freelancers
💬 We value quality, transparency, and growth. If that resonates with you — get in touch!
📎 Our current list of partners:
🔗 https://socnet.bgng.io/partners
📦 Our key products:
🛒 Online Store: Click ✅
🤖 Telegram Bot: Click ✅
📲 SMM Panel: Click ✅
📩 Contact us:
💬 Telegram: https://t.me/solomon_bog
📱 WhatsApp: https://wa.me/79051904467
🎮 Discord: https://discord.gg/y9AStFFsrh
📧 Email: solomonbog@socnet.store
📢 Follow updates: https://t.me/accsforyou_shop ✅
🤝 SocNet is looking for new partners and suppliers!
We are building a reliable partner network across all areas of online business.
If you're in digital, traffic, accounts, or media — let’s discuss collaboration opportunities.
📌 Open to:
— Webmasters and media buyers
— Telegram channel and website owners
— Sellers of accounts and auto-registered profiles
— Developers of digital services
— Marketing agencies and freelancers
💬 We value quality, transparency, and growth. If that resonates with you — get in touch!
📎 Our current list of partners:
🔗 https://socnet.bgng.io/partners
📦 Our key products:
🛒 Online Store: Click ✅
🤖 Telegram Bot: Click ✅
📲 SMM Panel: Click ✅
📩 Contact us:
💬 Telegram: https://t.me/solomon_bog
📱 WhatsApp: https://wa.me/79051904467
🎮 Discord: https://discord.gg/y9AStFFsrh
📧 Email: solomonbog@socnet.store
📢 Follow updates: https://t.me/accsforyou_shop ✅
Question
0flee
Hi, as title say, i want to make this premium visible on CB. It's good on .premium too, but i want something different.
If player buy for exemple, 1 day of premium, i want to display with ON, i want to add 3 methods. 1 day, 2 days and 3 days. Again, if player buy 1 day, and this is ON, 2 and 3 days, to be OFF.
I have something configured, but isn't good. I want to fix it.
Exemple it is here.
https://ibb.co/P9rtxQp
Thank's for reading !
for L2j-Mobius ( High Five )
2 answers to this question
Recommended Posts