Skip to content

Latest commit

 

History

History
50 lines (28 loc) · 1.47 KB

README.md

File metadata and controls

50 lines (28 loc) · 1.47 KB

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.