2020-07-10 01:01:29 +00:00
|
|
|
package events
|
|
|
|
|
|
|
|
const (
|
|
|
|
Init = "init"
|
|
|
|
|
|
|
|
ServerStarted = "server_started"
|
|
|
|
ServerClosing = "server_closing"
|
|
|
|
|
2021-06-12 05:28:34 +00:00
|
|
|
// LoggedIn Args: User, Address, X, Y, Z
|
2020-07-10 01:01:29 +00:00
|
|
|
LoggedIn = "logged_in"
|
|
|
|
|
2021-06-12 05:28:34 +00:00
|
|
|
// Authenticated Args: User, UUID
|
2020-07-10 01:01:29 +00:00
|
|
|
Authenticated = "authenticated"
|
|
|
|
|
2021-06-12 05:28:34 +00:00
|
|
|
// Join Args: User
|
2020-07-10 01:01:29 +00:00
|
|
|
Join = "join"
|
|
|
|
|
2021-06-12 05:28:34 +00:00
|
|
|
// Leave Args: User
|
2020-07-10 01:01:29 +00:00
|
|
|
Leave = "leave"
|
|
|
|
|
2021-06-12 05:28:34 +00:00
|
|
|
// Op Args: User, Source?
|
2020-07-10 01:01:29 +00:00
|
|
|
Op = "op"
|
|
|
|
|
2021-06-12 05:28:34 +00:00
|
|
|
// Deop Args: User, Source?
|
2020-07-10 01:01:29 +00:00
|
|
|
Deop = "deop"
|
|
|
|
|
2021-06-12 05:28:34 +00:00
|
|
|
// Message Args: User, Message
|
2020-07-10 01:01:29 +00:00
|
|
|
Message = "message"
|
|
|
|
)
|