pasteblox

Folders & subfolders

Organize your scripts in folders, and share a whole folder publicly.

Once you have more than a handful of scripts, put them in folders. They work like folders on your computer: folders inside folders, drag and drop, and a path like bedwars / esp. A folder is private until you choose to share it as a public folder, which anyone can browse like a repo on GitHub.

Private until you share them

A new folder is just for you. Nobody else sees it: not on your profile, not on the script page, not in the API. Moving a script into a folder changes nothing for players: the link, the loadstring and the versions stay exactly the same.

Folders need an account. Pasting signed out works, but the script lands in no folder until you claim it.

The dashboard

Your folders live in your dashboard. On a computer it looks like this:

The dashboard inside the bedwars folder: the folder tree on the left, the path, New folder and New script here buttons, and the esp subfolder
  1. 1The folder tree. All scripts shows everything, Unfiled shows scripts in no folder. The number on a folder counts everything inside it, subfolders too.
  2. 2The path to where you are. Click any part to go back up.
  3. 3New folder makes one right here, and New script here opens the editor with this folder already picked.
  4. 4Subfolders come first, then the scripts in this folder.

A top-level folder also shows how full it is, like 8 scripts · 12 KB of 25 MB (see limits).

The address bar follows you around, like pasteblox.com/dashboard/f/games/bedwars, and pasteblox.com/dashboard/unfiled for unfiled scripts. Each part is the folder's name in lowercase with dashes, so UI Libs! becomes ui-libs. Bookmark a folder you use a lot, and the browser's back button takes you to the folder you were in before. Renaming or moving a folder changes its address. Old links to it, or to a folder that was deleted, show that folder is gone. (it was deleted, or the link is old. every script is still in all scripts.) with a Back to all scripts button. Links from before folders had names (/dashboard?folder=12) still work: they take you to the folder's new address.

Two words you'll see a lot: scripts in no folder are Unfiled, and folders that aren't inside another folder are at the top level.

Make a folder

  1. 1

    Click New folder

    Use the + next to Folders in the tree for a folder at the top level, or New folder at the top of the folder you're in for a subfolder. No folders yet? Click Make a folder.

  2. 2

    Type a name, press Enter

    A name field shows up in place. Enter saves, Esc cancels. In the tree the field stays open, so you can type a few names in a row (↵ add · esc done). A name that won't work (taken, too long, or with a /) keeps the field open and says why, so you can fix it.

  3. 3

    Give it a color (optional)

    Open the folder's ⋯ menu and pick a color. Each new folder gets a different one by default.

Moving scripts and folders

There are three ways. Use whichever feels easiest.

Drag and drop

Grab a script row and drop it on a folder: in the tree, in the list, or on a part of the path at the top. A folder you hover in the tree opens by itself after a moment, so you can reach subfolders.

Dragging the bed alarm script onto the doors folder in the tree
  • Select several scripts with their checkboxes (Shift-click selects a range), then drag one of them. They all move together.
  • Folders drag the same way. Drop a folder near the top or bottom edge of another folder to put it above or below instead of inside.
  • All scripts (in the tree or at the start of the path) takes both: scripts dropped there become unfiled, folders move to the top level. Unfiled takes scripts only.
  • A place you can't drop on stays dim, and hovering it tells you why.

Move to…

Every script and folder has Move to… in its ⋯ menu. When you've selected scripts, it's also in the bar at the bottom. It opens a picker with all your folders:

The Move to picker with bed/esp typed in the search box
  1. 1Type to search. Use / for paths: bed/esp finds esp inside bedwars, even with folders in between.
  2. 2Matches show their full path, and the first one is picked for you. Use ↑/↓ to pick another. Without a search, Here now marks where it is now, and greyed-out folders can't take it. The first row is Unfiled when you move scripts and Top level when you move a folder.
  3. 3Move here, or press Enter. No folder for it yet? New folder here makes one under the highlighted folder.

Undo

Every move shows a toast with Undo for a few seconds, like moved to “esp”, moved to unfiled, moved “esp” into “ui libs” or moved “esp” to the top level. Undo puts things back where they were, even when the scripts came from different folders.

Keyboard shortcuts

Click a folder in the tree first, then use these. They work in the tree on a computer only, not in the list or on a phone.

KeysWhat it does
↑/↓Previous / next folder
→Open a folder, then go to its first subfolder
←Close a folder, or go to its parent. You can close a folder even while you're inside it.
EnterShow that folder's scripts
F2Rename (double-click works too)
⌥↑/Alt+↑Move the folder up among its neighbors (⌥↓ / Alt+↓ moves it down)
DeleteDelete the folder (asks first)
a–zJump to the next folder starting with that letter

Rename and delete

Rename with Rename in the ⋯ menu, by double-clicking the name, or with F2 in the tree.

Delete folder… asks first, and tells you exactly what will happen, like its 3 scripts and 1 folder move up to bedwars. or, for a folder at the top level, its 3 scripts move to unfiled and its 1 folder to the top level. followed by the scripts, links and loadstrings stay exactly as they are. Deleting a folder never deletes scripts. Whatever was inside moves up one level:

  • Scripts move to the parent folder, or to Unfiled if the folder was at the top level.
  • Subfolders move up with everything in them (to the top level if the folder was there). If the name is taken up there, it gets a number, like esp (2).
  • Links and loadstrings don't change.

Picking a folder in the editor

When you make or edit a script, the Folder field (it says Only you see it) chooses where it goes. Once you pick one, a small Lands in pill shows up right above Publish, so you always know where it ends up. Click it to change.

The editor sidebar with the folder field set to games / bedwars / esp and the Lands in pill above Publish
  1. 1The Folder field. Click it to pick a folder (or No folder) in a picker called File it in….
  2. 2Lands in shows where the script will go. Click it to change.

In a folder on the dashboard, New paste and New script here pick that folder for you. A link like pasteblox.com/new?folder=12 does the same. A new script filed into a public folder starts out Public too. You can still change that before you publish.

Public folders

A public folder is like a repo on GitHub: anyone can open it, click through its subfolders and run its scripts. It's the easy way to share a whole collection, like every script you made for one game.

  1. 1

    Open the folder

    Only folders at the top level can be public. Their subfolders follow along. Open the folder in your dashboard and click Make public at the top, or pick Make public… in its ⋯ menu.

  2. 2

    Check and confirm

    The Make utilities public dialog: its size, Make all 1 script inside public ticked, a description field and the Make public button
    1. 1How many scripts are inside, and how much of the 25 MB they use.
    2. 2Make all 1 script inside public, on by default. Private and unlisted scripts become public with the folder. Turn it off and only the scripts that are already public show up.
    3. 3A one-line Description (optional, up to 200 characters). It shows under the name. Change it later with Edit description… in the ⋯ menu.
    4. 4Make public. The toast has a View button that opens the public page.

Every script needs a clean scan

A folder can only go public when every script in it, subfolders included, passed the risk scan. The dialog tells you what's in the way:

  • Still scanning: waiting for the scan on 2 scripts. The dialog checks again by itself every few seconds. Usually that's done in moments.
  • Flagged: the dialog lists them, and Make public stays off until they're out. Move it to unfiled does that in one click.
  • Empty: add a script first: empty folders can't be public.
The same dialog when the risk scan flagged a script inside: chat logger is listed with Move it to unfiled, and Make public is greyed out
  1. 1The flagged script, with Open to see what the scan found.
  2. 2Move it to unfiled takes it out. The check runs again and Make public lights up.

The public page

A public folder lives at pasteblox.com/u/novahub/games, and each subfolder adds to the path, like pasteblox.com/u/novahub/games/bedwars.

The public page of the bedwars folder inside novahub's games folder: name, description, the path and a list of its esp subfolder and scripts
  1. 1The folder's name, with a Public chip and its description underneath.
  2. 2The path. Click any part to go back up.
  3. 3Sort by Name or by Updated. Subfolders always come first, then scripts.
  4. 4Copy link copies the page's address. The ⚡ button on a script row copies its loadstring right from the list.
  • Only scripts that are Public and passed the risk scan show up. Private and unlisted ones stay hidden, and so does a script whose newest version is still being scanned or got flagged.
  • Your profile gets a Folders list with every public folder, and Explore has a Folders tab with recently shared ones.
  • The page's address follows the folder's name. Renaming or moving a folder inside it changes the address, so share links after you've settled on the names.

On the script page

A script in a public folder shows where it lives. The breadcrumb above the title has the folder path, and next to the code there's a panel with the rest of that folder.

A script in a public folder: the @novahub / games / bedwars breadcrumb above the title, and the In bedwars files panel next to the code
  1. 1@novahub / games / bedwars. Every part is a link to that folder's public page.
  2. 2In bedwars: the folder's subfolders and scripts, the current one highlighted. On smaller screens it's a closed In bedwars · 3 files row under the breadcrumb. Tap it to open.

On your own scripts you see your own folders there, public or not. Everyone else only sees public folders.

Making it private again

Make private in the folder's ⋯ menu hides the folder page and takes it off your profile and Explore. That's all it does: the scripts inside keep their own visibility, so a public script stays public, with the same link and loadstring.

On your phone

Small screens have no tree. The top of your dashboard lists your folders instead, with Unfiled at the end. Tap a folder to open it, and use the path at the top to go back.

The dashboard on a phone: a list of folders and the Unfiled row
  1. 1Your folders at the top level, with New folder on the right.
  2. 2Unfiled: scripts that aren't in any folder.

You can't drag on a phone. Tick the scripts you want, then tap the folder button in the bar at the bottom (Move to…).

Limits

WhatLimit
Folders300 per account, subfolders included. The 301st says that's 300 folders, the most one account can have. merge a few?
Depth5 levels, like a / b / c / d / e. Deeper says folders nest 5 levels deep at most.
Name length40 characters
NamesCan't contain /. Two folders in the same place can't share a name (ESP and esp count as the same).
Per top-level folder500 scripts and 25 MB of code, counting every subfolder. The folder's header shows how much is used. Past that you'll see games is full: 500 scripts max per top-level folder.
DescriptionOne line, up to 200 characters
AddressesA few words are taken at the top level, like icon, manifest, sitemap and robots. You can still use the name, the address just gets a number: icon-2. Same for two names that end up with the same address, like ui libs and ui-libs.

Importing a lot of files at once? Folders can be made for you. See bulk import.