Skip to content

Lastheroevent

Featured Replies

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

Solved by Versus

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

 

 

winner.getInventory().addItem("Event", 3470, 1, winner, null);
  • Author

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

  • Solution

Here you go:

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

You can change the time here, in milliseconds.

Guest
This topic is now closed to further replies.

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.