Skip to content

Latest commit

 

History

History
85 lines (48 loc) · 2.93 KB

File metadata and controls

85 lines (48 loc) · 2.93 KB

Q Applet: Minecraft Server Status

Displays the status of your chosen Minecraft server as a row of colours on your keyboard. The first key indicates if the server is online, following keys indicate the number of players.

GitLab repository

Example

Minecraft server is online, but no players

Minecraft server is online.

Minecraft server is online, with 1 player

Minecraft server is online with 1 player.

Minecraft server is offline

Minecraft server is offline.

Changelog

CHANGELOG.MD

Installation

Requires a Das Keyboard Q Series: www.daskeyboard.com

Installation, configuration and uninstallation of applets is done within the Q Desktop application.

  1. Clone the repository with Git or download it as a ZIP and unzip it.
git clone https://gitlab.legitcorp.com/daskeyboard/minecraft-server-status.git
  1. Open a terminal or cmd or PowerShell inside the folder and run yarn. If you're on Windows see this guide on installing Yarn first.

  2. Open the Q Das Keyboard applet, click the Gear ⚙ menu and click toggle dev menu.

  3. A new icon near the top-right will appear looking like </> click this and click load applet.

  4. Navigate to the folder holding the Applet and click OK.

  5. Follow displayed instructions.

Compiling

  1. Clone the repository with Git.

git clone https://gitlab.legitcorp.com/daskeyboard/minecraft-server-status.git

  1. Open a terminal or cmd or PowerShell inside the folder and run yarn.

  2. You're done

A VSCode task inside tasks.json will run the index.js file for you for testing, it is called Run test this includes the Das Keyboard dev command-line arguments you need to test from the command-line.

Running tests

Host a local Minecraft server on 127.0.0.1 and port 25565, or modify test/config-0-players.json to point to another server. Or just ignore the test for #getMinecraftStatus()

  1. Run yarn test.

Contributions

Contributing

Issues and Pull Requests Welcome \o/ Please make them on my GitLab here (You can sign in with GitHub.) (Changes will be mirrored to GitHub.)

Corporate jargon

Copyleft 2022 Legitcorp. If you like anime join my cult.