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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...