Skip to content

A Minecraft server (1.20.4) plugin that sends status information to a Discord webhook, and enforces player whitelists for offline servers.

Notifications You must be signed in to change notification settings

shaunbharat/minecraftstatushook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MinecraftStatusHook

A Minecraft server plugin (1.20.4) that sends server updates to a Discord webhook, and enforces a simple player whitelist based on a password and IP addresses.

Commands

  • /setdiscordwebhook <webhook-url>: Sets the Discord webhook that MinecraftStatusHook will send updates to.
  • /potd [<new-password>]: Refreshes the password of the day, and sends it to the Discord webhook.
  • /togglerefreshpotd: Toggles whether the password of the day is refreshed on server start and every 24 hours automatically.

Features

Server Updates

The following events are sent to the Discord webhook:

  • Server start

docs/images/server_start.png

  • Server stop

docs/images/server_stop.png

  • Player join

docs/images/player_join.png

  • Player leave

docs/images/player_leave.png

  • Refreshed password of the day

docs/images/refresh_potd.png

Password of the Day

The password of the day is a simple way to whitelist players.

  • The password is refreshed every 24 hours, or on server start, and is sent to the Discord webhook.
  • Until the correct password is entered, players won't be able to move or interact with the server.
  • Players are kicked on incorrect passwords.
  • The password can be refreshed with /potd.

License

There is currently no license.

Copyright (c) 2024 Shaun Bharat. All rights reserved.

About

A Minecraft server (1.20.4) plugin that sends status information to a Discord webhook, and enforces player whitelists for offline servers.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages