Model
Concept
Every script would need to be well defined while keeping their respective concept logic
Model
[π] Basic (Every concepts of JavaScript and node.js there)
[π] Variable (π)
[π] Function (π (Missing Block: [π§±] Return {any}) )
[π] Custom Object
[π] Loop
[π§±] Repeat [ Forever / Times {Integer} / While {Condition} ] {Scratch} (π)
[π§±] Count with {variable} from {number} to {number} with increment {number}
[π§±] For each item {Variable} in list {Array} {Scratch}
[π§±] [Break out/Continue with next iteration] of loop (π)
[π] Logic
[π§±] [ If / Else if / Else ] do {Scratch}
[π§±] {Condition} [ = / != / > / < / >= / <= / and / or ] {Condition}
[π§±] {Condition} [and / or] {Condition}
[π§±] Not {Condition}
[π§±] [True / False]
[π§±] Null
[π§±] Test {argument} if true {value} if false {value}
[π§±] Is {value} a [ number / string ]
[π] Math
[π§±] {number}
[π§±] {number} [ + / - / Γ· / * / ^] {number}
[π§±] [square root / absolute / -(negative number) / ln / log10 / e^ / 10^] {number}
[π§±] [ cos / sin / tan / arccos / arcsin / arctan ] {number}
[π§±] [ Ο / e / Ο / square root(2) / square root(Β½) / β ]
[π§±] {number} is [ even / odd / prime / whole / positive / negative / divisible by {number} ]
[π§±] Round [ up / down ] {number}
[π§±] [ sum / min / max / average / median / modes / standart deviation / random item ] of list {Array}
[π§±] Remainder of {number} Γ· {number}
[π§±] Constrain {number} low {number} high {number}
[π§±] Random integer from {number} to {number}
[π§±] Random fraction
[π] List
[π§±] Create list βοΈ{item}
[π§±] Create list with item {any but objects} repeated {number} times
[π§±] Length of {array}
[π§±] is {tangible} empty
[π§±] List {array} contains {item}
[π§±] sort [ numeric / aplhabetic / alphabetic (ignore case) ] [ ascending / descending ] {array}
[π§±] Reverse {array}
[π§±] In list {array} find [ First / Last ] occurence of item {item}
[π§±] In list {array} [ Get / Get & Remove / Remove ] [ #{number} / #{number (from end)} / first / last /random ]
[π§±] In list {array} [ set / insert at ] [ #{number} / #{number (from end)} / first / last / random ] as {number}
[π§±] In list {array} get sub-list from [ #{number} / #{number} (from end) / first ] to [ #{number} / #{number} (from end) / last ]
[π§±] In list {array} push {item}
[π§±] Make [ List from text / Text from list ] {array} with delimiter {string}
[π] Text
[π§±] {string} consider new lines
[π§±] Create text with βοΈ{any}
[π§±] Replace {string} with {string} in {string}
[π§±] is {tangible} empty
[π§±] reverse {string}
[π§±] New Line (\n)
[π§±] To [ Variable / array ] append text {string}
[π§±] Length of {string}
[π§±] {string} ends with {string}
[π§±] {string} starts with {string}
[π§±] {string} includes {string}
[π§±] {string} is empty
[π§±] In text {variable/array} find [ First / Last] occurence of text {string}
[π§±] In text {variable / array} get [Letter #{number} / Letter #{number _(from end} / First leter / Last leter / random letter ]
[π§±] In text {Variable / Array} get substring from [Letter #{number} / Letter #{number (from end)} / first letter ] to [Letter #{number} / Letter #{number (from end)} / Last letter ]
[π§±] To [ Uppercase / Lowercase / Title case] {string}
[π§±] Trim space from [ Both sides / Left side / Right side ] of {string}
[π§±] Count {string} in {string}
[π§±] Is {string} boolean
[π§±] Boolean from text {string}
[π§±] Does text {string} contain numbers
[π§±] Convert text {string} to number
[π] Color
[π§±] {color}
[π§±] Random Color
[π§±] Color {Hex value}
[π§±] RGB color {number (red)} {number (green)} {number (blue)}
[π§±] Blend color 1 {color} with color 2 {color} ratio {number}
[π] Database
[π] Database
[π§±] Get {string} from the database
[π§±] Does {string} exist in the database
[π§±] Get all data from the database
[π§±] Set {string} to {string} in the database
[π§±] Delete {string} from the database
[π§±] Add {number} to {string} in database
[π§±] Substract {number} to {string} in database
[π§±] Delete all data from the database
[π] Dootabase (awaiting for devs guidance to know what to do with it)
[π§±] Set current database to {string} .json
[π§±] Get {string} from dootabse
[π§±] Does {string} exist in dootabase
[π§±] Get all data from dootabase
[π§±] Set {string} to {string} in dootabase
[π§±] Delete {string} from dootabase
[π§±] In dootabase add {number} to {string}
[π§±] In dootabase substract {number} to {string}
[π§±] In dootabase multiply {string} by {number}
[π§±] In dootabase divide {string} by {number}
[π§±] Delete current dootabase
[π] Custom Event
[π] Terminal
[π§±] Try {Scratch} If Error {Scratch} (= Try Catch)
[π§±] Error
[π§±] Print {Any}
[π§±] Wait {Duration}
[π§±] Stop Script
[π§±] Do {scratch} and save output in {variable}
[π§±] Run Code {Any} (= Eval)
[π§±] Insert Code {Typing} (= Insert)
[π§±] Create Webserver with text {string}
[π] Discord (Every concepts of Discord.js there)
[π] Object
[π] Guild
[π§±] {object -Guild-}
[π§±] Get {object -Guild-} [property]
[π§±] Set {object -Guild-} [property] to {parameter}
[π] Member
[π§±] {object -Member-}
[π§±] Get {object -Member-} [property] with reason
[π§±] Set {object -Member-} [ nickname ] to {parameter}
[π] User
[π§±] {object -User-}
[π§±] Get {object -User-} [property]
[π§±] Set {object -User-} [property] to {parameter}
[π] Channel
[π§±] {object -Channel-}
[π§±] Get {object -Channel-} [property]
[π§±] Set {object -Channel-} [property] to {parameter}
[π] Thread
[π§±] {object -Thread-}
[π§±] Get {object -Thread-} [property]
[π§±] Set {object -Thread-} [property] to {parameter}
[π] Role
[π§±] {object -Role-}
[π§±] Get {object -Role-} [property]
[π§±] Set {object -Role-} [property] to {parameter}
[π] Message
[π§±] {object -Message-}
[π§±] Get {object -Message-} [property]
[π§±] Set {object -Message-} [property] to {parameter}
[π] Reaction
[π§±] {object -Reaction-}
[π§±] Get {object -Reaction-} [property]
[π§±] Set {object -Reaction-} [property] to {parameter}
[π] Typing
[π§±] {object -Typing-}
[π§±] Get {object -Typing-} [property]
[π§±] Set {object -Typing-} [property] to {parameter}
[π] Invite
[π§±] {object -Invite-}
[π§±] Get {object -Invite-} [property]
[π§±] Set {object -Invite-} [property] to {parameter}
[π] Emoji
[π§±] {object -Emoji-}
[π§±] Get {object -Emoji-} [property]
[π§±] Set {object -Emoji-} [property] to {parameter}
[π] Sticker
[π§±] {object -Sticker-}
[π§±] Get {object -Sticker-} [property]
[π§±] Set {object -Sticker-} [property] to {parameter}
[π] Scheduled Event
[π§±] {object -Scheduled Event-}
[π§±] Get {object -Scheduled Event-} [property]
[π§±] Set {object -Scheduled Event-} [property] to {parameter}
[π] Stage
[π§±] {object -Stage-}
[π§±] Get {object -Stage-} [property]
[π§±] Set {object -Stage-} [property] to {parameter}
[π] Interaction
[π§±] {object -Interaction-}
[π§±] Get {object -Interaction-} [property]
[π§±] Set {object -Interaction-} [property] to {parameter}
[π] API
[π§±] {object -API-}
[π§±] Get {object -API-} [property]
[π§±] Set {object -API-} [property] to {parameter}
[π] Client
[π§±] {object -Client-}
[π§±] Get {object -Client-} [property]
[π§±] Set {object -Client-} [property] to {parameter}
[π] Shard
[π§±] {object -Shard-}
[π§±] Get {object -Shard-} [property]
[π§±] Set {object -Shard-} [property] to {parameter}
[π] Event
[π] Guild
[π] Member
[π] User
[π] Channel
[π] Thread
[π] Role
[π] Message
[π] Reaction
[π] Typing
[π] Invite
[π] Emoji
[π] Sticker
[π] Scheduled Event
[π] Stage
[π] Interaction
[π] API
[π] Client
[π] Shard
[π] Action
[π] Guild
[π] Member
[π] User
[π] Channel
[π] Thread
[π] Role
[π] Message
[π] Reaction
[π] Typing
[π] Invite
[π] Emoji
[π] Sticker
[π] Scheduled Event
[π] Stage
[π] Interaction
[π] API
[π] Client
[π§±] Connect the bot with the token {string}
[π§±] Set bot status to [ Online / Offline / Idle / Do Not Disturb ] custom status {string} type [ Listening / Watching / Competing / Playing ]
[π§±] Set status streaming url {string}
[π§±] Shutdown the bot
[π§±] Set bot [ username / avatar ] to {string}
[π] Shard
[π] Community (for "pre-marketplace" blocks before real marketplace release)
[π] Message
[π] Database
[π] MongoDB
[π] Firebase
[π] Image Editing
[π] Hosts
[π] GitHub
[π] Repl.it
[π] Marketplace (where marketplace blocks will go)
[π] Developing (only for dev, never released)
[π] To Rework (moved from release Toolbox with above their previous location as label)
[π] In Rework
[π] To Deploy (to implement in release Toolbox)
Definitions
Categories
π : Block Category: Defaultly Opened
π : Block Category: Defaultly Closed
π·οΈ : Label (informative text in toolbox)
π§± : Block
π : Blockly: Locked (bound to blockly and cannot be modified unless customly reworked)
π : Blockly: Problem (Locked but might be customly reworked to better fit S4D (often annoted with its respective reason))
π : Blockly: Custom Reworked (formerly bound to blockly but have been customly reworked to better fit S4D)
Blocks Parameters
βοΈ : Mutator
[ ] : Dropdown
{ } : Input
/ : Logical "or"
- - : Input Default Value: Block
~ ~ : Input Default Value: Shadow
Wording
Tangible : Has a lenght
Color : "color" not "colour"
Links
Last updated
Was this helpful?