Tags
Creators
Details
Licensed ARR
Published last year
Updated 5 months ago
All versions
1.2
Release
AntiGrifer 1.2last year 36
Compatibility
Minecraft: Java Edition
1.21.4
Platform
Paper
Changes
Version 1.2
Added Features:
- Data Persistence: Implemented saving and loading of player playtime and trusted status to
data.ymlto ensure data is kept across server restarts. - Reload Command: Added the
/ags reloadcommand to allow administrators to reload the plugin's configuration and data without needing to restart the server. - Remove Trusted Command: Introduced the
/trusted remove <player>command for administrators to manually remove trusted status from a player. - Discord Integration: Added support for sending configurable notifications about specific events (restricted item usage, trusted status changes) to a Discord webhook.
- Configurable Messages: Messages for in-game commands and Discord notifications are now customizable via language files (
lang/en.yml,lang/ru.yml, etc.). - Configurable Restricted Items: The list of items restricted for non-trusted players can now be configured in
config.yml. - Language Support: The plugin now supports multiple languages through separate language files in the
langdirectory.
Improvements:
- Improved handling of player playtime tracking.
- Refactored configuration and data management into separate classes (
ConfigManager,DataManager). - Enhanced Discord webhook handling with better error reporting and JSON escaping.
Bug Fixes:
- Fixed issues with message display after plugin reload.
- Addressed potential
IllegalArgumentExceptionrelated to invalid Discord webhook URLs.
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:ZcDANgmk:xMMDDB6i"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:ZcDANgmk:xMMDDB6i"
}

