Official Gameplay Guide
Welcome to Surviving Day! documentation. This guide covers everything from basic controls to advanced circuitry, economy, multiplayer, and modding.
⌨️ Controls
| Action | Key / Mouse | Notes |
|---|---|---|
| Move | W A S D | Standard FPS movement |
| Jump / Fly Up | Space | Double-tap to toggle fly (creative), hold to flap wings |
| Sneak / Fly Down | L-Shift | Prevents falling off ledges; descend in fly mode |
| Sprint | L-Ctrl | Doubles horizontal speed |
| Attack / Break Block | Left Click | Hold for continuous mining |
| Place Block / Interact | Right Click | Opens chests, furnaces, NPCs; places held block |
| Pick Block | Middle Click | Copy block type to hotbar (creative) |
| Interact / Pick Up | E | Also picks up / throws Handycam |
| Hotbar Slots | 1 – 9 | Select active item |
| Scroll Hotbar | Mouse Wheel | |
| Inventory (Bag) | T | Open/close player bag |
| Alignment Ability | G | Triggers your Light/Order alignment ability (requires ≥90 alignment) |
| Skills / Stats | Q | XP levels, HP, Mana, Stamina |
| Creative Menu | I | All blocks + items; scroll wheel navigates tabs |
| Character Sheet | C | Character stats and appearance |
| Quest Log | L | Track active and completed quests |
| Toss Item | O / Shift+O | Drop held item / drop full stack |
| Pickpocket | F | Attempt to steal from a nearby NPC |
| Game Mode Cycle | Tab | Cycles between available game modes |
| Fullscreen Map | M | Opens the world map overlay |
| Emote Wheel | Z | Select an emote to perform |
| Player Roster | F1 | Lists all connected players in multiplayer |
| Skin Editor | F2 | Toggles the character skin editor |
| Admin Console | F3 | Server owners and staff only |
| Fullscreen Toggle | F11 | |
| Pause / Settings | ESC | Opens pause menu with Save, Sound, Graphics, and Quit |
| Close Sound Panel | ESC | Closes sound settings overlay first, then pause menu |
| Top-down Camera | V | Overhead view; press again for third-person |
🖥️ UI Systems
VoxelGame features over 20 different UI panels and interfaces for managing your adventure.
Main UI Elements
| UI Element | Description |
|---|---|
| Hotbar | 9-slot quick access bar at bottom of screen |
| Inventory Bag | 36-slot main inventory with search and sorting |
| Equipment Panel | Doll-style equipment display with full stats breakdown |
| Player HUD | HP orb (left), Mana orb (right), XP bar (center top) |
| Emote Wheel | Radial 10-segment wheel (hold Z) for emotes |
| Speech Bubbles | Floating chat/emotes above player heads |
| NPC Context Menu | Right-click NPC for interaction options |
| NPC Dialogue Panel | Conversation interface with scrollback history |
| NPC Trade Window | NPC shop interface with dynamic pricing |
| Player Trade Window | 8-slot P2P trading with confirmation screen |
| Player Action Menu | Right-click remote player for actions |
| Bank Interface | Deposit/withdraw coins, VoxCoin market trading |
| Grand Exchange | Player-driven marketplace with buy/sell orders |
| Guild Panel | Guild management, colony statistics |
| Skill Panel | Skill levels, branch selection at level 20, passive nodes |
| Bestiary | Mob kill tracking, discovery progress |
| Achievements | Unlock tracking with pop-up notifications |
| F3 Console | Debug overlay and admin commands |
| Billboard Editor | In-world sign text editing |
| Book Reader | Lore book display with page turning |
| Oracle Terminal | LLM-powered prophecy interface |
| Computer Terminal | ScriptVM programming IDE |
| Arcade Cabinet | Playable mini-games interface |
| TV Display | ScriptVM text output display |
| Diorama Viewer | NPC snapshot replay viewer |
Cursor System
The game features a dynamic cursor system that changes based on context:
| Cursor Type | When Shown |
|---|---|
| Default Arrow | Normal gameplay |
| I-Beam (Text) | Over text input fields |
| Grab Hand | Over scrollable panels / draggable items |
| Crosshair | Over targeting / spyglass view |
🎨 Creative Mode
Creative Mode gives you unlimited access to all blocks and items. There is no fall damage or hunger in creative mode.
Opening Creative Inventory
Press I to open the Creative Inventory. It has two tabs: Blocks and Items. Use the scroll wheel to browse, or click the UP/DOWN arrow buttons on the right side.
Creative Keyboard Gates
While the creative inventory is open, most game keys are blocked to prevent accidental actions. Only F3 and F11 work through the overlay.
Flight in Creative
- Double-tap Space to toggle fly mode.
- Hold Space to ascend; hold L-Shift to descend.
- Sprint (L-Ctrl) while flying doubles horizontal speed.
Wings (Survival)
Craft or find Wings and equip them in the Back slot of the Equipment panel. In survival mode:
- Space flaps — tap rapidly for lift.
- Glide by holding Space without flapping.
- Pitch down to convert altitude to speed.
🚀 Getting Started
In VoxelGame, you are dropped into a procedural world filled with diverse biomes and resources. At world origin you'll find the Parthenon — a marble temple inhabited by 10 Human NPCs who can trade and talk.
Companion Picker (New Game)
When starting a fresh game the Companion Picker screen appears first. Choose one of six animal companions that will travel with you for the rest of the playthrough:
| Animal | Starting Personality |
|---|---|
| Wolf | Fierce and loyal — high base attack |
| Bear | Sturdy protector — high base HP |
| Cat | Agile and curious — fast movement |
| Horse | Swift traveler — boost to sprint speed |
| Bunny | Lucky companion — bonus XP gain |
| Dingo | Wild spirit — unpredictable but strong |
Your chosen companion appears in your world immediately as a tamed animal NPC with isCompanion = true. It gains XP, levels up, and learns new powers over time (see Companion Animals).
- Health & Mana: Watch your
HP(red) andMana(blue) HUD bars. HP regenerates slowly out of combat. - Crosshair: The center reticle is a black cube-corners style — only the four corner marks of a square are drawn, with no center lines. This gives a clean unobstructed view of the block face you are targeting.
- Interacting: Press E or right-click to open chests, furnaces, NPC shops, and pick up Handycams.
- Building: Select a block in your hotbar, right-click to place, left-click to break. Blocks break instantly on the client for responsive feel.
- Crafting Table: Right-click a Crafting Table to open the 3×3 grid. See the Blocks & Recipes guide for all recipes.
- Save/Load: Use ESC → Save to save your world (Save As for a named save). Worlds are stored in the
saves/folder. F2 opens the Skin Editor, not a quick save.
🔊 Sound Settings
Open the Pause Menu (ESC) and click SOUND to open the Sound Settings overlay.
| Setting | Description |
|---|---|
| SFX Volume | Master volume for all sound effects (footsteps, blocks, weather, ambient). Drag the slider. |
| Sound FX Toggle | ON/OFF — completely mutes all SFX (music remains unaffected). |
| Music Toggle | ON/OFF — enables or disables the procedurally generated evolving music engine. |
| Music Volume | Controls the music layer gain independently from SFX. |
Close the sound overlay by pressing ESC (closes overlay first, then pause menu) or clicking the [X] button.
🎨 Graphics Settings
Open the Pause Menu (ESC) and click GRAPHICS to access the Graphics Settings panel. The panel is split into two columns to fit on 720p displays.
Performance Presets
Quick configuration buttons at the top:
- LOW — 4 chunk render distance, minimal effects
- MEDIUM — 8 chunk render distance, balanced quality
- HIGH — 13+ chunk render distance, all effects enabled
Display Settings (Left Column)
| Setting | Description |
|---|---|
| Render Distance | Slider: 4-40 chunks. Higher values show more of the world but reduce FPS. |
| Grass Radius | Slider: 10-80 blocks. Controls how far grass foliage renders. |
| Grass Fade | Slider: 5-75 blocks. Distance where grass begins fading out. |
| Fog Distance | Slider: Near/Mid/Far. Controls where atmospheric fog begins. |
| Fog Start | Slider: 0-100%. Percentage of render distance where fog starts. |
| Weather FX | Slider: 0-100%. Intensity of rain/snow particle effects. |
Quality Settings (Right Column)
| Setting | Description |
|---|---|
| Water Detail | OFF/HALF/ON — Wave complexity and reflections |
| Clouds | ON/OFF — Volumetric cloud rendering |
| Reflections | ON/OFF — Water surface reflections |
| Wave Quality | HIGH/LOW — Water wave complexity |
| Grass Shaders | ON/OFF — Animated grass foliage |
| Distant LOD | ON/OFF — Level-of-detail for distant chunks |
| Shadows | ON/OFF — Dynamic shadow mapping |
| Shadow Resolution | 512/1024/2048/4096 — Shadow map quality |
| Atmospheric Fog | ON/OFF — Distance fog toggle |
| Frustum Culling | ON/OFF — Hide off-screen chunks |
| Parallax | ON/OFF + Depth slider — Parallax occlusion mapping |
| Normal Map | ON/OFF + Strength slider — Surface detail normals |
| Specular Map | ON/OFF + Strength slider — Shininess mapping |
⚔️ Skills & Stats
VoxelGame features an OSRS-inspired skill system. Performing actions earns you XP, which increases your level in specific disciplines.
🧱 Blocks & Building
VoxelGame features 505 unique block types across 14+ categories for building, crafting, and automation.
Natural Terrain Blocks
- Stone, Dirt, Grass — Basic terrain blocks
- Sand variants — Regular, Red Sand, Tropical Sand
- Snow, Ice, IceSheet — Winter biome blocks
- Gravel, Clay, Terracotta — Sediment blocks
- Biome stones — Canyon Rock, Mountain Rock, Volcanic Rock
- Wetland blocks — Swamp Mud, Ocean Mud
- Skyland blocks — Skyland Stone, Skyland Grass (floating islands)
Wood & Planks (16 Wood Types)
Each wood type has corresponding planks and mossy variants:
- Oak, Birch, Cherry, Dark Oak, Spruce, Maple, Palm, Redwood
- Willow, Magic, Dead, Fir, Jungle
- Mossy variants for 9 wood types
Ores, Metals & Gems
| Tier | Ore | Metal Block | Bricks |
|---|---|---|---|
| Basic | Coal Ore | — | — |
| Tier 1 | Iron Ore | Iron Block | Iron Bricks |
| Tier 2 | Copper Ore | Copper Block | Copper Bricks |
| Tier 3 | Gold Ore | Gold Block | Gold Bricks |
| Tier 4 | Mithril Ore | Mithril Block | Mithril Bricks |
| Tier 5 | Adamantite Ore | Adamantite Block | Adamantite Bricks |
| Tier 6 | Runite Ore | Runite Block | Runite Bricks |
Gem Ores: Diamond, Emerald, Ruby, Sapphire, Amethyst (clusters), Opal, Topaz
Decorative Blocks
- Wool — 16 colors (White through Brown)
- Glass — Regular and Clear variants
- Marble — 6 colors with Pillar and Decor variants
- Alabaster — Block, Pillar, and Slab variants
- Coral — 7 colors including Clownfish
- Crystals — 5 colors plus Crystal Wall
Functional Blocks
- Crafting stations: Crafting Table, Furnace, Anvil, Cauldron, Spell Forge
- Storage: Chest (27 slots), Shop Chest, Guild Chest, Shared Chest, Bank, Display Case
- Utilities: Bookshelf, Bed, Campfire, Torch, Lamp, Scaffolding, Ladder
- Furniture: Chair, Table, Fence, Door
Circuitry & Automation (20+ Blocks)
- Signal: Copper Wire, Copper Wire Lit, Vacuum Tube, Mechanical Relay, Wireless Transmitter
- Input: Lever, Button, Trigger Block, Pressure Plate
- Output: Copper Lamp, Copper Torch, Computer Block, Script Terminal, Television
- Peripherals: Camera Block, Handycam Block, CineCam Block, Zip Folder Block, Satellite Receiver
- Special: Arcade Cabinet, Game Cartridge, Server Rack (+1 oracle signal), Satellite Uplink (+3 oracle signal)
Special & Portal Blocks
- Teleportation: Portal A/B, Warp Portal A/B, Gateway Block
- Movement: Hover Block (anti-gravity), Jump Pad, Jet Pad, Surf Ramp, Rail types
- Dungeon: Portcullis, Iron Bars, Pressure Plate variants, Dungeon Brick
- Interactive: TNT, Billboard, Sign, Action Block, Oracle Terminal, Exhibit Diorama, Grave Marker, Home Deed
Crops & Farming
- Farm Land — Tilled soil for planting
- Grains: Wheat (4 stages)
- Vegetables: Carrot (3 stages), Potato (3 stages), Pumpkin
- Fruits: Strawberry, Pineapple, Coconut
- Berries: Raspberry Bush, Blueberry Bush
Underground Cavern Biome Blocks
- Crystal Caverns: Amethyst Cluster
- Mushroom Grotto: Giant Mushroom Cap, Giant Mushroom Stem, Bio Moss
- Lava Tubes: Obsidian Spike
- Underground Fortress: Fortress Wall, Pillar, Decor variants
⚒️ Gathering & Crafting
Resource Processing
- Furnace: Smelt ores into bars. Requires fuel (Coal, Wood).
- Anvil: Use bars to forge weapons, tools, and armor. Higher
Forginglevel increases item quality. - Cauldron: Brew potions using herbs and chemicals discovered in the world.
Survival Skills
Fishing and Cooking are essential for maintaining your health. Rare fish can be found in different biomes, providing unique buffs when cooked.
🎒 Items & Equipment
VoxelGame features 100+ unique items across multiple categories for combat, crafting, and utility.
Equipment Tiers
Gear comes in 6 tiers, each with progressively better stats:
| Tier | Color | Examples |
|---|---|---|
| None | Gray | Basic items, wooden tools |
| Stone | Brown | Stone tools and weapons |
| Iron | Light Blue | Iron gear (level 10+) |
| Gold | Yellow | Gold gear (level 20+) |
| Mithril | Light Blue | Mithril gear (level 40+) |
| Adamantite | Green | Adamantite gear (level 60+) |
| Runite | Purple | Runite gear (level 80+) |
Weapons & Tools
- Swords — 6 tiers (Stone through Runite)
- Pickaxes — 6 tiers for mining
- Axes — 6 tiers for woodcutting
- Shovels — 6 tiers for digging
- Bows & Arrows — Ranged combat
- Hammers — 7 forging quality tiers (Generic through Mythic)
Armor Sets
- Helmets — 5 tiers (Iron through Runite)
- Chestplates — 5 tiers
- Leggings — 5 tiers
- Boots — 5 tiers with special imbues
- Gloves — Regular and Thief Gloves (for pickpocketing)
Wands & Magic
- Magic Wand — Basic spell casting
- NPC Wand — NPC dialogue editing
- Weather Wand — Cycle weather in biome
- Tornado Wand — Spawn tornado at target
- Shop Wand — Edit shop chest prices
- Gem Wands — 4 tiers with gem sockets (1-4 sockets)
Gems (Imbue Reagents)
| Gem | Imbue Category | Effects |
|---|---|---|
| Ruby | Weapons | Poison, Fire, Lifesteal, Sharpness, Swiftblade |
| Emerald | Armor | Poison Resist, Fire Resist, Thorns, Fortify, Regen |
| Sapphire | Boots | Double Jump, Swift, Featherfall, Waterwalk, Sprint |
| Amethyst | General | Lucky Blow, Soulbound, XP Boost, Auto-Loot |
| Diamond | Tier-2 | Vampiric and other high-tier imbues |
| Comet | Wands | Comet Spellbinding (rare wand socket power) |
Herbs & Potions
- 8 Herb types: Ironcap, Snakeweed, Toadstool, Sunbloom, Frostleaf, Bloodmoss, Moonpetal, Venomspike
- 8 Brewed Potions: Strength, Speed, Poison, Antipoison, Fire, Regen, Ranged, Reflect
Consumables
- Health & Mana Potions — Restoration items
- Food: Cooked Meat, Cooked Fish, Carrot, Mushroom, Potato
- Enchantment Scroll — Item enchantment
Materials
- Ingots: Iron, Copper, Gold, Mithril, Adamantite, Runite
- Boss drops: Dragon Hide, Fossil Scale, Ancient Heartwood, Kraken Ink, Frost Crystal
- Coal Lump — Fuel and crafting
Tools & Utility
- Chisel — Block shaping
- Fishing Rod — Catch fish
- Hoe — Till soil for farming
- Paintbrush — Cycle block color variants
- Spyglass — Observe distant animals for XP
- Bucket / Water Bucket — Liquid transport
- Torch / Lantern — Light sources (lantern equipable in off-hand)
- Flute / Kazoo — Musical instruments
- Rubber Chicken — Right-click Guard for confused emote
- Storage Cartridge — Store ScriptVM programs
- Memory Capture Tool — Snapshot NPC positions for diorama
- Map Fragment / Treasure Map — 4 fragments combine to mark buried chest
Special Items
- Wings — Back slot equipment for flight
- Runner Hat — Sonic-style speed/featherfall/air-dash
- Power Hat — Kirby-style gem power copying
- Auto Surfboard — Battery-powered vehicle (WASD control, E to mount)
💰 Economy & Banking
The game features a robust economic system involving physical Gold Coins and digital BTC.
- Bank: Located in major hubs, the Bank allows you to store gold in a secure vault and exchange it for BTC.
- Shop Chests: Players can set up their own shops by placing a Shop Chest, setting prices, and stocking items.
- Grand Exchange: A global marketplace for trading items with other players for gold.
🏰 Guild System
Form or join guilds to collaborate with other players, share resources, and build colonies together.
Guild Features
- Guild Creation: Create your own guild with custom name and recruit members
- Guild HQ: Establish a headquarters with special guild furniture and decorations
- Guild Chest: Shared storage accessible by all guild members
- Colony Statistics: Track guild progress, member contributions, and achievements
- Guild Panel: Manage membership, view stats, coordinate activities
Co-op Features
- Shared Chest: Party-based shared storage for co-op play
- Display Case: Auto-filled by guild chest for showcasing items
- Guild Bank: Shared coin storage for guild expenses
⚡ Circuitry & Automation
Use Copper Wire to transmit signals between components. This allows for complex logic gates, automation, and security systems.
- Input: Buttons, Levers, and Trigger Blocks (pressure plates).
- Output: Copper Lamps, Alarms, and Mechanical Actuators.
- Logic: Computer Blocks can be programmed to handle complex logic via a terminal interface.
- Surveillance: Set up Camera Blocks and view their feeds through a Handycam or Computer Monitor.
🌤️ Weather & Seasons
Weather System
The game features a dynamic weather system with 7 weather types that affect gameplay and atmosphere:
- Clear — Sunny skies, no precipitation
- Cloudy — Overcast, reduced visibility
- Rainy — Rain particles, wet surfaces
- Stormy — Lightning, thunder, heavy rain (required for tornado spawning)
- Snowy — Snow particles, ground accumulation
- Blizzard — Heavy snow, reduced visibility, wind effects
- Sandstorm — Desert weather, reduced visibility
Weather can be controlled with the Weather Wand or changes naturally over time. Weather intensity is adjustable in Graphics Settings (Weather FX slider: 0-100%).
Season System
Four seasons cycle throughout the year, each with unique characteristics:
- Spring — Increased crop growth, flower spawning
- Summer — Faster movement speed, extended daylight
- Autumn/Fall — Leaf color changes, harvest bonuses
- Winter — Snow accumulation, frozen water, special winter mobs
Seasons affect mob spawning, crop growth rates, and ambient colors. Winter enables snow accumulation on blocks and frozen water surfaces.
🌍 World & Biomes
Explore a vast procedural world with 24 unique biomes, each with distinct terrain, resources, and challenges.
Surface Biomes
| Biome | Features & Resources |
|---|---|
| Plains | Flat grasslands, oak trees, passive mobs, ideal for building |
| Jungle Forest | Dense trees (oak, birch), flowers, berries, hunting grounds |
| Mystic Grove | Glowing trees, magical essences, rare herbs, mystical creatures |
| Desert | Sand dunes, cacti, sandstone, pyramids, scorpions, sandstorms |
| Tundra | Snow-covered, spruce trees, ice, polar bears, blizzards |
| Volcano | Lava flows, obsidian, basalt, volcanic rock, fire-resistant mobs |
| Beach | Sand, tropical trees, coconuts, crabs, shipwrecks |
| Ocean / Deep Ocean | Deep water, coral reefs, fish, underwater ruins, kelp |
| Swamp / Mangrove | Mud, lily pads, frogs, willow trees, witch huts |
| Savanna | Acacia trees, tall grass, zebras, lions, dry climate |
| Rainforest | Dense vines, jungle trees, parrots, monkeys, rare fruits |
| Skyland | Floating islands, rare ores, cloud blocks, accessible by flight |
| Mesa, Flatlands, Valleys, Glacier, Bamboo Forest, Shrubland, Cherry Blossom, Redwood Forest, Taiga, Steppe, Haunted Forest | Additional biomes not detailed here — see enum class Biome in src/World.cpp for the full list |
Underground Cavern Biomes
Deep underground features unique cavern systems:
- Crystal Caverns: Amethyst clusters, geodes, glowing crystals
- Mushroom Grotto: Giant mushrooms, bio moss, spore particles
- Lava Tubes: Obsidian spikes, flowing lava, fire mobs
- Underground Fortress: Ancient brick structures, dungeons, loot chests
- Catacombs: Dungeon brick corridors, traps, undead mobs
Navigation & Waypoints
Never get lost! The Navi system allows you to set custom waypoints in the world. Use the minimap in the top-right corner to see your coordinates and current biome. Waypoints will appear as icons on your HUD, guiding you back to base or important discoveries. See also the Navi Companion (Fairy) section for the interactive guide character.
World Generation
- Procedural terrain: Unique world every seed
- Custom seed input: Enter custom seeds for specific world types
- Parthenon spawn: Marble temple at world origin with 10 Human NPCs
- Structure spawning: Dungeons, fortresses, villages, temples
- Ore distribution: Realistic ore veins at appropriate depths
- Fluid dynamics: Water and lava flow physics
🐾 Companion Animals
Every Human NPC in the world spawns with its own companion animal — a tamed beast stored in the NPC's companionAnimalKind field. Your own companion (chosen at game start) is a special NPC with isCompanion = true.
Companion Stats
| Stat | Description |
|---|---|
| Level | Companion's current level (companionLevel). Increases damage and max HP. |
| XP | Experience accumulated (companionXP). Fills the XP bar shown in the pet battle HUD. |
| Tameness | Bond score (tamedness). Higher tameness unlocks co-op moves and reduces chance of fleeing in battle. |
| HP | Current and maximum HP. Scales with level and gem upgrades. |
| Known Powers | List of PetPower values the companion can use in battle (see table below). |
Pet Powers
| Power | Effect | Unlocked By |
|---|---|---|
| Tackle | Basic melee attack, low damage. | Default (all companions) |
| Growl | Lowers enemy attack temporarily. | Feed Ruby gem |
| Pounce | High-damage leap attack. | Feed Diamond gem |
| Sing | Restores companion HP over several turns. | Feed Sapphire gem |
| GrabThrow | Grabs enemy and throws them backwards. | Leveling |
| BefriendAnimal | Attempts to pacify a wild animal NPC. | Leveling |
| LivestockRaid | Steals resources from enemy livestock companions. | Leveling |
⚔️ Pet Battle System
Right-click any Human NPC and select BATTLE to initiate a pet battle. Your companion faces the NPC's companion in a turn-based arena. The battle screen replaces the main view while active.
Battle Screen Layout
- 3D Previews: Both companions are rendered as live 3D models that orbit slowly (
g_battleOrbitAngle). Hovering over a preview shows a stat card with ATK, LVL, SPD, and BOND values. - HP Bars: Player companion on the left, enemy companion on the right. Each bar shows current/max HP.
- Move Buttons: One button per known power. Click a move to execute the player's turn; the enemy AI selects its move simultaneously.
- XP & Level: After a battle victory, your companion gains XP. On level-up the companion's stats increase and may learn a new power.
Synthesized Battle NPCs
When a battle opens, the engine synthesizes two temporary NPC objects (g_battlePlayerAnimalNPC and g_battleEnemyAnimalNPC) from the companions' stat blocks. The flag g_battleUseAnimalNPCs tells the renderer to draw these instead of the regular world NPCs. This means the battle previews always show the correct species mesh at the correct level.
Battle Outcome
- Win: Enemy NPC loses its companion permanently for this session. Your companion gains XP.
- Lose: Your companion's tameness decreases slightly. No permanent stat loss.
- Flee: Either side can flee. Fleeing costs the fleeing side a small tameness penalty.
💎 Gem & Food Feeding
Right-click your companion animal (or any tamed NPC) and select FEED while holding a gem or food item to grant permanent upgrades.
Gem Effects (Feed to Companion)
| Gem | Effect on Companion |
|---|---|
| Ruby | +4 base damage & teaches Growl power |
| Sapphire | +1 companion level & teaches Sing power |
| Emerald | +10% max HP |
| Diamond | +6 base damage & teaches Pounce power |
| Amethyst | +50 XP & +1 companion level |
Food Effects (Feed to Companion)
| Food | Effect on Companion |
|---|---|
| Carrot | +20 tameness |
| Mushroom | +30 tameness & heals 15% of max HP |
Gems are consumed on use. Food items are also consumed. Gems can also be socketed into Gem Wands at an Anvil for combat imbues — see the Gems reference.
🌾 Farming
VoxelGame features a full crop-farming system. Till dirt or grass blocks with a hoe to create FarmLand, then plant seeds nearby water to grow crops through multiple growth stages.
Crop Types
| Crop | Stages | Final Harvest |
|---|---|---|
| Wheat | WheatStage0 → WheatStage1 → WheatStage2 → WheatMature | Wheat (food / companion feed) |
| Carrot | CarrotStage0 → CarrotStage1 → CarrotMature | Carrot (+20 tameness when fed to companion) |
| Potato | PotatoStage0 → PotatoStage1 → PotatoMature | Potato (food) |
Farming Steps
- Equip a hoe and right-click a Dirt or Grass block to till it into FarmLand.
- Place seeds (wheat, carrot, or potato) on FarmLand. The FarmLand must be within 4 blocks of a water source.
- Crops grow through their stages automatically over time.
- Left-click a mature crop to harvest it. Harvesting replaces it with the initial growth stage so the plot can be replanted.
Other New Blocks
| Block | Description |
|---|---|
| Campfire | Decorative fire block. Place for ambiance; emits light. |
| GraveMarker | Automatically placed at your death location to mark where you fell. |
| SpellForge | Crafts spells from wands and gems. Spell strength scales with the wand tier (Lesser → Legendary). |
⚔️ Combat & Knockback
VoxelGame uses a real-time melee and ranged combat system with physics-based knockback.
Melee Hits
- Left-click an NPC with a weapon equipped to deal melee damage.
- On hit, the NPC receives a horizontal velocity impulse (
velX/velZ) pushing it away from the player — this is knockback. - Simultaneously, globals
g_npcHitPushXandg_npcHitPushZaccumulate a reactive push applied to the player's camera position, simulating the impact recoil. This push decays each frame.
NPC Ranks
NPCs have a rank from Peasant (0) to Guardian (6). Higher ranks scale HP and damage via the rankStats() function. Rank is shown in the INSPECT menu.
Dragon Taming
Dragons spawn in the world in Wild state. Cage them with Dragon Cage blocks to transition to Caged. When freed, a Freed dragon follows the player and breathes fire at enemies automatically.
👥 NPCs & Mobs
The game features 66+ distinct mob species (MobKind enum, include/NPC.h) with genetic algorithm-driven AI. Right-click any NPC to open its context menu.
Mob Categories
| Category | Species | Behavior |
|---|---|---|
| Humanoids | Human, Goblin, Skeleton, Elf, Pirate, MadWizard, Ranger, Shopkeeper | TALK, TRADE, ATTACK, INSPECT, BATTLE options. Shops have infinite stock. Each carries a companion animal. |
| Passive Animals | Pig, Sheep, Cow, Goat, Chipmunk, Squirrel, Raccoon, Kangaroo, Beaver | TALK, FEED, ATTACK. Feeding raises tameness. Can be challenged to pet battles. |
| Companion Animals | Wolf, Bear, Cat, Horse, Bunny, Dingo | Chosen at game start. Gain XP, level up, learn powers. See Companion Animals. |
| Hostile Mobs | Velociraptor, TRex, StoneGolem, Wraith, JungleStalker, PlagueRat, BogWitch, GlassSpider, ClockworkSentinel | Attack on sight. Velociraptors spawn in jungle; Raptor Hunters pursue them. |
| Flying Mobs | Bee, GiantBee, Bird, Crow, Dragon, ThunderDrake, CaveBat | Aerial movement. Bees are neutral unless provoked. Dragons are boss-level. |
| Aquatic Mobs | Fish, Clownfish, Goldfish, Shark, MantaRay, Stingray, Penguin, Seal, Crab, Starfish, Sunfish, SeaSerpent | Water-dwelling. Some can be caught with fishing rod. |
| Special Mobs | Ant, Snail, WaterBlob, LavaBlob, FireGolem, AncientTreant, Kraken, FrostWyrm, SandColossus, Snowman | Unique behaviors. Blobs are immune to their element. Bosses drop legendary materials. |
NPC Features
- Combat Genetics: NPCs fight each other. Winners gain stat improvements stored in their CombatGenome — a blockchain-tracked record of lineage and wins.
- Dialogue System: Species-appropriate dialogue with 11 NPC roles (Herder, Hunter, Guild Builder, Mentor, Tourist, Spy, Guard, etc.).
- Rank System: Peasant → Guardian rank affects HP, damage, and trade prices.
- Companion Animals: Every Human NPC spawns with a companion animal (
hasCompanionAnimal = true). Defeating it in battle removes it for the session. - Schedules: NPCs have daily routines — working, resting, wandering.
- Quest Givers: Some NPCs offer quests with multi-step objectives.
Boss Mobs
Legendary bosses drop rare crafting materials:
- Sand Colossus → Fossil Scale
- Ancient Treant → Ancient Heartwood
- Kraken → Kraken Ink
- Frost Wyrm → Frost Crystal
- Dragon → Dragon Hide
🌀 Portals & Gateways
Portal A / Portal B
Place two Portal A blocks (or two Portal B blocks) anywhere in the world — they automatically pair. Walk through to teleport between them (2-second cooldown). Velocity is zeroed on exit.
Warp Portal A / Warp Portal B
Like regular portals but preserve your entry velocity — great for launch ramps. Pair two Warp Portal A blocks (or B blocks) together.
Gateway Block
Two-stage interaction: right-click to charge, then right-click again to enter. Each Gateway generates a unique pocket dimension on first entry. Eight biome themes are available. A Return Crystal spawns at the pocket gateway position to bring you back. Cooldown: 2.5 seconds.
⚡ Circuitry & Automation
Use Copper Wire to transmit signals between components. Right-click a Computer Block to open a terminal.
- Inputs: Buttons, Levers, Trigger Blocks (pressure plates).
- Outputs: Copper Lamps, Alarms.
- Zip Folder: Adjacent block file archive. Terminal commands:
zip list|add|extract|rm - Satellite Receiver: Wired to a computer, extends network BFS range to 5000 blocks.
- Handycam: Press E to pick up, again to throw. Records 10 FPS. Commands:
handycam list|<ip> start|stop|status|clear|play - Cinema Camera (CineCam): Left-click to break and launch a drone; ESC to land. Encodes an MP4 clip via ffmpeg and registers it in the linked computer's filesystem.
- Shop Chest: Owner fills 27 slots with prices; buyers purchase items with BTC. Commands:
shop list|buy <slot> - Blockchain / Wallet: Commands:
wallet new|show|set|import|export|list,balance,send <addr> <amt>,startminer / stopminer,lottery create|list|buy - Action Block: Runs a custom script when a player walks over or interacts with it.
🌐 Multiplayer
VoxelGame uses ENet for low-latency peer-to-peer networking. One player hosts, others join via IP.
Hosting a Server
- From the main menu, choose Host.
- The server listens on port
25565by default. - Your world seed and config are sent automatically to joining clients.
- As the host you have Owner role — access the admin console with F3.
Joining a Server
- Choose Join, enter the server IP and port.
- You will receive a WorldSync packet containing the server's seed — your client generates the exact same world.
- Other players appear as rendered characters with a distinct skin tint.
- Press F1 to open the player roster.
Admin Console Commands (F3)
| Command | Description |
|---|---|
kick <name> | Disconnect a player |
ban <name> | Ban a player (blocked on reconnect) |
unban <name> | Remove ban |
promote <name> / demote <name> | Adjust player role |
tp <name> [x y z] | Teleport player (or self) to coordinates |
broadcast <msg> | Send a server-wide chat message |
list | List connected players and roles |
Everyone Commands
Available to all players regardless of role.
| Command | Description |
|---|---|
help | List commands, grouped by permission level |
playerhelp | Show the player-facing quick help and your group memberships |
pos / whereami | Show your current coordinates |
heal | Restore your HP to full |
kill | Kill yourself (sets HP to 0) |
tp <x> <y> <z> | Teleport yourself to coordinates |
role <name> | Show a player's role |
lock | Lock/unlock the chest you're looking at to your username |
lottery list|buy|info | View, buy tickets for, or check info on lotteries |
market | Show current market prices for key items |
colony | Show a colony summary for every guild |
territory / tc | Show captured obelisks and guild territory; PvP is enabled within 80 blocks of an owned obelisk |
leaderboard / lb | Toggle the scrollable leaderboard panel (kills, K/D, level) |
tournament start [sec]|stop|status | Start, stop, or check a fishing tournament |
season | Show current season, day of year, and active/next festival |
save | Save the current world to its active save slot |
say <msg> | Send a chat message with a speech bubble |
e / emote <action> | Perform an emote (e.g. /e waves hello) |
shout / s <msg> | Shout — visible to all players |
local / l <msg> | Send a local-range chat message |
whisper / w / tell <name> <msg> | Send a private message to a player |
guild [msg] / gc | Send guild chat, or view guild subcommands |
guild create <name> | Create a new guild |
guild invite <player> | Invite a player to your guild |
guild kick <player> | Kick a member (Leader/Officer) |
guild promote <player> | Promote a guild member (Leader) |
guild leave | Leave your current guild |
guild info | Summary of your guild's colony |
guild war <rival_id> | Declare war on another guild |
war list / war declare <attackerID> <defenderID> | List active guild wars or declare one |
trade list|link|blockade|lift | View or manage guild trade agreements/blockades |
party list|invite|leave|kick | Manage your party (members, invites, leaving, kicking) |
home [invite|kick|info|lock|unlock] | Teleport to your home, or manage guests/lock state |
empire | Toggle the empire panel (or press Y) |
claim <colonyId> | Claim a colony into your empire (requires reputation ≥ 75) |
liberate <colonyId> | Release a colony from your empire |
federate <colA> <colB> | Federate two colonies you own |
order <type> <src> <dst> | Issue an empire order (war, peace, trade, spy, steal, supply, tribute, attack, liberate, federate, unfederate) |
empirename <name> | Rename your empire |
rogue <colonyId> [0|1] | Mark or clear a colony as rogue |
side <guildID> / side neutral | Join a guild war as a mercenary, or return to neutral |
raid <colonyId> [soldiers=3] | Hire soldiers (100 coins each) to raid a colony |
magicwand [text] | Show or set the text used by the Magic Wand item |
levelup / setlevel <skill|all> [level] | Set one skill or all skills to a target level |
Moderator+ Commands
| Command | Description |
|---|---|
speed <value> | Set movement speed (1–500, default 30) |
fly | Toggle fly mode (host-only in multiplayer) |
gm / gamemode <c|s|n> [player] | Set gamemode: creative, survival, or navigator |
time <dawn|day|dusk|night|value> | Set time of day (0–1) |
weather <clear|cloudy|rain|stormy|snowy|blizzard|sandstorm|tornado> | Force server weather, or spawn a tornado |
give <block> [count] | Give yourself a block/item (max 999) |
clear | Clear your hotbar |
perm create|del <group> | Create or delete a permission group |
perm <player> group add|del <group> | Add or remove a player from a permission group |
perm region set <group> [label] | Assign the F6/F7 cuboid selection to a group |
perm region list | List all cuboid regions (F6 = corner A, F7 = corner B) |
Admin+ Commands
| Command | Description |
|---|---|
tphere <name> | Teleport a player to you |
tpto <name> | Teleport you to a player |
tp <name> <x> <y> <z> | Teleport a specific player to coordinates |
greeting <msg> | Set the server join greeting ({name} = username) |
autopromote <n> <role> | Auto-promote players to a role after n joins |
autopromote list / autopromote clear | List or clear auto-promote rules |
adminwand | Give yourself the Admin Wand (right-click opens permissions GUI) |
mp setbook <name> | Tag a held Book item with a name for editing |
mp editbook <name> | Unseal a sealed book so it can be edited again |
mp buildkit <logins> <kitname> [item:count ...] | Define a build kit granted at a login-count threshold |
levelup / setlevel <skill|all> [level] | (Admin) set another/your skill level directly |
Debug / World Commands
Unrestricted in code today, but intended for admin/testing use.
| Command | Description |
|---|---|
corrupt | Mark the chunk you're standing in as corrupted |
skyvault | Spawn a sky vault above your position |
rift | Open a dimensional rift at your position |
skipday | Advance the in-game calendar by one day |
Roles
Roles in ascending order: Banned < Player < Member < Moderator < Admin < Owner. Roles are persisted in saves/roles.json.
🔧 Modding
VoxelGame supports native C++ mods via a C ABI plugin system. Mods are .so (Linux) or .dll (Windows) files placed in ~/.config/VoxelGame/mods/ or ./mods/.
- Mods can register new block types starting at ID
505(BlockType::COUNT). - Implement
extern "C" void mod_init(ModAPI*)to register blocks and event handlers. - Event hooks:
onBlockPlaced,onBlockBroken,onPlayerDamage,onUpdate,onItemUsed,onChatMessage. - Custom computer terminal commands can be registered via
api->registerCommand(). - Helper callbacks:
getBlock,setBlock,spawnHologram,logMsg.
See the full Modding Guide for the complete C ABI reference.