# Functions

FormatedTimestamp creates a string formated timestamp of the current time and date(time.Now()).
FormatTimestamp allows to format any given time to a string.
NewAuthEconEvent create an empty event with a proper event type.
NewAuthRconEvent create an empty event with a proper event type.
NewBaseEventTimestamped creates a new BaseEvent that is timestamped with time.Now() and has the passed eventType as type parameter.
NewChatEvent create an empty event with a proper event type.
NewChatServerEvent create an empty event with a proper event type.
NewChatTeamEvent create an empty event with a proper event type.
NewChatWhisperEvent create an empty event with a proper event type.
NewErrorEvent creates a new ErrorEvent that is requrned when for example requests cannot be answered, as a player is not online anymore in order to request their.
NewMapChangedEvent create an empty event with a proper event type.
NewPlayerBannedEvent create an empty event with a proper event type.
NewPlayerDiedEvent create an empty event with a proper event type.
NewPlayerJoinedEvent create an empty event with a proper event type.
NewPlayerKickedEvent create an empty event with a proper event type.
NewPlayerLeftEvent create an empty event with a proper event type.
NewPlayerMutedEvent create an empty event with a proper event type.
NewRequestCommandExecEvent create an empty event with a proper event type.
NewRequestServerStateEvent create an empty event with a proper event type.
NewServerStateEvent create an empty event with a proper event type.
NewVoteKickStartedEvent create an empty event with a proper event type.
NewVoteOptionStartedEvent create an empty event with a proper event type.
NewVoteSpecStartedEvent create an empty event with a proper event type.
ParseTimestamp allows to parse the timestamp according to the package-wide timestamp layout that is saved in the TimestampLayout variable.

# Constants

TimestampLayout is used for package-wide timestamping of events.
TypeAuthEcon is created when someone logs into econ.
TypeAuthRcon is created when a player logs into the rcon.
TypeChat is created when some chat message is written by someone.
TypeChatServer is created when the server sends a message or someone talks via rcon.
TypeChatTeam is created when someone writes in the teamchat.
TypeChatWhisper is created when someone whispers to someone else.
TypeError is returned from server monitors when they cannot answer the requests sent by the other microservices.
TypeMapChanged is created when the current map is changed to a new one.
TypePlayerBanned is created when someone is banned from the server.
TypePlayerDied is created when a player killed another player.
TypePlayerJoined is an event that is created by a monitor when a player joins a server.
TypePlayerKicked is created when someone is kicked from the server.
TypePlayerLeft is created when a player leaves the server.
TypePlayerMuted is created when a player is muted by either the server or an admin/moderator.
TypePlayerVoteBanned is created when a player receives a voteban from an admin/moderator.
TypeRequestCommandExec is used to forward command execution requests to the Teeworlds servers.
TypeRequestServerState is created when a specific microservice needs more data for an interaction with the server.
TypeServerState is created when a microservice requests the state of a server or when a server state change occurs.
TypeVoteKickStarted is created when a kickvote is started.
TypeVoteOptionStarted is created when a player for example start a map vote.
TypeVoteSpecStarted is created when a specvote is started, trying to move a player to the spectators.

# Structs

AuthEconEvent is created when somone successfully authenticates on the econ.
AuthRconEvent is created when somone successfully authenticates on the econ.
BaseEvent contains the common fields that all events have.
ChatEvent is created when somone starts a kickvote.
ChatServerEvent is created when somone starts a kickvote.
ChatTeamEvent is created when somone starts a kickvote.
ChatWhisperEvent is created when somone starts a kickvote.
ErrorEvent is returned when some errors occur in between specific states.
MapChangedEvent is created when the map is actually changed after an option vote passes.
PlayerBannedEvent is created when somone starts a kickvote.
PlayerDiedEvent is created when somone starts a kickvote A PlayerKilledEvent is not necessary, as this contains both of them and even more, especially killed by the game or the world.
PlayerJoinedEvent is created when a player joins some server.
PlayerKickedEvent is created when somone starts a kickvote.
PlayerLeftEvent is created when a player leaves some server.
PlayerMutedEvent is created when somone starts a kickvote.
RequestCommandExecEvent is used to request a command execution.
RequestServerStateEvent is created when either someone requests a server state or when a server's server state changes.
ServerStateEvent is created when either someone requests a server state or when a server's server state changes.
VoteKickStartedEvent is created when somone starts a kickvote.
VoteOptionStartedEvent is created when somone starts a kickvote.
VoteSpecStartedEvent is created when somone starts a kickvote.