Logo
  • Features
  • Educators
  • What's New
  • Blog
  • Showcase
  • About us
  • Contact
Try it now!
System Tools
System Tools

System Tools

✍️
This document is created by NotPTBP from Gandi IDE community and edited by Gandi IDE Team.
image

NotPTBP Cocrea: https://cocrea.world/@NotPTBP

What is System Tools ?

System Tools is an extension created to get informations about the user’s browser and operating system.

Why do you need System Tools?

When developers design games, they occasionally need to offer appropriate content display and prompt information based on the player's gaming environment. For instance, players utilizing the MacOs operating system might observe distinct prompts compared to players using the Windows operating system.

In addition, System Tools also provides browser pop-up window function, which can be used to create some prompt content.

How to use System Tools?

Modules

Modules
Description
🌅 Basic Blocks
To acquire client information
🔢 Common Boolean and return values
Get some common client statuses
🔉 Notifications and pop-ups
Provide browser pop-up window function
📖 More building blocks
Convenience block added by the author in the extension

Functions and definitions

🌅 Basic Blocks

image

This reporter block with the JSON setting will create a text with all the browser and operating system informations in the json format.

image
  • With the browserName setting, you will only get the name of the browser.
  • the browserVersion setting, give you the version of your browser.
  • osName setting show you the name of the user’s operating system.
  • osVersion give you the Main version of the os (Windows 10/11 for example).
  • deviceName give the name of the current device.(Like PC or Mobile).
  • CPU bits show the bits of the CPU.
image

This block will fill a list with the client information. You need to make a list before using this block.

🔢 Common Boolean and return values

image

This block shows if the user is online or not. If the current user is connected to the internet, return true; if not, return false.

image

This block show if the user is in the editor. If the current user is in the editor, return true; if not, return false.

image

This one return the operating environment. If running in the editor, return "dev"; if running on the project page, return "prod".

🔉 Notifications and pop-ups

image

This block will create pop-up to ask for notification permissions like this:

image
image

This will check if the permissions are granted or not.

image

A block to notify with a title, a content, and an icon.

Perfect for an achievement system right?

image

A block that will give an alert with a custom message like this:

image

📖 More building blocks

Only one block this time and it’s this one:

image

It will repeat by the length of your list and will automatically increment one of the variable every time this block is repeating.

Credits

Extension created by : YUEN

Original doc : https://learn.ccw.site/post/5e4fff4e-3556-4497-a453-a2480864d90d

Document by NotPTBP : https://cocrea.world/@NotPTBP

Need help ? Go here:https://discord.gg/gandi

💡
If you have any questions or suggestions, you can find us in the discord server: https://discord.gg/U3nyveCvRa
Logo

Designed by 2ndR with love

Discord