N Suit: an easy to use plugin

N Suit bugs fixes

Hello there! It’s been a while since the last update, anyways here is a little bug fix that could have annoyed you quite a lot. So if you started a play test session with N Suit active it would’ve spammed the output with errors. This bug has been fixed and since N Suit is not aimed to run in any mode except in edit mode if you launch N Suit you will get an error as shown below.

image

Also

Not anymore, i have been focusing on another project and honestly that website did not really have a sense

1 Like

How can I use the Hitboxes generator?

1 Like
N Suit version 1.9

Support for “Model” class to hitboxes generator

This update adds support for models to the hitboxes generator tool. The use of the tool is the same but it will now allow you to generate an hitbox if a model is selected. To generate an hitbox select the part/model you want to create an hitbox for and click the “+” button next to the extension box.

Install N Suit

The hitboxes generator support almost every class of object. By default the size of the hitbox will be the selected part/model’s one so if you want it to be bigger you can set an extension in the input box as a valid vector3 value

1 Like

Did someone say packages?

Packages are coming with N Suit v2.0. There will be a marketplace for them to be installed and those will be created by the community.

immagine

Pros:

  1. Expand the possibilities of development by adding packages to N Suit.
  2. Add the features you want to your Suit

Cons:

  1. Packages have to be approved to be published on the marketplace.
  2. If you update your package it will need to be approved again.

Live marketplace:

You don’t need to update N Suit in order to get more packages in the marketplace because all packages will be automatically fetched.

When you submit a package if it is accepted it will be added to our public list of approved packages on GitHub.

In order to deveop your package easily you may want to use the N Suit API of which documentation will be released once the update is ready. The API will give you access to almost all the functions N Suit uses to work.

Moderation is enforced to make sure users don’t get affected by malicious scripts. For moderation packages will have to be submitted in the support server. Moderation is done by humans and so it may take time.

N Suit version 2.0

Introducing packages

With this new version packages have been introduced. Packages are additional tools created by the community for N Suit which are available on the marketplace.

This is a beta feature so you need to enable it in the settings (profile picture > settings > marketplace). You will need to restart the plugin.

Pros:

  1. Expand the possibilities of development by adding packages to N Suit.
  2. Add the features you want to your Suit

Cons:

  1. Packages have to be approved to be published on the marketplace.
  2. If you update your package it will need to be approved again.

Moderation is enforced to make sure users don’t get affected by malicious scripts. For moderation packages will have to be submitted in the support server. Moderation is done by humans and so it may take time.

:warning: Read below to learn how to submit your package.

The marketplace fetches data from GitHub so you need to allow Http requests to https://raw.githubusercontent.com.

Currently if the package gets updated and you restart the plugin while it has not been approved yet you will need to reinstall it if it’s approved.

If there is an issue with your packages you can restart them in the settings under the beta features section.

For packages developers

Your package will be downloaded from the Roblox library so make sure it is on sale in order to get it fetched into the marketplace and allow users to download it.

Packages are initialized with an init function. package:init() which has to be placed inside a module script called “Main”.
When you create your package make sure that what you upload to roblox is either directly the module or a folder containing the module as shown in the pictures below.

immagine
Directly uploaded module

immagine
Module inside a folder

:warning: Your package’s scripts will not run after being downloaded so it is important that you make your init() function run them. The packages manager initializes packages with :init() so you can use self. No parameters are passed to the init() function.

To build your package use the N Suit API.

local NSuitAPI = _G.NSuitAPI

A simple example:

local api = _G.NSuitAPI
local mypackage = {}

function mypackage:init()
    api:CreateNewTool("name", "rbxassetid://IDOfYourImage") --This creates the button in the main page
    local toolFrame = api:CreateNewFrame("name") -- it is important that you put the same name you put in the CreateNewTool function
    api:LoadTools() --Refresh the tools page to make your button appear

    local button = Instance.new("TextButton")
    button.Text = "Oh a cool package"
    button.Parent = toolFrame -- put the button in the frame of the package
end

return mypackage

The example above will create a button in the main page which will open a frame dedicated to the package which is basically the workspace of your package.

If you want to test your package before submitting it for moderation you can locally load it into the plugin by clicking on “Load local” in the marketplace page. If you make an edit to the locally uploaded package then just click Load local again and it will replace the old one with the updated one. To locally load a package select it in the explorer and click “Load local”.

:warning: Local packages are not persistent and are unloaded when the studio session ends or the plugin is restarted

Your package may be rejected if it:

  1. Runs malicious code
  2. Runs while/repeat/for loops that make studio crash
  3. Uses loadstring()
  4. Sends data to an external service

Why can’t I use loadstring()? You can’t use loadstring because it can be used to avoid moderation and run malicious code.

Join the server to submit your package. (:warning: Read below if you don’t have Discord)

Report any bug you find.

2 Likes

Oh btw since this is a plugin aimed to simplify your development experience with the features you need then feel free to comment what you would like to see or even better join the support server and post your suggestion there so that we can discuss about it

Since i got some messages from users that don’t have discord and can’t submit packages you can also send me them in a devofurm pm and i will look at it

:warning: Update - Plugin discontinued

This plugin has been discontinued.

I am no longer maintaining this plugin as it is pretty old and I don’t like the way it’s scripted anymore. Thank you to everyone who used it!