1package com.runehive.game.task.impl;
3import com.runehive.Config;
4import com.runehive.content.triviabot.TriviaBot;
5import com.runehive.game.task.Task;
6import com.runehive.game.world.World;
7import com.runehive.util.Utility;
The class that contains setting-related constants for the server.
static final String[] MESSAGES
Messages that are sent periodically to all players.
Manages the trivia bot system.
static void assign()
Assigns a new question.
Task(boolean instant, int delay)
Creates a new Task.
MessageEvent()
Constructs a new MessageEvent.
void execute()
A function representing the unit of work that will be carried out.
int tick
The message randomevent ticks.
Represents the game world.
static void sendMessage(String... messages)
Sends a global message.
Handles miscellaneous methods.
static< T > T randomElement(Collection< T > collection)
Picks a random element out of any array type.