Jump to content
  • 0

Lastheroevent


TraineeDreamer

Question

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

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

Here you go:

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

You can change the time here, in milliseconds.

Link to comment
Share on other sites

  • 0

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

 

 

winner.getInventory().addItem("Event", 3470, 1, winner, null);
Link to comment
Share on other sites

  • 0

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

Guest
This topic is now closed to further replies.


×
×
  • Create New...