Tags
Creators
Details
1.0.0
Compatibility
Changes
Expanded Functionality of AnhyShop Plugin Version 1.0.0
AnhyShop in version 1.0.0 introduces a new concept of "Sellers," which allow players to interactively trade with merchants through in-game objects. This enhances the trading experience by providing a more dynamic and convenient management of trading processes on the server.
Key Features of "Sellers":
- Types of "Sellers":
- Mechanical Objects: Buttons, doors, levers are identified by their type and the exact coordinates of their location.
- Signs: Identification is based on the material type and the text displayed on the sign. Signs can be placed in different locations, but the text on them will determine a single "Seller."
- Mobs with Custom Names: Utilizes the type of mob and its unique name for identification. Only mobs with custom names can become "Sellers."
- Wandering Traders: All wandering traders, once linked, are recognized as one "Seller," allowing for a uniform change to their trading inventories.
- Villagers: Identified by profession and level. Creating a "Seller" from a villager of a specific profession and level replaces standard trade operations for all similar villagers.
Commands to Manage "Sellers":
Note: All the commands listed below are available only to players with the anhyshop.seller permission.
-
Creating a "Seller":
- Command:
/shop seller add <trader_key> - Description: Creates a "Seller" from the object the player is looking at, linking it to a selected trader using a unique key
<trader_key>. The player must be within 5 blocks of the object.
- Command:
-
Removing a "Seller":
- Command:
/shop seller remove <seller_id> - Description: Removes a "Seller" using its unique numerical identifier
<seller_id>.
- Command:
-
Viewing Information about a "Seller":
- Command:
/shop seller view <seller_id> - Description: Displays detailed information about the "Seller," including its type, location, linked trader, and identifier.
- Command:
-
Listing All "Sellers":
- Command:
/shop seller list - Description: Displays a list of all existing "Sellers," with the ability to copy
<seller_id>to the clipboard, simplifying the management of identifiers for further operations.
- Command:
These updates significantly enhance player interactions with traders, providing greater control and customization options for trading processes on Minecraft servers.
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:Yp5yEABu:o2pA1Zq1"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:Yp5yEABu:o2pA1Zq1"
}

