So, what I want is a plugin similar to mineplex's parkour plugin, that gives you some money when you click the villager at the end of the parkour. If you know any plugin like that, you can also tell me what it is instead of making it. I want it for my server that I will be starting in 2 weeks (if there is no problem). EDIT - Do you know how to change the title? I wrote "clock" instead of "click" EDIT2 - Dont worry, Its already done EDIT3 - Donwload - http://dev.bukkit.org/plugins/VillagerRewards
Maybe wrong section. pta2002 You can using this: Make sure you have Vault implemented, and imported. Code:java Economy eco = null; // When rightclick on a villager then gives the player $10.0@SuppressWarnings("deprecation")@EventHandlerpublic void onPlayerInteractEntity(PlayerInteractEntityEvent e){if(e.getRightClicked() == null) return; // Checks rightclicked is null. Not a entity or something else.if(e.getRightClicked().getEntityId() == EntityType.VILLAGER.getTypeId()){ // Checks rightclicked is a Villager.eco.depositPlayer(e.getPlayer().getName(), 10.0); //Gives the player $10.0 using Vault Plugin.e.getPlayer().teleport(Bukkit.getWorlds().get(0).getSpawnLocation()); // Teleport to the spawn of first world in a list. Usually "world".return; // Close this event for this player.}} Questions? Say it! If your problem is solved, mark this thread as "Solved". Greeting, Ronald
pta2002 use citizens and http://dev.bukkit.org/bukkit-plugins/cmdnpc/ to do commands such as /eco give <name> amount and another command to get the console to teleport him to spawn
DusRonald If the reqestee doesn't know how to code (most of them) then that code is useless to them unless there is a dev wanting to do it then he can take that code, but a lot of people won't just take the code add plugin.yml and compile it for the reqestee. It would make more sense for the person who sent the code to just do the compiling them selves.
Sorry, I was out for a while. But I am requesting a plugin, not making one. Even though I have no problems on making it, Im still new to bukkit and all I managed to do is a plugin that explodes players (Oh, I had so much fun with that ). However, I am using BOSEconomy as my economy plugin. But I will try to make it, if nobody knows one. I want mobs/blocks/signs. I think using villagers looks better, but if I can't make the plugin, I will use what 15987632 said.
bwfcwalshy My code is a example. If he wants it to work, he must also find out more yourself. My code is not so complicated? If you want I want to make that for you. So yes: PM me. EDIT by Moderator: merged posts, please use the edit button instead of double posting.
No, it isn't. But I have no idea of how to implement and import vault. Is it already on the bukkit API? EDIT - I tried to implement Vault. It isn't on the API. Or is it another class? I tried to implement the Vault superclass.
Yes, I think it's a better idea. But can you put the source code in github or something like that? I would like to see it, since I am learning how to make plugins.
It is against the forum rules. Things not to do Lastly, we have the things you should not do in your post. "PM me for details" - If you cannot describe your plugin requirements in public, people are not likely to care to reply. Keep your discussions to the thread and suddenly more people reply! Posts without a plugin description will be deleted without warning. Money offers/payment - As per the forum rules, monetary offers are not allowed. Posts offering payment will be deleted without warning. PM me your Skype so we can talk - If you wish to fill plugin requests, you do so freely. This is not a site to solicit sales for your desire to make money filling plugin requests. If there are extra details you need to fill the request, ask for them on the post itself. Posts asking to take discussion to skype will be deleted without warning. "Hiring developer for server" - Post those in your server's topic in the server forum. Maybe add a [NEED DEV] tag to that post. This forum is for plugin requests not dev team requests. Claim the plugin as your own - Do not take a fulfilled request and post it as your own plugin. Personal Requests - If your request is for you and you alone, and no one else can use it, you might want to learn Java! Fix or modify current plugins - Submit a ticket to that developer on BukkitDev! Huge, huge huge requests - Not actually a "not to do" but do not be surprised if an extremely complicated request is ignored. The simpler a plugin, the more likely it is to be made. Requesting a plugin that is better served by online-mode=true - If online mode already solves your problem, a plugin should not be requested.