online with ' . $minequery['playerCount'] . '/' . $minequery['maxPlayers'] . ' players currently playing (' . round($minequery['latency'], 1) . ' ms latency)'; $serverPlayers = ''; } else { $serverStatus = 'Our server is offline — sorry!'; } if(isset($_SERVER['HTTP_CF_CONNECTING_IP'])) { $_SERVER['REMOTE_ADDR'] = $_SERVER['HTTP_CF_CONNECTING_IP']; } // Fetch just stuff for ajax if($_GET['barebones']) { echo '' . $serverStatus . ''; echo '
' . $serverPlayers . '
'; } else { // Connect $db_host = "localhost"; $db_user = "gamingheavens"; $db_pass = "CU3ubFMu2msc3Q2jkmcr"; $db_name = "gamingheavens"; $connection = @mysql_connect("$db_host", "$db_user", "$db_pass") or die("Couldn't connect."); $db = @mysql_select_db($db_name, $connection) or die("Couldn't select database."); // Sanitize // Thanks marty function sanitize($string) { $string = stripslashes($string); $string = htmlentities(trim($string)); $string = str_replace("#", "#", $string); $string = str_replace("%", "%", $string); return mysql_real_escape_string($string); } // Generate random string function randomString() { $length = 50; $characters = '0123456789abcdefghijklmnopqrstuvwxyz'; $string = ''; for ($p = 0; $p < $length; $p++) { $string .= $characters[mt_rand(0, strlen($characters))]; } return $string; } // Membership application $minecraftName = sanitize($_POST['minecraftName']); $ventriloName = sanitize($_POST['ventriloName']); $email = sanitize($_POST['email']); $agreeRules = sanitize($_POST['agreeRules']); $ip = $_SERVER['REMOTE_ADDR']; $validationString = randomString(); $validation = $_GET['validation']; $getEmail = $_GET['email']; if(sanitize($_POST['submitted'])) { $submitted = true; } // Let's do this! if(sanitize($_POST['submitted'])) { // Do they agree to the rules? if($agreeRules) { // Does a Minecraft name exist? if($minecraftName) { // Does an email exist? if($email) { // Verify email if(eregi('[a-z||0-9]@[a-z||0-9].[a-z]', $email)) { // Connect to domain to see if it exists $domain = explode('@', $email); if(@fsockopen($domain[1], 80, $errno, $errstr, 3)) { // Check if Minecraft name exists if(mysql_num_rows(mysql_query("SELECT minecraftName FROM minecraft_members WHERE minecraftName = '$minecraftName'"))) { // Already verified if(mysql_num_rows(mysql_query("SELECT validated FROM minecraft_members WHERE minecraftName = '$minecraftName'")) == 1) { $error = true; $message = 'Hey... that Minecraft name is already in our database and it has already been validated! Let us know if this was a mistake!'; } else { $error = true; $message = 'Hey... that Minecraft name is already in our database, but has not been validated! Let us know if you\'re having issues!'; } } else { if(mysql_num_rows(mysql_query("SELECT email FROM minecraft_members WHERE email = '$email'"))) { $error = true; $message = 'Hey... that email is already in our database! Let us know if this was a mistake!'; } else { // Message body $body = 'Your Gaming Heavens Minecraft Validation!

Hey ' . $minecraftName . '!


You are so close to becoming a member on our Minecraft server!

Just click here to finish up!

(http://gamingheavens.com/minecraft/?email=' . $email . '&validation=' . $validationString . '#alert)

If you did not request this email, please ignore it.


Happy Minecrafting,
Gaming Heavens

'; $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; $headers .= 'From: Gaming Heavens Support ' . "\r\n"; if(mail($email, 'Your Gaming Heavens Minecraft Validation!', $body, $headers)) { // Yay! $message = 'All is well! Just click on the link we\'ve just emailed you in order to validate your request — you\'ll be instantly promoted right after that.'; mysql_query("INSERT INTO minecraft_members (minecraftName, ventriloName, email, validationString, date, ip) VALUES ('$minecraftName', '$ventriloName', '$email', '$validationString', NOW(), '$ip')"); } else { $error = true; $message = 'For some reason the email wasn\'t able to be sent! Get in contact with an administrator!'; } } } } else { $error = true; $message = 'Hmm... our server can\'t verify that your email\'s domain exists. Try another email address perhaps?'; } } else { $error = true; $message = 'It looks like your email is invalid.'; } } else { $error = true; $message = 'You need to enter an email so we can verify that you\'re a person.'; } } else { $error = true; $message = 'You need to enter in your Minecraft name! How else will we know who to promote!?'; } } else { $error = true; $message = 'Sorry, you must agree to our rules to become a member! They aren\'t totally unreasonable, right?'; } } // Are we validating someone? if($validation) { // Check if code exists if(mysql_num_rows(mysql_query("SELECT validationString FROM minecraft_members WHERE validationString = '$validation'"))) { // Check if code exists with email if(mysql_num_rows(mysql_query("SELECT email FROM minecraft_members WHERE email = '$getEmail' && validationString = '$validation'"))) { // Check if already promoted $checkValidated = mysql_fetch_array(mysql_query("SELECT validated FROM minecraft_members WHERE email = '$getEmail' && validationString = '$validation'")); if($checkValidated['validated'] == 1) { $error = true; $message = 'Hey... you\'ve already been validated! Go play!'; } else { // Promote! (OLD) /*$HOST = "mc.gamingheavens.com"; $password = "Xac7Gene"; $promoteFetch = mysql_fetch_array(mysql_query("SELECT minecraftName,ventriloName,email,ip FROM minecraft_members WHERE validationString = '$validation'")); // Can't touch this: $sock = socket_create(AF_INET, SOCK_STREAM, 0) or die("error: could not create socket\n"); $succ = socket_connect($sock, $HOST, 4445) or die("error: could not connect to host\n"); // Authentification socket_write($sock, $command = md5($password)."", strlen($command) + 1) or die("error: failed to write to socket\n"); // Commands socket_write($sock, $command = "/Command/ExecuteConsoleCommand:pex user " . $promoteFetch['minecraftName'] . " group set member;", strlen($command) + 1) or die("error: failed to write to socket\n"); socket_write($sock, $command = "/Command/ExecuteConsoleCommand:say " . ucfirst($promoteFetch['minecraftName']) . " just became a member! Be sure to give him or her a warm welcome! (gamingheavens.com/minecraft/);", strlen($command) + 1) or die("error: failed to write to socket\n"); socket_write($sock, $command = "***** " . $promoteFetch['minecraftName'] . " promoted to member via web (email: " . $promoteFetch['email'] . " / ip: " . $promoteFetch['ip'] . " / ventrilo: " . $promoteFetch['ventriloName'] . ") ****;", strlen($command) + 1) or die("error: failed to write to socket\n");*/ $ws = new Websend('mc.gamingheavens.com'); $ws->connect('Xac7Gene'); $ws->doCommandAsConsole('/Command/ExecuteConsoleCommand:pex user ' . $promoteFetch['minecraftName'] . ' group set member;'); $ws->doCommandAsConsole('/Command/ExecuteConsoleCommand:say ' . ucfirst($promoteFetch['minecraftName']) . ' just became a member! Be sure to give him or her a warm welcome! (gamingheavens.com/minecraft/);'); $ws->doCommandAsConsole('***** ' . $promoteFetch['minecraftName'] . ' promoted to member via web (email: ' . $promoteFetch['email'] . ' / ip: ' . $promoteFetch['ip'] . ' / ventrilo: ' . $promoteFetch['ventriloName'] . ') ****;'); $ws->disconnect(); // Update validation status mysql_query("UPDATE minecraft_members SET validated=1, validationDate=NOW() WHERE validationString = '$validation'"); $message = 'Celebrate! You\'re now a Member on our Minecraft server! Have fun!'; } } else { $error = true; $message = 'Hey... your email and validation code don\'t match up!'; } } else { $error = true; $message = 'Hey... that\'s not a valid validation code!'; } } ?> Gaming Heavens Minecraft » Feeding your Minecraft addiction!

Refresh Join Players

Players online as of Sunday 5th of July 2015 09:28:46 AM:

(refresh)

You should hop on and say hi! Server IP: mc.gamingheavens.com

class="loss"class="win">

A Minecraft server for the elite. server ip: mc.gamingheavens.com

No longer do you have to play with the plebeians found on the “other” servers. Ours is fully equipped with the latest in anti-dipshit technology. Not only do we thwart griefing with ease, but also empoly a vetting process to weed out the un-gentlemanly persons that live among us. We are confident that you will find a welcome home on our server.

Excited? We sure are. Our community is full of colourful, witty, lucious, and sexually repressed members from all corners of the globe. Become one today!

Want a little peep show?

Below is a random rotation of videos from our server created by anyone who’s anybody!

    array('id' => 'xCxty7pwfvU', 'title' => 'Gaming Heavens Minecraft Server Tour REDUX (a.k.a. cool montage)'), 2 => array('id' => '5IN6oO-Djh8', 'title' => 'Crazy Builds of Minecraft with Gc20amber'), 3 => array('id' => '3jywFsi_Sc0', 'title' => 'Gaming Heavens Minecraft Server Tour (a.k.a. cool montage)'), 4 => array('id' => 'KgyeHxVFe3M', 'title' => 'Another Minecraft Roller Coaster!'), 5 => array('id' => '8YC_iUdgJeA', 'title' => 'Gaming Heavens Minecraft Server Antics - Ep. 1'), 6 => array('id' => 'GoMg-BMCP7c', 'title' => 'MineCraft - (The Runescape Project) Lumbridge w/Commentary by GoingCrazy201'), 7 => array('id' => 'KL1eOjgNSII', 'title' => 'Minecraft Timelapse - Bowser'), 8 => array('id' => 'PXQL54-CdbM', 'title' => 'Minecraft Sever Tour Part 3'), 9 => array('id' => 'zyfwffdJjOc', 'title' => 'Minecraft: Craft Creations Week 8 with evan1994 (MC Gameplay/Commentary)'), 10 => array('id' => 'iSvF6cmoRcg', 'title' => 'Take a Chance') ); $rand_keys = array_rand($videos, 4); ?>
  • Video Thumbnail
  • Video Thumbnail
  • Video Thumbnail
  • Video Thumbnail

Our basic rules

  • Only assholes grief. And we love to ban assholes.
  • Be kind to each other. If you want to call someone's mom fat, go play Call of Duty.
  • Do not ask to be promoted/opped. A mod or admin will once they feel you are ready.
  • Tasteful swearing only. If it helps prove your point, then it's okay — just don't be excessive.
  • Be mindful. Don't build your giant, golden penis right next to someone else's house — move it a few dozen blocks away so it doesn't spoil their view.
  • Mods will not spawn you items. You will only be able to get items from spawn signs, creative mode inventories, or actually working for it — not from mods.

Rule violations will be dealt with on a case-by-case basis. We trust our moderator's judgement to make the right calls. They're always rational so just use your common sense!

Server cartography

Behold your creations and stalk other people — all from the comfort of your browser.
Protip: Expand the world list with the little arrow on the right!

Your browser is stupid.

Open map in a new window »

*/ ?>

Sorry, the live map is unavailable when the server is offline! Come back later!

Essential command list

This table contains all commands. Just select which rank you are and see what you are allowed to do!

Group Command Effect Notes
Guest /who Lists who's online
Guest /motd Shows MOTD Not really updated daily
Guest /rules Shows server rules
Guest /spawn Teleports you to the world's spawn
Guest /call [player] Request to be teleported
Guest /whereami Co-ordinates / compass reading
Guest /mvl List worlds on the server
Guest /mvw List who's in which world
Guest /mvtp [world] Teleport to a different world
Guest /warp [warp] Go through a warp It's like teleportation
Guest /warps List warps
Member /msg [player] [message] PM someone else
Member /sethome Sets home for current world
Member /home Teleport to your home
Member /lwc Secure chests and other things
Member /vote [yes/no] Vote on a kick/ban poll Initiated by a mod or admin
Member /chunkinfo Details about the chunk you're in
Donator /kit [name] Recieve item kits
Donator /setwarp [name] Create public warp Do not abuse
Donator /slap Slap yourself
Donator /rocket Rocket yourself
Donator /barrage Barrage yourself with arrows
Donator /heal Heal yourself
Mod /time [time] <world> Change the time
Mod /spawnmob [mob] Unleash mayhem and destruction NO GHASTS
Mod /warps del [name] Delete a warp
Mod /say [message] Broadcast a message
Mod /slap [player] Slap another player
Mod /rocket [player] Rocket another player
Mod /barrage [player] Barrage another player
Mod /whois [player] Information about another player
Mod /mute [player] Gag another player /unmute to disable
Mod /kick [player] <reason> Kick another player
Mod /ban [player] <g> <reason> Ban another player The g flag means global
Mod /weather [condition] <world> Change the weather
Mod /give [player] [item] <#> Give someone else items
Mod /i [item] <#> Give yourself items
Mod //wand Wand tool Read the WorldEdit docs
Mod // Enable/disable superpickaxe
Mod /tool [tool] Make your current item useful
Mod /brush [brush] Make your pickaxe useful
Mod /fill [block] Fill a hole
Mod /fixlava <radius> Fix uneven lava flows
Mod /fixwater <radius> Fix uneven water flows
Mod /snow <radius> Make it snow Also causes ice
Mod /thaw <radius> Make it thaw
Mod /ex Stop a fire
Mod /butcher <radius> Kills all mobs within the radius
Mod /drain <radius> Drain a fluid Use sparingly
Mod /god Become invincible /ungod to disable
Mod /hawk here Find out who changed an area
Mod /hawk tool Find out who changed a specific block
Mod /hawk rollback p:[player] Rollback a griefer's work easily Read the docs!
Mod /pex [promote/demote] [player] Promote/demote a member
Admin * You're just awesome

Frequently asked questions

Q: Why can I only build on "newbies" and "flatlands"?

A: You must sign up to be a member.

Q: What can I do to fast-track my promotion?

A: Come chat with us on our Ventrilo server and get to know everyone!

Q: What is a "regular"?

A: Simply a person who regularly comes to the server. It shows dedication, and has a prerequisite of being a member.

Q: Where is the server hosted?

A: Northern Utah, United States by one of our admins, Martyj.

Q: Can I appeal a ban?

A: Yes. Global bans can be contested here, and local bans here.

Q: I died on the hardcore world twice. How can I get back?

A: Sorry, you'll have to wait a week for the world ban to reset. Until then, enjoy your time on one of our other worlds!

Q: What is allowed on hardcore?

A: PvP, pillaging, and griefing are all fair game on this world. Make sure you're far from spawn!