Links
Tags
Creators
Details
1.7.0
Compatibility
Changes
DealOrNoDeal v1.7.0
Added
- Papermc support
Tax System
- Added a new admin command /dond tax money <amount> to set a monetary fee for entering the game. (Requires Vault).
Ticket System
-
Added admin command /dond ticket setprice <amount> to set the purchase price for a game ticket.
-
Added player command /dond ticket buy, allowing players to purchase a ticket (a paper item with a custom name and lore) using money from Vault.
-
Added admin command /dond edit owner <name|clear>, allowing money from ticket sales to be automatically deposited into the specified "owner's" account if they are online.
Cooldown System
-
Added admin command /dond edit gametime <hours> <minutes> to configure a cooldown period that players must wait before they can play again.
-
Created a new file cooldowns.yml to store data on each player's last playtime.
Changed
Core change in /dond start <player>:
-
The game start logic has been completely overhauled to incorporate the new systems with the following priority:
-
Cooldown: The plugin first checks if the player is on cooldown. If they are, the game is blocked, and both the player and the admin are sent a message with the remaining time (in H/M/S format).
-
Ticket: If the player is not on cooldown, the plugin checks their inventory for a valid ticket. If one is found, 1 ticket is consumed, and the monetary tax is skipped.
-
Tax (Money): If the player does not have a ticket and a tax is configured (/dond tax), the money is taken from the player and transferred directly to the admin who executed the /dond start command.
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:vj8eGa1B:75Zb32hM"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:vj8eGa1B:75Zb32hM"
}

