the modern server list
Go to file
2024-09-11 17:38:25 -05:00
.github fix: edit issue templates 2024-08-11 14:24:25 -05:00
cron feat: added version to changelog 2024-09-10 17:45:03 -05:00
docs fix: typo in docs 2024-09-11 17:38:25 -05:00
public feat: updated server list 2024-09-06 20:14:59 -05:00
src chore: add a viewport 2024-09-10 20:57:44 -05:00
.eslintrc.json Today, I want React to shut up! :| react/display-name 2024-08-07 16:46:21 -05:00
.gitignore feat: new documentation! 2024-09-03 23:56:15 -05:00
biome.json feat: achievements 2024-09-08 22:34:51 -05:00
components.json beauty: cleaning up lots of code, cleaning up changelog 2024-08-08 17:56:40 -05:00
contentlayer.config.js chore: adding achievement documentation 2024-09-10 19:51:11 -05:00
LICENSE Create LICENSE 2024-08-06 14:13:07 -05:00
next.config.mjs feat: new documentation! 2024-09-03 23:56:15 -05:00
package.json feat: added version to changelog 2024-09-10 17:45:03 -05:00
postcss.config.mjs Initial commit from Create Next App 2024-05-31 16:22:34 -05:00
README.md feat: adding new way to make your mark 2024-08-12 12:47:20 -05:00
tailwind.config.ts feat: new hero page (v1.1.0) 2024-08-24 12:37:08 -05:00
tsconfig.json fix: didn't compile 2024-09-04 18:28:29 -05:00
turbo.json all together now: 0.4 2024-07-26 00:46:53 -05:00
vercel.json fix: i cant ditch inngest :( 2024-08-07 21:20:17 -05:00
yarn.lock feat: achievements 2024-09-08 22:34:51 -05:00

MHSF

An open-source customizable server-list for Minehut built in React. Check it out at list.mlnehut.com, and maybe give this repo a star! :)

Warning

If you want more of a explanation what this is, please use the built-in info popover. This README is mostly for contributing. Thanks!

Info

Alt

Tech-stack

React: Component based syntaxing for the web
Next.js: Handles API, server-based metadata, and so much more.
Clerk: Authentication for MHSF (very cool library)
TailwindCSS: Styling without CSS, simplified
shadcn/ui: Provides the awesome UI for MHSF
And many other smaller libraries are in use to make sure MHSF is feature-packed.

Contributing

Note

Do you use Java and not JavaScript/TypeScript? You can also contribute to MHSFPV (Minehut Server List Player Validator), a player validator plugin to link accounts. It's relatively small, but can use commits.

If you'd like to contribute, you must follow the guidelines below:

  • Make sure to lint (yarn lint) every time you finish lines of code
  • Use common sense! Don't make comments that could offend someone, or just seems like a bad ideaa
  • Be respectful when making your PR. We would love to take your code, but if you argue, it doesn't help.

Building

Clone the repo!

First, you must supply the following services with API keys:

  • Clerk: Create an app and put the respective keys in .env.local
  • MongoDB: Create a database, can be anywhere, and put the location to connect in .env.local for the key MONGO_DB (this isn't required by any means, but if you want to store any short term or historical data, use this.)
  • Inngest: Inngest is a smaller library, but runs the cron jobs which will make servers automaticly get added to the database.

Important

This project uses yarn as the main package manager. If package-lock.json is present (or any other package manager's lockfile), your pull request will be harder to sort out, please save some work by using yarn at the start.

Second, run yarn and yarn build. To start the app, run yarn start.

Dev

Swap yarn build for yarn dev.

Make your mark

If you'd like, you can add a 88x31 badge image to the end of the changelog, which can link to a website of your choice as long as the image and the website are PG13. Add your image to /public/imgs and name it one up from the highest badge so for example, if the badge thats the highest is badge2.png, name yours badge3.png. Here is a code example of how to add your badge. In /src/version.tsx:

<Link href="<your website>">
  <Image src="/imgs/badge3.png" alt="<your username>" width={88} height={31} />
</Link>

Licensing

MHSF (aka the Minehut Server List) is licensed under the MIT License. You are free to fork or modify this software on your own terms.