Tags
Creators
Details
1.0
Compatibility
Required content
Changes
Shadow Crate Release Changelog
- i fixed the database issue, where it wouldn't let you withdraw prizes from storage.
- I fixed the problems with keys permissions.
- I modified the global and private message announcement system to be per prizes and can be disabled enabled.
- I added placeholders that can be used in any mod that uses
PlaceholderAPI-Text
New Format for Prizes:
Item:
{
"type": "item",
"weight": 29.0,
"material": "minecraft:anvil",
"amount": 1,
"displayname": "&8Forge of Champions",
"lore": [
"&7Enhance your gear with ease",
"&bA must-have for any warrior"
],
"enchantEffect": false,
"messageGlobal": true,
"messagePlayer": true,
"broadcastGlobal": "&6[Crate] &e%player% &7won &6%prizes% &7from &b%cratename%&7!",
"broadcastPlayer": "&aYou opened &b%cratename% Crate &aand received &6%prizes%&a!"
}
Commands:
{
"type": "command",
"weight": 5.0,
"command": "pokegiveother %player% bulbasaur",
"messageGlobal": true,
"messagePlayer": true,
"broadcastGlobal": "&6[Crate] &e%player% &7won &6%prizes% &7from &b%cratename%&7 Crate!",
"broadcastPlayer": "&aYou opened &b%cratename% Crate &aand received &6Bulbasaur&a!",
"displayItem": {
"material": "cobblemon:item:bulbasaur",
"amount": 1,
"displayname": "&aBulbasaur",
"lore": ["&7A classic starter!"],
"enchantEffect": true,
"customModelData": 1001
}
}
- Remove the lines at the beginning of the config from each crate.
"broadcastMessage": "",
"broadcastPlayer": "",
Placeholders
%shadowcrates:total_opened%
➜ Displays the total number of crates the player has opened across all crate types.
%shadowcrates:opened_<crate>%
➜ Shows how many times the player has opened a specific crate.
Example: %shadowcrates:opened_pokemon%
%shadowcrates:last_opened_crate%
➜ Displays the name of the last crate the player opened.
%shadowcrates:last_won_prize%
➜ Shows the name of the last prize the player received (without formatting or colors).
%shadowcrates:last_crate_time%
➜ Returns the exact date and time of the last crate the player opened.
Format: YYYY-MM-DD HH:mm:ss
%shadowcrates:storage_count%
➜ Shows how many unclaimed rewards the player currently has stored.
%shadowcrates:prizes_won%
➜ Displays the total number of prizes the player has won from crates.
%shadowcrates:virtual_keys_<crate>%
➜ Returns how many virtual keys the player owns for a specific crate.
Example: %shadowcrates:virtual_keys_pokemon%
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:f136wypQ:N7ujqFnc"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:f136wypQ:N7ujqFnc"
}

