A game under TMC's Gamespice's asset that acts as a sandbox and allows users to spawn props, fly around, and more.

Playlot is a 3D multiplayer sandbox. You can build with props, spawn NPCs and weapons, grab things with the physics and gravity guns, and mess around with other players. It is inspired by classic sandbox games like Garry's Mod.
Hold Q in game to open the spawn menu.

It is built on Godot 4, the GameSpice platform and addon collection. Everything in this repository is open source under the MIT license. The only closed part is the website back-end it can sign in through. If you do not want to use GameSpice, you can plug in your own sign-in back-end.
Playlot belongs to Zee's Games, a collection of open source multiplayer games on the GameSpice platform, all running on live servers. It is built and maintained with Claude Code under the MIT license. Found a bug? Open an issue on the issue tracker.
Screenshots
How it plays
Hold Q to open the spawn menu. Clicking something spawns it, and the menu stays open so you can keep building. Press / to search.
| Tab | What is in it |
|---|---|
| Props | Planks, panels, beams and pillars to build with; crates and barrels; balls from a beach ball to a boulder; buttons, levers and doors |
| Entities | NPCs: one wanders, one chases you, one hops, one spins, a hunter, and soldiers and rebels that carry weapons. Soldiers fight players and rebels. Rebels fight soldiers and follow you. |
| Weapons | A launcher that fires props, a remover, an impulse gun, and the 27 weapons of zee-gs-weapons. Right click a weapon to drop it on the ground. |
| Tools | The tool gun: inflate, colour, remove, weld, no-collide, rope, balloon, physical properties, wire, giving an NPC a weapon, and editing a selected prop |
Things you can do:
- Pick props up with the physics gun and freeze them in place, or punt them with the gravity gun. You can pick other players up too (
pg_pickup). - Play with the map's toys. Every sandbox map has some: balls to kick (F) or shoot, a bowling lane, barrels and tyres, swings, see-saws, a roundabout that carries you, trampolines, lamps on a switch, a fountain, a horn and a bell.
sv_toys 0takes them away. - Ride props. Stand on a moving prop and it carries you.
- Edit a prop. Pick the tool gun's Edit properties mode and click a prop. The Tools tab shows its size, colour, freeze, gravity, weight, friction and bounce, and the prop changes as you drag. Right click lets go. R puts it back as it was spawned.
- Wire things up. Use the tool gun's wire mode to connect a button or lever to a door, then press it with F.
- Save what you built with
pg_save <name>and load it later withpg_load <name>. - Break things. When the server has
pg_destruction 1, crates and planks break apart and barrels explode. - Creative mode. Type
!creative. Nobody can touch you or your props, and you cannot hurt anybody. - Fight.
pg_arena 1turns on damage between players, andpg_wavessends waves of armed NPCs. The dead fall as ragdolls (via gs-player-char).sv_ragdoll 0gives a quick fall with no physics, andsv_ragdoll_reactionsweights the kinds of fall.
Maps
| Map | What it is |
|---|---|
pg_flatgrass |
The default sandbox: a walled 200-metre plate of grass, with a corner of ramps and steps and the map's toys near the spawn |
pg_generated |
Built from a seed each time it loads: rooms joined by corridors, with props scattered through them. Start with --pg-map-seed=<n> to pick the seed and share a layout. |
| Map pack | More maps come from the Playlot map pack (published as the pack id gamemann/playlot-maps, a legacy id) |
Controls
Every key can be rebound under Controls in the menu.
| Key | Action |
|---|---|
| Q | Spawn menu. Hold to browse, tap to pin it open. |
| Mouse 1 | Grab with the physics gun, punt with the gravity gun, fire a weapon |
| Mouse 2 | Freeze what you hold, or pull with the gravity gun; with a gun, aim down the sights |
| Mouse 3 | A gun's quick melee |
| Wheel | Move a held prop nearer or further |
| Shift + mouse | Turn a held prop |
| 1 / 2 / 3 | Physics gun / gravity gun / your weapons |
| E | Spawn the last prop again |
| F | Use: press a button, pull a lever, get in or out of a vehicle |
| O | Throw the gun in your hands |
| T | Flashlight (off by default on the daylit sandbox, on in the rock maps). A lit beam can be seen by anyone who can see you. |
| R | Reload; with no gun, unfreeze everything you froze; the tool gun's third action |
| Z | Undo your last spawn |
| WASD / Space / Ctrl | Move / jump (hold to keep hopping) / crouch |
| F5 | First or third person |
| Tab (hold) | Scoreboard: who is on, score, time connected and ping |
| Y / U | Chat / chat with nearby players |
| M | Change map |
| B | Loadout: the weapon you spawn with when fights are on |
| K | Push to talk |
| J / L | Look at a player and stop hearing them / mute them |
| F6 / F7 / F8 | Admins and staff: NPC and weapon workbench, spawn point editing |
| H | Help: what the game is and every key as you have it bound |
| Esc | Release the mouse; press again for the menu |
Getting started
You need Godot 4.7. The game uses many GameSpice addons, each in its own repository. The easiest way to get everything is gs-bootstrap, which clones each project and links the addons into it:
git clone https://github.com/gamespice-platform/bootstrap.git
cd gs-bootstrap
./bootstrap.sh
cd projects/game-playlot
./game.sh
On Windows, run bootstrap.ps1 instead and open the project in Godot.
| Command | What it does |
|---|---|
./game.sh |
Play offline, in a window |
./game.sh online |
Start a local server and the browser client, and print the link to open |
./game.sh online down |
Stop them |
./game.sh server |
Start a local dedicated server only |
./game.sh test |
Check every script and run every test suite |
./game.sh shot |
Save a screenshot to screenshots/ |
./game.sh help |
List all options |
online and server use gs-server-deploy, which bootstrap clones next to this project. Run its ./setup.sh once first.
Running a server
Settings are console variables ("cvars"). Set them in the server's config, on the command line, or live from the console. cvarlist pg_ lists all of them. Every game setting is also a key in a file under cfg/game/game-playlot/config_<group>/game.yml (a server refuses to start on an unknown key) and a row in the admin workbench. !block and !noblock toggle player collision.
| Setting | Default | What it does |
|---|---|---|
max_players |
32 | Player slots (1 or more, no upper limit in the game). Changing it needs a restart. |
pg_map_seconds |
2700 | How long a map runs before the vote (0 = forever) |
pg_creative |
1 | Players may turn on creative mode |
pg_prop_surf |
1 | Moving props carry the players standing on them |
pg_destruction |
0 | Props can break, and barrels explode |
pg_pickup |
1 | The physics gun can pick players up |
pg_pickup_immune |
see cvarlist |
Roles nobody may pick up |
pg_pickup_override |
see cvarlist |
Roles that may pick anybody up |
Per-player limits
Each player has a limit for each kind of thing. A limit of 0 means no limit. A role (an admin group, or admin / root) can be given more.
| Setting | Default | Counts |
|---|---|---|
pg_max_props |
200 | Props |
pg_max_npcs |
10 | NPCs |
pg_max_entities |
20 | Other entities |
pg_max_vehicles |
4 | Vehicles |
pg_max_balloons |
30 | Balloons |
pg_max_weapons |
20 | Weapons |
pg_max_constraints |
100 | Welds, ropes and no-collides |
pg_max_npcs 10
pg_limit_roles "admin: npcs=40 props=600; vip: props=300 balloons=60"
pg_limits u3 // what player u3 is using against their limits
Console commands
| Command | What it does |
|---|---|
pg_status |
What the server is doing |
pg_map <id>, pg_nextmap, pg_rtv |
Change the map, see what is next, rock the vote |
pg_arena [0|1] |
Damage between players on or off |
pg_waves |
Waves of armed NPCs |
pg_props_clear |
Remove every prop |
pg_save <name>, pg_load <name>, pg_builds, pg_build_delete <name> |
Saved builds |
pg_shop [0|1] |
Prices for spawning, paid from a bag |
pg_give <player> <prop> [count], pg_inv <player> |
Put things in a player's bag, or read it |
Admin commands such as !noclip, !freeze, !slay and !bring come from gs-moderation. blind <player> blacks out that player's screen, and beacon <player> puts a ring and a ping on them for everybody to see.
Fight mode defaults
With fights on, a round lasts 240 seconds or until someone reaches 25 kills. These are server settings (arena_round_sec, arena_score_limit in the config), as are health, armour, respawn time and friendly fire.
The map vote
Players vote on the next map with gs-vote. The defaults are in game/playlot_vote.gd. To change them, put a file at user://cfg/playlot_vote.json (a file at the path under the old Playlot name is copied there once), or use GS_VOTE_* environment variables or --vote-* arguments:
{ "end_vote": true, "vote_lead_sec": 120, "include_extend": true, "extend_seconds": 900, "max_extends": 4 }
end_vote: false turns the end-of-map vote off. include_extend: false removes "extend" from the ballot. The gs-vote README lists every setting.
The bag and the shop
With pg_shop 1, spawning costs money. A player's bag is a 10 x 6 grid with a 400 kg limit by default. Buying puts things in it, and spawning something you carry is free. There is no screen for the bag yet.
Run timer
The game does not ship a run timer. A server that wants timed courses adds gs-timer: put its addons/gs_timer folder in the project, run godot --headless --path . --import once, and start the server. The game's own addons/pg_timer notices it and turns on timing: zones from a map's zone file, records, leaderboards and the commands pg_timer, pg_track, pg_top, pg_cp, pg_tp and pg_cp_clear. Details in docs/timer.md.
Spawn providers
An optional pack can add weapons, NPCs and bots to the Q menu by shipping addons/<pack>/spawn_provider.gd with spawn_entries() -> Array[Dictionary]. The game finds it at start. With no pack installed nothing changes. See docs/spawn-providers.md.
Testing
./game.sh test # every script parses, then every suite runs
./game.sh test headless_playlot # one suite
| Suite | What it covers |
|---|---|
headless_config, headless_workbench, headless_mapcfg |
Settings, the workbench and per-map config |
headless_mapdrop |
Maps dropped on the window or the executable, a dropped Garry's Mod map as its PLAYLOT conversion (gm_fork is pgc_fork), and the refusal of anything else |
headless_mountload |
A maps pack mounted at runtime through gs-cloud (replaced files allowed): its documents are listed and the map loads as a PackedScene |
headless_playlot |
The whole game: props, NPCs, weapons, every tool, limits, the menu, map changes, and the run timer when linked |
headless_net |
A server and a client in one process, over the network code |
headless_presentation |
What a client draws and plays |
headless_stack |
All the addons together |
headless_packs_real |
The real content packs |
headless_weapondrop, headless_spawntool, headless_solomap |
Dropping weapons, the spawn tool, a single-player map |
headless_npc_weapon_idle |
An armed NPC's idle weapon tick (the rig's own, no context or wall probe) against the full one: rig snapshots agree tick for tick |
dedicated |
A real server: boots, loads the game, runs its commands |
CLAUDE.md has the contributor rules and docs/ the design decisions.
Built on
The addons in addons/ come from the GameSpice platform: gs-achievements, gs-animation, gs-audio, gs-auth, gs-bot, gs-bot-record, gs-browser, gs-camera, gs-chat, gs-cloud, gs-combat, gs-console, gs-core, gs-economy, gs-effects, gs-entity, gs-flashlight, gs-fx, gs-game, gs-input, gs-inventory, gs-leaderboard, gs-lighting, gs-loadout, gs-map, gs-match, gs-menu, gs-mobile, gs-moderation, gs-net, gs-npc, gs-npc-ai, gs-npc-ai-director, gs-peer-to-peer, gs-physics, gs-platform, gs-player, gs-player-char, gs-player-class, gs-player-controller, gs-procedural-generation, gs-profile, gs-profiler, gs-props, gs-save, gs-server, gs-server-query, gs-settings, gs-sim, gs-spawn, gs-spectate, gs-sql, gs-stats, gs-team, gs-ui, gs-user, gs-user-avatar, gs-vehicle, gs-voice, gs-vote, gs-weapon, gs-workbench.
Game-specific content packs: fc-weapons, natural-disasters, zee-gs-weapons, zz-historical-monsters, zz-medieval-weapons, zz-modern-weapons. The SQLite records backend uses the godot-sqlite extension.
More from Zee's Games
The other games run on the same GameSpice addons, so they show what the platform can do better than any list of features.
| Game | What it is | Source |
|---|---|---|
| Fatal Contact | Fast first-person deathmatch with GunGame and classic Surf Deathmatch maps. | game-fatal-contact |
| Airdrift | Bunny hop and surf timer runs with Source-style movement and leaderboards. | game-airdrift |
| Hungario | Steer a hungry monster, eat to grow and outlast everyone else. | game-hungario |
| Buses From Hell | Survive one or more crazy bus drivers trying to run you over. | mg-buses-from-hell |
| Smash Copter | Stay on wobbly platforms while a cannon rains props down on you. | mg-smash-copter |
| Zombie Zone | Co-op zombie survival: escape through the city or survive waves. | game-zombie-zone |
| Hide n Seek | Hide as yourself; every hider caught joins the hunt. | game-hide-n-seek |
| Prop Hunt | Disguise as furniture and keep still while blindfolded hunters search. | game-prop-hunt |
| Murder Mystery | Everybody looks the same. One of them has a knife. | game-murder-mystery |
| Deathrun | Run a trap-filled course while the activators press every button they have. | game-deathrun |
| Wipeout | Obstacle courses over water: sweeper arms, big balls and a fight at the finish. | mg-wipeout |
| Dangerous Delivery | Haul loads up mountain roads with no guard rails. Riskier runs pay more. | mg-dangerous-delivery |
| Look At Me | Two dark houses, fifty levels, and witches walking every room. | mg-look-at-me |
Every game, its maps and its servers: zeesgames.com.
Credits
| Asset | Author / source | License |
|---|---|---|
| Godot Engine logo (boot splash) | Andrea Calabró, godotengine.org | CC BY 4.0 |
| Weapons | zee-gs-weapons, which credits its own art | See that repository |
| Block props, menu icons | Drawn from their definitions | None needed |
| Model props | Kenney: Furniture Kit, Food Kit, Survival Kit, Nature Kit, Mini Market (also Fleur Keijsers and Guus Vermeulen), listed in assets/props/*/props.json |
CC0 1.0 |
| People and NPCs | Quaternius, Zombie Apocalypse Kit, coloured from Kenney's Blocky Characters skins, via gs-player-char | CC0 1.0 |
| Map textures | Kenney's Prototype Textures, in assets/kenney/prototype/ |
CC0 |
| Footsteps | Kenney, Impact Sounds (see addons/gs_audio/stock/CREDITS.md) |
CC0 |
| Ambience beds | Generated by gs-audio | CC0 |
| Toys | gs-props, drawn in code; sounds by Kenney plus a horn made for it (see addons/gs_props/toys/sounds/CREDITS.md) |
CC0 |
A model dropped into user://props/ appears in the Q menu with no code (docs/sandbox.md). If you made one of these assets and want it removed, open an issue.
License
MIT. See LICENSE.
Betrokkenheid in de tijd
Game - Playlot is een Playlot-asset. Hij heeft 15 downloads, 59 weergaven en 0 favorieten.
Reacties (0)
Log in om te reageren.
