Welcome, Guest. Please login or register.

Author Topic: Events  (Read 378 times)

0 Members and 2 Guests are viewing this topic.

Offline RuLLezZ

  • L2jHellas User
  • *
  • Posts: 31
  • Country: gr
  • Karma: 0
Events
« on: September 23, 2020, 02:07:17 am »
Hello))
For example if i don't want one of the events to be in list i just need to delete a line from EventManager.java?

   public EventManager()
   {
      config = EventConfig.getInstance();
      
      events = new ConcurrentHashMap<>();
      players = new CopyOnWriteArrayList<>();
      votes = new ConcurrentHashMap<>();
      titles = new ConcurrentHashMap<>();
      colors = new ConcurrentHashMap<>();
      positions = new ConcurrentHashMap<>();
      eventIds = new CopyOnWriteArrayList<>();
      status = State.VOTING;
      task = new Scheduler();
      cdtask = new Countdown();
      counter = 0;

      events.put(1, new DM());
      events.put(2, new Domination());
      events.put(3, new DoubleDomination());   
      events.put(4, new LMS());      
      events.put(5, new TvT());      
      events.put(6, new VIPTvT());      
      events.put(7, new CTF());      
      events.put(8, new Korean());
Falling asleep with a dream - wake up with a purpose.

Offline @Seye

  • L2jHellas User
  • *
  • Posts: 3
  • Country: pe
  • Karma: 0
Re: Events
« Reply #1 on: November 12, 2020, 06:17:05 pm »
You test?