Jump to content

Question

Posted

i passed this event but this code dont have any properties so i control the event like when will start again or what is the winners prize or what will be the reward per every kill ...can anyone help me with that?here is the code :http://pastebin.com/hyPqMRDn

5 answers to this question

Recommended Posts

  • 0
Posted

Here you go:

ThreadPoolManager.getInstance().scheduleGeneral(new Task(), 7200000);

You can change the time here, in milliseconds.

  • 0
Posted

It's hardcoded, you can create configs if you rly need them.

 

 

winner.getInventory().addItem("Event", 3470, 1, winner, null);
  • 0
Posted (edited)

yes i know that there i can change the rewards but i dont know how to put a specific time so the event start ...also i am too newbie and i dont know how to create configs...

Edited by TraineeDreamer
Guest
This topic is now closed to further replies.


×
×
  • Create New...