Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
We've recently launched %SHARED_INSTANCES_FLINK% which allow you to share your modpacks directly to other users. This feature may be better suited for your use case than creating a project page!
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
## Private Use

Under normal circumstances, your project would be rejected due to the issues listed below. \
However, since it looks like this project is primarily intended to be shared privately or amongst a specific community, these requirements will be waived so your project can remain Unlisted.

If you're okay with this, or submitted your project to be unlisted, then no further action is necessary. \
If you would like to publish your project publicly, please address all moderation concerns before resubmitting this project.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## Private Community

Under normal circumstances, your server would be rejected due to the issues listed below.
However, since your server is intended for a private community, these requirements will be waived and your server project will be unlisted. This means it will remain accessible through a direct link without appearing in public search results, allowing you to share it privately.
If you're okay with this, or submitted your server to be unlisted already, than no further action is necessary.
Under normal circumstances, your server would be rejected due to the issues listed below. \
However, since your server is intended for a private community, these requirements will be waived so your project can remain Unlisted.

If you're okay with this, or submitted your server to be unlisted, then no further action is necessary. \
If you would like public modrinth users to see and connect to your server, please address all moderation concerns before resubmitting.
36 changes: 27 additions & 9 deletions packages/moderation/src/data/stages/status-alerts.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import {
getBooleanChildState,
group,
isNodeActive,
md,
resolveChildren,
stage,
toggle,
Expand Down Expand Up @@ -66,18 +67,35 @@ export default function (
}),
),

//TODO: chyz combine these
toggle('private-use', 'Private use')
.shown(computed(() => !project.value.minecraft_server))
.suggestedStatus('flagged')
.message()
.priority(Priorities.alerts),
.priority(Priorities.alerts)
.rawMessage(async (state) => {
let msg

toggle('private-use-server', 'Private community')
.shown(computed(() => !!project.value.minecraft_server))
.suggestedStatus('flagged')
.message()
.priority(Priorities.alerts),
if (
project.value.minecraft_java_server &&
project.value.minecraft_java_server.content?.kind === 'modpack'
) {
msg =
(await md('checklist/messages/status-alerts/private-use/server')(state)) +
'\n' +
(await md('checklist/messages/status-alerts/private-use/note/shared-instance')(
state,
))
} else {
msg = await md('checklist/messages/status-alerts/private-use/project')(state)
if (project.value.project_types.includes('modpack')) {
msg +=
'\n' +
(await md('checklist/messages/status-alerts/private-use/note/shared-instance')(
state,
))
}
}

return msg
}),

toggle('server-use', 'Server use')
.shown(
Expand Down
2 changes: 2 additions & 0 deletions packages/moderation/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,8 @@ export function flattenStaticVariables(): Record<string, string> {
vars[`NEW_ENVIRONMENTS_LINK`] = `https://modrinth.com/news/article/new-environments`
vars[`LEARN_MORE_ABOUT_SERVERS_FLINK`] =
`[learn more about server projects from our news feed](https://modrinth.com/news/article/introducing-server-projects/)`
vars[`SHARED_INSTANCES_FLINK`] =
`[Shared Instances](https://modrinth.com/news/article/shared-instances/)`

return vars
}
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/AGENTS.md