TimeGivesYouMoney
TimeGivesYouMoney
Important Information
Update to Version 1.2.0 ASAP. Fixed a security bug.
After updating to Version 1.2.0, you need to replace all the ATM signs.
Description
A plugin which gives players that are online money. Which they need to take out via a command or a ATM, it can also be configured to automatically to given to the player.
You can specify how much money the plugin should payout to different player groups.
Features
- Different payout per minute for different groups.
- A AFK timeout option to ensure that that players that are AFK won't be rich.
- Ability to save the progress on logout and on the shutdown of the server.
- ATM support.
- Support for adding a max earn per day and per session.
Configuration
Configuring the plugin is really simple:
SettingsVersion: 1 #The version of the settings file, You should never change this value! SaveProgressOnShutdown: true #If the server should save the money of all players when it shutdowns Group: #Below here are the configure groups Default: #The Default group AFKTimeout: 5.0 #How long the plugin should wait before stopping paying the player. In minutes! -1 will disable the timeout. MoneyPerMinute: 2.0 #How much money the player should get. In minutes! InstantPayout: false #If the plugin should auto cashout the money, for the player. MaxMoneyEarnPerDay: 20000.0 #How much money the player can earn per 24 hours, from when the server was started. -1 will disable the max money per day. MaxMoneyEarnPerSession: 10000.0 #How much money the can earn from when the player connected. -1 will disable the max money per session. SaveProgressOnLogout: true #If the players money should be saved when he/she logout Language: en-US #The language file TimeGivesYouMoney should use
If you want to add your own group just add a new section with the name under Group. And add AFKTimeout, MoneyPerMinute, InsantPayout, MaxMoneyEarnPerDay and MaxMoneyEarnPerSession. And configure it for your liking.
Like this:
... Group: Default: ... Custom: AFKTimeout: 10.0 MoneyPerMinute: 10.0 InstantPayout: true MaxMoneyEarnPerDay: -1 MaxMoneyEarnPerSession: 100.0 ...
And to make the group active for some players just add the permission tgym.group.custom
Commands
/tgym help - Shows this help. /tgym reload - Reloads the config. /tgym stats - Shows the money earned. /tgym stats [Player] - Shows the money earned for [Player]. /tgym cashout - Cash out your money to your bank account. /tgym cashout [Player] - Cash out [Player]s money to their bank account. /tgym add <Player> <Money> - Add cash to <Player>s TGYM account. /tgym remove <Player> <Money> - Remove cash from <Player>s TGYM account.
Permissions
tgym.reload - Adds the abillity to use /tgym reload tgym.stats.self - Adds the ability to use /tgym stats tgym.stats.other - Adds the ability to use /tgym stats [Player] tgym.cashout.self - Adds the ability to use /tgym cashout tgym.cashout.other - Adds the ability to use /tgym cashout [Player] tgym.add - Adds the ability to use /tgym add <Player> <Money> tgym.remove - Adds the ability to use /tgym remove <Player> <Money> tgym.atm.use - Adds the ability to use ATMs. tgym.atm.create - Adds the ability to create ATMs. tgym.all - Adds all the permissions
Create a ATM
You need to have the tgym.atm.create permissions node in order to create a ATM.
The creation of an ATM is really simple. Just place a sign and type on the first line "[ATM]" and write what you want on the other lines and press done.
And if the text turns a different color, you have done it right!
After that you can either just have the sign which you can right click to cashout you money, or you can place buttons, levers and pressure plates next to the sign and use them for activating the cashout.
Example:
Dependencies
This plugin requires Vault
MCStats
This plugin utilises Hidendra's plugin metrics system, which means that the following information is collected and sent to mcstats.org:
- A unique identifier
- The server's version of Java
- Whether the server is in offline or online mode
- The plugin's version
- The server's version
- The OS version/name and architecture
- The core count for the CPU
- The number of players online
- The Metrics version
You are free to opt-out of submitting data whenever you wish. This will immediately stop sending data for any plugins that supports MCStats / Plugin Metrics. Simply edit plugins/PluginMetrics/config.yml and change opt-out: false to true.
Github
The code is licensed under GPLv2.
Donate
If you want to support me, you can donate.
dont use this plugin, its outdated.
Check TimeIsMoney out. (1.12.2)
cool
Im Running A Server On My Comp 24/7 And I Find This Plugin Owsome But I Cant Make The Plugin Work Because I Dont Have A 1.2.0 CraftBukkit.Jar I Have 0.7.9 Witch Is Old So If AnyOne Knows Where To Find A 1.2.0 CraftBukkit.Jar Server File Please Reply To Me Or My Skype : lauris4599
PLEASE HELP ME
I'm getting an error in my console: [Server] WARN Task #9023 for TimeGivesYouMoney v1.2.2 generated an exception I'm not sure what this means! Here is my config: http://pastebin.com/SV4vA6pT
I would like to disable this plugin in some worlds. Because right now instantpayout works in every world even when I use perworldplugins.
PLEASE UPDATE!!!
variable %time% do not word in 1.7.5
I don't uderstand how to use groups.
This plugin is just fantastic!!
But if you can add like a command to give a player a money boost for a specific time... That would be incredible!
@DarkSniper8
Why did you set 'AFKTimeout' to '0'?
This means that everybody will be seen as afk all the time.
Try to put it as like '5' for 5 minutes timeout before players counts as afk.
When players are afk they will not earn any money.
Hello,
I dont really understand how to make it so players stop earning money when they become afk. Heres my config if you need it http://pastebin.com/0uLHxSfN
@Gftdcrafter561
There should be, because there is no "single" world specific code.
is there multiworld support
@Blue___Moon
Please pastebin your config.yml, your server log and what permissions you have used.
I'm sorry, but I suppose I don't really understand how to configure this plugin. Upon installing it, nobody is paid anything. I set instantpayout to true so nobody has to enter the command to get money. Other than that, I didn't really change anything from the default config. Was there supposed to be a permission I added to groups so they can be paid or was I supposed to add anything to the config itself? I'd love a bit of guidance here- I think I'm just missing something.
@3ijtKwijt
I think I broke something in the stats command, will check it out later.
@WildN00b
I also tried that one 0.2$/minute. but the stats will shown 10 when u got 9.6 so that's not what i want :s
@3ijtKwijt
For the money part, just do what Ylar said.
And for the message part, just make a copy of the 'en-US.yml' file and change the messages you want.
After that go into the 'config.yml' file and change the language line to 'Language: <The name of the copied file without .yml>'.
Like if you named you file en-US-MOD.yml write:
@3ijtKwijt
You could do it an other way. For example, you want to give your players $2 each 5 minute. Then divide 2 by 5.
2/5 = 0.4 Then put 0.4 as your money/minute. :)
Hello,
i like your plugin, only one detail... Can u do something that you can chose the amout of minutes? Now you earn x money per minute. But on my server i want x money per 5 minutes. Is that possible to fix that?
Also i want to chose a message you receivd when u got money.
Can u pls fix that?
@Doingit
No problem :)