https://github.com/mineinabyss/plugin-schemas
JSON schemas for common Minecraft plugin configs, generated from TypeScript
https://github.com/mineinabyss/plugin-schemas
Last synced: 8 months ago
JSON representation
JSON schemas for common Minecraft plugin configs, generated from TypeScript
- Host: GitHub
- URL: https://github.com/mineinabyss/plugin-schemas
- Owner: MineInAbyss
- Created: 2024-10-13T02:24:06.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-12-14T00:06:12.000Z (over 1 year ago)
- Last Synced: 2025-09-02T11:34:43.020Z (10 months ago)
- Language: TypeScript
- Size: 199 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Schemas for Minecraft plugin tools
These are manually transcribed schemas for common config formats seen in Minecraft. We write TypeScript definitions for them and generate the schema using typescript-json-schema.
## Schemas
Here's everything we have so far:
- MythicMobs (Transcribed from their [official docs](https://git.mythiccraft.io/mythiccraft/MythicMobs/))
## Usage
Just point your IDE to the raw generated schema file on GitHub, many IDEs will support doing this by adding a comment at the top of the file:
```yaml
# yaml-language-server: $schema=https://raw.githubusercontent.com/MineInAbyss/plugin-schemas/refs/heads/master/generated/mythicmobs.json
```
## Building
- Install [deno](https://deno.com/)
Then run the generator, pass a project name as an argument:
```bash
deno install
deno --allow-all generator.ts mythicmobs
```