The Sell Plugin is a comprehensive solution for Minecraft servers that allows players to sell items directly from their inventory. It offers various selling methods, including automatic selling and shift-based selling. The plugin also integrates with the Vault plugin to handle in-game currency transactions.
- Sell Command: Players can use the
/sell
command to sell items from their inventory. The plugin checks for specific permissions and provides feedback via action bars. - Auto Sell: Players can activate automatic selling with the
/autosell
command. Once activated, items are automatically sold from their inventory at a specified interval. - Shift Sell: By using the
/shiftsell
command, players can activate or deactivate the shift-based selling feature. When activated, players can sell items by simply sneaking. - Bonus System: Players can receive bonuses on their sales based on their permissions. For instance, a player with the permission
sellplugin.bonus.43
would receive a 43% bonus on their sales. - Customizable Messages: Server administrators can customize feedback messages, such as the selling confirmation and bonus notifications.
- Configurable Item Prices: The plugin allows server administrators to set prices for specific items in the configuration.
- Ensure you have the Vault plugin installed, as this plugin requires it for economy integration.
- Download and build the Sell Plugin following the build section.
- Place the compiled
.jar
file into your server'splugins
directory. - Restart your server.
- Configure the plugin as needed by editing the generated configuration file.
To build the Sell Plugin from source, follow these steps:
- Ensure you have Gradle installed on your machine.
- Clone the repository to your local machine.
- Navigate to the project directory.
- Run the following command to build the plugin using Gradle and the ShadowJar plugin:
./gradlew shadowJar
- Upon successful build, the compiled
.jar
file with all its dependencies can be found in thebuild/libs
directory.
For optimal performance and compatibility, it's recommended to use the following versions:
- Java: Version 11
- Minecraft Server: 1.8.8
- Gradle: Latest stable release
Ensure that your server and development environment align with these recommendations to avoid potential issues.
For any issues, suggestions, or bugs, please open an issue/pull request.