Tags
Creators
Details
1.1.2
Compatibility
Changes
Added arguments (#182)
- Add support for dynamic arguments in dialogs via
dialog.open(player, args) - Arguments can be referenced in dialog content using
{arg:0},{arg:1}, etc. - Arguments work in title, body text, input labels/placeholders, button labels/tooltips, and clipboard actions
- Updated
/dialog opencommand to accept optional arguments - Updated
open_dialogaction and FancyNpcs integration to support arguments
Added requirements (#201)
Created a new configuration option to Buttons & Inputs (Checkbox, Select, Textfield) to have a requirement for it to appear in a dialog. Currently these requirements are permission or string match - being
requirements: {
"type": "permission",
"permission": "my.permission"
}
or
requirements: {
"type": "stringMatch",
"input": "%player_name%",
"output": "mesemi"
}
resulting in the item displaying if conditions are met (perm is held, or %player_name% resolves to mesemi)
Exit actions, widths and columns (#204)
- Added width for buttons, selects and textfields
- Added columns for dialogs (for dialogs that match multi_action, a "column" parameter can be used to change columns)
- Added exitAction for multi_action dialogs (basically a footer button with custom action, but mainly for close buttons)
Thank you to WiFlow and mesemi for their contributions to these features!
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:Sx6YwpnK:FDN3VGi4"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:Sx6YwpnK:FDN3VGi4"
}

