Garry's Mod

Garry's Mod

1,013 ratings
Moneypot
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Build, Roleplay
File Size
Posted
Updated
14.987 KB
24 Nov, 2012 @ 5:22am
15 Sep, 2020 @ 1:33am
14 Change Notes ( view )

Subscribe to download
Moneypot

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)
10
14 Nov, 2022 @ 10:52pm
Servers with this addon?
psychicweaver
3
16 Nov, 2018 @ 6:05am
Online Servers with this addon?
The Tardis
164 Comments
Walter White 9 Mar, 2021 @ 2:50am 
why is the moneypot tool not showing up
Lexi  [author] 15 Sep, 2020 @ 1:40am 
I've just added support for different languages. If you would like to translate this addon into a language you speak, the words that need translating are here: https://github.com/Lexicality/Lexical-Tools/blob/master/resource/localization/en/moneypot.properties
Also if you spot any bugs, tell me.
Lexi  [author] 20 Jul, 2020 @ 6:00am 
What did you have to change?
Zeatth 19 Jul, 2020 @ 7:34am 
Sorted, thank you Lexi :)
Lexi  [author] 19 Jul, 2020 @ 5:13am 
Oh apologies this has already been discussed.
I have no idea where the capital letters are coming from as everything is lowercase in the source repository.
You can download the latest gma from my github here: https://github.com/Lexicality/Lexical-Tools/releases/tag/moneypot_v1.2.1
Lexi  [author] 17 Jul, 2020 @ 12:11pm 
what do you need doing?
Zeatth 17 Jul, 2020 @ 4:12am 
Can you please update the addon file name to support linux hoster servers. Or can someone send me the file for it?
NubTheFatMan 4 Jun, 2020 @ 11:16am 
My host uses linux. I didn't know it was only an issue on linux though
Merlin 4 Jun, 2020 @ 9:56am 
That's only true for users using the Linux operating system.
NubTheFatMan 4 Jun, 2020 @ 9:54am 
I found the problem. I extracted the GMA and discovered that the file "Moneypot" starts with a capital. GMod is strict about file names (at least on my host), all files need to be lowercase (it's even said on the gmod wiki, I think. I could be wrong). I made the file lowercase and put it in the addons folder, and now it appears on the server.