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
Heyho franzmedia, great plugin.
Bugs:
Requests:
as some of you have been wanted a AFK system it's on it's way atm it's being tested and so on, there should come a msg in a day or 2 about how the test went
@dantheman308
hmm can't see anything in the code that does that,
if it is please provide me with a ticket and some more info
@follet2004
i'm looking at it and have made a ticket about it, and working out from that on
I have a error in the plugin. Here the link: http://pastebin.com/Tph2G6pB
This is an awesome plugin and its one that comes in to great use, although its bugging out slightly, and is giving some people points every minute while giving everyone else points every hour (every hour being the one it is set at), could you give me a solution please.
@DavMicrofix
the timer can't be done faster (sure it dosn't come with a error on load?)
it shouldn't go back to 0 it is a ongoing timer for every player
@DaClowns
you set the increment-per-cycle: to 3 and the cycle-time-in-seconds: to 180
then they get 3 points every 3 minutes
How would I set up the config so Every 3 Minutes they Get 3 LP? I have been trying forever trying to set this up...
i have set cycle time to 900 so that woud be 15 min for some reason players get there points faster ?
i found the problem it dosn't reset after log off if you log on again the time will start from where it ends.
is it possible to make it like this.
if a players is oline for 15 min he gets 1 point if he log off before the 15 min en log in again the time will reset again and player has to be 15 min online again to get the point.
@Patolord
you can open your mysql server and delete it by this:
DELETE from users;
it deletes all entries in the database (it makes new ones when someone joins) (it needs to be done when the server is offline, else it just recreates the users)
How do i reset all players points on the Myqls type 3
@np98765
i have made a ticket about it, can you please look at it and reply with your version nr, and point type?
http://dev.bukkit.org/server-mods/loyalty_points/tickets/6-warning-task-of-loyalty-points-generated-an-e/
WARNING] Task of 'LoyaltyPoints' generated an exception java.lang.NullPointerException at com.github.franzmedia.LoyaltyPoints.LoyaltyPoints.loadPointsData(LoyaltyPoints.java:131) at com.github.franzmedia.LoyaltyPoints.LoyaltyPoints$1.run(LoyaltyPoints.java:88) at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:126) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:517) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:449) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
I get this error every time I start the server..
@GokouZWAR
+1
noticed this one took over for the original loyalty points plugin. Looking forward to using this one.
I requested this on the other page, i'll request it here now. I'd like to see a system that allows to have you pay for points that'll add to the economy system. I tested the add method with a negative value on a sign, but it doesn't stop users from getting a negative balance so that didn't work as I had hoped.
I'd hope you can focus time on the payment methods to allow users to cash their points in. Right now i'm doing it manually! When implement please PM me on here so i can update! Thanks!
@jediwirm
new link http://dev.bukkit.org/server-mods/loyalty_points/pages/config/how-to-setup/mys-ql/
Hello,
I've been running an older version for quite some time 1.7.* and have just noticed the recent updates with sqlite support. I have updated and regen'd the configuration file, however the /lp tosql command will convert 0 users for me.
Switched back to flat file it works fine. I have clicked on the "for install see here" link, but its no longer working.
Thanks in advance!
Hey there,
I was wondering if there was a way to reset every month... For example, maybe a month and all-time feature?
Because I like to reward users with with most playtime, but it needs to reset monthly for it to be fair... But I still want to know who has the most all-time playtime!
Thanks. :D
Just wanted to drop in and say hi. Still using your plugin and I love it. Can't wait for the update to add milestones. I also like the suggestion of the auto rank up. I mainly use the plug to determine when people are able to get certain ranks.
@apoisonedgift
i did the remake of the second plugin (same name ;)) i gonna look at the other one soon and gonna take some of the good to this plugin
Just thought I might point you in the direction of this plugin:
http://dev.bukkit.org/server-mods/ontime/
Been using loyalty points on my server since the first version. What I love most is that you actually get the points, as well as time (most other plugins work in time only).... Points is just a lot nicer. But that plugin has some really good features (such as changing permissions at milestones, etc.) that I would LOVE to see in loyalty points sometime down the track if at all possible :)
If nothing else, the possibility of running a command at x points would be amazing, and would pretty much make all those other features possible through commands and plugins.
Anyways, just my 2 cents :) Keep up the awesome work.
Oh actually, before I forget... there is another plugin called Loyalty Points, exact same name... I don't know what can really be done but just incase you were unaware, I thought I'd let you know. I know that I have clicked on it, and almost downloaded it, by mistake myself (it has recently been set as inactive, which might also hurt you). Here's a link:
http://dev.bukkit.org/server-mods/loyalty-points/