1.1
Compatibility
Changes
Features:
Fish Menu:
Players can open a special inventory menu using the command /fishmenu. The menu displays options for selling raw fish, buying cooked fish, purchasing experience bottles, and acquiring random enchanted books. Currency System:
Players can check their current fish coin balance using the command /fishcoins. Fish coins are earned by selling raw fish and can be spent to purchase various items in the fish menu. Enchanted Books:
Players can buy random enchanted books in the fish menu using fish coins. The books contain enchantments such as Lure, Luck, and Durability. Experience Bottles:
Players can purchase experience bottles in the fish menu to gain additional levels. Cooked Fish:
Cooked fish can be bought in the fish menu using fish coins. Help Command:
Players can use the command /fishhelp to receive information about the FishPlugin and its features. Implementation:
The plugin is structured as a Java class (FishPlugin) that extends JavaPlugin and implements the CommandExecutor and Listener interfaces. It utilizes Bukkit's event system to handle player joins, inventory clicks, and other events. The configuration is managed through YAML files to store player data and item prices. Usage:
Install the plugin on a Bukkit-enabled Minecraft server. Players can use commands like /fishmenu, /fishcoins, and /fishhelp to interact with the fishing economy features. Customize item prices and default configurations in the YAML files as needed.
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:CtYGO58N:YscCWxaS"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:CtYGO58N:YscCWxaS"
}

