LoyaltyPoints - A Time : Points ratio tracker!by MeneXiaView 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
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.
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 )
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.
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 ^__^
could you take it that step further and make it Mysql compatible, it makes it easier to view peoples LP that way and adjust ^^
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
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.
its good. awsome! EDIT by Moderator: merged posts, please use the edit button instead of double posting.
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.
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.
also a /lp reset which resets everyone's points to 0, it seems deleting the points.yml just makes its regenerate with same amount
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.
If it possible hook with the afk system of essential. (if it not is not a problem i just put the same config)
Web interfacing? Would be really cool. Myself it thought about using WebSend, but an API would be better
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.
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.
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!
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.
LoyaltyPoints - Discontinued development until further notice, please move to inactive. Fork on GitHub if you want: http://www.github.com/MeneXia/LoyaltyPoints