Links
Tags
Creators
Details
Licensed MIT
Published 4 months ago
Updated 2 months ago
All versions
1.0.0
Release
TownyElections 1.0.04 months ago 16
Uploaded by
Compatibility
Minecraft: Java Edition
26.2
26.1.x
1.21.4–1.21.11
Platforms
Paper
Purpur
Required content
Any compatible version
Changes
Initial release.
Added
- Candidacy system: residents can run for office with
/election runand withdraw with/election withdraw - Custom campaign messages that voters can see
- Town voting via
/election vote <candidate>, with optional vote changing - Full election lifecycle: nomination, voting, optional runoff, and results
- Automatic winner rewards: configurable Towny town ranks and/or mayorship granted when the election concludes
- Tie-breaker strategies:
RANDOM,EARLIEST,INCUMBENT,RUNOFF, andNONE - Optional auto-scheduling of recurring elections per town
- Configurable election durations, minimum and maximum candidates, and secret or live ballots
- Renamable sub-commands
- Custom console commands run on win and on loss, with placeholders
- PlaceholderAPI support (election phase, time left, candidate count, vote count, and more)
- Persistence: active elections and results survive server restarts
- Editable, colourised messages with legacy
&and hex&#RRGGBBcolour support
Requirements
- Paper 1.21.4+
- Java 21+
- Towny (required)
- PlaceholderAPI (optional)
Optional dependencies
Any compatible version
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:yKVhrh0Q:JO3byOAT"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:yKVhrh0Q:JO3byOAT"
}

