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







-
View User Profile
-
Send Message
Posted Aug 3, 2012I havent really read any of the commens so i dont know if anyone else has mentioned this or if you were already planning on this but, could you add a way to spend points? somthing like '/lp buy <name>' <name> being the name of an award to buy determined by a config file
To do it in a way that the players total points are still visible you can make a second variable for buying so that each player has points and points used, example for display: <used>/<total> 125/1200 with only the used changing when things are bought
-
View User Profile
-
Send Message
Posted Aug 3, 2012@Alphasim Comming in the new version
@GokouZWAR
atm not working on, can you please make a ticket based on this, all the source is avalible at github
@Jobsti2
working on it :)
@mobilephone2003
i have now make some changes to the plugin (to get it to work a bit bether
to all gonna make a beta soon (have made some changes to alot the the txts )
-
View User Profile
-
Send Message
Posted Jul 30, 2012I get the same Out of Memory errors as silentnight18
Seems very laggy and unstable with a lot of players on
Latest version
Edit: Had to remove it, turned my server from days of uptime to crash every 10 minutes. Followed your instructions to change to MySQL and it still used SQLite, then crash...crash...crash
-
View User Profile
-
Send Message
Posted Jul 28, 2012i am atm on a scout camp (being back tomorrow) gonna look through some of the posts when i get home -Franzmedia
-
View User Profile
-
Send Message
Posted Jul 28, 2012It's no solution to switch back to GM ;)
So I'll wait and deactivate the plugin, as long, as a fix will be out,
not tragically.
-
View User Profile
-
Send Message
Posted Jul 28, 2012@Jobsti2
He is on holiday or something. Soon go to help you in the ticket. I recommended you use Group Manager of Essential work good in the plugin. Nope it help you. : )
-
View User Profile
-
Send Message
Posted Jul 28, 2012So..... Plugins doesn't usuable with PEX on promoting.....
Where's franzmedia? There are tickets.
-
View User Profile
-
Send Message
Posted Jul 27, 2012@GokouZWAR He is working on what you had said in the text but he is on holiday or something. His SQL has got some bugs for now. Just to say.
Here is source of here is plugin. https://github.com/franzmedia/LoyaltyPoints
@Alphasim He is working on what you had said in the text but he is on holiday or something.
Nope it help you guys. ; )
-
View User Profile
-
Send Message
Posted Jul 25, 2012Is there a way to link this into permissions?
-
View User Profile
-
Send Message
Posted Jul 19, 2012I agree with Zephedge. I'd like to be able to check my server members' playtime as well. Is that possible or in the cards? I've been using LoyaltyPoints for quite a while and being able to check my different users' play time would make it even better.
-
View User Profile
-
Send Message
Posted Jul 14, 2012Few things i'd personally like to see that maybe others would like. If you don't feel like making them it's ok. I'd be happy to do it myself for my server if you send the source to me (email at the bottom).
If you are unable to do this, please send me a link to the source. I'll customize it for my server if need be. If no link is available please .zip the source and email it to administrator@mcnations.net if you'd prefer it that way. Thanks.
Edit: I removed some stuff and reworded it cuz it sounded confusing. Hopefully this is better.
-
View User Profile
-
Send Message
Posted Jul 11, 2012Does this support checking other people's playtime than your own? It's really the only reason I'm trying this plugin >.>
Doing /lp playtime otherplayer just returns my own playtime.
-
View User Profile
-
Send Message
Posted Jul 11, 2012@silentnight18
Hey hope to make one tomorrow gonna be a beta have changed some texts and some otherbugs :)
-
View User Profile
-
Send Message
Posted Jul 11, 2012ETA on the update? I miss this plugin.
-
View User Profile
-
Send Message
Posted Jul 6, 2012@franzmedia
Thanks love the plugin, was a shame to turn it off, just can't have my server crashing from failed save attempts =/
-
View User Profile
-
Send Message
Posted Jul 6, 2012@silentnight18
Made a ticket about it and working on a fix (a rare bug)
-
View User Profile
-
Send Message
Posted Jul 5, 2012Errors using current version.
012-07-06 01:50:25 [WARNING] [LoyaltyPoints] §6[LoyaltyPoints][SQLite] SQL exception in query(): unable to open database fileclass java.sql.SQLException
2012-07-06 01:50:25 [SEVERE] [LoyaltyPoints] §6[LoyaltyPoints][SQLite] SQL exception in open(): java.sql.SQLException: [SQLITE_CANTOPEN] Unable to open the database file (out of memory)
2012-07-06 01:50:25 [WARNING] Task of 'LoyaltyPoints' generated an exception
java.lang.NullPointerException
at lib.PatPeter.SQLibrary.SQLite.query(SQLite.java:106)
at com.github.franzmedia.LoyaltyPoints.LoyaltyPoints.save(LoyaltyPoints.java:723)
at com.github.franzmedia.LoyaltyPoints.LPScheduler$1.run(LPScheduler.java:39)
at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:126)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:533)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
2012-07-06 01:50:25 [SEVERE] net.minecraft.server.WorldConlictException: Failed to check session lock, aborting
2012-07-06 01:50:25 [SEVERE] at net.minecraft.server.WorldNBTStorage.checkSession(WorldNBTStorage.java:74)
2012-07-06 01:50:25 [SEVERE] at net.minecraft.server.World.m(World.java:2718)
2012-07-06 01:50:25 [SEVERE] at net.minecraft.server.World.A(World.java:261)
2012-07-06 01:50:25 [SEVERE] at net.minecraft.server.World.save(World.java:251)
2012-07-06 01:50:25 [SEVERE] at net.minecraft.server.World.doTick(World.java:1750)
2012-07-06 01:50:25 [SEVERE] at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:554)
2012-07-06 01:50:25 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459)
2012-07-06 01:50:25 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
2012-07-06 01:50:25 [SEVERE] Unexpected exception
net.minecraft.server.WorldConlictException: Failed to check session lock, aborting
at net.minecraft.server.WorldNBTStorage.checkSession(WorldNBTStorage.java:74)
at net.minecraft.server.World.m(World.java:2718)
at net.minecraft.server.World.A(World.java:261)
at net.minecraft.server.World.save(World.java:251)
at net.minecraft.server.World.doTick(World.java:1750)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:554)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
-
View User Profile
-
Send Message
Posted Jun 30, 2012@Jobsti2
i have made a ticket based on that with reload
about the afk system, you can activate it with this
Some notes on it
Link in the desc now for the config
the error with the users are found and corrected :) thanks
-
View User Profile
-
Send Message
Posted Jun 30, 2012Thanks franz. You should explain the point-type (and the whole config!) in the plugin description ;)
A Setting for the AFK system would be nice....
Setting for x-minutes no movig = afk
or checking for some other afk Plugins, like Simple afk (Should be easy)
This on /lp reload
* http://pastebin.com/8H3SiyzY
RB #2222, LP 1.0.9. Config UTF8 WithoutBOM
-
View User Profile
-
Send Message
Posted Jun 30, 2012@Jobsti84
i'm gonna look into your bugs and your request is comming