Hi , I'm trying to set up a special time for players who are vip.
I've made the field in characters for VIP, and added in L2pcinstance.
Ok..
My problem is anytime you need to do the comparison and check if the player is or is not vip.
By the time I did this setting in Config.java, but I'm not getting through to see if the player.isVip == True, shows no error, but when you start the server would not start.
if you are selling something, you have to have both updated, right? people see forum first, not website.
if you are selling something, you have to have both updated, right? people see forum first, not website.
⏳ L2Elixir Open Beta goes live in less than 4 hours!
This Saturday, November 15th at 21:00 (UTC +2), the gates open for our biggest testing phase!
🔥 Don’t miss the first 30 minutes — exclusive rewards await!
A special NPC, “The Judge”, will appear in Giran, offering unique bonuses to early participants:
🏅 Open Beta Rewards:
- The first 2 players who talk to The Judge → Premium Account for Launch
- Another 2 random players who interact → Premium Account
- Everyone who speaks to the NPC within the first 30 minutes → Legendary Starter Pack for all characters on launch day (Nov 28th, 2025)
📌 The NPC will spawn exactly at 21:00 (UTC+2).
⏱️ Follow the countdown on our website — the hype is real!
Create your account & download the Updater to be ready!
🔗 https://l2elixir.org/connect/
💬 Discord: https://discord.gg/5ydPHvhbxs
Question
crazyshock
Hi , I'm trying to set up a special time for players who are vip.
I've made the field in characters for VIP, and added in L2pcinstance.
Ok..
My problem is anytime you need to do the comparison and check if the player is or is not vip.
By the time I did this setting in Config.java, but I'm not getting through to see if the player.isVip == True, shows no error, but when you start the server would not start.
ENABLE_VIP_DURATION = Boolean.parseBoolean(COSettings.getProperty("VipTempoCustom", "True")); L2PcInstance player = null; if (ENABLE_VIP_DURATION && player.isVip()) { String[] propertySplit = COSettings.getProperty("SkillVipDuration", "").split(";"); SKILL_DURACAO = new TIntIntHashMap(propertySplit.length); for (String skill : propertySplit) { String[] skillSplit = skill.split(","); if (skillSplit.length != 2) _log.warning(StringUtil.concat("[skillVipDuration]: invalid config property -> SkillDurationList \"", skill, "\"")); else { try { SKILL_DURACAO.put(Integer.parseInt(skillSplit[0]), Integer.parseInt(skillSplit[1])); } catch (NumberFormatException nfe) { if (!skill.isEmpty()) { _log.warning(StringUtil.concat("[skillVipDuration]: invalid config property -> SkillList \"", skillSplit[0], "\"", skillSplit[1])); } } } } }20 answers to this question
Recommended Posts