Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

2 Screenshots

  • 280
  • 3
  • 10.15 kB

About Vending Buys

Vending Buys is a plugin that lets the buyer and/or seller of an item that has been bought or sold from any physical vending machine know about the sale and who they bought from or sold it to.

If the vending machine is not owned buy a player, Outpost for example, it will show a slightly modified message with the name of the machine.
Note: when logging purchases from the Drone Market, Vending Buys does not record the seller, cost or currency of the sale, only who bought what item(s).

Permissions:

vendingbuys.admin - Allows admin to clear the logged sales from the data file.

vendingbuys.seller - Allows the players to see the messages as the seller.

vendingbuys.buyer - Allows the player to see the message as the buyer.

 

Commands:
- /clrvb - Clears the data file.

Default Config:

{
  "Chat Prefix": "<color=#32CD32>Vending Buys</color>: ",
  "Command to clear Vending Buys data file: ": "clrvb",
  "Ignore Non-Player Vending Machines: ": false
}

Default Data file:

{
  "Bought": [],
  "Sold": [],
  "NPCSold": []
}

Default Language file:

{
  "perms": "You don't have permission to clear Vending Buys data.",
  "clrvb": "Vending Buys Data has been cleared.",
  "vendingresponse": "You bought {0} {1}(s) from the vending machine named {2} owned by {5} for {3} {4}.",
  "vendingresponse2": "You sold {0} {1}(s) from the vending machine named {2} for {3} {4} to {5}.",
  "vendingresponse3": "You bought {0} {1}(s) from the vending machine named {2} for {3} {4}.",
  "databoughtnpc": "{0} sold {1} {2}(s) to {3} ({4}) for {5} {6}.",
  "databoughtnpcmarket": "{0} bought {1} {2}(s) from the {3}.",
  "databought": "{0} ({1}) bought {2} {3}(s) from {4} for {5} {6} from {7} ({8}).",
  "datasold": "{0} ({1}) sold {2} {3}(s) from {4} for {5} {6} to {7} ({8})."
}

Other features:

Admin can toggle on or off (true/false) the messages regarding buying from outpost vending machines in the config.

Logging all vending machine purchases.

Logs both the player name and Steam ID (only viewable by admin in the data file) in the event of a player changing their game name.


Other information:

Comments, suggestions or for support message me here or on Discord: Gt403cyl#0244

 Share


Gt403cyl2's Other Downloads


User Feedback

About Us

Codefling is a forward-thinking platform for developers to share and monetize their work from plugins to game assets and everything in-between.

8,650 files sold to 758 customers and $132,314 of payments processed this year!

×
×
  • 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.