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.
Is it possible to change the base command for this plugin? For example, so I could change it to /credits instead of /points? If so, how can I do it? Thanks!
@floh22
I'll try to look at it after a meeting. Hopefully I'll be able to help, but I might not have access to it... So no idea how much help I'll be.
@alin92
What do you mean by more points?
It's possible to do more points?
Could you update BossAPI? Bossshop no longer detects PlayerPoints, im guessing it has something to do with that.
@pepper82
Not entirely sure what I can do. Looking at the stack trace, I've already handed off the SQL stuff to the library and just waiting on a response. I can only guess that something happened / interfered while the library was talking to MySQL:
com.mysql.jdbc.SQLError.createCommunicationsException.
Based on that, I'm thinking it has nothing to do with either the plugin, SQLibrary, or Spigot. Seems like it has to do with MySQL, considering that its random / intermittent. See if this link helps you. I'm honestly not sure what I could do on my end since it's likely specific to your environment.
(using mysql)
I found a bug:
[PlayerPoints] Could not create getter statement.
http://pastebin.com/q5MjCYJ8
Happens randomly. Any suggestions?
@pepper82
Are you asking for a command to do that?
@werte12345
Due to how prominent of a change UUID is, API and data storage-wise, the only versions to support name based identifiers are pre-2.x.x. Instead, you should be translating the player name into a UUID. There should be a helper method in the base of the plugin... If it's not public I can open it up so that other plugins can utilize it at will.
One last question: Would it be possible for you to compile a version of PlayerPoints to 1.7.5 so the getPlayer-Method workd without UUIDs?
Nice plugin. But how can I give points to all online players?
Yeah that would be a good solution, but SVL don't reply since weeks... :(
It's really sad - the part from your plugin works perfectly - just now i use the "points broadcast %name% in the "online / offline commands" of SVL and delete the public message to '' instead of 'yeah he voted bla' - and this shows an empty lane in the chat. Quite annoying...
I'll have a look if the code of SVL is public and maybe delete the method which bring the public message... we'll see
@werte12345
Well, seems like it'd be duplicate functionality and would increase the scope of the plugin beyond what it's meant to be. I would think the more simplistic solution would be for SVL to support this plugin's API directly as an optional component so that users can run a Vault-based economy as well as PlayerPoints as the standalone side economy.
you're a genius :D - works perfectly. Now the difficulty for us is tp block the public message from simpleVoteListener and only use the online/offline-commands when someone vote for the server ;) BTW: Since you got an internal VoteListener, why donÄt you enlarge the Plugin with the options of SimpleVoteListener so you can use your plugin directly as VoteListener? Would make a lot of things a lot earier for people who use playerpoints and SImpleVoteListener ;)
@werte12345
See if this build works for you.
wooo, that#s so nice from you - waiting for it :)
@werte12345
I'll make a build for pre-1.7.10 versions after work.
Yes it'll be a standard feature. Not dropping a release until I know it works the way you intended. Not to mention clearly it's not time to move to 1.7.10, which is what it would have been.
@Bernatixer
Well, if you're able to get the Minecraft name from the user, you should be able to use Mojangs own API to convert that to UUID then match that to the database.
I have the points in my database, and I want to show them in a web. But I don't know how to retrieve the UUID from the user, how can I do it?
well, we run on 1.7.5 (got problems with the command /points lead cause of UUIDs anyways...) - so if you can build it for this version, it would be awesome.
Will this be a standard-feature for the future of this plugin? Because it won't help much if it's not in there later... :)
But beside this: Thanks a lot, never expected you to build in this feature! Thanks!
@werte12345
Try Build #66 and see if that works for you. The command is /points broadcast <name> and requires the permission node PlayerPoints.broadcast. If you need me to remove to the permission restriction, I can do that. The configurable messages can be found under the localization config:
EDIT - Note, this has been built against Bukkit 1.7.10, and due to API changes requires that version or greater. If you need it rebuilt against a lower Bukkit version, just ask.
Yes that would fit.
The important thing: It has to be runable via command. Example:
Playerpoints-Config: point-broadcast: "This is customable text which shows the %points% of %name%"
And if you run the command /pointsbroadcast, the text is shown as normal broadcast. (so you can add the command to SimpleVoteListener as command to run when a player voted).