If you can that would be great! Also, don’t need to answer this question but do you know like a command for BAE 2.0 that’s like a sticky message, that it just stays at the top of the screen for everyone to see? Like at Frappe when you join it you see “Sticky Message from [name]” and then the text like “Hungry? Order!ˇ”
You will have to fork the model (I don’t really know how to fork it. XD).
Edit: Here is the script that will show the information to just the trainees.
local Plugin = function(...) -- The main plugin
local Data = {...} -- Where the data is located
local remoteEvent = Data[1][1] -- The remoteEvent variable
local pluginName = "showinfo" -- The command ("information")
local pluginPrefix = "!" -- The prefix, you can change it to whatever you would like.
local pluginRank = 0 -- Makes it so Trainees can execute the command
local pluginDesc = "Test's the information command" -- Your command description.
local InformationMessages = {"Message 1 ran", "Message 2 ran"} -- The messages that will
show on the list.
local pluginFunction = function(Args) -- The function for the plugin we have
local Player = Args[1] -- "Player" is out argument.
for _, Message in pairs(InformationMessages) do -- Where the information is stored
remoteEvent:FireClient('List', 'Information', Message) -- Shows the list of information
end
end
pluginDesc = pluginName .. " " .. pluginDesc
return pluginName, pluginFunction, pluginRank, pluginPrefix, {pluginName, pluginDesc}
end
return Plugin -- Returns the plugin
-- Now, the command will only be visible to the Trainee —
If there is any errors in the code, please remind me about them. I did not test this.
Frappe modified the Basic Admin module and added a command there. What I’ve found working with Basic Admin plugins is that they can be pretty limited when you’re trying to do very specific things like that.
Modifying the module to add custom commands is actually pretty easy. Here’s how.
1.) Get the Basic Admin loader like you normally would from toolbox, and modify it as necessary to your game like usual.
2.) Get the official module from TheFurryFish’s Profile. You can get it here. Then, place the module directly inside of the Basic Admin Loader. It should look something like this once you’ve done it.
3.) Open up the loader, and scroll all the way down until you see this line.
require(Configuration['Loader ID'])(Plugins,Configuration)
Change that line to this. Make sure that you don’t modify anything else below the end of examples line.
require(script.MainModule)(Plugins,Configuration)
4.) Now that you’re done modifying the loader, it’s time to modify the module. Open it up and scroll down to line 3002, and you should see a huge table of commands. Copy one of them, it can be any, and then paste it into the table with the others. I personally like to put an empty line between the default commands and my custom commands. Once you’ve done that, it should look something like this.
You’re now able to change up your command the way you want it. The first value (changelog in this case) will be the name of your command. My command for this example will be called “testcommand”.
The second value will be your prefix. Leaving it as sysTable.Prefix will leave it as the prefix that you already set in the loader.
The third value can be a bit harder to understand. Basically, it’s the name of the function that will be executed when the command is run. Unless you know what you’re doing, you should keep it as Funcs.Display for now.
Keep the fourth value the same as your command name in the first value. Then, you can change the last two values to the usage and description of your command. Changing these won’t affect your command at all. It’s just what appears when you hover over it with your mouse in the list of commands.
5.) Your command is now created, and will appear in the command menu. We haven’t made it do anything yet, so trying to run it won’t do anything.
6.) We’re now going to give our command some functionality. Scroll up to line 540, and you should see a function called Funcs.Display. If you’re creating a custom function for your command then you can ignore this part. Scroll down to the bottom and you should see an elseif statement. Copy it and paste it directly below it for your command, and then change the string to your command. It should look like this once you’re done.
7.) Now, your command is finished and you can put whatever code you want under it. In this case. Here, I just added a line that said Player:LoadCharacter() to respawn the person that runs the command.
This probably wasn’t very useful considering that it’s 10x easier to just make a plugin but I guess it in a way shows how the BA module works in case you want to edit it in other ways that plugins can’t do.
I mean, aren’t plugins easier? It might be the same, but personally I like the plugins way more that what you try to do there.
It honestly comes down to what you’re using it for and personal preference. I prefer to keep everything in one module and not have 5 different scripts for every single command. There are just some things you can’t accomplish by just using plugins. (ex: Anti-AA)
Everything’s great! I was searching through Dev Forums and was wondering are there any copy paste logs that work with BAE 2.0?
Thank you so much for your help with forking the module. But I do have a question, do you know how to make the full set message command?
As said before, using a plugin to make the setmessage command is not possible.
@sunnyrainqs You could use :GetPropertyChangedSignal() on their chat bar textbox, and then compare the length of the old text to the new text after they typed. If the difference isn’t 1, they’re copying and pasting. Then, if that’s detected, you could insert it into a table and then use that table for a list with your custom command.
@Pieces2010 Could you clarify what you mean by “setmessage”?
What I mean by setmessage is a message that will stay on everybody’s screen until a new hint is replaced. I know what I meant by setmessage is not fully self-explanatory.
I would have to do a bit of research into how BA handles it on the client for hints at the top of the screen. I believe it has a time limit based on how many characters are in the string for the text part. Not the title. I’ll look into it.
Also, @Pieces2010 @sunnyrainqs, please keep in mind that people regularly manage to find new security issues with BA, and then the creator has to update the module. Make sure you stay on top of any new bug fixes or updates that come out so you can replace your module accordingly.
What are the Security issues with BA?
I’m not saying there are any currently, but exploiters always manage to find a way to get around security already put in place, so it’s best to keep your modules up to date whenever the creator updates it.
I think it’s the other way around, FurryFish made BA a very long time ago and he changed up BA a bit for Frappe.
TheFurryFish did made BAE. It is unknown if it was made only for Frappe first but I do think so. After Furry left their team in 2019, they got a new developer and he just made some new plugins for Frappe and that’s all.
Fun fact, they use Furry’s original Menu GUI in their V5, lol.
Idk how this topic blew up like this, but when I use the script someone posted here about sms popping up for single players when a command is executed it doesn’t work. You can only use FireAllClients event for it.
I might be late on all this but, this plugin isn’t working. Do you mind telling the working plugin?
I mean like, you should probably just set the limit to like 10 or something because fast typers can easily be put into the copy and paste logs
No matter how fast they’re typing, if they’re not copying and pasting the change in length will never be greater or less than than 1. It’s not possible to type multiple characters at once without copying and pasting.