- Home
- Downloads
-
Addons & Mods
Featured
World of Warcraft
6,109 Maps
-
Popular Downloads
- Top World of Warcraft Addons
- Top Minecraft Server Mods
- Top Rift Addons
- Top Skyrim Mods
- Top World of Tanks Skins
- Top StarCraft II Maps
- Top Terraria Maps
- Top Runes of Magic Addons
- Top Warhammer Online Addons
- Top The Secret World Mods
- Top Age of Conan Addons
-
- Curse Client
- Premium
- News
- Giveaways
- Forums
- Store
T00thTransaction
- 0 Likes
- Minecraft
- 167 Monthly Downloads
- Supports: CB 1.4.5-R0.2
- 4,160 Total Downloads
- Updated 11/29/2012
- Created 07/07/2012
- 0 Favorites
- Project Site
- Comments
- Release Type: Release
- License: GNU General Public License version 3 (GPLv3)
- Newest File: T00thTransaction v1.15
About T00thTransaction

T00thTransaction
T00thTransaction uses the following process to handle donations/payments to your server automatically:
- Donation/payment is made with a slightly customized paypal button(Customized to transmit username)
- Paypal sends the information to your paypal IPN(A working ipn below)
- Ipn will store donation/payment records to a SQL database
- Every five minutes T00thTransaction reads the database getting the donations/payments from each player
- T00thTransaction sums up each players donations/payments and does an appropriate promotion based on that.
- T00thTransaction runs a check on each new donation/payment allowing actions to be done on them as well.
Why T00thTransaction?
Unlike Buycraft, this allows for no extra parties to be involved in your donations or server, the only ones involved are you, the donator and paypal. Rather than allowing an external website to issue commands to your server, a slight security risk, all actions are performed by the server itself. Not to mention it allows for easy tracking of donation totals for both you to check, and for the players themselves to check.
Features
Auto ranks
- Any amount of configurable ranks
- Configurable minimum amount to reach rank
- Configurable Name for ranks
- Configurable(and optional) in-game money reward for reaching ranks
- Custom event called on rankup for custom plugins to do actions on
Donation based actions
- Configurable(and optional) in-game money reward based on dollar donation/payment amounts
- Custom event called on new donations/payments for custom plugins to do actions on
Donation Packages
- Requires v1.4+
- Configurable whether or not to promote on activation and to what rank
- Configurable how many days package lasts
- Configurable whether or not to demote on expire and to what rank
- Configurable economy money bonus on activation
- Configurable up to 36 items to give to a playey(Able to specify multiple enchantmens and damage values)(Checks if player has room for items first, if not, doesn't let them activate package)
- Configurable package names
- Configurable commands on activation and expiration
Commands
- /ttr check USERNAME - Checks a users total
- /ttr check - Checks your own total
- /ttr add PLAYER AMOUNT (MM-DD-YYYY) - Adds a processed donation/payment from PLAYER of AMOUNT on MM-DD-YYY, date optional defaults to current time
- /ttr addnew PLAYER AMOUNT (MM-DD-YYYY) - Adds an unprocessed donation/payment from PLAYER of AMOUNT on MM-DD-YYY, date optional defaults to current time
- /ttr delete ENTRYID - Removes from database, the donation/payment with entry id ENTRYID (Can only be run from console) Has confirm questioner.
- /ttr listcheck PLAYER - Lists individual donations/payments from PLAYER
- /ttr droptable - Wipes entire donation database(Can only be run from console) Has confirm questioner. BE AWARE, once wiped it cannot be re-obtained, you will have to re-enter all previous data manually.
- /ttr updateaccounts - Manually runs donation checks
- /ttr checkall (PAGE) - Returns A list of all donation totals
- /package PACKAGE - Activates PACKAGE if available
- /packages [PLAYER] (PAGE) - Lists available packages
Permissions
- t00thtransaction.admin - Allows full use of plugin, including manually adding donations/payments into database(FOR TRUSTED PEOPLE ONLY)
- t00thtransaction.check - Allows user to check balances of other users.(All users can check their own balance.)
Requirements
- Paypal button on your website
- Knowledge of how to put an IPN on your website and link it to your paypal
- MySQL Database
- A minecraft server.
- Vault(A vault supported permissions plugin, and optionally a vault supported economy plugin)
Instructions for Install
Planned Features
-Customizable amount of ranks- DONE-Uhhh lets say a "see all donation totals" command - DONE-Donation "packages" which allow for you to say buy package A and get this, this, and this(Configurable in config) - DONE- More API methods(GetALLDonationTotals(), getDonationsSince(), ect)
- Way to reset donation count but not delete records, for servers that like to reset all their stuff in intervals i.e. I donate $5 then they reset, my donation is still in database, but not counted from then on.
- Support for non paypal transactions
- Thats really all I can think of, its a pretty versatile and complete plugin already....
For Developers
- Example code for custom event listeners: Example Code
- If you want your plugin to do things that can only be done to online players, you can use T00thTransaction.getOnlineMode() and T00thTransaction.setOnlineMode(boolean) in order to toggle whether or not ranks/donations only update when player is online
- T00thTransaction.getTotal("t00thpick1"); -Returns total cumulative donation of me, T00thpick1!
- T00thTransaction.getAllDonations(); - Returns a hashset of Donation objects which hold the amount, username, time and status of a donation
Donation based actions
- Write a listener on "DonationEvent"
- Get the player event.getDonation().getPlayer();
- Get the amount(returns float) event.getDonation().getAmount()
- Do your actions
Promotion based actions
- Write a listener on "DonationPromotionEvent"
- Get the player event.getPlayer()
- Get their current total(returns float) event.getTotal()
- Get the tier they are promoted to(returns integer representing one of the rank tiers) event.getTier()
- Get the group name they are promoted to event.getRank()
- Do your actions
Package Activation based actions
- Write a listener on "PackageActivationEvent"
- Get the player event.getPlayer()
- Get the package name event.getPackageoption();
- Get the unix timestamp of expiration event.getExpire()
- Get the unix timestamp of activation event.getActivated()
- Do your actions
Package Expiration based actions
- Write a listener on "PackageExpiresEvent"
- Get the player's name event.getPlayer()
- Get the package name event.getPackageoption();
- Get the original cost event.getCost()
- Get the unix timestamp of expiration event.getExpire()
- Get the unix timestamp of activation event.getActivated()
- Do your actions
Addon plugins using api
Custom Event Based Plugins
- Your plugin could be here, just file a ticket.
Github Repository
Official T00thTransaction Server
Need help? Either file a ticket, or see if I am in my irc channel: irc.dirkocraft.net/#t00thpick1
T00thTransaction v1.15
- Compiled on Java 6
- Fixed rounding error in custom events
- Compiled on Java 6
- Very important bugfix with commands for ranking and packages
- Compiled on Java 6
- Updated
- Compiled on Java 6
- Several BugFixes
- Compiled on Java 6
- Several BugFixes
- Compiled on Java 6
- Removed Giftbox feature to move it to its own plugin
- Fixed bug with donation check
- Added command functions to LifeTimeRank system
- Compiled on Java 6
- Added new Donation class which holds all donation info for each donation
- Added static method getAllDonations() which returns a hashset of Donation objects for each donation in database
- Altered DonationEvent to hold Donation Object
- Fixed a few typos
- Compiled on Java 6
- Added null check on config loader to fix a bug
- Un"fixed" something that I "fixed" in 1.7
- Compiled on Java 6
- Fixed bug when trying to check other players Packages lists
- Fixed a few typos
- Added reloadconfig command
- Added an alert on login for players to use their available packages
- Added an autouse on login option for packages
- Compiled on Java 6
- Fixed bug that occured when listing packages and no packages available
- Fixed default config not loading correctly
- Added package system
- Added /packages command
- Added /package command
- Changed many methods to static so developers can actually use them....
- Altered config
- Altered promotion system
- Added getRank() to DonationPromotionEvent
- Added /ttr checkall command to see all donation totals
- Added /ttr checkgifts command to see all players available gifts
- Added "onlinemode" option, to only update player ranks, player donations if the player is online
- Added "announce" option, to announce when donations are registered or promotions are made
- Made number of ranks configurable
- Cleaned up promotion code
- Plugins can use T00thTransaction.getOnlineMode() and T00thTransaction.setOnlineMode(boolean)
- Added third argument to CustomGiftBoxEvent
- Fixed typo in mysql query for add command
- Initial release
| File Name | Release Type | Game Version | Downloads | Date |
|---|---|---|---|---|
| T00thTransaction v1.15 | Release | CB 1.4.5-R0.2 | 805 | 11/29/2012 |
| T00thTransaction v1.14 | Release | CB 1.4.2-R0.1 | 263 | 11/02/2012 |
| T00thTransaction v1.13 | Release | CB 1.3.2-R3.0 | 69 | 10/29/2012 |
| T00thTransaction v1.12 | Release | CB 1.3.2-R2.0 | 78 | 10/22/2012 |
| T00thTransaction v1.11 | Release | CB 1.3.2-R0.2 | 314 | 09/26/2012 |
| T00thTransaction v1.10 | Release | CB 1.3.1-R2.0 | 321 | 09/02/2012 |
| T00thTransaction v1.9 | Release | CB 1.3.1-R2.0 | 386 | 08/21/2012 |
| T00thTransaction v1.8 | Release | CB 1.3.1-R1.0 | 264 | 08/18/2012 |
| T00thTransaction v1.7 | Release | CB 1.3.1-R1.0 | 236 | 08/16/2012 |
| T00thTransaction v1.6 | Release | CB 1.3.1-R1.0 | 185 | 08/15/2012 |
| T00thTransaction v1.5 | Release | CB 1.2.5-R5.0 | 282 | 08/04/2012 |
| T00thTransaction v1.4 | Release | CB 1.2.5-R5.0 | 191 | 07/30/2012 |
| T00thTransaction v1.3 | Release | CB 1.2.5-R4.0 | 329 | 07/22/2012 |
| T00thTransaction v1.2 | Release | CB 1.2.5-R4.0 | 188 | 07/10/2012 |
| T00thTransaction v1.1 | Beta | CB 1.2.5-R4.0 | 149 | 07/09/2012 |
| T00thTransaction v1.0 | Beta | CB 1.2.5-R4.0 | 78 | 07/08/2012 |
Top Downloads
-
- WorldEdit
- Admin Tools, Anti-Griefing Tools, Informational, Teleportation, and World Editing and Management
- 191,804 Monthly Downloads
-
- Essentials
- Admin Tools, Chat Related, Teleportation, Economy, and General
- 150,652 Monthly Downloads
-
- WorldGuard
- Admin Tools, World Editing and Management, Fixes, General, and Anti-Griefing Tools
- 86,134 Monthly Downloads
-
- ClearLagg
- World Editing and Management and Admin Tools
- 62,756 Monthly Downloads
-
- Vault
- Admin Tools, Developer Tools, Mechanics, and Economy
- 60,623 Monthly Downloads


Comments