Jump to content

Items cost not coming off balance

Pending 2.4.12

Paul Connolly
  • in Shop
Paul Connolly

Posted

Hi 

I have an issue when you buy something from the shop the sale goes through but no money comes off the balance ?

if i sell something it will add on ok. i am using the the Economics plugin.

Any help would be great thanks. 

 

Shop.json shockbyte_02_11_2026_22_02.zip

MeventSupport

Posted

16 hours ago, Paul Connolly said:

Hi 

I have an issue when you buy something from the shop the sale goes through but no money comes off the balance ?

if i sell something it will add on ok. i am using the the Economics plugin.

Any help would be great thanks. 

 

Shop.json 8.43 kB · 0 downloads shockbyte_02_11_2026_22_02.zip 34.83 kB · 0 downloads

Hey! The issue is the shop.free permission - if a player (or group) has it, the shop completely skips deducting money on purchases. That's by design: line 8134 in the code literally says "if player has shop.free, don't bother charging them." Selling still adds money normally because the sell logic doesn't check for that permission. Just revoke shop.free from the affected players/groups (oxide.revoke group default shop.free or whatever group has it) and purchases will start charging properly.

  • Like 1
2.2m

Downloads

Total number of downloads.

10.4k

Customers

Total customers served.

149.9k

Files Sold

Total number of files sold.

3.2m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.