Minecraft Name: lurkblader Suggestion: We need to able to see our recent transaction history of our balance. I want new command something like /balhistory or /baltransaction something like these so we can check 5 or 10 recent transaction history of our money. Reason: Sometimes you get paid, but get lagged out, or you miss the transaction message, and chat space gets filled and get impossible to see, whether you get paid or not. And there are still lot of people who is not memorizing their own balance accurately 24/7... Once you get paid, you are not sure there was a change of balance, because you can't remember how much money you had. So we need somekinda command that checks recent few records of paying someone or getting paid between players.. Any Other Information: None. Link To This Plugin: None
Although this sounds like a fantastic idea, I can't help but wonder if it could lag the server. For example, Mctop was removed because twenty people using it at once lagged the server severely.
Wait, there is a macro mod script to check recent transaction history of balance? Can you give me a link? because all i am using is right now, is just displaying a current balance in label and That's all. I would love to set the new script, if there is a way that can check the history. ---- And by the way, I think this is needed anyway even if it's possible through macro mod. not everyone uses macro mod.
Well my macro logs EVERY transaction, when I pay someone or when I get paid. It makes a text file in your .../AppData/Roaming/.minecraft/mods/macros/logs Credits go to jakeyray18 for this macro. 1. Make a Text File: recenttrans.txt 2. Copy this code: 3. Put "$$<recenttrans.txt>" under onChat for Events. If somethings wrong, I probably don't know how to fix it.
Thank you. But how do I check the log? --------------[Edit]---------------- Oh I figured it out. you mentioned it in first line. Thank you very much!
I once wrote a plugin that does this, it should still work on the most recent builds. But, using the plugin is all up to andrew. plugin in question: http://dev.bukkit.org/bukkit-plugins/essentialspaylogger/
Well I pulled one together that includes selling/buying from trade signs and lotto. Though I haven't tested out the lotto one as I am trying to stay away from it. I kinda pulled the regex's from jakey's balchecker script to save time so that credit goes to him. It isn't written in the best way so I will make it better when I have the time. I may even create a few in-game commands so you can check it without going to logs. But here it is: Code: $${ STRIP(&chat,%CHAT%) IFMATCHES(%&chat%,\$[0-9]+\.\d\d has been taken from your account\.) MATCH(%&chat%,\$([0-9]+)\.([0-9]+),{#dollartaken,#centstaken}) LOGTO("trans-%SERVER%.txt",%TIME%: $%#dollartaken%.%#centstaken% has been taken from your account.) ENDIF IFMATCHES(%&chat%,\$[0-9]+ has been taken from your account\.) MATCH(%&chat%,\$([0-9]+),{#dollartaken}) LOGTO("trans-%SERVER%.txt",%TIME%: $%#dollartaken% has been taken from your account.) ENDIF IFMATCHES(%&chat%,\$[0-9]+\.\d\d has been added to your account\.) MATCH(%&chat%,\$([0-9]+)\.([0-9]+),{#dollaradded,#centsadded}) LOGTO("trans-%SERVER%.txt",%TIME%: $%#dollaradded%.%#centsadded% has been taken from your account.) ENDIF IFMATCHES(%&chat%,\$[0-9]+ has been added to your account\.) MATCH(%&chat%,\$([0-9]+),{#dollaradded}) LOGTO("trans-%SERVER%.txt",%TIME%: $%#dollaradded% has been taken from your account.) ENDIF IFMATCHES(%&chat%,\$[0-9]+\.\d\d has been sent to (.*)\.) MATCH(%&chat%,\$([0-9]+)\.([0-9]+) has been sent to ((.*)),{#dollartaken,#centstaken,&playername}) LOGTO("trans-%SERVER%.txt",%TIME%: $%#dollartaken%.%#centstaken% has been sent to %&playername%) ENDIF ENDIF IFMATCHES(%&chat%,\$[0-9]+ has been sent to (.*)\.) MATCH(%&chat%,\$([0-9]+) has been sent to ((.*)),{#dollartaken,&playername}) LOGTO("trans-%SERVER%.txt",%TIME%: $%#dollartaken% has been sent to %&playername%) ENDIF IFMATCHES(%&chat%,\$[0-9]+\.\d\d has been received from (.*)\.) MATCH(%&chat%,\$([0-9]+)\.([0-9]+) has been received from ((.*)),{#dollaradded,#centsadded,&playername}) LOGTO("trans-%SERVER%.txt",%TIME%: $%#dollaradded%.%#centsadded% has been received from %&playername%) ENDIF ENDIF IFMATCHES(%&chat%,\$[0-9]+ has been received from (.*)\.) MATCH(%&chat%,\$([0-9]+) has been received from ((.*)),{#dollaradded,&playername}) LOGTO("trans-%SERVER%.txt",%TIME%: $%#dollaradded% has been received from %&playername%) ENDIF IFMATCHES(%&chat%,\[LOTTERY\] You got (.*) for \$(.*)) MATCH(%&chat%,^\[LOTTERY\] You got (.*) for \$((.*)),{&fill,#lotamount}) LOGTO("trans-%SERVER%.txt",%TIME%: You bought $%#lotamount% worth of lotto tickets.) ENDIF IFMATCHES(%&chat%,^\[LOTTERY\] Congratulations go to %PLAYER% for winning \$(.*) with .*) MATCH(%&chat%,\[LOTTERY\] Congratulations go to %PLAYER% for winning \$((.*)) with (.*),{#winamount,&fill}) LOGTO("trans-%SERVER%.txt",%TIME%: You won lotto and received $%#winamount%) ENDIF }$$
I would like this because I don't get Macro's. If someone would make a tutorial on the macro thinggy please let me know.
It shouldn't because it uses a completely different system. It only checks your own stuff. Not everyone's stuff like with mctop
Well here is my updated one, fixed mistakes I made before and added a command that displays the last 10 transactions. You type "!trans recent" to display the last 10. You must type it in local and it won't work if someone else types it. Though I still plan on changing it to a key soon as requested by kuke. I stole a bit of code from jakey so credit for that goes to him. The recent transactions won't work properly until you have 10 transactions made. I haven't be able to test whether the lotto works, though it should. If someone could kindly test it and report to me what you find I would be grateful. I will be adding addition features as well. You can still find a log of all transactions in the .minecraft/mods/macros/logs folder appearing as trans-servername. After creating the script put it in the onChat section. Code: $${ STRIP(&chat,%CHAT%) IFMATCHES(%&chat%,\$[0-9]+\.\d\d has been taken from your account\.) MATCH(%&chat%,\$([0-9]+)\.([0-9]+),{#dollartaken,¢staken}) LOGTO("trans-%SERVER%.txt",%TIME%: $%#dollartaken%.%¢staken% has been taken from your account.) PUSH(&recenttrans,%TIME%: $%#dollartaken%.%¢staken% has been taken from your account.) ENDIF IFMATCHES(%&chat%,\$[0-9]+ has been taken from your account\.) MATCH(%&chat%,\$([0-9]+),{#dollartaken}) LOGTO("trans-%SERVER%.txt",%TIME%: $%&dollartaken% has been taken from your account.) PUSH(&recenttrans,%TIME%: $%#dollartaken% has been taken from your account.) ENDIF IFMATCHES(%&chat%,\$[0-9]+\.\d\d has been added to your account\.) MATCH(%&chat%,\$([0-9]+)\.(\d\d),{#dollaradded,¢sadded}) LOGTO("trans-%SERVER%.txt",%TIME%: $%#dollaradded%.%¢sadded% has been added to your account.) PUSH(&recenttrans,%TIME%: $%#dollaradded%.%¢sadded% has been added to your account.) ENDIF IFMATCHES(%&chat%,\$[0-9]+ has been added to your account\.) MATCH(%&chat%,\$([0-9]+),{#dollaradded}) LOGTO("trans-%SERVER%.txt",%TIME%: $%#dollaradded% has been added to your account.) PUSH(&recenttrans,%TIME%: $%#dollaradded% has been added to your account.) ENDIF IFMATCHES(%&chat%,\$[0-9]+\.\d\d has been sent to (.*)\.) MATCH(%&chat%,\$([0-9]+)\.(\d\d) has been sent to ((.*)),{#dollartaken,¢staken,&playername}) LOGTO("trans-%SERVER%.txt",%TIME%: $%#dollartaken%.%¢staken% has been sent to %&playername%) PUSH(&recenttrans,%TIME%: $%#dollartaken%.%¢staken% has been sent to %&playername%) ENDIF ENDIF IFMATCHES(%&chat%,\$[0-9]+ has been sent to (.*)\.) MATCH(%&chat%,\$([0-9]+) has been sent to ((.*)),{#dollartaken,&playername}) LOGTO("trans-%SERVER%.txt",%TIME%: $%#dollartaken% has been sent to %&playername%) PUSH(&recenttrans,%TIME%: $%#dollartaken% has been sent to %&playername%) ENDIF IFMATCHES(%&chat%,\$[0-9]+\.\d\d has been received from (.*)\.) MATCH(%&chat%,\$([0-9]+)\.(\d\d) has been received from ((.*)),{#dollaradded,¢sadded,&playername}) LOGTO("trans-%SERVER%.txt",%TIME%: $%#dollaradded%.%¢sadded% has been received from %&playername%) PUSH(&recenttrans,%TIME%: $%#dollaradded%.%¢sadded% has been received from %&playername%) ENDIF ENDIF IFMATCHES(%&chat%,\$[0-9]+ has been received from (.*)\.) MATCH(%&chat%,\$([0-9]+) has been received from ((.*)),{#dollaradded,&playername}) LOGTO("trans-%SERVER%.txt",%TIME%: $%#dollaradded% has been received from %&playername%) PUSH(&recenttrans,%TIME%: $%#dollaradded% has been received from %&playername%) ENDIF IFMATCHES(%&chat%,\[LOTTERY\] You got (.*) for \$(.*)) MATCH(%&chat%,^\[LOTTERY\] You got (.*) for \$((.*)),{&fill,#lotamount}) LOGTO("trans-%SERVER%.txt",%TIME%: You bought $%#lotamount% worth of lotto tickets.) PUSH(&recenttrans,%TIME%: You bought $%#lotamount% worth of lotto tickets.) ENDIF IFMATCHES(%&chat%,^\[LOTTERY\] Congratulations go to %PLAYER% for winning \$(.*) with .*) MATCH(%&chat%,\[LOTTERY\] Congratulations go to %PLAYER% for winning \$((.*)) with (.*),{#winamount,&fill}) LOGTO("trans-%SERVER%.txt",%TIME%: You won lotto and received $%#winamount%.) PUSH(&recenttrans,%TIME%: You won lotto and received $%#winamount%.) ENDIF IFMATCHES(%&chat%,^\[L\](.*)%PLAYER%: !trans recent) ARRAYSIZE(&recenttrans,#recentsize) #recentsize1 = #recentsize - 1 LOG(&41.&f%&recenttrans[%#recentsize1%]%) #recentsize2 = #recentsize - 2 LOG(&42.&f%&recenttrans[%#recentsize2%]%) #recentsize3 = #recentsize - 3 LOG(&43.&f%&recenttrans[%#recentsize3%]%) #recentsize4 = #recentsize - 4 LOG(&44.&f%&recenttrans[%#recentsize4%]%) #recentsize5 = #recentsize - 5 LOG(&45.&f%&recenttrans[%#recentsize5%]%) #recentsize6 = #recentsize - 6 LOG(&46.&f%&recenttrans[%#recentsize6%]%) #recentsize7 = #recentsize - 7 LOG(&47.&f%&recenttrans[%#recentsize7%]%) #recentsize8 = #recentsize - 8 LOG(&48.&f%&recenttrans[%#recentsize8%]%) #recentsize9 = #recentsize - 9 LOG(&49.&f%&recenttrans[%#recentsize9%]%) #recentsize10 = #recentsize - 10 LOG(&410.&f%&recenttrans[%#recentsize10%]%) ENDIF }$$
Yay! This is actually advanced version.. wow.. it works fine for me, but like you, i don't play lotto much so I haven't yet test the lotto. Thank you very much!
Please note that the script does not count as any sort of evidence in complaints, it will be dismissed.
Yes, you still need to screenshot the actual transaction, the log document or the recent trans will not suffice. Sent from my GT-I9300 using Tapatalk