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
Like me to. : )
@AssRealm
i'm on currently studying computer specialist and there we are learning Java and databases like Mysql and other things :)
@AssRealm
You can learn the Java. It you look in google or it you one to make plugins you can go to the site of http:wiki.bukkit.org/Portal:Developers to now how is work.
@franzmedia
Just asking, where and how did you learn java? I'm thinking of going for a course after my high school for computer languages. Or can I just learn it some other way
@AssRealm
http://dev.bukkit.org/server-mods/loyalty_points/files/22-version-1-1-1/ atm. it's under review
@franzmedia
when will 1.1.1 come out?
@AssRealm it's already fixed and a 1.1.1 is made with that fix :) Ticket: 17 - Error of PlayerJoinEvent (fixed)
next time you get a error please post it as a ticket (easier for me and the staff to see what is being made and so on, but still a great job posting errors so i can fix it )
@franzmedia
Oh yeah! Errors when people are logging in
2012-09-10 14:22:01 [INFO] PikachuAss[/175.156.226.148:1421] logged in with entity id 1349 at ([Jade] -112.12806356693778, 83.0, -50.83587621310585)
2012-09-10 14:22:01 [SEVERE] Could not pass event PlayerJoinEvent to LoyaltyPoints
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:332)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
at net.minecraft.server.ServerConfigurationManagerAbstract.c(ServerConfigurationManagerAbstract.java:161)
at net.minecraft.server.ServerConfigurationManagerAbstract.a(ServerConfigurationManagerAbstract.java:92)
at net.minecraft.server.NetLoginHandler.d(NetLoginHandler.java:121)
at net.minecraft.server.NetLoginHandler.c(NetLoginHandler.java:41)
at net.minecraft.server.DedicatedServerConnectionThread.a(DedicatedServerConnectionThread.java:44)
at net.minecraft.server.DedicatedServerConnection.b(SourceFile:29)
at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:578)
at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:213)
at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:474)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:406)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
Caused by: java.lang.NullPointerException
at com.github.franzmedia.LoyaltyPoints.LCListener.Velociraptor(LCListener.java:34)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:330)
... 14 more
Decided to post here instead of Pastebin as there is less time wastage
@AssRealm
Having it in the new version to looks like it's only a error when using custom
EDIT: just remove it from the texts :) no need for it (it can be changed with the plugin title)
@franzmedia
%TAG% isn't working. Please check :D
finally xD
@AssRealm
as with anyone else there have a job / school or anything else, I can't commit 100% in this, i have alot to do besides this and there have been alot of bugs there are comming from nowhere so i have alot to do just to get the error on my screen and make a fix for it) but expect something soon :)
Its been really long, haven't got a fix yet.
Hi
Is it possible to add the ability to make "loyalty shops" in which users can buy items or convert their points into a certain amount of iConomy money?
Thanks
@franzmedia
Just a add-on. Bug still carries onto 1.3.1 R2.1
@AssRealm
He is work on it. To fix the bugs. Soon he put a beta build.
@franzmedia
please fix this asap
@franzmedia
Done posted
@AssRealm
http://dev.bukkit.org/server-mods/loyalty_points/tickets/14-1-3-1-no-point/
A ticket ;)
can someone else say true /false
can you please put your config in there?
Lp is working fine before 1.3.1.
Now it just stops giving lp points.
played 2hour straight, no gain