Basic command system

This command module was created help make commands in your experiences

Github - GitHub - zeyan200-gotdeleted/Commands-module: A command module to help make commands in your experiences

Marketplace - https://create.roblox.com/store/asset/130319535252607/Commands-module

2 Likes

it’s not really “advanced” when it’s just your regular ancient age old generic admin commands module. its not that modular and extensible, plus it doesnt use the new TextChatService commands. and theres no documentation on how to make new commands/use it

in your github repo, its just a license and a mainmodule file, which doesn’t have any extension format (.luau/.lua)

image

  • breaks if prefix is more than 1 character (to avoid some newbies users getting confused why theirs doesn’t work)
  • hardcoded loop command
  • can be shortened to and accounts for more than 1 character prefixes
local commandName, argsStr = message:match(`{prefix}(%w+) (.+)`)
commandName = commandName:lower()

local args = argsStr:split(" ")

if you want, i made a relatively modular and extensible admin system here (the backend is the one you’re looking for) and you can use that as a reference. i apologize if this sounds rude and confronting, i wanted to give some feedback and guides as i firmly believe in free open knowledge

what you should add:

  • rank authority hierarchy (i.e owner - admin - mods - guests)
  • more customization options (i.e prefix settings)
3 Likes

This command module is just to help create commands it isn’t really made to have extra features such as ranking. I apologise for calling it “advanced”, I have changed that now.

Side note: Prefixs aren’t usually more than one character anyways.

Documentation had been released, check the github read me file.

The issue is that it’s not easy to use, modify, or even read.
It’s crucial that the code is well structured and commented when releasing a community resource.

Beginners are gonna do nothing but look at the code, get scared and go.
If you had a tutorial going into detail, it’d be a great community tutorial (which has it’s own section).

2 Likes

I’ll keep that in mind, although my products are made for intermediate Scripters not beginners.