Tags
Creators
Details
All versions
0.4.0
Beta
ProVouchers 0.4.05 months ago 14
Compatibility
Minecraft: Java Edition
26.1.x
Platforms
Folia
Paper
Purpur
Changes
ProVouchers 0.4.0
Added
- Persistent cooldowns: voucher cooldowns are now stored in the database and reloaded when a player joins, so they survive restarts. On a network sharing one database, a cooldown applies across all servers.
- Player-head and custom-skull voucher items via a new
item.skullblock, with four sources:texture(base64),url,name, anduuid. Texture and URL are stable and need no lookup; name and UUID resolve a skin asynchronously. - HeadDatabase (Arcaniax) heads are supported through the existing
custom:field anditem:reward (for examplecustom: "headdatabase:7129"). - Public developer API: a new
provouchers-apiartifact (so.alaz.provouchers:provouchers-api) exposing aVoucherService(query vouchers and codes, programmatic give) through Bukkit's services manager. - Redeem events for other plugins: cancellable
VoucherPreRedeemEventandVoucherCodePreRedeemEventto veto a redemption, and non-cancellableVoucherRedeemEventandVoucherCodeRedeemEventfired after a successful redeem.
Changed
- Now requires Strata 0.9.0 or newer (adds the ItemsAdder/Oraxen/Nexo/HeadDatabase item hooks and the vanilla skull builder used above).
- Item creation is now fully asynchronous, so skull sources that resolve a skin from Mojang never block the server.
Developer
provouchers-apiis published tohttps://repo.alaz.so/releases. Add it as acompileOnlydependency; the runtime classes ship inside the plugin.- See the new Developer API documentation at https://alaz.so/provouchers/docs/developers.
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:iOogVoaR:ORHzsoDP"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:iOogVoaR:ORHzsoDP"
}

