Jump to content
  • 0

Timed item / item duration


Question

Posted (edited)

Hello MC friends,

I have created 2 items, to whom I'd like to add limited duration time. Like a donator type where the item, being in players inventory, gives a slight rate boost. One is for voters reward that would have 12 hours limit period and secondis for donators with 14 or 30 days (adjustable in Config file). Items are 2 coins, voters coin and supporters coin.

I have already created a script to give rates boost and Configs for it to easly edit it on servers side. Only timer/duration function needs to be added.

pack: Interlude/L2jfrozen 1132. Unlike Shadow methods, I'd like it to take effect as soon as the item is in players inventory without need of consumption click, and regardless whether player is online or not I'd like the time to run, duration countdown/ diffTme left recorded in db.

Edited by MonkZe

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..