A Daily Login Bonus plugin for Paper MC server software. Uses Vault as a dependency.
DailyLoginBonus
DailyLoginBonus is a customizable daily login bonus plugin for the PaperMC server software. It allows you to set a custom daily login bonus amount, and the percentage it should increase with the players daily streak.
Features
- Customizable daily login bonus.
- Customizable reward cooldown (default 12 hours).
- Customizable streak reset time (default 24 hours).
- Customizable daily streak percentage increase (default 20%).
Installation
- Download the latest release of DailyLoginBonus from the Releases page.
- Place the downloaded JAR file in the
plugins
directory of your Paper 1.20 - 1.21.1 server. - Start your Paper server to generate the default configuration file.
Configuration
After running the server for the first time with DailyLoginBonus installed, a default configuration file will be created in the plugins/dailyloginbonus
directory.
Configuration File
The configuration file config.yml
allows you to customize the plugin. Here is the default configuration:
baseReward: 5000
percentageIncrease: 20
cooldownHours: 12
streakResetHours: 24
Development
Prerequisites
- Java 21
- Maven
Building
Clone the repository and build the plugin using Maven:
git clone https://github.com/AdrianJoeK/DailyLoginBonus.git
cd DailyLoginBonus
mvn package
The compiled JAR file will be located in the target directory.
License
DailyLoginBonus is licensed under the AGPL-3.0 License. See the LICENSE file for more details.
Contributing
Contributions are welcome! Please open an issue or submit a pull request on GitHub.