CommandPoints
Is money too plentiful on your server? Want players to have certain admin privileges, but only in moderation? Maybe you want them to be able to change the time of day, or teleport to others, but only a limited number of times? Then CommandPoints is for you!
CommandPoints is a system in which players can obtain command points through certain actions such as voting for your server through Votifier. Players can then spend their points to execute certain commands that support CommandPoints.
Features:
- Easy to use, economy-like interface
- Integrates with Votifier
- Permissions Support
- Supports logging of points gained/lost to a log file
- Supports initial Command Points for new players
Commands:
- /commandpoints or /cp - Lists all commands available to you
- /cp points - Gives you the amount of points you have [User Only]
- /points - A shortcut to: /cp points
- /cp points <username> - Gives how many points a specified user has
- /cp give <username> <points> <reason> - Add points to a specified user's account
- /cp remove <username> <points> <reason> - Remove points from a specified user's account
- /cp set <username> <points> - Set a specified user's points to a certain amount
- /cp reset - Resets player points amount database (Clears all accounts)
- /cp giveall <points> <reason> - Gives all the users a certain amount of points
- /cp removeall <points> <reason> - Takes points from all the users
- /cp transfer <username> <points> - Transfer points to another user's account [User Only]
(Note: Because accounts are created when a player joins the server. Resetting the database will make all users on the server unable to use or receive commandpoints until rejoin.)
Permission Nodes (All linked to commands):
- commandpoints.help: Can run the help command.
- commandpoints.points: Can check own number points.
- commandpoints.points.other: Can check other users' number of points.
- commandpoints.give: Can give users points.
- commandpoints.remove: Can remove points from a player.
- commandpoints.set: Can set a user to a certain amount of points.
- commandpoints.reset: Can reset the CommandPoints database.
- commandpoints.give.all: Can give all users points at the same time.
- commandpoints.remove.all: Can remove points from all users at the same time.
- commandpoints.transfer: Can transfer points to another user.
Developers:
CommandPoints API HowTo
API JavaDocs
Server Admins:
Alone, CommandPoints is just like an economy plugin. Please ask the authors of your favorite plugins if you want them to integrate with CommandPoints and supply your users with more commands.
Plugins That Support CommandPoints
- CommandPointsEssentials - Essential commands for players that use points.
- CommandPointsMobDisguiseBridge - Charge players points for disguising!
- CommandPointsMunificent - Hand points out based on play time.
- InfiniteKits - The only kit plugin that you can charge points and/or money for kits for!
- BossShop - The most player-friendly shop plugin
Vote Listener
You can grant people points for voting for your server. Just use this Votifier vote listener:
CommandPoints VoteListener
@Devil_Boy
should not be as heavy as u think (i only got minor skills in programming and never watched in java or mysql, but im really good in solving and splitting complex problems :D).
i think ur plugin is using a database (for handeling the amount of commandpoints)? u just need to add an other variable, which get +1 every dunno ... 1 minute? and lets call this one "counter.user". than u need to check after the +1 intervall of the counter a query like "if counter.user1 >= 10 then user1.cp +1 =: user1.cp and 0 =: counter.user1"
so if user 1 is online for 10 intervalls, he will get a commandpoint.
maybe the amount of intervalls/minutes can changed in the config ?
this needs to loop for all online players ... hope my explanation is understanable (i dunno how good my english is xD)
@EvHub
What type of semi-random system are you considering? :)
If necessary I could always nab Tux2's more accurate system. It legitimately calculates time spent on the server. (It's just a bit heavy and much more complex)
@Devil_Boy
An interval would work, i think, the only problem I see with that is people figuring out when the next interval will be and just logging in then. If it was made semi-random that could help. And I understand the resistance to vault, as it doesn't fit, so-to-speak, this plugin. The points to cash conversion sounds like a fine alternative.
@wachnlurn This plugins is a command merit api system. Other plugins are to implement it the same way as any other economy system. An example of this is linked at the bottom of the description.
It should work fine with R3.
i was kind of hoping to use this either as like you mentioned above with votifier to give a special command you cant get any other way, or with buycraft. but i dont see a list of commands i can use with it or any config for adding the commands. Also does it work with 1.1-R3?
@EvHub
I don't think the Vault integration would work out, because this is a completely parallel economy. I would understand players converting points into cash though.
How would a quick plugin that awards a configurable amount of points to all players on the server at a configurable interval. This way, people who play longer, get more points.
I love the plugin. I do feel like there are some things that are missing, however. It would be nice if this could integrate with vault so that users could spend it like money through vault. I also would appreciate if there was a way to reward players with points just based on playtime. Thanks!
@mrcheesete0
I'm sorry I didn't spot your comment earlier. I was originally working on a plugin called "CommandPointsYouChoose" which would allow you to charge for any commands (without checking for success), but didn't see a demand for it and set it to the side. I'll be sure to get back to work on it soon for you.
how would I integrate this with basic bukkit commands like /time set and /toggledownfall?
@niugnip
As long as the author of the plugin that is implementing command points makes that configurable, yes! (Just like a plugin that integrates with an economy)
That sounds awesome! Is it possible to make commands cost more then 1 commandpoint?