Skip to content
Closed
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
## Supported Minecraft Versions

Per section 5.1 of %RULES%, it is important that the metadata of your project is accurate, including which Minecraft versions are supported. \
Please ensure that your project's supported game versions are listed accurately.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## Supported Loaders

Per section 5.1 of %RULES%, it is important that the metadata of your project is accurate, including which loaders are supported. \
Some %PROJECT_VERSIONS_FLINK% of your project may be labeled with loaders that are not properly supported. \
Please ensure that your project's supported loaders are listed accurately for all %PROJECT_VERSIONS_FLINK%.
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
Some of the external content in this project may include native code usage or binary files. \
If the files listed are your own, please follow the instructions below, otherwise, we ask that you remove this content from your modpack.

- %LIST_MODS_HERE%

<details>
<summary>Instructions</summary>

## Source Code Requested

To ensure the safety of all Modrinth users, we ask that you provide the source code or equivalent origin for any native code or binary files in use by this project.

If these files are your own work:

- Ensure that our moderation team is able to verify the safety of your source code and that compiled outputs match provided sources.
- Ensure that binary files are built through transparent automation so we can verify from the provided source code is always identical to the files uploaded to Modrinth.

We understand that you may not want to publish the source code for this project, so you are welcome to share it privately to the [Modrinth Content Moderation Team](https://github.com/ModrinthModeration) on GitHub.
Remember to ensure your repository is up-to-date with the content being published on Modrinth.

If these files are third-party work:

- Please provide a publicly available link to the origin of the files or source-code from a known safe source, including the exact version used if applicable.

</details>
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ If these files are your own work:
- Ensure that binary files are built through transparent automation so we can verify from the provided source code is always identical to the files uploaded to Modrinth.

We understand that you may not want to publish the source code for this project, so you are welcome to share it privately to the [Modrinth Content Moderation Team](https://github.com/ModrinthModeration) on GitHub.
Remember to ensure your repository is up-to-date with the content being published on Modrinth.

If these files are third-party work:

- Please provide a publicly available link to the origin of the files or source-code from a known safe source.
- Please provide a publicly available link to the origin of the files or source-code from a known safe source, including the exact version used if applicable.
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
Some of the external content in this project may be obfuscated. \
If the files listed are your own, please follow the instructions below, otherwise, we ask that you remove this content from your modpack.

- %LIST_MODS_HERE%

<details>
<summary>Instructions</summary>

## Obfuscation on Modrinth

To ensure the safety of all Modrinth users, projects may only be uploaded with obfuscated code under specific circumstances.</br>

- Projects that use third-party code or assets required by law or licensing restrictions to remain obfuscated.
- Projects where the obfuscation demonstrably benefits end users in a way critical to its functionality or safety.
- Projects where obfuscation is required to prevent the bypass of critical authorization checks.

### Uploading your project to Modrinth without obfuscation

If your project does NOT qualify for one of the above exemptions, we ask that you:

- Remove the use of obfuscation from your project.
- Remove all versions containing obfuscated code from your project before resubmission.

### Uploading your qualifying project with obfuscation

If you believe your project should be permitted to use obfuscation, you must follow all steps when resubmitting your project:

- Provide sufficient evidence that your project falls into one of the allowed exemptions.
- Ensure that our moderation team is able to verify the safety of your source code and that compiled outputs match provided sources.

We understand that you may not want to publish the source code for this project, so you are welcome to share it privately to the [Modrinth Content Moderation Team](https://github.com/ModrinthModeration) on GitHub.</br>
Please be aware that you will be required to maintain up-to-date sources indefinitely, your project may be rejected without warning if our moderation team is unable to confirm that any version of your project originates from verifiably safe sources.

We strongly recommend that you use an automated build system to ensure that your project's outputs verifiably originate from the provided source code and are always identical to the files uploaded to Modrinth.</br>

Alternatively, please ensure your provided sources contain:

- Instructions to reliably produce both non-obfuscated and obfuscated builds within a fresh environment.
- No non-deterministic obfuscation methods.

Finally, please note that we broadly discourage the use of obfuscation and advise against it unless absolutely required, and that the review of your project will require significantly more time when obfuscation is used.

</details>
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,20 @@ export default [
(await import('../messages/quick-replies/tech-review/request-source-bin.md?raw')).default,
private: false,
},
{
label: '🔒 Request Source (Obf) - MODPACK',
message: async () =>
(await import('../messages/quick-replies/tech-review/request-source-obf-modpack.md?raw'))
.default,
private: false,
},
{
label: '📦 Request Source (Bin) - MODPACK',
message: async () =>
(await import('../messages/quick-replies/tech-review/request-source-bin-modpack.md?raw'))
.default,
private: false,
},
{
label: '🚫 Misused Obfuscation',
message: async () =>
Expand Down
7 changes: 6 additions & 1 deletion packages/moderation/src/data/stages/metadata.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,12 @@ export default function () {
),

toggle('dependencies', 'Dependencies').suggestedStatus('flagged').message(),

// good enough for now.
toggle('game-versions', 'Game Versions').suggestedStatus('flagged').message(),
toggle('loaders', 'Loaders')
.suggestedStatus('rejected')
.shown(!project.value.minecraft_server)
.message(),
// toggle('loader', 'Loaders (WIP)')
// .suggestedStatus('flagged')
// .rawMessage(async (state) => {
Expand Down
Loading