Tags
Creators
Details
1.0.1
Compatibility
Changes
Massive World Loading Optimization
Major improvements to world loading and generation.
⚡ What's New
- Faster world loading
- Maximum match time configuration
- Random spawn radius
- Per-world border support
- Custom world name prefixes
- Individual Nether & End dimensions
⚙️ New Configuration Options
max-match-time: 0 # Max match length in minutes, 0 = unlimited
spawn-radius: 100 # Per-world random respawn radius around spawn, 0 = exact spawn
border: 3000 # World border size in blocks (centered on spawn), 0 = disabled
name-prefix: ds # Prefix for generated world names (e.g. "ds_0")
generate-dimensions: true # Give every game world its own Nether and End
# false = share server defaults
🔌 API
A new public API is now available for integrating DeathSwap with other plugins.
- Access DeathSwap game and player data
- Interact with DeathSwap matches
- Easier integration with other plugins
🔤 PlaceholderAPI
Requires PlaceholderAPI.
The expansion registers under both deathswap and ds.
Both formats are supported:
%deathswap_<name>%
%ds_<name>%
Available Placeholders
| Placeholder | Description |
|---|---|
%deathswap_state% |
Player's game state: none, lobby, match or spectator |
%deathswap_deaths% |
Current death count in the match (0 if not in a match) |
%deathswap_deaths_left% |
Deaths remaining before elimination |
%deathswap_max_deaths% |
Configured max-deaths limit |
%deathswap_players_in_lobby% |
Players currently waiting in the lobby |
%deathswap_min_players% |
Required players to start |
%deathswap_swap_interval% |
Configured seconds between swaps |
%deathswap_next_swap% |
Seconds until the next swap (0 = swapping now; full interval outside a match) |
Optional dependencies
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:KFeMJeDW:nOGmEVl3"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:KFeMJeDW:nOGmEVl3"
}

