Discuss Scratch

thePhantomcode
Scratcher
2 posts

New server extension idea

I have an idea for an extension. Here's what the added blocks and variables would be:

@cloud When I join a server:: #242ebd hat// starts when the client joins a new server
@cloud create server with ID:():: #242ebd//allows new servers to be made
@cloud delete server with ID:():: #242ebd//allows servers to be deleted
@cloud join server ():: #242ebd//allows clients to join new servers
say (@cloud number of users in server ID:():: #242ebd)// the variable that tracks how many clients are in a server
say (@cloud number of servers:: #242ebd)//the variable that tracks how many servers there are
say (@cloud serverside variable[my variable v]:: #242ebd)//serverside versions of variables so the server can manipulate them
say (@cloud serverside list[my list v]:: #242ebd)//serverside versions of lists so the server can manipulate them
say (@cloud my ID:: #242ebd)//tracks the clients ID in a specific server
set my ID to ():: #242ebd//sets a client's ID to a specific number (could cause some issues)
set my ID to (lowest avaliable ID v):: #242ebd//could cause less problems but doesn't allow for much creativity
say (@cloud ID of ():: #242ebd)//allows clients and servers to find the ID of a specific client
say (@cloud server ID of ():: #242ebd)//allows clients and servers to find the server ID of a specific client
@cloud serverside{
}:: #242ebd //code only executed by the server and not the client

This extension could allow for easier creation of multiplayer games, but it would probably need some refinements and it's just an idea, and I don't think the scratch team would allow it. Also the hex code for the colour is #242ebd

Last edited by thePhantomcode (Feb. 22, 2026 15:00:30)

AdaVesta_
Scratcher
1000+ posts

New server extension idea

This is a really well-thought-out list of blocks! The scratch blocks look great.

However, I should let you know that Cloud Lists and dedicated Multiplayer Servers are actually on the Official Rejected Suggestions list. The Scratch Team has mentioned in the past that these types of features are too difficult to moderate and would put too much strain on the servers.

scratchy_boy106
Scratcher
500+ posts

New server extension idea

when green flag clicked
forever
if <player 1 presses key [space v]::custom> then
broadcast [player 1 jump v]
if <player 2 presses key [space v]::custom> then
broadcast [player 2 jump v]
end

end

Last edited by scratchy_boy106 (March 10, 2026 15:50:58)

Superplayer18
Scratcher
52 posts

New server extension idea

Simplified:

When I join server :: #00aa00 :: hat

Join server [] :: #00aa00
(Served data :: #00aa00)
Send [] to user [] :: #00aa00

Set my ID# to [] :: #00aa00
(ID# :: #00aa00)

Last edited by Superplayer18 (March 13, 2026 16:09:44)

Powered by DjangoBB