Jump to content
  • 0

Timed item / item duration


MonkZe

Question

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
Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now


×
×
  • Create New...