This plugin is designed to add a login streak to your server. How it works, is that every day you log in it will add a day to your total days in your streak. The owner (You) can then set custom rewards for any day such as day 7. Ex. You can run a command to give the player /heal on day 7 of their login streak. You can use /streak to check your streak total at any time. Server administrators can also use /loginstreak backup and can set an auto backup system to ensure that they don't lose data!
Note: In the config file, there are 2 permissions, in version 1.0, 1.1, 2.1.0 and 2.1.1 loginstreaks.streaklb is not used so please ignore it!
Note: This plugin uses bStats to collect anonymous data about the servers it is installed on. To disable bStats look for its config in /plugins/bStats/ and disable the data collection.
-- Permissions --
By default, the permissions are loginstreaks.streak to allow the player to use /streak and see their current streak.
LoginStreaks is also completely customizable and allows all messages and permissions to be changed through the config.yml which can be found after the plugin has been run once. Also in the config.yml file you will find the rewards section with documentation on how to add custom rewards for each day.
-- Installation Instructions --
To install, just place the jar in your server's plugin folder along with Vault which is a dependency. (Note in V3.0.0+ you do not need the economy plugin as long as you disable economy in the config and read what you cannot do) You will also need a plugin which hooks into Vault such as EssentialsX. To check if you have a economy plugin installed perform the command "/vault-info" and look at the economy section. If there is some information there about your economy plugin you are good.
Vault can be found here:
https://www.spigotmc.org/resources/vault.34315/
-- Optional Dependencies --
Placeholder API (PAPI) is an optional dependency which when installed with LoginStreaks allows you to use the %loginstreak_playerdays% placeholder. This placeholder will display the number of days a player has logged in in a row, the same info as /streak without the command. As of version 2.2.1+ it will also allow you to use the placeholders %loginstreak_top1-10% so %loginstreak_top1%, %loginstreak_top2% etc. These will be replaced with the name and streak of the player who holds that place in the ranks. In Version 3.0.0+ there is also a %loginstreak_timeleft% placeholder which is similar to the /timeleft command, telling the player how long until they receive their next streak.
To use the placeholder just install PAPI on your server.
PAPI can be found here:
https://www.spigotmc.org/resources/placeholderapi.6245/
I hope you enjoy!
If you have any questions or suggestions join my discord below!
Discord:
https://discord.gg/xZMkzUu
Support for all my plugins provided in the discord.
-----------------------------------------------------------------------------------------------
![[IMG]](/proxy/image?url=https%3A%2F%2Fbstats.org%2Fsignatures%2Fbukkit%2Floginstreak.svg)