public class Game
extends java.lang.Object
Constructor and Description |
---|
Game() |
Modifier and Type | Method and Description |
---|---|
static void |
addAnnouncement(java.lang.String message)
Show a server announcement visible to all players.
Color markup is possible with the following usage: [#fff] |
static void |
addAnnouncementToPeer(java.lang.String message,
io.lurkers.server.Peer peer,
boolean small)
Show a server announcement visible to all players.
Color markup is possible with the following usage: [#fff] |
static void |
addMessage(java.lang.String message)
Show a server message visible to all players.
Color markup is possible with the following usage: [#fff] |
static void |
addMessage(java.lang.String message,
boolean processLocally)
Show a server message visible to all players.
Color markup is possible with the following usage: [#fff] |
static void |
addMessageToPeer(java.lang.String message,
io.lurkers.server.Peer peer)
Show a server message visible to a peer
Color markup is possible with the following usage: [#fff] |
static void |
addMessageToPeer(java.lang.String message,
Peer peer)
Show a server message visible to a peer
Color markup is possible with the following usage: [#fff] |
static void |
addMessageToPeers(java.lang.String message,
Peer... recipients)
Show a server message visible to a list of recipients.
Color markup is possible with the following usage: [#fff] |
static void |
debug(java.lang.String message) |
static int |
getChunkSize() |
static io.lurkers.game.Game |
getGame() |
static GameAnalytics |
getGameAnalytics() |
static int |
getMatchTimeInSeconds() |
static LuaTable |
getTeams() |
static void |
log(java.lang.String message) |
static boolean |
removeListener(MessageListener listener)
Generic listener removal.
|
static void |
runCommand(java.lang.String command) |
static void |
setConfigs(LuaTable luaTable) |
static boolean |
shouldShowSteamPopup() |
static void |
updateConfig(java.lang.String config,
java.lang.String value) |
static void |
updateConfigs(LuaTable luaTable) |
static boolean |
usesDebugger() |
public static io.lurkers.game.Game getGame()
public static void addAnnouncement(java.lang.String message)
[#fff]
message
- the message to showpublic static void addAnnouncementToPeer(java.lang.String message, io.lurkers.server.Peer peer, boolean small)
[#fff]
message
- the message to showpeer
- the peer to send topublic static void addMessage(java.lang.String message)
[#fff]
message
- the message to showpublic static void addMessage(java.lang.String message, boolean processLocally)
[#fff]
message
- the message to showpublic static void addMessageToPeers(java.lang.String message, Peer... recipients)
[#fff]
message
- the message to showrecipients
- a list of recipient peers to receive the messagepublic static void addMessageToPeer(java.lang.String message, Peer peer)
[#fff]
message
- the message to showpeer
- the peer to send this message topublic static void addMessageToPeer(java.lang.String message, io.lurkers.server.Peer peer)
[#fff]
message
- the message to showpeer
- the peer to send this message topublic static void setConfigs(LuaTable luaTable)
public static void updateConfigs(LuaTable luaTable)
public static void updateConfig(java.lang.String config, java.lang.String value)
public static void log(java.lang.String message)
public static void debug(java.lang.String message)
public static GameAnalytics getGameAnalytics()
public static LuaTable getTeams()
public static void runCommand(java.lang.String command) throws java.lang.Exception
java.lang.Exception
public static int getMatchTimeInSeconds()
public static boolean usesDebugger()
public static boolean shouldShowSteamPopup()
public static boolean removeListener(MessageListener listener)
listener
- public static int getChunkSize()