Skip to content

fifo handler

oof2win2 edited this page May 3, 2021 · 1 revision

ServerFifoManager

FIFO handler for Factorio servers

Kind: global class

serverFifoManager.checkDevServer(newPresence)

Check if the logging for the development server should be turned off. The presence given already needs to be checked for the correct user ID

Kind: instance method of ServerFifoManager

Param Type
newPresence Presence

serverFifoManager.sendToServer(message, [sendWithUsername])

Sends a message to a Factorio server which has the same channel ID as the message

Kind: instance method of ServerFifoManager

Param Type Default Description
message Message Discord message to send to server
[sendWithUsername] boolean true Whether to send the message with username or not.

serverFifoManager.sendToAll(message, [sendWithUsername])

Sends a message to all Factorio servers

Kind: instance method of ServerFifoManager

Param Type Default Description
message Message Discord message to send to server
[sendWithUsername] boolean true Whether to send the message with username or not.

Clone this wiki locally