Sueta
LA

LagReporter

1.0

Reports your Server Lag in your Telegram Chat

·Plugin

Reports your Server Lag in your Telegram Chat!

1 - Download the jar file
2 - Put the jar file in your "plugins" folder
3 - Restart your Server

4 - Configure the plugin (plugins/LagReporter/config.yml)
5 - Done!

1. Create a new Telegram Bot (@BotFather)
2. Copy the given token and paste it in the config (botToken)
3. Copy the group ID and paste it in the config (chatID)

4 - Restart your Server
5 - Done!

Config [ENG]
# Group chat id (Starts with -100)
chatID: -100
# Bot token (You can find it here -> @BotFather)
botToken: "Bot Token"

# %server% = serverName
serverName: "Server Name"

# %tps% = tpsPlaceholder
tpsPlaceholder: "%server_tps_1%"

# If max_tps >= %tps%, bot sends the message
max_tps: 15

cooldown: 30

# You can use HTML (<b></b>, <i></i>, <code></code> ecc...)
message: "<b>ATTENTION</b>\n\nThe Server <code>%server%</code> is lagging!\n\n<b>TPS</b>: %tps%\n<b>Players</b>: %players_online%/%players_max%"
Config [ITA]
# Chat ID del gruppo (Inizia sempre con -100)
chatID: -100
# Token del bot (Puoi trovarlo qui -> @BotFather)
botToken: "Bot Token"

# %server% = serverName
serverName: "Server Name"

# %tps% = tpsPlaceholder
tpsPlaceholder: "%server_tps_1%"

# Se max_tps >= %tps%, il Bot invia il messaggio
max_tps: 15

cooldown: 30

# Puoi usare l'HTML (<b></b>, <i></i>, <code></code> ecc...)
message: "<b>ATTENZIONE</b>\n\nIl Server <code>%server%</code> sta laggando!\n\n<b>TPS</b>: %tps%\n<b>Giocatori</b>: %players_online%/%players_max%"

Similar projects

Plugin →