You should be able to using the Autocomplete API, check the Modules folder in Solar
ok last question, because i couldnt find anything about it, how many types of commands are there in AddCommand? i saw âstringâ and âplayerâ but is there any like, a boolvalue?
ignore this, I saw it in autocomplete
Actually no, I found on the API a code that would change your permission level if it was lower or higher than 1 / 4 so no, but you can change it tho lol
oh wow, didnât realize that had been added
This is acually neat, The UIâs are also nice and smooth to look at, so may actually use this for one of our games in the future. Keep up with the awesome job!
Adding onto the mod pack:
A Freeze Command (Freezes the user and shows a UI on there side saying âYou been Freezed by Staffâ (or something like that)
A view command
A announment command.
Sir this is a good command bar, but when i try to use it, it doesnt boot up, the command bar doesnt run.
You might be able to find these commands in our #command-packs channel in the Discord server
Did you make sure to read the docs and create a script to initialize Solar?
I dont have discord. Can you link them?
Creating commands remembers me Discord Slash Command creation, but simplified.
Iâll do this shortly! Currently a bit busy
This is a really good idea. It looks really good. By any chance, is this based of Cmdr? This would honestly help because with Cmdr, people need to make all their commands, whereas this has some preset commands. (as far as I can tell from the post)
Does this have an API to detect if a user is an admin?
I believe it does.
Have a look at the API documentation.
Edit: Use this code to check player permission level:
API:GetPlayer(Player).PermissionLevel
CMDR has some built in commands. It uses a client module which has data and server module which runs the actual command
Thanks for this GREAT resource!
Itâs a bit outdated and could definitely do with some improvements haha, I intend to finish a revised version of it whichâll bring major changes such as a brand new code-base and UI alongside a ton of new features! Been pretty busy as of late so have not had the chance to work on it.
No worries, if this is already great (I am using this because it is nice) I will be exited for the next release!
How do I create my own command packs for private use?
I have my own individual command idea which is kill