1.2-SNAPSHOT
Compatibility
Changes
Supply and Demand Update
This update brings the concept of supply and demand to pokesell. Every pokemon sold in the server all account for a lower price being set due to too high of a supply! You can edit how the supply affects the price of pokemon in the configs and this update brings the following configs:
"enableDecayingPrices": true,
"decayPercentage": 1.01,
"staticCoefficient": 1.0,
"enableDynamicCoefficient": false,
"targetZeroValue": 1000.0,
"hourlySoldDecay": 0.1,
Where the configs do the following:
- enableDecayingPrices
- Enables the price decay itself, disable if you don't want dropping prices
- decayPercentage
- Chooses how quickly it decays, follows a formula I will show at the bottom
- enableDynamicCoefficient
- The mod will automatically pick a coefficient in the formula
- targetZeroValue
- Set a sell amount where you would like the price to reach 0 at
- hourlySoldDecay
- How many of the pokemon will be removed from the sold bucket each hour, this 0.1 would mean that each hour 10% of the pokemon would be removed causing the prices to go back up
The formula used is
basePrice - coefficient*decayPercentage^amountSold
This formula gives a nice and smooth curve and will allow the drop price to gradually speed up
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:MCWoGlXJ:XNon4DcY"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:MCWoGlXJ:XNon4DcY"
}

