This project contains the main JavaScript code for a Skyblock-style game mode in Bloxd.io. The script handles custom island generation, economy features, item selling, shops, leveling, and gameplay events.
Island Generation – Players automatically get their own floating island when joining.
Cobblestone Generator (Messy Stone) – Lava + water interactions generate ores based on player level.
Leveling System – Breaking generated ores increases XP; levels unlock higher ore chances.
Custom Mob Spawns – Neutralizes mobs (zero speed, no damage).
Valuable Items – Predefined list of items that can be sold for coins.
Selling System –
sell1Same: Sell one of the held item.
sellAllSame: Sell all of the held item from inventory.
Shop – Players can buy items if they have enough coins.
Gambling – Random chance to win or lose coins.
Custom UI – Displays owner info, coins, and level in a styled right-hand panel.
Welcome Messages – New and returning players get unique messages.
!help – Show all commands.
!island – Teleport to your island.
!resetEverything – Reset island & inventory.
!sellables – Show list of sellable items.
!xp – Show current XP and level progress.
!withdraw – Withdraw coins.
!log – Evaluates JavaScript expression and prints result.
!yell – Broadcasts a message to all players.
Copy the script into your Bloxd.io world’s worldCode.js file.
Save and restart the world.
Players joining the world will automatically be assigned their island and starter kit.
Owner Username is set as BloxdMasterYT_LT5. Change it in the code if you want a different admin.
This code was minified for performance — a formatted version is recommended if you plan to extend it.
All console logs and comments were removed in this build.