HungerGames balances have been fixed!

Discussion in 'Announcements' started by c0wg0d, Dec 8, 2016.

  1. c0wg0d

    c0wg0d Master Owner Moderator VIP

    After a lot of brainstorming, some headscratching, a bit of procrastination and loathing, and then a stroke of genius, HungerGames balances have been fixed!

    I thought it would be fun to give you guys an inside peek into what it's like to be an administrator, so I'm going to show you how I fixed the balances. There are many different ways this could have been done, and I'm sure some of our more technically savvy players will scoff at my methods, but in the end it worked, so there! :p

    Our HG balances before we allowed name changes were stored in a database in a format like this:

    Code:
    +------------------+-------+--------------------------------------+
    | name             | money | uuid                                 |
    +------------------+-------+--------------------------------------+
    | 000Minecrafter00 |     1 | 6286205c-5241-44eb-9e2d-0e075c68af43 |
    | 007licensetolove |    48 | de9d59c1-0a3b-4f60-84c9-24f983ab1950 |
    | 00arctic_wolf00  |    46 | NULL                                 |
    | 00coonhunter07   |    15 | NULL                                 |
    | 00Z3RO           |    94 | 2bc0be35-0b62-4366-b9b6-639bd6de7eb4 |
    | 05354001         |    78 | d6b523a7-8e02-482c-8012-ad17ea8a15f4 |
    | 06slash29        |    19 | b66cb558-d1e3-4ce0-b654-bb31483a3fac |
    | 076532156        |     6 | NULL                                 |
    | 08frodo          |    10 | NULL                                 |
    | 0land0           |    25 | 39b8c511-f423-44e0-884d-479470386250 |
    +------------------+-------+--------------------------------------+
    As you can see, some players have a UUID, and some do not ("NULL" means it doesn't exist). The reason for this is because the plugin we used to save balances was updating the UUID for players when they logged into HG. If a player never logged on, or had changed their name to something other than what was in the "name" column above, they would never get a UUID associated properly.

    So, with the balances like this, there are a few problems.
    1. If a player does not have a UUID, we need to try to get the UUID from Mojang to associate it with their name.
    2. If the UUID lookup has failed, there is nothing we can do for that player, unfortunately. The reason is that the Mojang UUID lookup will only give you a UUID for a player's current name. Since there was a large gap between when Mojang allowed name changes and when Sandlot allowed them, some players had already changed their name multiple times.
    3. If a player does have a UUID, we need to look up their current name so that we can apply their old balance to their new name. This step would not be necessary if we were allowed to pay players via UUID, but that's not allowed with our new plugin (for example, /pay c0wg0d 10 will work, but /pay a-really-long-uuid-here-for-the-player 10 will NOT work).
    With all those problems being present, it was time to come up with a solution. I finally settled on using PHP to generate the commands I would need to run on the HG server to pay players their previous balance. The reason I chose PHP over Java is because it's a scripting language, and it's much easier for me to work with directly on the Sandlot game server, where all this player data is stored.

    I found a really awesome Application Programming Interface (API for short) written in PHP that lets you lookup usernames and UUIDs directly from Mojang.

    For example, if you wanted to get my UUID, it would be as simple as this:

    echo "c0wg0d's UUID is: " . MojangAPI::getUuid('c0wg0d');

    That might look like gibberish, but if you take a moment and break it down, it's actually not too difficult to understand. It's just making a call to lookup my UUID from my name 'c0wg0d' and then printing it out with a label.

    First I had to get all the existing balances written to a file. I did that and saved the file as players.txt. It has the same format as the table I posted above, but without the header and footer of the table, like this:

    Code:
    | 000Minecrafter00 |     1 | 6286205c-5241-44eb-9e2d-0e075c68af43 |
    | 007licensetolove |    48 | de9d59c1-0a3b-4f60-84c9-24f983ab1950 |
    | 00arctic_wolf00  |    46 | NULL                                 |
    | 00coonhunter07   |    15 | NULL                                 |
    | 00Z3RO           |    94 | 2bc0be35-0b62-4366-b9b6-639bd6de7eb4 |
    | 05354001         |    78 | d6b523a7-8e02-482c-8012-ad17ea8a15f4 |
    | 06slash29        |    19 | b66cb558-d1e3-4ce0-b654-bb31483a3fac |
    | 076532156        |     6 | NULL                                 |
    | 08frodo          |    10 | NULL                                 |
    | 0land0           |    25 | 39b8c511-f423-44e0-884d-479470386250 |
    There were 5,739 balances to convert in our old database! Now a lot of those players have since left The Sandlot, but I have no way of knowing that without going through each one, one at a time. That would take FOREVER! So, instead I wrote the following PHP code using the API I mentioned earlier:

    Code:
    <?php
    
    require 'mojang-api.class.php';
    
    $status = MojangAPI::getStatus();
    echo 'Minecraft.net: ' . $status['minecraft.net'] . "\n"; // Minecraft.net: green
    
    $output = '';
    $failed_output = '';
    
    $input_file = fopen("players.txt", "r");
    if ($input_file) {
        while (($line = fgets($input_file)) !== false) {
            // Retrieve username, balance, and UUID from each line
            list($nothing, $username, $balance, $uuid) = explode('|', $line);
    
            // Remove whitespace
            $username = preg_replace('/\s+/', '', $username);
            $balance = preg_replace('/\s+/', '', $balance);
            $uuid = preg_replace('/\s+/', '', $uuid);
    
            // If there was no existing UUID, try and obtain UUID from Mojang
            if($uuid == 'NULL') {
                $uuid = MojangAPI::formatUuid(MojangAPI::getUuid($username));
            }
    
            // Get the most recent username from Mojang if they have a valid UUID
            if($uuid != '') {
                $username = MojangAPI::getUsername($uuid);
    
                // Provide the economy commands needed to award players their previous balance
                $output .= "eco give $username $balance\n";
            }
            else {
                $failed_output .= "$username does not have a valid UUID.\n";
            }
    
            echo "Finished processing username [$username] with UUID [$uuid] and balance [$balance]\n";
    
            // Wait 1 second between lookups so the Mojang API doesn't get mad at us
            sleep(1);
        }
        fclose($input_file);
    }
    else {
        echo "There was an error opening the input file!\n";
    }
    
    $output_file = fopen("players-output.txt", "w+");
    fwrite($output_file, $output);
    fwrite($output_file, "--------------------------------------------------\n");
    fwrite($output_file, $failed_output);
    fclose($output_file);
    I'm not going to explain everything line by line, but if you look at my comments (they start with //) you should get a good idea of what it's doing.

    After this process completed (it took about 5,739 seconds to finish!), I had a list of perfectly formatted commands that I could run in HG to update all of your balances.

    If there were any players who have STILL not logged on to HG since we updated to the new balance system, then it won't have a player record for you, and your balance will not be updated. If you have, then you should see your old balance added to your new balance as of right now!

    For full disclosure, here is the complete listing of players who had a successful match and the balance amount that has been added to your account. If you think you should have been paid and your name is not on this list, let me know and I will research it. Thank you.

    [22:55:25] [Server thread/INFO]: $37 added to 11tman11 account. New balance: $40
    [22:55:25] [Server thread/INFO]: $1,414 added to 12schlange account. New balance: $1,414
    [22:55:25] [Server thread/INFO]: $35 added to 34christ account. New balance: $35
    [22:55:25] [Server thread/INFO]: $119 added to 9legopro account. New balance: $124
    [22:55:25] [Server thread/INFO]: $1,351.88 added to Abbz05 account. New balance: $1,467.88
    [22:55:25] [Server thread/INFO]: $33 added to AbiCat07 account. New balance: $43
    [22:55:25] [Server thread/INFO]: $24 added to abipow24 account. New balance: $30
    [22:55:25] [Server thread/INFO]: $12 added to acer941 account. New balance: $12
    [22:56:12] [Server thread/INFO]: $759 added to Adaminator account. New balance: $879
    [22:56:12] [Server thread/INFO]: $7 added to AdorableOcelot account. New balance: $7
    [22:56:12] [Server thread/INFO]: $153 added to Adriennica account. New balance: $153
    [22:56:12] [Server thread/INFO]: $176 added to aidenjcraft account. New balance: $176
    [22:56:12] [Server thread/INFO]: $9 added to AJL_Pro account. New balance: $133
    [22:56:12] [Server thread/INFO]: $90 added to AlexanderO2009 account. New balance: $91
    [22:56:12] [Server thread/INFO]: $133 added to Alx33 account. New balance: $149
    [22:56:14] [Server thread/INFO]: $316 added to AmazingBilly99 account. New balance: $321
    [22:56:54] [Server thread/INFO]: $2 added to ArchieBrine account. New balance: $3
    [22:56:54] [Server thread/INFO]: $46 added to ArticWolf375 account. New balance: $46
    [22:56:54] [Server thread/INFO]: $34 added to ATM125 account. New balance: $73
    [22:56:54] [Server thread/INFO]: $21 added to Avamadoodle account. New balance: $36
    [22:56:54] [Server thread/INFO]: $77 added to Avatar_plays_MC account. New balance: $103
    [22:56:54] [Server thread/INFO]: $199 added to AwesomeMinerKid account. New balance: $205
    [22:56:54] [Server thread/INFO]: $23 added to AwesomeSkittles account. New balance: $35
    [22:56:54] [Server thread/INFO]: $56 added to SuperTNT1 account. New balance: $56
    [22:56:54] [Server thread/INFO]: $9 added to BalletKids account. New balance: $9
    [22:56:54] [Server thread/INFO]: $1 added to Bashitec account. New balance: $1
    [22:56:54] [Server thread/INFO]: $95 added to bderrly account. New balance: $95
    [22:56:54] [Server thread/INFO]: $332 added to BeachExpress account. New balance: $362
    [22:56:54] [Server thread/INFO]: $60 added to Beatbox_Keen account. New balance: $70
    [22:56:54] [Server thread/INFO]: $51 added to BellasBeehive account. New balance: $71
    [22:56:54] [Server thread/INFO]: $284 added to BellStar03 account. New balance: $309
    [22:56:54] [Server thread/INFO]: $67 added to BenjiandGeorgia account. New balance: $107
    [22:56:54] [Server thread/INFO]: $21 added to bfm9 account. New balance: $36
    [22:56:54] [Server thread/INFO]: $274 added to BigBrotherBoo account. New balance: $274
    [22:56:54] [Server thread/INFO]: $46 added to Bimba_CK account. New balance: $95
    [22:56:54] [Server thread/INFO]: $13 added to birdguy_gaming account. New balance: $18
    [22:56:54] [Server thread/INFO]: $3 added to Black_Arrow764 account. New balance: $3
    [22:56:54] [Server thread/INFO]: $3 added to BlindFool account. New balance: $19
    [22:56:54] [Server thread/INFO]: $214 added to bluesky627 account. New balance: $224
    [22:56:54] [Server thread/INFO]: $47.50 added to Bmaximum account. New balance: $133.50
    [22:56:54] [Server thread/INFO]: $567.78 added to bobandbunny account. New balance: $569.78
    [22:56:54] [Server thread/INFO]: $19 added to Bobblie05 account. New balance: $24
    [22:56:54] [Server thread/INFO]: $11 added to BoBo_1 account. New balance: $49
    [22:56:54] [Server thread/INFO]: $278 added to Zedstein account. New balance: $278
    [22:56:54] [Server thread/INFO]: $55 added to Boomerro account. New balance: $65
    [22:56:54] [Server thread/INFO]: $6 added to BoosieTheTiger account. New balance: $8
    [22:56:54] [Server thread/INFO]: $11 added to boothepuppy account. New balance: $26
    [22:56:54] [Server thread/INFO]: $10 added to BPP07 account. New balance: $22
    [22:56:54] [Server thread/INFO]: $330 added to bray183 account. New balance: $330
    [22:56:54] [Server thread/INFO]: $126 added to brickunicorn account. New balance: $128
    [22:57:13] [Server thread/INFO]: $18 added to BunnyGirl38 account. New balance: $44
    [22:57:13] [Server thread/INFO]: $32 added to BurtonGuster1127 account. New balance: $54
    [22:57:13] [Server thread/INFO]: $1,174.99 added to c0wg0d account. New balance: $1,288.99
    [22:57:13] [Server thread/INFO]: $76 added to CaptainFinner account. New balance: $192
    [22:57:13] [Server thread/INFO]: $82 added to Carma80 account. New balance: $83
    [22:57:13] [Server thread/INFO]: $50 added to XxCatattackxX account. New balance: $103
    [22:57:14] [Server thread/INFO]: $21 added to celestoid account. New balance: $31
    [22:57:14] [Server thread/INFO]: $108 added to Cepheusz account. New balance: $134
    [22:57:14] [Server thread/INFO]: $81 added to cereaL__ account. New balance: $81
    [22:57:14] [Server thread/INFO]: $58 added to ChanCe67T account. New balance: $73
    [22:57:14] [Server thread/INFO]: $50 added to Chanzei4 account. New balance: $60
    [22:57:14] [Server thread/INFO]: $48 added to CharliesWorld account. New balance: $48
    [22:57:14] [Server thread/INFO]: $2 added to CheetahDog account. New balance: $2
    [22:57:14] [Server thread/INFO]: $45 added to Cherry_Keen account. New balance: $143
    [22:57:14] [Server thread/INFO]: $61 added to Chocolate_Cherry account. New balance: $71
    [22:57:14] [Server thread/INFO]: $82 added to Conmo7 account. New balance: $169
    [22:57:14] [Server thread/INFO]: $31 added to connorskyg account. New balance: $41
    [22:57:33] [Server thread/INFO]: $80 added to CrabDanGoon account. New balance: $90
    [22:57:33] [Server thread/INFO]: $922 added to Crafter_Meg account. New balance: $928
    [22:57:33] [Server thread/INFO]: $114 added to craftylukers account. New balance: $124
    [22:57:33] [Server thread/INFO]: $2 added to creeperben28 account. New balance: $138
    [22:57:33] [Server thread/INFO]: $1,658 added to creeperlord800 account. New balance: $1,658
    [22:57:33] [Server thread/INFO]: $79 added to CubeMaster_9 account. New balance: $110
    [22:57:33] [Server thread/INFO]: $43 added to CuteBenjiGeorgia account. New balance: $68
    [22:57:33] [Server thread/INFO]: $195 added to D3str0y3r503 account. New balance: $196
    [22:57:34] [Server thread/INFO]: $67 added to Darthkylopizza account. New balance: $73
    [22:57:34] [Server thread/INFO]: $1,911 added to ElSoldier account. New balance: $2,379
    [22:57:34] [Server thread/INFO]: $109 added to Darth_Pink account. New balance: $119
    [22:57:34] [Server thread/INFO]: $1,060 added to DashinglyRain_ account. New balance: $1,060
    [22:57:34] [Server thread/INFO]: $79.50 added to DaveandMae account. New balance: $79.50
    [22:57:34] [Server thread/INFO]: $886.11 added to DEADFACE56 account. New balance: $909.11
    [22:57:34] [Server thread/INFO]: $67 added to Dellow180 account. New balance: $142
    [22:57:34] [Server thread/INFO]: $58 added to derrlings account. New balance: $58
    [22:57:34] [Server thread/INFO]: $538 added to devmo7 account. New balance: $538
    [22:57:34] [Server thread/INFO]: $22 added to Devon006 account. New balance: $22
    [22:57:34] [Server thread/INFO]: $52 added to DiamondSword1209 account. New balance: $52
    [22:57:34] [Server thread/INFO]: $66 added to Xx_Saxon_xX account. New balance: $131
    [22:57:34] [Server thread/INFO]: $32 added to DinoBoy80 account. New balance: $32
    [22:57:34] [Server thread/INFO]: $1 added to DinoJoshie account. New balance: $29
    [22:57:34] [Server thread/INFO]: $16 added to DizzyYellowDude account. New balance: $16
    [22:57:34] [Server thread/INFO]: $11 added to NoHaxJustHuman account. New balance: $22
    [22:57:34] [Server thread/INFO]: $48 added to DogFriend202 account. New balance: $70
    [22:57:34] [Server thread/INFO]: $37 added to DoggyExpress account. New balance: $64
    [22:57:34] [Server thread/INFO]: $61 added to dolphintails account. New balance: $62
    [22:57:34] [Server thread/INFO]: $1,151 added to Domin8er23 account. New balance: $1,151
    [22:57:34] [Server thread/INFO]: $4 added to DonutSwear account. New balance: $96
    [22:57:34] [Server thread/INFO]: $31 added to echoct21 account. New balance: $36
    [22:57:34] [Server thread/INFO]: $3,570 added to Elikir account. New balance: $3,735
    [22:57:34] [Server thread/INFO]: $45 added to ElizabethMai account. New balance: $55
    [22:57:34] [Server thread/INFO]: $2,114 added to LPSmasterHill account. New balance: $2,129
    [22:57:34] [Server thread/INFO]: $5 added to enderforeman account. New balance: $5
    [22:57:34] [Server thread/INFO]: $27 added to TheFNAFfanwoman account. New balance: $63
    [22:57:36] [Server thread/INFO]: $54 added to Epicface377 account. New balance: $54
    [22:57:51] [Server thread/INFO]: $199 added to Pierce_The_Swag account. New balance: $199
    [22:57:51] [Server thread/INFO]: $202 added to Epic_Gamer727 account. New balance: $278
    [22:57:51] [Server thread/INFO]: $65 added to everlag1 account. New balance: $80
    [22:57:51] [Server thread/INFO]: $34 added to fabester account. New balance: $34
    [22:57:51] [Server thread/INFO]: $2 added to FatherShoe account. New balance: $2
    [22:57:51] [Server thread/INFO]: $43 added to federerro account. New balance: $43
    [22:57:51] [Server thread/INFO]: $13 added to Fierce_Kitten account. New balance: $36
    [22:57:51] [Server thread/INFO]: $12 added to FlameStar7 account. New balance: $21
    [22:57:51] [Server thread/INFO]: $18 added to FlashMiner23 account. New balance: $18
    [22:57:51] [Server thread/INFO]: $32 added to flash_miner account. New balance: $47
    [22:57:51] [Server thread/INFO]: $2 added to flinx15 account. New balance: $2
    [22:57:51] [Server thread/INFO]: $74 added to Fred187 account. New balance: $75
    [22:57:51] [Server thread/INFO]: $99 added to froschi_ account. New balance: $100
    [22:57:51] [Server thread/INFO]: $91 added to gajama account. New balance: $188
    [22:57:51] [Server thread/INFO]: $91 added to gajama account. New balance: $279
    [22:57:51] [Server thread/INFO]: $83 added to GamerBoys22 account. New balance: $155
    [22:57:51] [Server thread/INFO]: $13 added to 51_Punks account. New balance: $13
    [22:57:51] [Server thread/INFO]: $54 added to Gavin00100 account. New balance: $54
    [22:57:51] [Server thread/INFO]: $43 added to GeorgiaandBenji account. New balance: $71
    [22:57:51] [Server thread/INFO]: $451 added to GertAlert account. New balance: $530
    [22:57:51] [Server thread/INFO]: $94.10 added to gigantelli account. New balance: $148.10
    [22:57:51] [Server thread/INFO]: $746 added to GLUGman account. New balance: $757
    [22:57:51] [Server thread/INFO]: $98 added to Grammomdad account. New balance: $98
    [22:57:51] [Server thread/INFO]: $40 added to GrassPelt account. New balance: $85
    [22:57:51] [Server thread/INFO]: $10 added to Groogaroo account. New balance: $12
    [22:57:51] [Server thread/INFO]: $17 added to Grouchy5Geek account. New balance: $41
    [22:57:51] [Server thread/INFO]: $8 added to gunner2600 account. New balance: $9
    [22:57:51] [Server thread/INFO]: $131 added to GymMini account. New balance: $142
    [22:57:51] [Server thread/INFO]: $9 added to hagrid1144 account. New balance: $19
    [22:57:51] [Server thread/INFO]: $107.01 added to hamsrus1 account. New balance: $117.01
    [22:57:51] [Server thread/INFO]: $35 added to Han360 account. New balance: $50
    [22:57:51] [Server thread/INFO]: $73 added to hannah1miner account. New balance: $78
    [22:57:52] [Server thread/INFO]: $6 added to harvest_kid account. New balance: $7
    [22:57:52] [Server thread/INFO]: $24 added to HedwigandHarry account. New balance: $55
    [22:58:09] [Server thread/INFO]: $30 added to HerbyMouse account. New balance: $30
    [22:58:09] [Server thread/INFO]: $30 added to HerbyMouse account. New balance: $60
    [22:58:09] [Server thread/INFO]: $15 added to HeroJack09 account. New balance: $15
    [22:58:09] [Server thread/INFO]: $62 added to HopeRun account. New balance: $380
    [22:58:09] [Server thread/INFO]: $21 added to hotdog0822 account. New balance: $21
    [22:58:09] [Server thread/INFO]: $33 added to Hotdog4700 account. New balance: $33
    [22:58:09] [Server thread/INFO]: $99 added to Mad_As_A_Hatter account. New balance: $105
    [22:58:09] [Server thread/INFO]: $208 added to iCheezit account. New balance: $208
    [22:58:09] [Server thread/INFO]: $135.01 added to Ikeybanana account. New balance: $136.01
    [22:58:09] [Server thread/INFO]: $928 added to iliketnt29 account. New balance: $971
    [22:58:09] [Server thread/INFO]: $22 added to ILVG4 account. New balance: $32
    [22:58:09] [Server thread/INFO]: $116 added to Iminehere account. New balance: $166
    [22:58:09] [Server thread/INFO]: $10 added to ImPikaaa account. New balance: $15
    [22:58:09] [Server thread/INFO]: $4,183 added to InfernoPa account. New balance: $4,224
    [22:58:10] [Server thread/INFO]: $2,306 added to IronAgate account. New balance: $2,351
    [22:58:10] [Server thread/INFO]: $2 added to isaiahbur account. New balance: $2
    [22:58:10] [Server thread/INFO]: $174 added to Ish_the_Fishie account. New balance: $174
    [22:58:10] [Server thread/INFO]: $203 added to izzy21 account. New balance: $204
    [22:58:10] [Server thread/INFO]: $116 added to JackenBracken account. New balance: $154
    [22:58:10] [Server thread/INFO]: $318 added to JackenKracken account. New balance: $318
    [22:58:10] [Server thread/INFO]: $100 added to jakebuilder4 account. New balance: $100
    [22:58:10] [Server thread/INFO]: $31 added to jalex19100 account. New balance: $54
    [22:58:10] [Server thread/INFO]: $97 added to Jasmini account. New balance: $127
    [22:58:10] [Server thread/INFO]: $62 added to JFMSelly account. New balance: $62
    [22:58:10] [Server thread/INFO]: $338 added to JohnySandN account. New balance: $338
    [22:58:10] [Server thread/INFO]: $76 added to Jolly123 account. New balance: $76
    [22:58:10] [Server thread/INFO]: $37 added to Jujimak account. New balance: $37
    [22:58:10] [Server thread/INFO]: $33 added to juliette666666 account. New balance: $33
    [22:58:10] [Server thread/INFO]: $24 added to K0rkyPlaysMC account. New balance: $54
    [22:58:10] [Server thread/INFO]: $56 added to Kaitlyn2005 account. New balance: $56
    [22:58:10] [Server thread/INFO]: $5 added to kaldar3 account. New balance: $40
    [22:58:10] [Server thread/INFO]: $13 added to Kapowai account. New balance: $13
    [22:58:10] [Server thread/INFO]: $80 added to KawiiFlowers account. New balance: $80
    [22:58:10] [Server thread/INFO]: $34 added to Kaylee349 account. New balance: $39
    [22:58:10] [Server thread/INFO]: $21 added to KaylinAC account. New balance: $21
    [22:58:10] [Server thread/INFO]: $32 added to Kenna4567 account. New balance: $32
    [22:58:10] [Server thread/INFO]: $148 added to KiaAndBaba account. New balance: $148
    [22:58:10] [Server thread/INFO]: $13 added to Kick_it12345 account. New balance: $44
    [22:58:10] [Server thread/INFO]: $130 added to NubPvP_ account. New balance: $131
    [22:58:28] [Server thread/INFO]: $41 added to KittyKat1021 account. New balance: $49
    [22:58:28] [Server thread/INFO]: $22 added to KPP03 account. New balance: $104
    [22:58:28] [Server thread/INFO]: $5 added to KristKaT account. New balance: $20
    [22:58:28] [Server thread/INFO]: $27 added to Kumadog account. New balance: $37
    [22:58:28] [Server thread/INFO]: $18 added to Jaedyn_Games account. New balance: $23
    [22:58:28] [Server thread/INFO]: $10,393 added to Kyukuro account. New balance: $10,414
    [22:58:28] [Server thread/INFO]: $165 added to ladybug344 account. New balance: $166
    [22:58:28] [Server thread/INFO]: $66 added to LCRULE account. New balance: $122
    [22:58:28] [Server thread/INFO]: $47 added to Legendary__Ninja account. New balance: $47
    [22:58:29] [Server thread/INFO]: $10 added to LeopardPenguin account. New balance: $10
    [22:58:29] [Server thread/INFO]: $11.50 added to SeaLevel account. New balance: $11.50
    [22:58:29] [Server thread/INFO]: $16 added to Lilytheturtle6 account. New balance: $16
    [22:58:29] [Server thread/INFO]: $15 added to LindsayHall account. New balance: $15
    [22:58:29] [Server thread/INFO]: $1,040 added to Littleb2006 account. New balance: $1,075
    [22:58:29] [Server thread/INFO]: $30 added to Ljay68 account. New balance: $30
    [22:58:29] [Server thread/INFO]: $226 added to llamas22 account. New balance: $487
    [22:58:29] [Server thread/INFO]: $98 added to Lolie15 account. New balance: $103
    [22:58:29] [Server thread/INFO]: $9 added to losbrosmayhem account. New balance: $116
    [22:58:29] [Server thread/INFO]: $35 added to LoveyLei account. New balance: $35
    [22:58:29] [Server thread/INFO]: $48 added to LugKnut account. New balance: $49
    [22:58:29] [Server thread/INFO]: $31 added to lugreen23 account. New balance: $31
    [22:58:29] [Server thread/INFO]: $71 added to Madeline2008 account. New balance: $72
    [22:58:29] [Server thread/INFO]: $2,343.60 added to malkamk account. New balance: $3,300.60
    [22:58:29] [Server thread/INFO]: $6 added to Manchot999 account. New balance: $36
    [22:58:29] [Server thread/INFO]: $173 added to Mankelor account. New balance: $188
    [22:58:29] [Server thread/INFO]: $89 added to mario_lewie account. New balance: $99
    [22:58:29] [Server thread/INFO]: $26 added to McQuinnMinecraft account. New balance: $26
    [22:58:47] [Server thread/INFO]: $279 added to mgdc_coco account. New balance: $299
    [22:58:47] [Server thread/INFO]: $8 added to Mickeyheart account. New balance: $29
    [22:58:47] [Server thread/INFO]: $61 added to Derpbox150 account. New balance: $77
    [22:58:47] [Server thread/INFO]: $92 added to Mineguini account. New balance: $103
    [22:58:47] [Server thread/INFO]: $63 added to Miner_Doobs account. New balance: $102
    [22:58:47] [Server thread/INFO]: $23 added to MineZapp account. New balance: $23
    [22:58:47] [Server thread/INFO]: $15 added to minion_masher account. New balance: $31
    [22:58:47] [Server thread/INFO]: $119.09 added to MiniThreat account. New balance: $128.09
    [22:58:47] [Server thread/INFO]: $170 added to MiracleMinecraft account. New balance: $254
    [22:58:47] [Server thread/INFO]: $115 added to MistyMoonshadow account. New balance: $130
    [22:58:47] [Server thread/INFO]: $5 added to mitnworb account. New balance: $5
    [22:58:47] [Server thread/INFO]: $58 added to MJRminer account. New balance: $58
    [22:58:47] [Server thread/INFO]: $106 added to MKZK16 account. New balance: $123
    [22:58:47] [Server thread/INFO]: $1 added to Morningunicorn account. New balance: $1
    [22:58:47] [Server thread/INFO]: $19 added to mrpenguin2006 account. New balance: $24
    [22:58:47] [Server thread/INFO]: $71 added to mrsuperstar0729 account. New balance: $83
    [22:58:47] [Server thread/INFO]: $98 added to Mr_SpinoRaptor account. New balance: $99
    [22:58:47] [Server thread/INFO]: $8 added to Murd3rtr0n account. New balance: $14
    [22:58:47] [Server thread/INFO]: $143 added to MuskadummyBen account. New balance: $156
    [22:58:47] [Server thread/INFO]: $28 added to mycraftrules account. New balance: $28
    [22:58:47] [Server thread/INFO]: $68.19 added to MysticGlider account. New balance: $75.19
    [22:58:47] [Server thread/INFO]: $15 added to myturtle8 account. New balance: $15
    [22:58:47] [Server thread/INFO]: $49 added to M_is_for account. New balance: $50
    [22:58:47] [Server thread/INFO]: $37 added to Nai789 account. New balance: $47
    [22:58:47] [Server thread/INFO]: $23 added to natedog1008 account. New balance: $48
    [22:58:47] [Server thread/INFO]: $121 added to NetherGirl_814 account. New balance: $122
    [22:58:47] [Server thread/INFO]: $85 added to NGGAMER777 account. New balance: $95
    [22:58:47] [Server thread/INFO]: $19 added to NickABrick account. New balance: $19
    [22:58:47] [Server thread/INFO]: $18 added to NinjaAlexKai account. New balance: $19
    [22:58:47] [Server thread/INFO]: $62 added to NinjaGwen account. New balance: $71
    [22:58:47] [Server thread/INFO]: $129 added to ninjajmb account. New balance: $142
    [22:58:47] [Server thread/INFO]: $46 added to NinjaTacoTMB account. New balance: $66
    [22:58:47] [Server thread/INFO]: $23 added to Noah_Mahmood account. New balance: $23
    [22:58:47] [Server thread/INFO]: $33 added to Noatle2 account. New balance: $33
    [22:58:47] [Server thread/INFO]: $76 added to OandW account. New balance: $91
    [22:58:47] [Server thread/INFO]: $67 added to OcelotTRB account. New balance: $72
    [22:58:47] [Server thread/INFO]: $134 added to OhyahKid account. New balance: $135
    [22:58:47] [Server thread/INFO]: $78.30 added to OllieBartel account. New balance: $131.30
    [22:58:47] [Server thread/INFO]: $3 added to OLOF_5 account. New balance: $14
    [22:58:47] [Server thread/INFO]: $144.91 added to OnlyInTheShadows account. New balance: $179.91
    [22:58:47] [Server thread/INFO]: $5 added to oops24 account. New balance: $24
    [22:58:47] [Server thread/INFO]: $11 added to Oreorania account. New balance: $12
    [22:59:10] [Server thread/INFO]: $553 added to PawOfTheForest account. New balance: $618
    [22:59:10] [Server thread/INFO]: $2 added to Perherauha account. New balance: $63
    [22:59:10] [Server thread/INFO]: $134 added to Phoenix191 account. New balance: $134
    [22:59:10] [Server thread/INFO]: $645.50 added to PieMonster_ account. New balance: $666.50
    [22:59:10] [Server thread/INFO]: $120.01 added to Pigichu account. New balance: $142.01
    [22:59:10] [Server thread/INFO]: $425 added to Pikachu_lewie account. New balance: $426
    [22:59:10] [Server thread/INFO]: $46 added to Pinkerzella account. New balance: $46
    [22:59:10] [Server thread/INFO]: $61.01 added to PinkyPearl01 account. New balance: $61.01
    [22:59:10] [Server thread/INFO]: $14.99 added to Pixel_Brine account. New balance: $31.99
    [22:59:10] [Server thread/INFO]: $1.20 added to plinkyplonk555 account. New balance: $1.20
    [22:59:10] [Server thread/INFO]: $3,169 added to Pokiechu account. New balance: $3,195
    [22:59:10] [Server thread/INFO]: $62 added to powermaster30 account. New balance: $67
    [22:59:10] [Server thread/INFO]: $46 added to priorbj account. New balance: $68
    [22:59:10] [Server thread/INFO]: $7 added to Rachel786 account. New balance: $33
    [22:59:10] [Server thread/INFO]: $105 added to Racing_Piglet account. New balance: $116
    [22:59:10] [Server thread/INFO]: $959.03 added to RancorDrama account. New balance: $969.03
    [22:59:10] [Server thread/INFO]: $17 added to Redfbm10 account. New balance: $87
    [22:59:10] [Server thread/INFO]: $69.80 added to RMicky account. New balance: $135.80
    [22:59:10] [Server thread/INFO]: $30 added to rocketjen account. New balance: $30
    [22:59:10] [Server thread/INFO]: $21 added to Rosetta_12 account. New balance: $112
    [22:59:10] [Server thread/INFO]: $31 added to Rosie07777 account. New balance: $31
    [22:59:10] [Server thread/INFO]: $171 added to Rowanepic account. New balance: $187
    [22:59:10] [Server thread/INFO]: $936 added to Roxie238 account. New balance: $1,061
    [22:59:10] [Server thread/INFO]: $21.10 added to RoyalSamurott account. New balance: $23.10
    [22:59:10] [Server thread/INFO]: $36.98 added to RQuinton account. New balance: $53.98
    [22:59:10] [Server thread/INFO]: $6 added to RyanTSM account. New balance: $16
    [22:59:10] [Server thread/INFO]: $32 added to RyRy108 account. New balance: $32
    [22:59:10] [Server thread/INFO]: $106 added to saigely account. New balance: $106
    [22:59:10] [Server thread/INFO]: $270 added to SantaFeRailroad account. New balance: $270
    [22:59:10] [Server thread/INFO]: $25 added to scubadiverLily account. New balance: $66
    [22:59:10] [Server thread/INFO]: $1 added to SebHobbit account. New balance: $7
    [22:59:10] [Server thread/INFO]: $93 added to SegerDom account. New balance: $108
    [22:59:10] [Server thread/INFO]: $72 added to Minemaster151 account. New balance: $72
    [22:59:10] [Server thread/INFO]: $12.01 added to sfm3 account. New balance: $32.01
    [22:59:54] [Server thread/INFO]: $427 added to Shadowspider account. New balance: $427
    [22:59:54] [Server thread/INFO]: $33.95 added to SharedLIVE account. New balance: $38.95
    [22:59:54] [Server thread/INFO]: $15 added to sharpwing1122 account. New balance: $15
    [22:59:54] [Server thread/INFO]: $27 added to The_SheanAtor account. New balance: $43
    [22:59:54] [Server thread/INFO]: $213 added to siguy44 account. New balance: $254
    [22:59:54] [Server thread/INFO]: $94 added to Sir_Panda_Marmot account. New balance: $99
    [22:59:54] [Server thread/INFO]: $78 added to skraftermc account. New balance: $158
    [22:59:54] [Server thread/INFO]: $817 added to SkullRider3005 account. New balance: $823
    [22:59:54] [Server thread/INFO]: $40 added to slamdunker1010 account. New balance: $47
    [22:59:54] [Server thread/INFO]: $230 added to SmartonixJ account. New balance: $298
    [22:59:54] [Server thread/INFO]: $48 added to smileymileyh account. New balance: $48
    [22:59:54] [Server thread/INFO]: $15.10 added to smm9 account. New balance: $15.10
    [22:59:54] [Server thread/INFO]: $8,646 added to SpaceDylan account. New balance: $8,691
    [22:59:54] [Server thread/INFO]: $105 added to SpinSpin2 account. New balance: $120
    [22:59:54] [Server thread/INFO]: $36 added to spyguy07 account. New balance: $37
    [22:59:54] [Server thread/INFO]: $18 added to SpyGuyTyler account. New balance: $22
    [22:59:54] [Server thread/INFO]: $86.01 added to squidnuggetier account. New balance: $92.01
    [22:59:54] [Server thread/INFO]: $41 added to SSRcool account. New balance: $67
    [22:59:54] [Server thread/INFO]: $16 added to Staris7 account. New balance: $16
    [22:59:54] [Server thread/INFO]: $33 added to starrninja account. New balance: $33
    [22:59:54] [Server thread/INFO]: $88 added to Diamondcreper account. New balance: $89
    [22:59:54] [Server thread/INFO]: $85 added to steven3000 account. New balance: $96
    [22:59:54] [Server thread/INFO]: $123 added to stormer09 account. New balance: $149
    [22:59:54] [Server thread/INFO]: $104 added to StormShovel account. New balance: $191
    [22:59:54] [Server thread/INFO]: $12 added to SugarTheTiger account. New balance: $18
    [22:59:54] [Server thread/INFO]: $1,725 added to SuperMarioFan4 account. New balance: $1,735
    [22:59:54] [Server thread/INFO]: $150 added to SupersonicE9 account. New balance: $160
    [22:59:54] [Server thread/INFO]: $64 added to Sush1dd account. New balance: $74
    [22:59:54] [Server thread/INFO]: $3,322 added to sweet_pickle64 account. New balance: $3,390
    [22:59:54] [Server thread/INFO]: $80 added to swimgirl543 account. New balance: $173
    [22:59:54] [Server thread/INFO]: $41.81 added to Taneam account. New balance: $41.81
    [22:59:54] [Server thread/INFO]: $368 added to taya_maya account. New balance: $373
    [22:59:54] [Server thread/INFO]: $5 added to TBoomer22 account. New balance: $5
    [22:59:54] [Server thread/INFO]: $138 added to Teerulls account. New balance: $139
    [22:59:54] [Server thread/INFO]: $420 added to ThatRoyalGuy account. New balance: $449
    [22:59:54] [Server thread/INFO]: $16 added to TheBoatOfRa account. New balance: $26
    [23:00:10] [Server thread/INFO]: $22.67 added to ARGreat account. New balance: $38.67
    [23:00:10] [Server thread/INFO]: $77 added to thepiercekid account. New balance: $151
    [23:00:10] [Server thread/INFO]: $35 added to ThePuzzler13 account. New balance: $36
    [23:00:10] [Server thread/INFO]: $2 added to theselittlepigs account. New balance: $12
    [23:00:10] [Server thread/INFO]: $17.87 added to The_Denmeister account. New balance: $33.87
    [23:00:10] [Server thread/INFO]: $89 added to The_TNT_Charli account. New balance: $89
    [23:00:10] [Server thread/INFO]: $75 added to TIG3R0813 account. New balance: $98
    [23:00:10] [Server thread/INFO]: $533 added to Tiger_Gamer360 account. New balance: $557
    [23:00:10] [Server thread/INFO]: $42 added to Tinkerfaerie account. New balance: $42
    [23:00:10] [Server thread/INFO]: $32 added to tntrafael account. New balance: $65
    [23:00:11] [Server thread/INFO]: $2,264.10 added to TopDiamondMiner account. New balance: $2,572.10
    [23:00:11] [Server thread/INFO]: $4,700 added to trashboat__ account. New balance: $4,700
    [23:00:11] [Server thread/INFO]: $1 added to Trokopops account. New balance: $2
    [23:00:11] [Server thread/INFO]: $6 added to TropicalParty account. New balance: $7
    [23:00:11] [Server thread/INFO]: $132 added to trubuhl account. New balance: $132
    [23:00:11] [Server thread/INFO]: $98 added to Tstormer8 account. New balance: $98
    [23:00:11] [Server thread/INFO]: $151 added to TwilightOwlPower account. New balance: $176
    [23:00:11] [Server thread/INFO]: $53 added to Tyraninja_Rex account. New balance: $53
    [23:00:11] [Server thread/INFO]: $94 added to TyranosaurusR3X account. New balance: $221
    [23:00:11] [Server thread/INFO]: $11.07 added to Uni_fluff account. New balance: $26.07
    [23:00:11] [Server thread/INFO]: $7,462.98 added to Virgeric account. New balance: $7,592.98
    [23:00:11] [Server thread/INFO]: $116 added to VoldeChuck account. New balance: $116
    [23:00:11] [Server thread/INFO]: $88 added to warriordaniel account. New balance: $93
    [23:00:11] [Server thread/INFO]: $23 added to WildcatKing account. New balance: $25
    [23:00:11] [Server thread/INFO]: $87 added to Willful36 account. New balance: $87
    [23:00:11] [Server thread/INFO]: $60 added to WolfZombie68 account. New balance: $75
    [23:00:11] [Server thread/INFO]: $139 added to Xboxms account. New balance: $140
    [23:00:11] [Server thread/INFO]: $1 added to xfire049 account. New balance: $1
    [23:00:11] [Server thread/INFO]: $38 added to XP_LEVIG_IS_ME account. New balance: $99
    [23:00:11] [Server thread/INFO]: $94 added to X_All_The_Y account. New balance: $146
    [23:00:11] [Server thread/INFO]: $108 added to YellowLegohead account. New balance: $113
    [23:00:11] [Server thread/INFO]: $7 added to Yoshi_302 account. New balance: $8
    [23:00:11] [Server thread/INFO]: $85 added to YTPhilly account. New balance: $106
    [23:00:11] [Server thread/INFO]: $130 added to zachzeo account. New balance: $130
    [23:00:11] [Server thread/INFO]: $82 added to ZAMcraft2 account. New balance: $82
    [23:00:11] [Server thread/INFO]: $307 added to ZanyZDog account. New balance: $307
    [23:00:11] [Server thread/INFO]: $242 added to Zaynia account. New balance: $248
    [23:00:11] [Server thread/INFO]: $12 added to ZenPax account. New balance: $27
    [23:00:11] [Server thread/INFO]: $171 added to zilory account. New balance: $239
    [23:00:22] [Server thread/INFO]: $6 added to Zubu06 account. New balance: $6
    [23:00:22] [Server thread/INFO]: $22 added to zundlezee account. New balance: $28
    [23:00:22] [Server thread/INFO]: $10.01 added to zuzudanger account. New balance: $31.01
    [23:00:22] [Server thread/INFO]: $1,646 added to ZXmonster account. New balance: $1,751
    [23:00:22] [Server thread/INFO]: $39.20 added to Derpywormy account. New balance: $49.20
    [23:00:22] [Server thread/INFO]: $544 added to ZZTarantula account. New balance: $564
    [23:00:22] [Server thread/INFO]: $24 added to _CraftyTheGirl_ account. New balance: $39
    [23:00:22] [Server thread/INFO]: $72 added to _dagty_ account. New balance: $109
    [23:00:22] [Server thread/INFO]: $18 added to _Mousie_23 account. New balance: $19
    [23:00:22] [Server thread/INFO]: $26 added to _M_a_t_t_e_o_ account. New balance: $56
    [23:00:23] [Server thread/INFO]: $208.22 added to Little_Maki account. New balance: $228.22

    I hope you enjoyed this peek into Sandlot administration. Please let me know if you have any questions!
     
    Last edited: Dec 8, 2016
    • Like Like x 17
  2. LifeLearner

    LifeLearner Artisan Moderator VIP Elder

    :eek:...:D
     
    • Like Like x 6
  3. Abbz05

    Abbz05 Artisan VIP Helper

    Woohoo! $1,467.88 for me! ROFL:p

    Absolutely incredible c0w... c0w... hmm... ah-ha... c0wntdracula! Wait, that seems kind of evil... unic0wn? c0wnd0g? p0pc0wn?...

    Ha-za! elsac0wna! Perfect!

    ---
    He's never going back [to fixing HG balances],
    The past [of fixing HG balances] is in the past!

    Let it [HG balances] go, let it [HG balances] go!
    The HG balances didn't bother him anyway.

    ---
    Thanks c0wbellieboodoo! :D
     
    • Like Like x 7
  4. zilory

    zilory Expert VIP Helper

    Lol
     
    • Like Like x 9
  5. BellStar03

    BellStar03 Expert Moderator VIP

    w0w, c0w! Thanks! :)
     
    • Like Like x 2
  6. CaptainFinner

    CaptainFinner Expert VIP Helper

    Thanks c0w! :D
     
    • Like Like x 1
  7. charlemane72

    charlemane72 Adept

    Impressive! That was Excellent.
     
    • Like Like x 1
  8. MCOnion

    MCOnion Expert Helper

    My balance has not been transfered to my account according to that spoiler.
     
    • Like Like x 1
  9. MCOnion

    MCOnion Expert Helper

    I just checked in-game, and i still only have $7 even though I had about $350 before the update.
     
    • Like Like x 1
  10. Kyukuro

    Kyukuro Samurai Moderator VIP Elder

    Woohoo!
     
    • Like Like x 7
  11. KPP03

    KPP03 Expert

    [22:58:28] [Server thread/INFO]: $22 added to KPP03 account. New balance: $104


    Woohoo!!
     
    • Like Like x 1
  12. KPP03

    KPP03 Expert

    Holy c0w Kyu!
     
    • Like Like x 1
  13. Thanks c0w.
     
    • Like Like x 1
  14. bizarr0

    bizarr0 Rodeo Clown/Parachute Tester Moderator VIP Elder

    :eek: @c0wg0d, you're wanted in the nerdery....

    Great job on your script, Moo Moo! I like that you put comments, it means you're not evil. lol

    I didn't see my name in your list, but I don't play HG that much, so that's not surprising. If you want to just settle with giving me $1.27, I'd be okay with that. ;)
     
    • Like Like x 9
  15. Virgeric

    Virgeric Gorn Moderator VIP Elder

    Biz has a lot of nerve asking for $1,27. I say give him nothing.

    I'll check my balance tonight.
     
    • Like Like x 8
  16. DogFriend202

    DogFriend202 Expert VIP

    [22:57:34] [Server thread/INFO]: $48 added to DogFriend202 account. New balance: $70
    Wow!!! Great job c0w! I can't wait to check it out! Looks awesome!
     
    • Like Like x 3
  17. flash_miner

    flash_miner Adept

    OMG! That's awesome! Thanks for all of your hard work, c0wie! 8DxdROFL:p
     
    • Like Like x 3
  18. ZXmonster

    ZXmonster Expert Helper

    pretty cool knowing that I had 1.6k. totally forgot about it and just thought i only had like 100 dollars. :p
     
    • Like Like x 4
  19. c0wg0d

    c0wg0d Master Owner Moderator VIP

    That is strange. Have you played on HG lately? When I tried to update your balance, it says "Player not found."
     
    • Like Like x 1
  20. MCOnion

    MCOnion Expert Helper

    I have not played since I updated my name, but when I checked my bal this morning I did log on to hg1 just didnt play. You might want to try my old name UnionMinecraft.
     
    • Like Like x 1

Share This Page