Timeismoney
Overview:
- Timeismoney allows you to earn money per minute of connection (Real server time).
- Timeismoney is a system of cash machines where the player can get his money earned per minute of real time connection.
- Timeismoney supports Vault, BOSEconomy, Essentials Eco and iConomy 7 plugins.
Version:
- 1.5
How to use:
- To define a cash machine, just place 2 pressure plates, one sign and 2 buttons like shown in the picture.
- The player earns money per minute of real time connection (by default 1$/min).
- Money is paid into the iConomy, BOSEconomy or Essentials Eco account when the player go to a cash machine or when he disconnects.
- There is a max time per session fixed by default to 120 min and a max amount per day fixed by default to 1000$.
Commands :
- /timeismoney : Show the time spent since last cash machine operation.
- /timeismoney reload : Reload the configuration without restarting the server.
Permissions :
- If you're not using the Permissions plugin, Timer uses the built-in op.non-op system for permissions.Only ops will be able to create a cash machine.
- Otherwise, the Permissions node is: timeismoney.create
Configuration file:
This file contains :
- money earned per minute (by default 1$/min)
- max time per session (by default 120 min)
- max amount per day (by default 1000$)
- Allowed AFK time, default is -1 (disabled), else if the AFK time is greather than this value, the AFK time is ignored by the cash machines.
- Message strings
Installation:
- Economy plugins: Vault, BOSEconomy, Essentials Eco or iConomy 7.
- Just put timeismoney.jar in your server's plugin directory, then restart or reload the server.
- You can then modify the configuration file if needed.
- Add the Permission node if you use Permissions.
BUG RELATED:
Nice job you have here, but there is a problem. When i tried to use reload command on my server, people that are already logged, i mean, those that are already in the game will cause a bug if they step on the pressure plate.
My Ideia (as i dunno your logic) I think it might be a problem with the way you get the list of players. Maybe you start listing them when they connect, but if i use the reload command, the list becomes empty and some players are already in the game (that means they won't be added to the list), so if they step on the pressure plate, the result is a bug.
SUGGESTION: People shouldn't lose their time when they leave. Exemple: If a person has 3 hours in game and leaves (maybe for a connection problem or an on-porpuse-leaving), he will lose all the money that belongs to him (maybe i tested wrong, but my time in-game went to 0 when i left the game). I suggest that the time should be saved and loaded when he re-enters the game, so it would be reset only when claiming for it. If you're handling only variables of the current session time to check for session and day limits, maybe adding more variables (like some to handle: current session, previous connection time,etc) or warning players that they will lose previous time on exit could be the solution. Or you could add something that gives the money to the player when he leaves. But this would kind of hide your nice machine to get money, because people would stop using it sometimes.
HE HAS UPDATED TO 1.4.7 NOT 1.5.1 DONT BOTHER TRYING TO USE IT ON OUR UPDATED SERVERS! ... *shakes head*
Why bother releasing a 1.4.7 version at all.
I always find it vexing to ponder the idea of a dev spending time working on something thats outdated to justify his not wanting to "waste time" building an up to date version while bukkit is still being coded, yet wasting his time entirely building an outdated product for a community that wants to see an up to date version regardless of its useful lifetime. Meanwhile lets say bukkit finalizes a reccommended build what is it that the dev has to do again ?
UPDATE
Its almost like the matrix isnt it ;)
My console is spammed with this whenever a user steps on the pressure plates.
2013-04-06 23:10:00 [SEVERE] Could not pass event PlayerInteractEvent to Timeismoney v1.0 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) at org.bukkit.craftbukkit.v1_5_R2.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:181) at net.minecraft.server.v1_5_R2.BlockPressurePlateBinary.e(BlockPressurePlateBinary.java:53) at net.minecraft.server.v1_5_R2.BlockPressurePlateAbstract.b(BlockPressurePlateAbstract.java:92) at net.minecraft.server.v1_5_R2.BlockPressurePlateAbstract.a(BlockPressurePlateAbstract.java:86) at net.minecraft.server.v1_5_R2.Entity.C(Entity.java:749) at net.minecraft.server.v1_5_R2.Entity.move(Entity.java:701) at net.minecraft.server.v1_5_R2.EntityLiving.e(EntityLiving.java:1096) at net.minecraft.server.v1_5_R2.EntityHuman.e(EntityHuman.java:1203) at net.minecraft.server.v1_5_R2.EntityLiving.c(EntityLiving.java:1345) at net.minecraft.server.v1_5_R2.EntityHuman.c(EntityHuman.java:354) at net.minecraft.server.v1_5_R2.EntityLiving.l_(EntityLiving.java:542) at net.minecraft.server.v1_5_R2.EntityHuman.l_(EntityHuman.java:158) at net.minecraft.server.v1_5_R2.EntityPlayer.g(EntityPlayer.java:216) at net.minecraft.server.v1_5_R2.PlayerConnection.a(PlayerConnection.java:349) at net.minecraft.server.v1_5_R2.Packet10Flying.handle(SourceFile:136) at net.minecraft.server.v1_5_R2.NetworkManager.b(NetworkManager.java:292) at net.minecraft.server.v1_5_R2.PlayerConnection.d(PlayerConnection.java:110) at net.minecraft.server.v1_5_R2.ServerConnection.b(SourceFile:35) at net.minecraft.server.v1_5_R2.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.v1_5_R2.MinecraftServer.r(MinecraftServer.java:578) at net.minecraft.server.v1_5_R2.DedicatedServer.r(DedicatedServer.java:225) at net.minecraft.server.v1_5_R2.MinecraftServer.q(MinecraftServer.java:474) at net.minecraft.server.v1_5_R2.MinecraftServer.run(MinecraftServer.java:407) at net.minecraft.server.v1_5_R2.ThreadServerApplication.run(SourceFile:573) Caused by: java.lang.NullPointerException at me.Phil.Timeismoney.Timeismoney.getTime(Timeismoney.java:220) at me.Phil.Timeismoney.ServerPlayerListener.onPlayerInteract(ServerPlayerListener.java:209) at sun.reflect.GeneratedMethodAccessor439.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) ... 27 more
The sign never changes when this happens either :(
Using this on my server:
I made it, it told me it was created, yet the sign is completely blank & does not pay out.
what did I do wrong?
Hi all, New version 1.0 for CB 1.4.7-R1.0 is now waiting for approval. Vault is now supported. ;) Waiting for a stable CB 1.5.x... Thanks, Phil.
Please to update 1.5.0 & 1.5.1
I'am not download version 1.5.0 & 1.5.1
1.4.6 not support Craftbukkit 1.5.0 & 1.5.1
This plugins work on 1.5.1. I have timeismoney on my server is so good x)
Please update to 1.5.1.
+
Could you please make it possible to switch the AFK message off?
Update to 1.5.0 Plz!!
Please add different amounts of money for different groups. so i can give my donators for example 10$ instead of 1$ a minute. and i can give the higher donators 20$ a minute.
Attacks of the closet LAG big lag :) begins with a small insignificant commonplace undo, I'm so LAGS server over a week
Finally plugin showed "claw" and when I run the server load was 100% of one core, and even disable not only killing the process went http://pastebin.com/4sKX1xcN This is the final log of the server plugin can not be run plugin uninstalled and everybody happy, especially the players :)
Players complained about the lag about two weeks and I could not find the cause, well, from not being able to start the server with this plugin because it was quiet lager
There seems to be a bug. I've spent less than 20 minutes online on my server, my Essentials Eco balance is 300, so theoretically the bank machine should give me 20 dollars when I press the button.
However, it says that I've exceeded the daily minimum! Haven't been on in days, and the daily maximum is set to 1000 in the config.
Anyone know what would produce this problem?
Please look into adding Vault support for those who don't use the economy plugins that Timeismoney hooks into such as myself. I'm happy with my current economy plugin and don't want to have to switch just to use this plugin.
I'm having a problem where the cash point sign only comes up with text half of the time.
Is anyone else having this problem, if so any help or is this a problem that needs fixing?
error : http://pastebin.com/qkrzhr8W
It would be great if you updated this plugin, the cash machine doesn't seem to be working for me and i'm getting this error when i use /timeismoney
10.02 12:10:08 [Server] INFO ... 15 more 10.02 12:10:08 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) 10.02 12:10:08 [Server] INFO at me.Phil.Timeismoney.Timeismoney.onCommand(Timeismoney.java:61) 10.02 12:10:08 [Server] INFO at me.Phil.Timeismoney.Timeismoney.getTime(Timeismoney.java:203) 10.02 12:10:08 [Server] INFO Caused by: java.lang.NullPointerException 10.02 12:10:08 [Server] INFO at net.minecraft.server.v1_4_R1.ThreadServerApplication.run(SourceFile:849) 10.02 12:10:08 [Server] INFO at net.minecraft.server.v1_4_R1.MinecraftServer.run(MinecraftServer.java:427) 10.02 12:10:08 [Server] INFO at net.minecraft.server.v1_4_R1.MinecraftServer.q(MinecraftServer.java:494) 10.02 12:10:08 [Server] INFO at net.minecraft.server.v1_4_R1.DedicatedServer.r(DedicatedServer.java:224) 10.02 12:10:08 [Server] INFO at net.minecraft.server.v1_4_R1.MinecraftServer.r(MinecraftServer.java:598) 10.02 12:10:08 [Server] INFO at net.minecraft.server.v1_4_R1.DedicatedServerConnection.b(SourceFile:30) 10.02 12:10:08 [Server] INFO at net.minecraft.server.v1_4_R1.ServerConnection.b(SourceFile:39) 10.02 12:10:08 [Server] INFO at net.minecraft.server.v1_4_R1.PlayerConnection.d(PlayerConnection.java:113) 10.02 12:10:08 [Server] INFO at net.minecraft.server.v1_4_R1.NetworkManager.b(NetworkManager.java:290) 10.02 12:10:08 [Server] INFO at net.minecraft.server.v1_4_R1.Packet3Chat.handle(Packet3Chat.java:44) 10.02 12:10:08 [Server] INFO at net.minecraft.server.v1_4_R1.PlayerConnection.a(PlayerConnection.java:853) 10.02 12:10:08 [Server] INFO at net.minecraft.server.v1_4_R1.PlayerConnection.chat(PlayerConnection.java:898) 10.02 12:10:08 [Server] INFO at net.minecraft.server.v1_4_R1.PlayerConnection.handleCommand(PlayerConnection.java:980) 10.02 12:10:08 [Server] INFO at org.bukkit.craftbukkit.v1_4_R1.CraftServer.dispatchCommand(CraftServer.java:514) 10.02 12:10:08 [Server] INFO at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:186) 10.02 12:10:08 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) 10.02 12:10:08 [Server] INFO org.bukkit.command.CommandException: Unhandled exception executing command 'timeismoney' in plugin Timeismoney v0.9 10.02 12:10:08 [Server] SEVERE null 10.02 12:09:45 [Server] INFO ... 19 more 10.02 12:09:45 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) 10.02 12:09:45 [Server] INFO at java.lang.reflect.Method.invoke(Method.java:601) 10.02 12:09:45 [Server] INFO at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 10.02 12:09:45 [Server] INFO at sun.reflect.GeneratedMethodAccessor834.invoke(Unknown Source) 10.02 12:09:45 [Server] INFO at me.Phil.Timeismoney.ServerPlayerListener.onPlayerInteract(ServerPlayerListener.java:209) 10.02 12:09:45 [Server] INFO at me.Phil.Timeismoney.Timeismoney.getTime(Timeismoney.java:203) 10.02 12:09:45 [Server] INFO Caused by: java.lang.NullPointerException 10.02 12:09:45 [Server] INFO at net.minecraft.server.v1_4_R1.ThreadServerApplication.run(SourceFile:849) 10.02 12:09:45 [Server] INFO at net.minecraft.server.v1_4_R1.MinecraftServer.run(MinecraftServer.java:427) 10.02 12:09:45 [Server] INFO at net.minecraft.server.v1_4_R1.MinecraftServer.q(MinecraftServer.java:494) 10.02 12:09:45 [Server] INFO at net.minecraft.server.v1_4_R1.DedicatedServer.r(DedicatedServer.java:224) 10.02 12:09:45 [Server] INFO at net.minecraft.server.v1_4_R1.MinecraftServer.r(MinecraftServer.java:598) 10.02 12:09:45 [Server] INFO at net.minecraft.server.v1_4_R1.DedicatedServerConnection.b(SourceFile:30) 10.02 12:09:45 [Server] INFO at net.minecraft.server.v1_4_R1.ServerConnection.b(SourceFile:39) 10.02 12:09:45 [Server] INFO at net.minecraft.server.v1_4_R1.PlayerConnection.d(PlayerConnection.java:113) 10.02 12:09:45 [Server] INFO at net.minecraft.server.v1_4_R1.NetworkManager.b(NetworkManager.java:290) 10.02 12:09:45 [Server] INFO at net.minecraft.server.v1_4_R1.Packet10Flying.handle(SourceFile:136) 10.02 12:09:45 [Server] INFO at net.minecraft.server.v1_4_R1.PlayerConnection.a(PlayerConnection.java:382) 10.02 12:09:45 [Server] INFO at net.minecraft.server.v1_4_R1.Entity.move(Entity.java:700) 10.02 12:09:45 [Server] INFO at net.minecraft.server.v1_4_R1.Entity.D(Entity.java:748) 10.02 12:09:45 [Server] INFO at net.minecraft.server.v1_4_R1.BlockPressurePlate.a(BlockPressurePlate.java:74) 10.02 12:09:45 [Server] INFO at net.minecraft.server.v1_4_R1.BlockPressurePlate.l(BlockPressurePlate.java:121) 10.02 12:09:45 [Server] INFO at org.bukkit.craftbukkit.v1_4_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:178) 10.02 12:09:45 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) 10.02 12:09:45 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) 10.02 12:09:45 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) 10.02 12:09:45 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) 10.02 12:09:45 [Server] INFO org.bukkit.event.EventException 10.02 12:09:45 [Server] SEVERE Could not pass event PlayerInteractEvent to Timeismoney v0.9 10.02 12:09:42 [Server] INFO ... 19 more 10.02 12:09:42 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) 10.02 12:09:42 [Server] INFO at java.lang.reflect.Method.invoke(Method.java:601) 10.02 12:09:42 [Server] INFO at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 10.02 12:09:42 [Server] INFO at sun.reflect.GeneratedMethodAccessor834.invoke(Unknown Source) 10.02 12:09:42 [Server] INFO at me.Phil.Timeismoney.ServerPlayerListener.onPlayerInteract(ServerPlayerListener.java:209) 10.02 12:09:42 [Server] INFO at me.Phil.Timeismoney.Timeismoney.getTime(Timeismoney.java:203) 10.02 12:09:42 [Server] INFO Caused by: java.lang.NullPointerException 10.02 12:09:42 [Server] INFO at net.minecraft.server.v1_4_R1.ThreadServerApplication.run(SourceFile:849) 10.02 12:09:42 [Server] INFO at net.minecraft.server.v1_4_R1.MinecraftServer.run(MinecraftServer.java:427) 10.02 12:09:42 [Server] INFO at net.minecraft.server.v1_4_R1.MinecraftServer.q(MinecraftServer.java:494) 10.02 12:09:42 [Server] INFO at net.minecraft.server.v1_4_R1.DedicatedServer.r(DedicatedServer.java:224) 10.02 12:09:42 [Server] INFO at net.minecraft.server.v1_4_R1.MinecraftServer.r(MinecraftServer.java:598) 10.02 12:09:42 [Server] INFO at net.minecraft.server.v1_4_R1.DedicatedServerConnection.b(SourceFile:30) 10.02 12:09:42 [Server] INFO at net.minecraft.server.v1_4_R1.ServerConnection.b(SourceFile:39) 10.02 12:09:42 [Server] INFO at net.minecraft.server.v1_4_R1.PlayerConnection.d(PlayerConnection.java:113) 10.02 12:09:42 [Server] INFO at net.minecraft.server.v1_4_R1.NetworkManager.b(NetworkManager.java:290) 10.02 12:09:42 [Server] INFO at net.minecraft.server.v1_4_R1.Packet10Flying.handle(SourceFile:136) 10.02 12:09:42 [Server] INFO at net.minecraft.server.v1_4_R1.PlayerConnection.a(PlayerConnection.java:382) 10.02 12:09:42 [Server] INFO at net.minecraft.server.v1_4_R1.Entity.move(Entity.java:700) 10.02 12:09:42 [Server] INFO at net.minecraft.server.v1_4_R1.Entity.D(Entity.java:748) 10.02 12:09:42 [Server] INFO at net.minecraft.server.v1_4_R1.BlockPressurePlate.a(BlockPressurePlate.java:74) 10.02 12:09:42 [Server] INFO at net.minecraft.server.v1_4_R1.BlockPressurePlate.l(BlockPressurePlate.java:121) 10.02 12:09:42 [Server] INFO at org.bukkit.craftbukkit.v1_4_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:178) 10.02 12:09:42 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) 10.02 12:09:42 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) 10.02 12:09:42 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) 10.02 12:09:42 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) 10.02 12:09:42 [Server] INFO org.bukkit.event.EventException 10.02 12:09:42 [Server] SEVERE Could not pass event PlayerInteractEvent to Timeismoney v0.9
"Timeismoney supports BOSEconomy, Essentials Eco or iConomy 7 plugins."
Why not support vault for those of us who don't use these?
This plugins was compatible with 1.4.7 and craftconomy 3 ?
Is there a problem with the new update because the cash machine is not working.
Is there a way to get this to work on one world but not on others? I have a multiverse server with 2 creative worlds and one survival and I want this to work ONLY on survival?