CitizensDev / Citizens

NPCs for Bukkit
citizensnpcs.co
Other
107 stars 53 forks source link

Traders doesn't take money from players when buying #834

Open ghost opened 12 years ago

ghost commented 12 years ago

We've been ripping our hair off for this issue for a couple of days. We have the latest Citizens with Bukkit, and PEX and Essentials (with economy).

Our players don't lose money when buying stuff from the traders. It says the transaction is complete, but no money is drawn. They can buy stuff from signshops, built in with Essentials. And they can sell stuff to the Traders and recieve money.

This makes for them to just get lots of items for free and sell them to the Trader and get money.

This is my permission.yml for the builders:

builder: options: rank: '900' permissions:


I tried with both citizens.trader.use.trade and citizens.use.trader and even both at the same time. And even citizens.basic.*

Yes I reload citizens and server after configuring the permissions.

The only thing my server isn't capable of is removing money when players buy from traders. All other economy works!

Fureniku commented 12 years ago

What economy system? Just tested using iConomy and Vault, works fine for me...

ghost commented 12 years ago

I quote myself: "Essentials (with economy)."

=)

Fureniku commented 12 years ago

Ah, didn't see that. I'm guessing its a bug with Essentials econ anyway... Try installing Vault. No idea if it'll help at all, but it doesn't affect you negatively to have it and worth a try?

ghost commented 12 years ago

Thanks for the answer. We have Vault installed. Was thinking of removing Vault and see if it works? Or is Vault built in with Essentials or other plugins? Don't remember even downloading it.

Fureniku commented 12 years ago

Hmm, I don't even know if Citizens requires Vault but I know it doesn't bug if it is installed - I'm using it and like I said, Citizens works fine for me with anything economy-related.

Quick Questions:

  1. When you say "all other economy works" - is that in general, or in Citizens? Like, if you set up a NPC and it charges you, does that take the money?
  2. Are you on a hosted server, or are you hosting on your computer? If you're hosted, set up a local server to do tests on. Then install Essentials, Citizens and Vault and nothing else, does the same bug happen? Try replacing Essentials with iConomy, does that remove the bug? If so, it's something about the Essentials economy system. If not, I have no idea whats causing it :P

(That testing environment is invaluable by the way - I made one around 3 months ago, takes 5 minutes because you don't need any port forwarding etc as its only local. Brilliant for trouble shooting)

ghost commented 12 years ago

Thanks for answering =)

  1. When I say "all economy" I mean besides selling stuff to the Traders; signshops, creating factions, claiming land etc.

I can setup a Trader and say to him that he can sell stuff for this and that, but he doesn't charge the player. The chat says that the transaction is complete and the player recieves the item, but no money is taken from the player.

  1. Yes, we are on a hosted server. We tried iConomy today and it was the same. But then we had both Essentials and iConomy.

But what if it works with my local server but still doesn't on my hosted? I don't want to do it all from the beginning on my hosted server because everything else works besides buying stuff from Traders. Then I just won't use the Traders and go back to the signshops in Essentials. And just use the NPCs for fun.

I've read lots of other tickets here with the same problem and no one has a answer. Sometimes it just doesn't work and no one knows why, I just have to deal with that.

Fureniku commented 12 years ago

No worries, just trying to help while I wait for responses on my tickets :P

This does seem to be a weird bug though... The other tickets on here, are they all essentials too? I just triple checked, definitely working for me and I'm on iConomy.

Milhooz commented 12 years ago

OK same problem for me with Essentials 2.8.2 et Citizens 1.1.6 (Bukkit 1.1 R4). Problem reported here too : http://forums.bukkit.org/threads/fun-citizens-v1-1-6-human-npcs-for-bukkit-1-1-r4.7173/page-341