Skip to content

Lambda function to handle the starting, stopping, and status checking of a Minecraft Server running in AWS

connellboyce/minecraft-server-state-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Minecraft Server State Manager Lambda Function

Start, Stop, and check the player count of a Minecraft Server running in Amazon EC2.

Prerequisites

  1. Ensure you have a working Minecraft Server running in an EC2 instance.
    • It is recommended to have a fixed IP address for this server.
  2. Enable 'query.enabled' property and (optional) change 'query.port'
  3. Create a Lambda layer for mcstatus
  4. Create a Schedule in EventBridge
  5. Update Environment Variables in Lambda to reflect your cloud environment

Enhancements

  1. Have the /start and /manage-status endpoints be invoked by a Discord bot

About

Lambda function to handle the starting, stopping, and status checking of a Minecraft Server running in AWS

Resources

Stars

Watchers

Forks

Languages