PlayerPoints

Logo

This allows players with permissions to have/give/take points. Later I will add different actions, if you reached a specific amount of points, but now it could be used like this:

  • Admins and Mods give points to the players, if they have built a good building
  • If you reach a specific amount of points, you will became moderator

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.
http://ci.dakanilabs.com/job/PlayerPoints/badge/icon

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 (PointShop)

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>http://repo.dakanilabs.com/content/repositories/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.

Config | API | Events | GitHub | BossShop | Karmiconomy

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of Dyenx999 Dyenx999 Oct 31, 2014 at 23:29 UTC - 0 likes

    @Mitsugaru: Go

    Like a donor could buy a 2x player points booster

    Click here for an awesome SG plugin : http://dev.bukkit.org/bukkit-plugins/sgp/

  • Avatar of Mitsugaru Mitsugaru Oct 31, 2014 at 17:05 UTC - 0 likes

    @BryanChung: Go

    Looks like its specific to Spigot and that I would need to wrap getOfflinePlayer calls in their own thread. Do you know if any other commands are affected?

    @zxz8592430: Go

    I'd say ask an existing plugin to add support for Player Points. Or, if you can use Vault with this plugin and not conflict with other economy plugins, I'd say find one a slot machine plugin that uses Vault.

    @Dyenx999: Go

    Sorry, what do you mean by boosters? And you're saying purchase with points?

    Jenkins | Trello Dev board | Website
    Visit the Trello board to see/vote/comment on my current todo list for all projects in real time.
    Mine-RP Operator BFAK:52950,9c92ea09892ae7395af1f98741fb8dd73aed386e0b40f81435281ce5eca68c7f

  • Avatar of Dyenx999 Dyenx999 Oct 31, 2014 at 06:13 UTC - 0 likes

    Can you please add a way for us to make boosters for donors which they could purchase

  • Avatar of zxz8592430 zxz8592430 Oct 19, 2014 at 16:38 UTC - 0 likes

    If you can, can launch a points slot machines

  • Avatar of BryanChung BryanChung Oct 17, 2014 at 04:21 UTC - 0 likes

    I receive this error when I /points lead

    [13:35:08] [Server thread/INFO]: Bryan_Chung issued server command: /p lead
    [13:35:08] [Server thread/ERROR]: null
    org.bukkit.command.CommandException: Unhandled exception executing command 'p' in plugin PlayerPoints v2.1.3
    	at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[spigot.jar:git-Spigot-1387]
    	at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:180) ~[spigot.jar:git-Spigot-1387]
    	at org.bukkit.craftbukkit.v1_7_R2.CraftServer.dispatchCommand(CraftServer.java:719) ~[spigot.jar:git-Spigot-1387]
    	at net.minecraft.server.v1_7_R2.PlayerConnection.handleCommand(PlayerConnection.java:984) [spigot.jar:git-Spigot-1387]
    	at net.minecraft.server.v1_7_R2.PlayerConnection.a(PlayerConnection.java:829) [spigot.jar:git-Spigot-1387]
    	at net.minecraft.server.v1_7_R2.PacketPlayInChat.a(PacketPlayInChat.java:28) [spigot.jar:git-Spigot-1387]
    	at net.minecraft.server.v1_7_R2.PacketPlayInChat.handle(PacketPlayInChat.java:65) [spigot.jar:git-Spigot-1387]
    	at net.minecraft.server.v1_7_R2.NetworkManager.a(NetworkManager.java:148) [spigot.jar:git-Spigot-1387]
    	at net.minecraft.server.v1_7_R2.ServerConnection.c(ServerConnection.java:77) [spigot.jar:git-Spigot-1387]
    	at net.minecraft.server.v1_7_R2.MinecraftServer.v(MinecraftServer.java:705) [spigot.jar:git-Spigot-1387]
    	at net.minecraft.server.v1_7_R2.DedicatedServer.v(DedicatedServer.java:273) [spigot.jar:git-Spigot-1387]
    	at net.minecraft.server.v1_7_R2.MinecraftServer.u(MinecraftServer.java:568) [spigot.jar:git-Spigot-1387]
    	at net.minecraft.server.v1_7_R2.MinecraftServer.run(MinecraftServer.java:474) [spigot.jar:git-Spigot-1387]
    	at net.minecraft.server.v1_7_R2.ThreadServerApplication.run(SourceFile:618) [spigot.jar:git-Spigot-1387]
    Caused by: java.lang.IllegalStateException: Cannot call getOfflinePlayer(UUID) on main thread, this operation is blocking!
    	at com.google.common.base.Preconditions.checkState(Preconditions.java:145) ~[spigot.jar:git-Spigot-1387]
    	at org.bukkit.craftbukkit.v1_7_R2.CraftServer.getOfflinePlayer(CraftServer.java:1344) ~[spigot.jar:git-Spigot-1387]
    	at org.bukkit.Bukkit.getOfflinePlayer(Bukkit.java:427) ~[spigot.jar:git-Spigot-1387]
    	at org.black_ixx.playerpoints.commands.LeadCommand.noArgs(LeadCommand.java:104) ~[?:?]
    	at org.black_ixx.playerpoints.services.CommandHandler.onCommand(CommandHandler.java:113) ~[?:?]
    	at org.black_ixx.playerpoints.services.CommandHandler.onCommand(CommandHandler.java:119) ~[?:?]
    	at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[spigot.jar:git-Spigot-1387]
    	... 13 more
    

    I'm using your latest v2.1.3 on Minecraft 1.7.4.

    Last edited Oct 17, 2014 by BryanChung
  • Avatar of Mitsugaru Mitsugaru Oct 10, 2014 at 03:01 UTC - 0 likes

    @Laekh: Go

    If you're willing, submit a pull request of some of the general changes and I'll review it before merging it in.

  • Avatar of Laekh Laekh Oct 09, 2014 at 15:14 UTC - 0 likes

    It didn't exactly suit what I needed, but was the closest plugin towards it. So I just modified its source, which was easily configurable to my needs. This going along with BossShop is amazingly good. I love it, thank you.

    Edit: To let you know what exactly I modified, so you might be able to implement it in future updates as others might need the same thing: I changed the name of currency, made an alias, created a /points help command that displays what /points now does and made /points display a player's points and a message telling them they can do /points help for information.

    Last edited Oct 09, 2014 by Laekh

    BFAK:90691712,714ac14d87520e0b2f9c285d2b112d2e2684ee4feed110ee4aa6016ddc822e3a

  • Avatar of xion87 xion87 Oct 01, 2014 at 07:18 UTC - 0 likes

    please make a way for use this on console, i need to use this like a tokens system in minigames, and is not working on console....

    • edit* nevermind was using points pay instead points give.....
    Last edited Oct 01, 2014 by xion87
  • Avatar of Mitsugaru Mitsugaru Sep 07, 2014 at 21:55 UTC - 1 like

    @madtomic: Go

    You are attempting to use MySQL with PlayerPoints with the necessary dependency: SQLibrary. Download and include the library into your plugins folder and it should work.

  • Avatar of madtomic madtomic Sep 01, 2014 at 04:48 UTC - 0 likes

    What is this? mysql errors?

    12:46:04 AM [00:46:02 INFO]: [PlayerPoints] Enabling PlayerPoints v2.1.3 12:46:04 AM [00:46:02 INFO]: [PlayerPoints] Constructor 12:46:04 AM [00:46:02 ERROR]: Error occurred while enabling PlayerPoints v2.1.3 (Is it up to date?) 12:46:04 AM java.lang.NoClassDefFoundError: lib/PatPeter/SQLibrary/MySQL 12:46:04 AM at org.black_ixx.playerpoints.storage.models.MySQLStorage.connect(MySQLStorage.java:268) [?:?] 12:46:05 AM at org.black_ixx.playerpoints.storage.models.MySQLStorage.<init>(MySQLStorage.java:53) [?:?] 12:46:05 AM at org.black_ixx.playerpoints.storage.StorageGenerator.createStorageHandlerForType(StorageGenerator.java:47) [?:?] 12:46:05 AM at org.black_ixx.playerpoints.storage.StorageHandler.starting(StorageHandler.java:65) [?:?] 12:46:05 AM at org.black_ixx.playerpoints.PlayerPoints.registerModule(PlayerPoints.java:139) [?:?] 12:46:05 AM at org.black_ixx.playerpoints.PlayerPoints.onEnable(PlayerPoints.java:64) [?:?] 12:46:05 AM at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:316) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] 12:46:05 AM at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:324) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] 12:46:05 AM at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:404) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] 12:46:05 AM at org.bukkit.craftbukkit.v1_7_R3.CraftServer.loadPlugin(CraftServer.java:446) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] 12:46:05 AM at org.bukkit.craftbukkit.v1_7_R3.CraftServer.enablePlugins(CraftServer.java:380) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] 12:46:05 AM at net.minecraft.server.v1_7_R3.MinecraftServer.n(MinecraftServer.java:352) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] 12:46:05 AM at net.minecraft.server.v1_7_R3.MinecraftServer.g(MinecraftServer.java:326) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] 12:46:05 AM at net.minecraft.server.v1_7_R3.MinecraftServer.a(MinecraftServer.java:282) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] 12:46:05 AM at net.minecraft.server.v1_7_R3.DedicatedServer.init(DedicatedServer.java:182) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] 12:46:05 AM at net.minecraft.server.v1_7_R3.MinecraftServer.run(MinecraftServer.java:436) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] 12:46:05 AM at net.minecraft.server.v1_7_R3.ThreadServerApplication.run(SourceFile:628) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] 12:46:05 AM Caused by: java.lang.ClassNotFoundException: lib.PatPeter.SQLibrary.MySQL 12:46:05 AM at java.net.URLClassLoader$1.run(Unknown Source) [?:1.7.0_51] 12:46:05 AM at java.net.URLClassLoader$1.run(Unknown Source) [?:1.7.0_51] 12:46:05 AM at java.security.AccessController.doPrivileged(Native Method) [?:1.7.0_51] 12:46:05 AM at java.net.URLClassLoader.findClass(Unknown Source) [?:1.7.0_51] 12:46:05 AM at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:77) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] 12:46:05 AM at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:62) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] 12:46:05 AM at java.lang.ClassLoader.loadClass(Unknown Source) [?:1.7.0_51] 12:46:05 AM at java.lang.ClassLoader.loadClass(Unknown Source) [?:1.7.0_51] 12:46:05 AM ... 17 more

Facts

Date created
Mar 21, 2012
Category
Last update
Jun 26, 2014
Development stage
Release
License
GNU General Public License version 3 (GPLv3)
Curse link
PlayerPoints
Downloads
21,972
Recent files

Authors

Relationships

Optional dependency
SQLibrary
Vault
Votifier