1.4.1
Compatibility
Changes
Event System
Mivex now supports server events.
The first available event is First Trade.
First Trade
When a player creates their first shop and successfully sells an item to another player, both players receive a configurable Phantom Membrane reward.
The event can be fully configured:
- Enable or disable the event.
- Configure the reward amount.
- Set a duration in hours.
- Disable the time limit by setting
duration-hours: 0.
Events automatically stop after the configured duration has expired.
This update introduces the foundation for future Mivex events. Setup instructions:
events:
enabled: true
duration-hours: 0
first-trade:
enabled: true
reward: 5
Configuration
enabled— Enables or disables the entire event system.duration-hours— Sets how long events remain active.
duration-hours
0= No time limit. The event will remain active untilenabledis set tofalse.- Any value greater than
0= The event will automatically end after the specified number of hours from the first plugin startup, regardless of theenabledvalue.
Example:
duration-hours: 72
The event will automatically end 72 hours after the plugin is started for the first time.
uaУкраїнською
Система подій
Mivex тепер підтримує події сервера.
Перша доступна подія - Перша торгівля.
Перша торгівля
Коли гравець створює свій перший магазин та успішно продає предмет іншому гравцеві, обидва гравці отримують налаштовану винагороду у вигляді Фантомної мембрани.
Подію можна повністю налаштувати:
- Увімкнути або вимкнути подію.
- Налаштувати суму винагороди.
- Встановити тривалість у годинах.
- Вимкнути обмеження часу, встановивши
duration-hours: 0.
Події автоматично зупиняються після закінчення налаштованої тривалості.
Це оновлення закладає основу для майбутніх подій Mivex.
Інструкції з налаштування:
events:
enabled: true
duration-hours: 0
first-trade:
enabled: true
reward: 5
Конфігурація
enabled— Вмикає або вимикає всю систему подій.duration-hours— Встановлює, як довго події залишаються активними.
duration-hours
0= Без обмежень за часом. Подія залишатиметься активною, доки дляenabledне буде встановлено значенняfalse.- Будь-яке значення більше за
0= Подія автоматично завершиться через зазначену кількість годин з моменту першого запуску плагіна, незалежно від значенняenabled.
Приклад:
duration-hours: 72
Подія автоматично завершиться **через 72 години після першого запуску плагіна.
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:u8BcEmMf:6XWdxI1I"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:u8BcEmMf:6XWdxI1I"
}

