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.
@bloxParadise_
That sounds odd... I've never had that happen. Apparently I didn't add back in the database debug messages when I changed things around, so, can you try Build #53, enable both debug options in the config and let me know the output?
Hey, whenever I hook into MySQL, the plugin freezes the entire server. I tried /points give bloxParadise_ 5, and the entire server stops responding.
Can you tell me exactly how to make the MySQL database and hook into it?
@Mitsugaru
Okay, that sounds cool if you can make that happen then that would be AMAZING.
@Kittiekatkimmie
I would simply make it a config option.
EDIT: Actually, looking at the localization.yml, you might be able to achieve it as is by simply replacing "Points" in the messages with whatever you want.
@Mitsugaru
Also, if you were to apply that, what would I have to do as far as only changing the name and not the commands?
@Mitsugaru
I would be willing to go through the extra process of doing it that way with the aliases if you would put in that option of name changes. :)
@Kittiekatkimmie
You cannot rename the currency in the current release. I can add it in, but I have my reservations.
My issue is that changing the name of the currency will no longer match up the plugin commands. For example:
Users will see it as: 100 Money
But the commands to view is still /p me or /points me
This disjoint in terminology may be confusing to users. It would be unfair of me to do it dynamically by hijacking the command preprocess event based on the new currency name, as that might interfere with other plugins.
The alternative is for the server owner / administrator to setup aliases to reflect the change.
Thus, players will use /money me to view their "points".
If you are okay with setting up aliases, then I'm more than willing to add in support for renaming the points.
@Mitsugaru
I'm not quite understanding. How could I rename them? and is there a problem with the way this plugin works? And is there a different one that doesn't have problems?
@GodsDead
Something that monitors balances and triggers actions should be handled by a separate plugin. There probably exists a plugin like that with Vault support... however, if you're trying to run another economy and this plugin maybe request that they add support for our plugin?
@Kittiekatkimmie
Currently, no. Renaming is easy. My only issue is that then it no longer matches the plugin commands, which could lead to confusion for users. Maybe if one were to make aliases to existing commands and adjust the localization file to reflect that.... well, that's up to the sys ops. So, if you think that's still a valid use case, I can quickly write that in.
Can you rename the points to something else? Like could I change it to money or something on my own?
Havent tried this plugin yet, but it looks exactly like something I would need. Is there a way to limit the amount of points someone can hand out? Also is there a way to auto-perform a command when people reach a specific amount of points either -30 could be an auto mute for 24 hours for instance, and +100 could be some in-game cash auto.
@levisn1
And there is the inherent problem with UUID. It pretty much forces servers to run in online mode or else you get inconsistent UUIDs. Adding some weird backwards-compatible offline server support is going to be tricky, considering that UUID is the way forward.
Check this thread to see if it helps you in any way: http://www.spigotmc.org/threads/solved-getting-uuids.13654/
Look at it from the plugin perspective: anyone can log in as any player name, since there's no authentication checks. Now, you may implement your own authentication system, but I've no way of knowing and its a horrible assumption to implicitly trust a player name in this situation since its mutable.
Also consider the case of a player changing their name: if the points are associated to a name and not an account unique identifier, then they lose data that should be tied to them. There's no system for offline servers to tell plugins that player A now uses a new name.
Now, as I mentioned before, its entirely possible to write it in a way to do either UUID or player names. Do I want to bother writing that in? No, not really. If I did write it in, would I support it? Nope. It'd essentially be a "you're on your own" / "YMMV" kind of deal.
And just realize that other plugins will start to shift towards UUID as the major means of player identification. Vault has already pushed out a version that puts UUID front and center. So you can bet that plugins that use Vault and store player data will probably update as well.
Unless some magical Vault-esque champion plugin comes up that will handle account identification for both in a seamless fashion, I won't be reverting back to player names for future releases. AKA, the reason for major version number increase. v2 - UUID, v1 - Player names.
TL;DR - Occam's Razor: It'll be easier to have your server setup work with UUID than request that all the plugins that (will) use UUID to convert back / add compatibility.
@Mitsugaru
The problem is that the points are not syncronized between the servers, even if all uses just one database. This happend, since i update all server to the new playerpoints's uuid system, because the plugin give a different uuid of the same player in each server, and when a player try to check his points, the plugin answer with the points of that server. My server is a bungee network, so all servers are offline...any solution? I don't want to downgrade to the 1.7.1 :/
@HaakonHawk
Did you edit the plugin.yml in the jar or something? Does it still happen with a clean jar from the project page or from the Jenkins build server?
I don't know if it's something i've done wrong. But i only get "/points <param>" when using any of the commands... Anyway what i do. That is what happens... I can't even check how much points i have because of it...
@levisn1
Hmm, I can only guess there's a case where an OfflinePlayer can have a null name...? Seems weird. Well, see what Build #48 does for you.
@Mitsugaru
i get this error..i have 1 database for a multi server network. Since i switched to the new uuid sistem for playerpoints i'm getting a lot of trouble. http://pastebin.com/aetA942T
@Jleeevinnn
Thanks. Try Build #46.
You're right, storage.yml didn't autogenerate on startup. This fixes that. I think before I made changes to storage handling, I didn't bother generating the file until I actually needed to store data... but clearly didn't put in the logic to handle that after changing things up.
Now, the config file should be generated on startup and the lead command should resolve correctly. I've tested it but please confirm this works for you as well.
@OldPrelude
Such an often requested feature, I'll try and work it in in the next release.Well, while one can change what the output using the localization.yml, it'd be a bit annoying to work in also changing the commands to reflect that change... I'd have to think on it more before doing that.I'm using Vault 1.4.1 and the latest development build of PlayerPoints (I also tried latest bukkit build with same error)
http://pastebin.com/kGw1TEUi
storage.yml won't even generate.
Is there a way to rename Points to Tokens? It sounds much better. And i cannot find a decent token plugin that works with a GUI Shop.