Player Login Streak Idea

Discussion in 'Plugin Requests' started by alnoise, Aug 10, 2019.

Thread Status:
Not open for further replies.
  1. Offline

    alnoise

    Plugin category: Useful

    Minecraft version: Spigot 1.8.8

    Suggested name: LoginStreaks

    What I want: When a player logs in every day I want it to tell the player in chat how many days in a row they have joined. I also want this to be a competitive thing so with a command you can see who has the highest streak in a GUI.

    Ideas for commands: /days

    Ideas for permissions: player.loginstreaks to allow them to be able to start a streak

    When I'd like it by: Any time :)
     
  2. Offline

    xX4w3s0m3Xx

  3. Offline

    alnoise

    You're the man, I hope it wasn't too time consuming. Hopefully everything will work great! Thanks again :)

    Edit: Do you think you can make a config file for the text that comes up when you do /streak?
     
    Last edited: Aug 11, 2019
  4. Offline

    xX4w3s0m3Xx

    @alnoise No problem, I like to make plugins if they're small and I like the idea
     
  5. Offline

    alnoise

    Hey I noticed there was a typo when you do /streak. Do you think you could make a config file that makes it so the message it sends to the player when they do the command is configurable?
     
  6. Offline

    xX4w3s0m3Xx

    Yeah sure, I’ll do that.
     
  7. Offline

    xX4w3s0m3Xx

  8. Offline

    BKdeathmaster24

    @xX4w3s0m3Xx
    This seems like a cool idea for a plugin! Here's an idea for an addition though:

    In the config file you can edit money rewards (Vault requirement) or commands that are run by the console after a streak of X number of days with a <player> placeholder. Perhaps the regular streaks can only be achieved once, and the repeating ones can be re-achieved even if the streak was broken??

    Example:

    streaks:
    commands:
    - 10:
    - 'give <player> diamond 10' ## Rewards player with 10 diamonds after 10 day streak.
    - 'tell <player> Congratz on keeping a streak of 10 days on our server!! Here's a reward of 10 diamonds!'
    money:
    - 20: 500 ## Rewards player with 500$ after 20 day streak.

    repeating:
    money:
    - 5: 100 ## Every 5 days the player is awarded 100$

    Again, this is only an idea for an addition. You don't have to add it.
     
  9. Offline

    xX4w3s0m3Xx

    @BKdeathmaster24 I like this idea! I've thought about rewards while making this plugin, but was like "Meh, this wasn't requested so let's not add it". I'll see what I can do
     
  10. Offline

    xX4w3s0m3Xx

    @BKdeathmaster24 I've updated the plugin and it has this feature now. The normal rewards can be earned once in a streak and the repeating will be given every ... days
     
Thread Status:
Not open for further replies.

Share This Page