Skip to content

Commit

Permalink
feat: add more web fields
Browse files Browse the repository at this point in the history
  • Loading branch information
ThatKawaiiSam committed Mar 12, 2024
1 parent 6bfc645 commit 89a1e75
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 4 deletions.
4 changes: 4 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
- [ ] (optional) `presentationVideo`: YouTube video ID (in slug) to server trailer / introduction _(ex. `7EV4cPuJvXE`)_
- [ ] (optional) `website`: url of server website, must include URL schema (http:// or https://) _(ex. `https://www.your-server.com`)_
- [ ] (optional) `store`: url of server store, must include URL schema (http:// or https://) _(ex. `https://store.your-server.com`)_
- [ ] (optional) `wiki`: url of server wiki, must include URL schema (http:// or https://) _(ex. `https://wiki.your-server.com`)_
- [ ] (optional) `merch`: url of server merchanise site (if seperate from store), must include URL schema (http:// or https://) _(ex. `https://merch.your-server.com`)_

### Socials

Expand All @@ -42,9 +44,11 @@
- [ ] (optional) `facebook`: slug of facebook page _(ex. MyServer)_

### Compliance

- [ ] (optional) `privacyPolicy`: url to your Privacy Policy _(ex. https://www.lunar.gg/privacy)_
- [ ] (optional) `termsOfService`: url to your Terms of Service _(ex. https://www.lunar.gg/terms)_
- [ ] (optional) `rules`: url to your Rules _(ex. https://www.lunar.gg/rules)_
- [ ] (optional) `support`: url to your Support Site _(ex. https://www.lunar.gg/support)_

### Media:

Expand Down
4 changes: 2 additions & 2 deletions docs/adding-servers/metadata.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ You can define both `regions` (a list of all the regions your server supports) a
| OC | Oceania |
| SA | South America |

### Website/Store
### Website/Store/Merch/Wiki

The URLs to your server's website and store. These should be a valid URLs including their protocols (e.g. `https://`).
The URLs to your server's website, store, wiki, and/or merch. These should be a valid URLs including their protocols (e.g. `https://`).

### Socials

Expand Down
9 changes: 9 additions & 0 deletions metadata.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,15 @@
"website": {
"$ref": "#/definitions/WebAddress"
},
"wiki": {
"$ref": "#/definitions/WebAddress"
},
"store": {
"$ref": "#/definitions/WebAddress"
},
"merch": {
"$ref": "#/definitions/WebAddress"
},
"compliance": {
"type": "object",
"additionalProperties": false,
Expand All @@ -97,6 +103,9 @@
},
"rules": {
"$ref": "#/definitions/WebAddress"
},
"support": {
"$ref": "#/definitions/WebAddress"
}
}
},
Expand Down
4 changes: 3 additions & 1 deletion servers/hypixel/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"name": "Hypixel",
"website": "https://hypixel.net/",
"store": "https://store.hypixel.net/",
"wiki": "https://wiki.hypixel.net/",
"description": "Play the best Minecraft minigames for free!",
"addresses": [
"hypixel.net",
Expand Down Expand Up @@ -47,7 +48,8 @@
"compliance": {
"privacyPolicy": "https://hypixel.net/privacy",
"termsOfService": "https://hypixel.net/terms",
"rules": "https://hypixel.net/rules"
"rules": "https://hypixel.net/rules",
"support": "https://support.hypixel.net"
},
"presentationVideo": "bkWHyz1MmaQ",
"tebexStore": {
Expand Down
4 changes: 3 additions & 1 deletion servers/mccisland/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"name": "MCC Island",
"website": "https://mccisland.net/",
"store": "https://store.mccisland.net/",
"merch": "https://mcc.store/",
"description": "Play unique mini-games from Noxcrew's popular MC Championship event for FREE!",
"addresses": [
"mccisland.net",
Expand Down Expand Up @@ -36,7 +37,8 @@
"compliance": {
"privacyPolicy": "https://noxcrew.com/privacy-notice",
"termsOfService": "https://noxcrew.com/terms-of-service",
"rules": "https://mcchampionship.com/help/rules/"
"rules": "https://mcchampionship.com/help/rules/",
"support": "https://support.mccisland.net"
},
"presentationVideo": "7c1zWQoitig",
"tebexStore": {
Expand Down

1 comment on commit 89a1e75

@LunarClientBot
Copy link
Collaborator

@LunarClientBot LunarClientBot commented on 89a1e75 Mar 12, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📄 Documentation Deployment

Status:✅ Completed
Environment:preview
URL:https://2f26b2d1.lunarclient-dev.pages.dev

Please sign in to comment.