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
Reborn C4 x1 = 8 eu for 1kk
Reborn orgign x1 Eternal x10 = 0.1 eu = 1kk
-----------------------------------------------------
Eu core = 0.5 eu 1b
Na Chronos = 0.4 eu = 1b
Na Naia = 0.3 eu = 1b
Eu Orfen = 0.5 eu = 1b
Eu Eva = 0.10 = 1kk
-------------------------------------------------------
Elmorelab x1x3x5
0.5 eu = 1kk
Classic.club = 70 eu = 1b
-------------------------------------------------------
For the rest of the servers write to DM in discord. Price and stocks are changin
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