Inactive [INACTIVE][ADMN/INFO] LoyaltyPoints v1.2 - A Time:Points ratio tracker! [1.1-R8]

Discussion in 'Inactive/Unsupported Plugins' started by MeneXia, Mar 14, 2012.

  1. LoyaltyPoints - A Time : Points ratio tracker!
    by MeneXia
    View files on BukkitDev here!
    Download latest file on Dropbox!
    View the source code on GitHub!
    Currently works with CB 1.2.3-R0.2!
    Features
    • When one logs in, the LoyaltyPoints tracks the amount of time the player has been on and awards her points according to a certain amount of time cycles.
    • Features a configuration file which you can define how many points a person gets after every time cycle since she has logged on, how many points she will start with, and how long the time cycle will be.
    • Also includes custom message configuration for commands (includes colors as well)!
    Commands
    • Use /loyaltypoints or /lp to check your own LoyaltyPoints.
    • /lp (playername) - Checks other players' points.
    • /lp help - Shows all possible commands
    • /lp top - Shows the top 10 players with the most LoyaltyPoints
    • /lp version - Checks the version of the plugin
    • /lp reload - Reloads the plugin - includes configuration and points data reload
    • /lp set [username] [amount] - Sets the specified username (case sensitive) to have the specified amount of points
    Permissions
    Most of them should be self explanatory:
    • loyaltypoints.check - Allows player to use the plugin and be tracked.
    • loyaltypoints.check.other - Allows player to check other players' points.
    • loyaltypoints.help
    • loyaltypoints.top
    • loyaltypoints.version
    • loyaltypoints.reload
    • loyaltypoints.set
    Permissions packages:
    • loyaltypoints.user- A set of permissions which include:
      • loyaltypoints.check, loyaltypoints.help, and loyaltypoints.top
    • loyaltypoints.admin - A set of all the permissions.
    Installation

    Download the latest version of LoyaltyPoints.jar and place it in your plugins folder! Make sure you are also using the correct CraftBukkit build that corresponds to the plugin also!

    Planned Features
    • Possibility to pay an defined amount of money when a player gains a specified amount of LoyaltyPoints
    • Only pay points if the player is not AFK
    • Server-wide announcements when a player gains a certain amount of points (reaches a point milestone)
    • Receive rewards on specified point milestones
    Changelog
    v1.2 - Efficiency Update: Less system resource consumption
    • Added update-timer in config.yml
    • REQUIRES CONFIGURATION UPDATE
    v1.1 - Added new command and permission:
    • /lp set [username] [amount] - This sets the specified username (case sensitive) to have the specified amount of points.
    • Permission used: loyaltypoints.set
    • Added above permission to the loyaltypoints.admin package
     
    Ranger_Ben and Gallie like this.
  2. Offline

    Alvarez96

    Wow looks cool! One thing that would be awesome is if you would be kind enough to upload the source so we can tinker with the code. I see great things for this plugin, including a rewards system where they can buy certain permissions with their loyalty points.
     
  3. Offline

    Alvarez96

    TYVM I look forward to tinkering xD
     
  4. Offline

    Gallie

    Oh hey thanks for making my plugin. Hah I thought no one would ever accept. Thanks!

    Do you accept donations? After I open my server, the first $100 I make is going to you ^__^

    EDIT:
    MeneXia

    You should add a /lp delete ( USER ) ( Number of points )
     
  5. Will add in LoyaltyPoints v1.1, updated the OP as well.

    Released LoyaltyPoints v1.1!

    Added new command and permission:
    • /lp set [username] [amount] - This sets the specified username (case sensitive) to have the specified amount of points.
    • Permission used: loyaltypoints.set
    • Added above permission to the loyaltypoints.admin package
    Download on BukkitDev!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 24, 2016
  6. Offline

    Gallie


    Bro.. you're so quick.. You're like....... Jesus O_O Thanks man.. You're so nice haha

    oh btw you need to update the name LoyaltyPoints 1.0 to 1.1 ^__^
     
  7. Offline

    md_5

    Approved
     
  8. Offline

    jenks1999

    could you take it that step further and make it Mysql compatible, it makes it easier to view peoples LP that way and adjust ^^
     
  9. Offline

    nicquehen

    I like this plugin :

    And i wait for the server announcment :)

    Todo :

    -promote a user when a user obtained a specific number of lp (switch group)
    -add a title (prefix/suffix) to a user when he obtained a specific number of lp
    -obtain node (specific permission) to a a user when he obtained a specific number of lp like a new command...

    I use pex
     
  10. I don't know how to integrate MySql databases, I'll have to research on it. The flatfile storage is sufficient to edit and view points.
    Will add to my to-do list, I have to research PEX integration.

    LoyaltyPoints v1.2 will not include any feature updates, because the data saving functions and points tracking will have to be re-written for resource efficiency. v1.3 and v1.4 will include all other suggestions.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 24, 2016
  11. Offline

    Ranger_Ben

    looks good im testing now.
     
  12. Ranger_Ben
    I'm about to release v1.2 in a few minutes.
     
    Ranger_Ben likes this.
  13. Offline

    Ranger_Ben

    its good.

    awsome!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 24, 2016
  14. Released LoyaltyPoints v1.2!

    v1.2 - Efficiency Update: Less system resource consumption
    • Added update-timer in config.yml
    • REQUIRES CONFIGURATION UPDATE
    Please delete your old configuration and let the plugin generate a new one, you can then transfer old values there.
    Download on Dropbox now!
    Any issues with the plugin? Create a ticket on BukkitDev.
     
    nicquehen and Ranger_Ben like this.
  15. Offline

    nicquehen

    Thx for the update
     
  16. Offline

    Lice

    wow cool plugin.
    wait for the reward option :)
     
  17. Offline

    Gallie

    A bro I have another idea for the plugin.

    /lp next

    Basically shows when their next LP is. Just in case servers give out Points every 24 hours or Hour.
    For those curious players, yeah? ^-^

    If this request is a bit difficult, you don't really have to do it haha.
     
  18. also a /lp reset which resets everyone's points to 0, it seems deleting the points.yml just makes its regenerate with same amount
     
  19. I've noticed that while testing, however if you delete the points.yml after the server is stopped, then the values should be gone upon server startup

    I'll be adding an /lp reset feature for high priority in my todo list, thanks for the feature request.

    Great idea! Will add to my todo list! So something like this I suppose:

    /lp next
    You have about 35 minutes until the next points update cycle. (if you have a better message, please post it)

    I'll be organizing my whole todo list tomorrow, it's getting quite late over here for me.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 24, 2016
  20. Offline

    nicquehen

    If it possible hook with the afk system of essential. (if it not is not a problem i just put the same config)
     
  21. Offline

    elmoo32

    Web interfacing? Would be really cool. Myself it thought about using WebSend, but an API would be better :)
     
  22. Offline

    xSeanic

    I didn't notice if anybody has asked this yet, but would there be a way to integrate a shop system into this? I think it'd be really cool for the players to be able to spend their points on some rare game items.
     
  23. Hm, I'll look into that.
    I've only started coding and developing since November of last year, so I'm not sure whether I'll be able to accomplish that.
    This might be third in my list of big features I'll be integrating soon. The first being: adding other suggested commands: /lp next, /lp reset, whilst the second is getting money, item rewards, chat suffixes/prefixes and permissions packages when a player reaches a certain amount of points.
     
  24. Offline

    StreetJesus

    What about an announce line in the config that announces in server chat when a player gets to like 500 loyalty points? "[LoyaltyPoints] StreetJesus has reached 1000 LoyaltyPoints!" that kind of thing.

    Also please do try to hook with essentials and make it so you don't get any points when your afk.

    Great work so far, this plugin has a lot of potential!
     
  25. Development has been going slow lately, I haven't been getting the logic of my own plugin around my head yet. I may have to go over the structure of my code again.
     
  26. Offline

    Lice

    Please any continued this project Please ...... i need the reward option ...
     

Share This Page