"; }; node.src = fallback; //node.style.width = "4.7em"; //node.style.height = "4.7em"; //node.style.marginTop = "0.4em"; node.style.borderRadius = "4px"; } function setCompactLayout(newValue){ let expireYear = (new Date()).getFullYear() + 20; document.cookie = "layout_type=" + newValue + " ; expires = Sun, 01 Jan " + expireYear + " 00:00:00 GMT; path=/"; location.reload(); } let loadStart = 396; let loadingMore = false function loadMore(){ if(loadingMore){return} loadingMore = true let wrapper = document.getElementById("resource-grid"); /* $searchParams = [ "premium" => $discoverPremiumType === "premium" ? "1" : ($discoverPremiumType === "free" ? "0" : "-1"), "exclusive" => $discoverPremiumType === "exclusive" ? "1" : "-1", "type" => $discoverCategory, "category" => $discoverSubcategory, "ver" => $discoverVersion, "query" => $searchTermsOriginal, "sort" => $sortStyle, "tier" => $tier, "seed" => $randSeed]; */ let jsonSend = {} jsonSend = {"premium":"-1","exclusive":"-1","type":"Builds","category":"All","ver":"thereisnowaythat-you-canbethere8","query":"","sort":"update","tier":null,"seed":854116799,"payment_methods":null,"max_price":null}; //jsonSend.premium = "-1" //jsonSend.exclusive = "-1" //jsonSend.type = "builds" //jsonSend.category = "all" //jsonSend.ver = "thereisnowaythat-you-canbethere8" //jsonSend.query = "" //jsonSend.query = "" //jsonSend.sort = "update" jsonSend.start = loadStart; jsonSend.limit = 18; //jsonSend.tier = ""; //jsonSend.seed = "854116799"; jsonSend.host = window.location.host jsonSend.html_style = "grid" let cardBackground = ''; jsonSend.stringify = "0" run("search", jsonSend, function(result){ if(result.success){ for(r of result.result){ r.averageReview = parseFloat(r.averageReview) let el = document.createElement("div") let resourceURI = `/resource/${makeURLFriendly(r.title)}.${r.id}?utm_source=polymart&utm_medium=polymart-search&utm_campaign=polymart-search-update`; let backgroundColorUsed = r.headerBackgroundColor == null ? "" : (r.headerBackgroundColor.length <= 6 ? "#" + r.headerBackgroundColor : r.headerBackgroundColor); let headerHeight = "72px" let lazy = "loading='lazy'" let fallbackMarginTop = "4px" let fallbackSize = "64px" let titleStyle = "color: inherit" let fallbackText = r.title.replace(/[^A-Z]/g, "").substring(0, 4) if(fallbackText.length < 2){ fallbackText = r.title.replace(/[^A-Za-z]/g, "").substring(0, 2).toUpperCase() } let ownerBadge = r.owner.badge === null ? "" : ` ${r.owner.badge}` let ownerAndLink = `${r.owner.name}${ownerBadge}` let reviewStarsHTML = ""; let unlitColor = '#444'; for(let i = 1; i <= 5; i++){ let starToAdd = `` if(r.averageReview + 0.2 >= i){ starToAdd = ""; } else if(r.averageReview + 0.8 >= i){ starToAdd = ""; } reviewStarsHTML += starToAdd; reviewStarsHTML += ""; } reviewStarsHTML = `${reviewStarsHTML}(${r.reviewCount})`; if(r.averageReview < 1 || r.reviewCount === 0){ reviewStarsHTML = ""; } let downloadCountFormatted = r.downloads < 1 ? "Be the first!" : (r.downloads <= 5 ? "about 5" : parseInt(r.downloads).toLocaleString("en-US")); let extraBottomInfo = "" let actionButtonInner = "Download"; let actionButtonClass = "button"; let actionLocation = resourceURI; if(parseFloat(r.price) > 0){ let priceStr = `${r.price} ${r.currency}` if(!r.canDownload){ if(r.sale > 0 && r.saleUntil > new Date().getTime() / 1000){ let newPrice = parseFloat(r.price) * (1 - (parseFloat(r.sale) / 100)) priceStr = `${r.price} ${newPrice.toFixed(2)} ${r.currency}` } actionButtonInner = `${priceStr}`; actionButtonClass = "button-weak"; } } let actionButtonDivInner = `${actionButtonInner}` el.innerHTML = `
${unXSS(r.title)}
By ${ownerAndLink} — ${unXSS(r.subtitle)}
${reviewStarsHTML} ${downloadCountFormatted} ${extraBottomInfo}
${actionButtonDivInner}
` let first = el.children.item(0) let insert = document.createElement("div") insert.className = first.className insert.style = first.style insert.onclick = first.onclick insert.innerHTML = first.innerHTML wrapper.insertBefore(insert, null) } if(result["more"]){ loadStart = result["next_start"] loadingMore = false } else{ document.getElementById("loading-wrapper").remove() } } }) } let currentDiscoverAlpha = 1 let hasDoneFirstLoadMore = false window.onscroll = function(ev) { let element = document.getElementById('loading-wrapper') let bodyRect = document.body.getBoundingClientRect(), elemRect = element.getBoundingClientRect(), offset = elemRect.top - bodyRect.top; if ((window.innerHeight + window.scrollY) >= offset - 512) { loadMore() } else if(!hasDoneFirstLoadMore && window.scrollY >= 4){ hasDoneFirstLoadMore = true loadMore() } if(window.scrollY > 1650 && window.scrollY < 1850){ currentDiscoverAlpha = (window.scrollY - 1650) / 200 document.getElementById("discover-bottom-wrapper").style.opacity = `${(currentDiscoverAlpha.toFixed(3))}` } else if(window.scrollY < 1650 && currentDiscoverAlpha !== 0){ currentDiscoverAlpha = 0 document.getElementById("discover-bottom-wrapper").style.opacity = "0" } else if(window.scrollY > 1850 && currentDiscoverAlpha !== 1){ currentDiscoverAlpha = 1 document.getElementById("discover-bottom-wrapper").style.opacity = "1" } };
Sort by Updated
Lobby - Oasis Island - 250x250
By BreadBuilds — Tropical village surrounded by water | Spawn, 4x Portal, 4x Place for Crates & NPC's
6
9.00usd
[Mini-Game] Roulette Arena
By AliensBuilds — Roulette Arena | AliensBuilds | Mini-Game Arena
Be the first!
7.00usd
🌊 Underwater Spawn | 300x300
By SnowLight — Ocean themed Minecraft lobby map.
about 5
3.99eur
Hub - Large Medieval Hub
By BreadBuilds — Amazing Medieval Lobby surrounded by water | SpawnPoint, Portal, 5x Place for NPC's + Winter Edition
15
11.00usd
Spawn - Cute Spawn
By BreadBuilds — Medieval HQ detailed circle Lobby | SpawnPoint, 4x Place for NPC's
13
9.00usd
Lobby - Pixelmon Spawn
By BreadBuilds — A place where pokemons come to reality
about 5
11.00usd
KOTH - Pirate Cave - 156x156
By BreadBuilds — Perfect Faction KOTH for you
7
9.00usd
Factions/Lobby - Red Medieval
By BreadBuilds — Beautiful medieval themed Factions Spawn | 5x Place for NPC's | 3x Crate Place | Portal | Enchant
(1) 9
10.00usd
[NEW] ⚡ Medieval Lobby ⚡
By L3nti_ — An very beautiful Medieval Spawn that will give an another face for your server!
about 5
4.99usd
[BedWars] Aqua Arena
By AliensBuilds — Aqua Arena | AliensBuilds | BedWars Arena
about 5
6.00usd
Mini 30x30 lobby
By AutomatingLTD — Small 30x30 Fantasy Lobby for your server!
about 5
2.00eur
[Pack] - 33x Texts
By BreadBuilds — 33x texts ready for your server, perfect for everyone!
about 5
6.00usd
Hub - Medieval Spawn
By BreadBuilds — Excellent Lobby | 2 Portals | 7x Place for NPC's | Crates Place
15
10.00usd
Lobby - Huge Modern City
By BreadBuilds — Welcome to huge modern city, surrounded by water where is electricity provided by wind turbines
about 5
13.00usd
Spawn - Red Island
By BreadBuilds — Prestige Kingdom Spawn | SpawnPoint
about 5
10.00usd
Fantasy HCF/Factions Spawn
By Jak3 — Cheap Quality Builds From Jak3
Be the first!
2.99usd
✨ [100x100] ✨ Jungle Hub
By Jak3 — Midsized jungle hub. Four places for NPCs or villagers!
about 5
2.99usd
✨ [115x115] ✨ Statue Lobby
By Jak3 — A Japanese lobby/hub/waiting area. Perfect for minigame servers!
about 5
2.49usd