Loyalty Points
Introduction
Loyalty Points is Tracks time been online and giving points out of this.
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.
- AFK tracking system, if a player haven't moved between the checks he don't get any points
- Also includes custom message configuration for commands (includes colors as well)!
Commands
Commands | Description |
---|---|
/lp | To check your own LoyaltyPoints. |
/lp (playername) | Checks other player's 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 next | Shows time to next payout. |
/lp playtime or /lp play | Shows the playtime of the player. |
/lp reload | Reloads the plugin, includes configuration and points data reload. |
/lp set [username] [amount] | (case sensitive) To have the specified amount of points. |
/lp add [username] [amount] | (case sensitive) Add x points to player (negative amount also). |
Development Builds
Development builds of this project can be acquired at the provided continuous integration server. These builds have not been approved by the BukkitDev staff. Use them at your own risk.
: Coming Soon
Planned Features
- Possibility to pay an defined amount of money when a player gains a specified amount of LoyaltyPoints.
- Server-wide announcements when a player gains a certain amount of points (reaches a point milestone)
- Restart scores (a command for it)
- Remove points (a command for it)
- Receive rewards on specified point milestones
- Reward system.
Changelog
Version 1.1.3
- Made some changes to the storage, now it only loads the users there are online and when they logout it saves the user and remove him from the server (still keeps the info in the SQL server)
- This should make the load alot faster and should have fixed alot of errors.
- Also now /lp top 10 gives you 1-10 and /lp top 20 gives you 11-20 and so on
- File based is removed (migrated to SQlite (can be changed))
- AFK tracking is removed for now.
Full history: Click Here
Metrics
To determine popularity of this plugin, plugin installs are automatically tracked by the Metrics plugin tracking system. If you don't want to help or are paranoid, edit plugins/PluginMetrics/config.yml and set opt-out to true. But seeing more users makes me very happy.
Loyalty Points Statistics by Metrics
@franzmedia
Wanted to let you know that I've been running 1.0.8.4 for over 24 hours now. No issues. Thanks for your work on the fixes.
I'd like to second GokouZWAR's request for a feature that allows automatic player rank promotion based on points. I use GroupManager for permissions, and I'd like to be able to bump new players up to a "Regular" rank automatically upon hitting 10 hours played.
@GokouZWAR
you can use the add one to subtract, you can make it like this:
/lp add Kasperfranz -10 (then it will take 10 points from KasperFranz)
i gonna make a subtract one in the next version (that gives a message if the subtract is higher than his points)
what name would be most saying /lp remove name point or /lp minus name point or something else+
I am watching this plugin. When you add conversion to money and announcement of milestones, I will use it!
how does one use loyalty points or is this just a method for tracking how long people have been on the server?
I'd like to see a method that when a player reaches a certain level of loyalty points it would promote them to a custom rank basically allows them to gain some kind of reputation title for being active to allow new users know who's been playing on the server the most. For example a player from 1 to 10 points is a newbie, and players from 10 - 50 are a normal user, 50 - 100 would be considered an experienced player, and 100+ would be an expert. Along with that their name would change color based on their "newbie-ness". Additionally I'd like to see a permission node that would disable the title for my admins and moderators (they already have the reputation if they've been given the rank)
Also I'd like to see a method that would allow users to spend points...IE, using server signs I can setup a command that would subtract a certain amount of points and then execute an /econ add <user> <money increase>. I see there's a command to "add" loyalty points, but is there one that'll "subtract" them? If so i see no need to code in extra stuff with server signs available. If that's already available then great!
I am very eager for the auto conversion of loyalty points to money. :)
And 1.0.8.4 is out!!!
Atm there are running a beta test of the plugin
if it's working with no problems it gonna be fully relased
Beta Build http://dl.dropbox.com/u/3693539/LP%201.0.8.4.jar
@octagami
hmm don't give alot of sence that that bug is comming up,
just moved it to a ticket and going to fix it right away
Well, I upgraded to 1.0.8.3 this morning. It seemed to be working fine and ran all day with no trouble.. until I reloaded plugins late tonight.
Then it started spamming the logs with these at 6 second intervals:
I was forced to do a server restart to fix it. When the server came back up all the points accumulated for the day had been lost. Not a great outcome.
Is there any way to make some kind of LP shop?
@octagami
i'm sorry about all the bugs in the 1.0.8 release (all of it should be fixed, else report in :))
@octagami
Is work in the 1.0.8.3 i test it. Is me a reported the error and he fix the error. Hope it help. : )
@franzmedia
What was the bug fixed in 1.0.8.3? I don't see the ticket mentioned.
I ran into this after a couple of hours running 1.0.8.2:
It was followed by many of these at 8 second intervals
I really want to make sure these are fixed before I update again. I had to revert the plugin again and lost the points from the database for the users from the first half of the day.
@franzmedia
Fixed now
downlaod the 1.0.8.3 file from here
> http://dl.dropbox.com/u/3693539/LP%201.0.8.3.jar@follet2004
Gonna look at it atm
@Patolord
i can't fix bugs when i don't know there are bugs, so plz report them as a ticket then i can fix!
@franzmedia
Just tried it out and re-migrated the data. This time everything looks to be working correctly.
Thanks for the fast turn-around on a fix.
@Patolord
I just reported the error in the Ticket
Please alot of bugs fix it!
@octagami
if you just make it back to 1 (file type) i gonna fix this right away, sorry for that :
until it's up here
dl link http://dl.dropbox.com/u/3693539/LoyaltyPoints.jar