PlayerPoints
PlayerPoints - The most noble currency for your server.
Use examples:
- Admins and Mods give points to the players if they have built a good building. When you reach a specific amount of points you become Moderator
- Use Points as additional currency
- Use Points as premium currency with which players can buy the most awesome stuff. Players get Points by voting for your server.
- Connect PlayerPoints with useful plugins like BossShop
For online mode servers, this plugin makes connections to api.mojang.com to get offline player UUIDs.
Features:
- Give points to players
- Take points of players
- Pay points to players
- Look, how many points other players have
- Look, how many points you have
- Leader board
- Permissions Support
- Optional Vault support
- Buy things with points (BossShop)
- Supported by many awesome plugins
Commands:
- /points pay <name> <amount>
- /points give <name> <amount>
- /points take <name> <amount>
- /points set <name> <amount>
- /points reset <name>
- /points look <name>
- /points me
- /points lead [next/prev/#]
- Shortcut: /p <give/take/look/me/pay/set/reset>
Permissions:
- PlayerPoints.pay
- PlayerPoints.give
- PlayerPoints.take
- PlayerPoints.set
- PlayerPoints.reset
- PlayerPoints.look
- PlayerPoints.lead
- PlayerPoints.me
Video
ToDo:
- Per-World support
Maven
We support Maven. Just add our repository:
<repository> <id>dakani</id> <name>Dakani Nexus Repo</name> <url>https://repo.dakanilabs.com/repository/public</url> </repository>
And add PlayerPoints as a dependency:
<dependency> <groupId>org.black_ixx</groupId> <artifactId>PlayerPoints</artifactId> <version>2.1.3</version> </dependency>
Trello Dev board
Visit the Trello board to see the current todo list for all projects.
You can comment and vote on any of the topics there.
All changes on the Trello board are in real-time.
@NewMasterBR
Check out "BossShop"
How do I create a new item to buy in the shop?
@Mitsugaru
I might create one when I have enough spare time.
@Ence3
Nice idea.... except that should be handled by a separate plugin. Extra functionality like that should not be included into the core plugin.
So, maybe you can find a Bukkit plugin developer to make your idea?
Hello, I would love if you guys would add one thing to the plugin, If you kill a person you will get a certain amount of points. I very much hope that you will add it because i wanted to create a PvP Island map and add that plugin to it, so they can kill people and trade points for stuff :)
@GagiO2
Use "BossShop"
@GagiO2
I know there are plugins that let players buy ranks. Ask them to implement PlayerPoints support.
Or, if the plugin supports Vault, just enable Vault compatibility in the PlayerPoints configuration and it should work out of the box.
how can i let player buy ranks with points? im using PEX permission
Issue below was self-resolved.
As TheRufusPerry stated, I attempted to make the plugin he requested. I was able to create exactly as he asked as for the EXCEPTION this plugin does not seem to update the balance of the points. The balance does not update like the the amount of players online. If you want the source private message me, but this plugin does not update data using by using: final int balance = playerPoints.getAPI().look(player.getName()); Just thought I would report/let you know.
@TheRufusPerry
Realize, I'm out of touch with Bukkit plugins in general... I've no doubt there probably exists a plugin that shows economy in the scoreboard.... but I don't know of one since I haven't been watching new releases for some time now.
So, if you already know of one, it'd be better if you ask them to add support for PlayerPoints. Alternatively, if you're OK with using the integrated Vault support from PlayerPoints, and whatever scoreboard plugin you find uses Vault, then that would work too.
Thanks for the reply.
If you can suggest a scoreboard plugin that is compatible with player points, then that would be fantastic. Or a method of getting a plugin to recognise player points, that to would solve a big problem.
Ever grateful, Rufus
@Q2Lummox
Currently, no. I'm sure it'd be easy to do if we added more permission support.
@Q2Lummox
That sounds like something another plugin should handle... Though its not something out of the realm of possibility to add it as a native feature.
@TheRufusPerry
Same as above, another plugin could handle that instead of baking the feature in...
How do you get it so that the player points are displayed in a scoreboard??
Thanks, Rufus
You can add that for every hour played, are assigned X points?
Is there a way to prevent certain group receives points?.
I have this error :
[PlayerPoints] Could not create getter statement. com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operations allowed after connection closed.Connection was implicitly closed by the driver. at sun.reflect.GeneratedConstructorAccessor142.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:525) at com.mysql.jdbc.Util.handleNewInstance(Util.java:407) at com.mysql.jdbc.Util.getInstance(Util.java:382) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1013) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:987) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:982) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:927) at com.mysql.jdbc.ConnectionImpl.throwConnectionClosedException(ConnectionImpl.java:1213) at com.mysql.jdbc.ConnectionImpl.checkClosed(ConnectionImpl.java:1200) at com.mysql.jdbc.ConnectionImpl.prepareStatement(ConnectionImpl.java:4203) at com.mysql.jdbc.ConnectionImpl.prepareStatement(ConnectionImpl.java:4169) at lib.PatPeter.SQLibrary.Database.prepare(Database.java:284) at org.black_ixx.playerpoints.storage.models.MySQLStorage.getPoints(MySQLStorage.java:60) at org.black_ixx.playerpoints.storage.StorageHandler.getPoints(StorageHandler.java:35) at org.black_ixx.playerpoints.PlayerPointsAPI.look(PlayerPointsAPI.java:71) at org.black_ixx.playerpoints.commands.MeCommand.execute(MeCommand.java:38) at org.black_ixx.playerpoints.services.CommandHandler.onCommand(CommandHandler.java:128) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:190) at org.bukkit.craftbukkit.v1_6_R1.CraftServer.dispatchCommand(CraftServer.java:527) at net.minecraft.server.v1_6_R1.PlayerConnection.handleCommand(PlayerConnection.java:1000) at net.minecraft.server.v1_6_R1.PlayerConnection.chat(PlayerConnection.java:911) at net.minecraft.server.v1_6_R1.PlayerConnection.a(PlayerConnection.java:858) at net.minecraft.server.v1_6_R1.Packet3Chat.handle(SourceFile:49) at org.spigotmc.netty.NettyNetworkManager.b(NettyNetworkManager.java:235) at net.minecraft.server.v1_6_R1.PlayerConnection.d(PlayerConnection.java:118) at net.minecraft.server.v1_6_R1.ServerConnection.b(SourceFile:37) at org.spigotmc.netty.NettyServerConnection.b(NettyServerConnection.java:125) at net.minecraft.server.v1_6_R1.MinecraftServer.t(MinecraftServer.java:592) at net.minecraft.server.v1_6_R1.DedicatedServer.t(DedicatedServer.java:239) at net.minecraft.server.v1_6_R1.MinecraftServer.s(MinecraftServer.java:481) at net.minecraft.server.v1_6_R1.MinecraftServer.run(MinecraftServer.java:413) at net.minecraft.server.v1_6_R1.ThreadServerApplication.run(SourceFile:582) Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
The last packet successfully received from the server was 2,078,569 milliseconds ago. The last packet sent successfully to the server was 5 milliseconds ago. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:525) at com.mysql.jdbc.Util.handleNewInstance(Util.java:407) at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1116) at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:3082) at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2968) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3516) at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1986) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2140) at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2626) at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2111) at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1362) at lib.PatPeter.SQLibrary.Database.query(Database.java:254) at lib.PatPeter.SQLibrary.Database.query(Database.java:271) at org.black_ixx.playerpoints.storage.models.MySQLStorage.getPoints(MySQLStorage.java:62) at org.black_ixx.playerpoints.storage.StorageHandler.getPoints(StorageHandler.java:35) at org.black_ixx.playerpoints.PlayerPointsAPI.look(PlayerPointsAPI.java:71) at org.black_ixx.playerpoints.PlayerPointsAPI.give(PlayerPointsAPI.java:33) at org.black_ixx.playerpoints.commands.GiveCommand.execute(GiveCommand.java:41) at org.black_ixx.playerpoints.services.CommandHandler.onCommand(CommandHandler.java:128) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:190) at org.bukkit.craftbukkit.v1_6_R1.CraftServer.dispatchCommand(CraftServer.java:527) at net.md_5.vote4diamondz.Vote4Diamondz$VoteHandler.handle(Vote4Diamondz.java:304) at net.md_5.lib.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) at net.md_5.lib.server.Server.handle(Server.java:365) at net.md_5.lib.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:485) at net.md_5.lib.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:926) at net.md_5.lib.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:988) at net.md_5.lib.http.HttpParser.parseNext(HttpParser.java:635) at net.md_5.lib.http.HttpParser.parseAvailable(HttpParser.java:235) at net.md_5.lib.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) at net.md_5.lib.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:627) at net.md_5.lib.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:51) at net.md_5.lib.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) at net.md_5.lib.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) at java.lang.Thread.run(Thread.java:722) Caused by: java.io.EOFException: Can not read response from server. Expected to read 4 bytes, read 0 bytes before connection was unexpectedly lost. at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:2529) at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2979) ... 32 more
Its very urgent please.
(Sorry for my bad english i'm french)
@Mitsugaru
For the PointShop plugin I am having an issue with how much each point should cost. I have it set as 1500 in the config but when i save and restart my server it still says $1 for 1 point...
Is It possible To Name The Points? Example: Default = Points Custom = What Ever You Name It
@cotjones
That's correct. Don't forget to set the storage type to MySQL. After import, the config will auto-set the import key to false so you don't have to. Should anything go wrong / fail, your original YAML data should still be intact. And yes, table creation is done for you. Just point it to a database that it has appropriate privileges.
Yes, as account data isn't cached in memory. Whatever the plugin reports is whatever it reads from the data source.
@PreHunters
Sounds like something another plugin should do that hooks into this system.