Garry's Mod

Garry's Mod

872 ratings
Moneypot
 
Rate  
Favorite
Favorited
Unfavorite
Type: Tool, Addon
Tags: Roleplay, Build
File Size
Posted
Updated
0.004 MB
Nov 24, 2012 @ 5:22am
Dec 31, 2018 @ 10:24am
11 Change Notes ( view )

Subscribe to download
Moneypot

Subscribed
Unsubscribe
Description
This is the (moderately) popular multi-use Money Pot addon I made for DarkRP. (Compatible with 2.4 and 2.5)
It is an entity that will store any money that touches it, with the ability to eject it all as one single money entity when 'use'd.
------------------
Github Repo[github.com]
------------------
On it's own, this provides a handy one-way transfer method for money in shops: Most of the moneypot it placed on the public side and the ejection end is placed on the shop owner's side. The customer places their money in the pot and the shop owner confirms it is the right amount and then ejects it.
However, with Wire, this becomes a particularly useful entity.
It has outputs that
A) Show how much money is inside it
b) Show how much money was just put inside it (or removed) and
c) Trigger every time money is put in or taken out.
It also has inputs that allow you to either empty the entire thing or more importantly output a portion of the total money stored inside.
This means it is very useful for automatic gun shops, both in knowing how much money the customer has put in and being able to make exact change if the customer puts too much money in (which is impossible otherwise!)

There is a full Lua interface in case you want to integrate it with your custom DarkRP server (maybe make money printers print directly into the nearest moneypot?) and even supports customising the money entity supported in case you use a different system to Public DarkRP (or even a different gamemode!)
Popular Discussions View All (2)
6
May 1, 2018 @ 2:01am
Servers with this addon?
Joe
3
Nov 16, 2018 @ 6:05am
Online Servers with this addon?
The Tardis
< >
137 Comments
Wispee🍉 Jan 8 @ 12:55pm 
@lexi thank you!
Lexi  [author] Dec 31, 2018 @ 10:30am 
@fishtailwags: You can now set the cvar moneypot_spawn_delay to 0 to spawn money instantly.
Lexi  [author] Dec 18, 2018 @ 3:19am 
https://github.com/Lexicality/Lexical-Tools/blob/master/lua/entities/base_moneypot.lua#L224
Change DelayedSpawn to SpawnAmount.
There was definitely a reason why it took 1 second to spawn, but it was so long ago that I can't remember what it was.
I'll make it a cvar.
Wispee🍉 Dec 17, 2018 @ 4:49pm 
Is there a way I can change the code to make it drop the money instantly when given the command to? it is really annoying when using it with wire, it needs to be instant rather than taking a second or 2
Merlin the Great Wizard Aug 18, 2018 @ 6:03pm 
@Lexi

Did you type that incorrectly? Because it's telling me unknown command whenever I input it and it doesn't change the max amount of money pots able to spawn.
Lexi  [author] Aug 17, 2018 @ 12:38am 
Yeah, sbox_max_moneypots
Merlin the Great Wizard Aug 16, 2018 @ 12:31pm 
Is there a sbox_max command to change how many money pots you can spawn?
RubY-NameIess- Jun 21, 2018 @ 5:20am 
hey i can't spawn this i use darkrp gamemode when i spawn it it doesn't appear pls help
Flash Mar 25, 2018 @ 11:34pm 
money request and shipment functions for Expression 2 (if you are an e2 user)
Getrektsun69 Feb 14, 2018 @ 9:28am 
Is there any money mods or bank mods you would reccomend?