http://dev.bukkit.org/server-mods/vault/ ^^^^^^^ I dont know how to work it, i just downloaded and installed in my Bukkit Server. I looked around all over the forums. i couldnt find help, im not good with copying and pasting stuff. like the Commands, if someone could walk me through this, i have IConomy6. i want it to cost money to use a New Plugin i have.. HELP ASAP! -Also, i need help with putting the right thing in the Plugins.yml File... im lost lol, im new to this stuff, i googled it, i looked up on youtube. idk how to work it..
If you're trying to use the Vault API, just follow the instructions on the page you linked. I'm not sure how the Vault devs could make the examples any clearer. If you have specific questions, feel free to ask here.
i Still really dont get it, i went to the devbukkit an read... what i want to do is use Iconomy with it, so i can use other pluggins an take cash away.
I think you are confused, Vault is for plugin developers to use to integrate economy and permissions into their Plugin.
Then how could i use my Economy to take money away when i use this pluggin? http://forums.bukkit.org/threads/mech-rpg-dragontravel-beta-2-3-be-a-dragon-rider-1-1-r3.46079/ ^^^^^
The vault front page tells you how to initialize Vault in your plugin, just use only the economy part if that's all you need. Here's a direct copy of the relevant code in the sample they provide. Now just call setupEconomy() in your onEnable and then you can use economy.depositPlayer to give money. Code: public static Economy economy = null; private Boolean setupEconomy() { RegisteredServiceProvider<Economy> economyProvider = getServer().getServicesManager().getRegistration(net.milkbowl.vault.economy.Economy.class); if (economyProvider != null) { economy = economyProvider.getProvider(); } Edit: Also make sure you add vault to depends or softdepends in your plugin.yml.
Thats what im stuck on, where do i add ths stuff? :/ im still a nub at this stuff. Sadly, ima need someone to walk me through this, or make a YouTube vid of it.
I Have the Same Problem, I posted just before you. I have absolutely no idea how I am supposed to get a players balance from that ^^^^^^
Im trying to get it to take Balance away from http://forums.bukkit.org/threads/mech-rpg-dragontravel-beta-2-3-be-a-dragon-rider-1-1-r3.46079/ ^^^^^^^^^^^^^^^^^^^^^^^^^
Found a Solution: Look here: http://mythcraft.dyndns.org/javadoc/vault/net/milkbowl/vault/economy/Economy.html Hopefully this should clear things up
Vualt api has got to be the easiest api. <pluginname>.economy.playerBalance(player.getName()); add that to the command or a specific event within your code. i use the <pluginname> within my economy code becuase my economy and permissions are static.
Dexeron Izz9 You are mixing up plugin development and server administration. What you are talking about is done with a plugin which is coded in java. As a server admin what you can do is use plugins made by java developers to customize the configs and everything around that to get a customized experience on your server. If you would like to do what you have stated you have 3 options: Write the plugin yourself. This includes learning java, and the Bukkit Coding API Ask/Pay someone else to do it for you Find an existing plugin that does this
Izz9 Exactly. I'm glad I could help you this far but you will not see any other help from me. **End of thread. EDIT by Moderator: merged posts, please use the edit button instead of double posting.