Plugin category: Admin Plugins Suggested name: DonCoin, Donator Coins A bit about me: Hi I am a bukkit server admin who needs a plugin developed. What I want: A plugin that lets people buy (in real money) Donator Coins that allows them to do stuff like change the weather or time of day. I know i can do this with a economy plugin and a permissions plugin but I use a economy and normal (non donators) users need to use that. Ideas for commands: /dc give (amount of coins) |(Has to be able to run from console) /dc take (amount of coins) /dc setperm (permission node) (command) (name for /dc buy) (Number of coins to buy it) /dc buy (name) Ideas for permissions: dc.give (for admins) dc.take (admins too) dc.buy (anyone) dc.setperm (owner) When I'd like it by: Soon Similar plugin requests: None. PM me on bukkitdev for more info (my name is epicadmin)
Hi, I've wanted this, too. A lot. The only problem would be integrating this into other plugins. I currently run iConomy and Vault. All of the plugins can detect iConomy and/or Vault. If you add this, it will get all messed up. This would be an amazing thing to have. The only issue is how it would work with the existing economy and other plugins.
The idea is a plugin for both getting the "coins" and using them, it won't matter because it won't hook in to anything else.
To use them, wouldn't you need to hook into something? Actually, a better question is, are the rewards going to be coded into the plugin, or are they going to use another plugin? For example, if they were to "change weather or time of day", would that be built into the plugin, or would it use the Essentials /weather and /time commands?
I thought this could use permissions? That would be that one dependency. If not excuse my beginner knowledge at java
I understand the permissions part, yep. You're right, this would need to hook into permissions. I was asking about the rewards for using DonorCoins. How would you reward them? I was asking whether you'd be using an existing plugin's functions, or having them built-in. The whole reason why it's hard running two economies is because of the conflicts between them. Theoretically, the best solution would be to get CommandHelper. Define an alias in CommandHelper, and give them permission for that alias ONLY (not the original command). Then, price the alias, so they are charged for using the alias. In order to price the alias, you would need to run a command from the Console, like /dc take <player> <amount>. This is the only way I can see it working without any conflicts - Not letting there be any conflicts.
i have a feeling you're making this way more confusing than it should be... let me get this straight, all you want (in basic terms) is the ability to give players coins, and the ability for those players to spend those coins and get rewards? if that's the case, two things: first, you wouldn't need to hook into any plugins (i think.) this would be its own sort of mini-economy and wouldn't need to interact with your other economy. UNLESS you wanted your players to also be able to buy (or sell) donorcoins with in-game money...that ability could be switched on/off from config.yml though. second, if i were making this at least, i'd force you to use mysql. people are going to be using their real money to buy coins, so you want a reliable and more permanent system for tracking their amounts. enabling mysql on your server isn't hard, though.
Might even be worthwhile to look into keeping all the data on the web site, and using a web service to grab the info you need. Likely that's a more feature rich environment to keep the data anyway.
you mean on the website where they'll presumably be buying these coins? also this is a random question but how do i do the Ne0nx3r0 reply thing? where the name'll be a link and you'll get an alert? because that's so much easier than quoting entire posts. EDIT: answered my own question...lol...disregard that...
gus To spend the coins, wouldn't you have to hook into another plugin? For example, if you wanted to make '/spawnmob' cost 10 DC, then you would hook DC into Essentials. At the same time, iConomy would hook in (Actually, it might not. I'm not sure if Essentials links... That's just an example ) But most plugins will hook into Vault, and iConomy hooks into Vault (for me). If you wanted to use a plugin that hooked into a plugin which hooked into Vault, would you be able to? (Scratch that, I just remembered... You can assign prices to a command. No need to hook into the plugin to assign them.) MySQL is definitely a good idea. Personally, I like flatfiles. Since I run this off my home computer, I use XAMPP, and after every restart, XAMPP will automatically open, but won't start MySQL automatically. I think if someone developed this, they should add an option Ne0nx3r0 Wouldn't that mean that the developer has to know PHP as well? It would definitely be more feature-rich, and people would be able to SEE it on the website.. But I guess it depends on what the developer can do.