Tags
Creators
Details
Licensed MIT
Published 2 weeks ago
Updated 3 weeks ago
All versions
1.0.1
Release
TownyMenu 1.0.1last month 9
Uploaded by
Compatibility
Minecraft: Java Edition
26.3
26.2
26.1.x
1.21.x
Platform
Paper
Required content
Unavailable version
Changes
Improvements
Town Menu
- Claiming, unclaiming, filling gaps, and taking over a claim now show what this server charges — or refunds — per chunk, and Claim Outpost shows the outpost price.
- Go to Spawn and Outposts show what the trip costs you, and each outpost in the outpost list shows it too.
- Reclaiming ruins no longer shows a cost line on servers where reclaiming is free.
- Renaming a town and changing its map colour show their cost.
- Visiting another town shows what it will actually charge you, which depends on whether you are a resident, a nation member, an ally, or an outsider. Merging another town into yours shows what the merge costs.
Nation Menu
- Go to Spawn and visiting another nation show what the trip costs you.
- Renaming a nation, changing its map colour, and moving the capital show their cost.
Plot Menu
- Claiming the wilderness you stand in shows the claim price, and Claim as Outpost shows the outpost price.
- Change Plot Type now shows what each type costs, multiplied across the group when the plot is in one.
Resident Menu
- Go to Spawn shows what the trip costs you.
Misc
- Prices are hidden on servers with no economy, and free actions no longer carry an empty cost line.
- Icon tooltips are easier to read: a blank line now sits under every icon's name, and its description, details, and costs are separated into blocks instead of running together.
- What a click does is now set off at the bottom of every tooltip by a divider line, so an icon's actions are easy to spot without reading the whole tooltip.
- Lines that pack two or three values together — Open and Public, PvP and Mobs, Allies and Enemies — now separate them with a dot instead of a gap, so the pairs no longer blur into one another.
Technical Details
Build
copyPluginnow deletes olderTownyMenu-*.jarfiles fromrun/plugins/before copying the new build, so bumping the version no longer leaves the test server with two copies of the plugin. The same cleanup for Towny's own jar now runs even when Gradle considers the copy up to date.
Misc
- Added a
Pricesutility that works out what a menu action costs — claims, outposts, spawn travel, plot types, town merges — from Towny's config and the town or nation involved, andMenu.costLine/Menu.priceLineto turn an amount into lore. Pickers.optiontakes alineslambda for per-option lore.- Added
LoreBlocks, which lays an icon's lore out in blocks: a blank line under the display name, single separators between blocks, a divider rule sized to the longest line above the actions, and no separator left dangling at either end. TheitemStackDSL exposes it asloreBreak()andloreActions(...). Icons.icon,toggle,resident,town, andnationtake a namedactionslist for click hints and separate their own lore blocks, so every menu spaces its icons the same way without repeating""separators at call sites.LoreUtil.columnsexposes the column width of a string, the measurewrapLorealready wrapped on.
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:T7gJlj6l:OmmwQHpC"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:T7gJlj6l:OmmwQHpC"
}

