Ulysses

Ulysses Stuff => Releases => Topic started by: Caustic Soda-Senpai on December 19, 2014, 01:00:54 PM

Title: Money Commands -- DarkRP
Post by: Caustic Soda-Senpai on December 19, 2014, 01:00:54 PM
Here's your basic money commands for DarkRP.
I personally have experienced the issue where you need to modify someone's money because they either got RDM'd or an event happened where they glitched out or something happened that shouldn't. I couldn't find any commands at the time of writing the code so I wrote it up myself and releasing for any and all to use!

(If you try this on another gamemode you will have errors because of one or more of the following reasons: You're incompetent, You're a troll, You can't read, You can't even internet.)

Contains the following:

!givemoney - Gives money to a player (!givemoney <name> <amount>)

!takemoney - Takes money away from a player (!takemoney <name> <amount>)

!setmoney - Sets the money of a player (!setmoney <name> <amount>)

!getmoney - Gets the wallet amount of a player (!getmoney <name>)

Let me know if there are any issues.

Update: Added getmoney command. Submitted by  XxLMM13xXgaming and edited by myself.
Title: Re: Money Commands -- DarkRP
Post by: JamminR on December 19, 2014, 10:13:20 PM
Pardon my ignorance if what I'm asking already exists in DarkRP, but, as someone running the commands you provide, can you tell how much they already have?
If not, the perhaps a command to tell you (I dunno, 'getmoney'?)
Again, my ignorance of DarkRP is strong (I have enough real world life..I don't want to role play one) :)

Also, I stronly encourage you to make your own addon folder/path.
I cringe for the support issues that pop up when people add files directly to our folder paths.
Title: Re: Money Commands -- DarkRP
Post by: Caustic Soda-Senpai on December 19, 2014, 10:24:12 PM
Noted, I've removed the money.lua, leaving the Money Commands path.

As well, in DarkRP the scoreboard will notify you of the amount of money players have. If it's requested, I'll code a getmoney command.
Title: Re: Money Commands -- DarkRP
Post by: JamminR on December 19, 2014, 10:35:58 PM
the scoreboard will notify you of the amount of money players have
Great, if you're not controlling your server from a console when you get some email/steam IM/forum post of some user crying that <x> happened and the person wants money.
I'm a console geek. Always will be. I'm sure if I were in that situation I could use luarun print <the var> but...meh, getmoney just seems sexier/quicker.
Title: Re: Money Commands -- DarkRP
Post by: Caustic Soda-Senpai on December 19, 2014, 10:56:08 PM
Now that you've said it's sexier, I'll get right on it
Title: Re: Money Commands -- DarkRP
Post by: JamminR on December 20, 2014, 08:30:31 AM
Haha. Great. I'd no idea the phrase in advertising "sex sells" would apply to Lua suggestions, let alone is a forum we try to keep family friendly.

Great functionality for those DarkRP users out here. Good work.
I'm surprised the functions weren't included in DarkRP (or were they, but removed when disabling Fadmin or something)
Title: Re: Money Commands -- DarkRP
Post by: Caustic Soda-Senpai on December 20, 2014, 02:32:21 PM
No, they never existed. The original way for us to give money to players as admins were either our own money or generating it in an ATM Account
Title: Re: Money Commands -- DarkRP
Post by: kulcris on December 23, 2014, 10:12:28 AM
Was just looking for this a few days ago. i would also like a "getmoney" command


also capital letters in addon names makes them not work on linux servers correctly for some reason ("Money Commands" should probably be "money commands"
Title: Re: Money Commands -- DarkRP
Post by: Caustic Soda-Senpai on December 23, 2014, 02:47:12 PM
Noted, I'll fix that on the next update
Title: Re: Money Commands -- DarkRP
Post by: Caustic Soda-Senpai on March 30, 2015, 12:40:57 PM
Updated with a !getmoney command
Title: Re: Money Commands -- DarkRP
Post by: UnknownIcicle on December 20, 2015, 04:31:05 PM
Forgive me for necroposting, and for being a small idiot, but where is a download link? Or is there not one? I can't seem to find any other version of this, but I need it.
Title: Re: Money Commands -- DarkRP
Post by: JamminR on December 20, 2015, 07:33:04 PM
Forgive me for necroposting, and for being a small idiot, but where is a download link?
As is for a majority of forums, including ours, you must be registered and logged in to see the zip file link.
Now that you have an account, it's right there at the bottom of the first post. You just have to be logged in.
Title: Re: Money Commands -- DarkRP
Post by: [NIKS] (OoC)Warrior Gaming on June 16, 2020, 02:28:53 PM
so how do i install it to ulx ?its not working i got it in addons but still not working ?