It can, but it can’t download an asset ID. Even if the injector already had the module downloaded, my guess is that it wouldn’t work with the server.
This is incorrect, the client can download assets from the site, but it can only run it on the client.
I meant that you can’t directly call require
and use an asset ID from the client.
An exploiter can however it’s run on the client (no server code is ran)
Hi. Can you link a Trello board to this admin?
I currently haven’t implemented Trello support. You will have to modify the code in order to use trello. The problem is, the code is not commented yet, and is a big mess.
What will you use trello for?
I might be able to implement it if I know what it will be used for.
I would use the Trello board to add/remove game bans. I have created a Discord bot which can add/remove cards to the board, I just need a moderation system which can transfer that to Roblox. Thanks for your fast reply!
I think I found a problem in your code. This elseif
statement will always return true:
Edit: Also, is it possible to have an option to whitelist moderators from being banned rather than manually setting the datastore key?
I think the problem would be fixed with just an else instead of an elseif. Am I wrong?
I haven’t added moderator whitelisting yet. But it is planned. The owner will be able to ban mods tho. Maybe some specific admins too. It will be customisable.
Ok. That will maybe be added. If you need it right now, you might need to modify the code. But it’s messy. So if you need to modify it, sorry for the mess.
Before I can add it into the system, I will need to know a bit more about the bot, and how it works. I will also need to study how Trello API’s work.
Please DM me if you are interested.
Yes, it would be. I would like to mention after looking at some of the code I found some issues with it. There weren’t too many issues but the issues that were there were pretty major.
The 1st issue I saw while testing it out was that it didn’t automatically update, because the scripts were just there and it wasn’t a MainModule. I did fix that, and it runs smoothly:
RomodModule.rbxm (24.1 KB)
The next issue I found is where MessagingService was constantly subscribing, causing a memory leak.
Is the memory leak fixed? I don’t really know how to fix that to be honest.
I also fixed that in the file I provided. The memory leak is very slow so the average user won’t notice it, but it is there.
Ok. Thank you. I will publish the new code. Do I need to credit you?
Not really, since it was a very simple fix. I would prefer the next version to be in the format of a loader with a MainModule, as that is the preferred method for admin systems and large models, which could potentially have an urgent bug that needs to be fixed.
The file has everything ready for you to publish, just don’t include the MainModule in the folder.
Ok. I am a bit dumb, so I don’t understand how the loader and auto-update works. Could you explain? What do you mean with don’t include the main module in the folder?
I also fixed the problem with the elseif. I changed it to an else.
Create a script to auto load the module ID with require. I’d recommend testing RoMod and patching its issues.
No problem. Roblox made this feature called a “MainModule” years back, and it was for retrieving scripts from the cloud.
What it does, is uses require
with an asset ID.
Image
Here is an example I quickly grabbed from the BaseAdmin loader. It’s not this complicated.
To publish a MainModule, you simply publish the MainModule to roblox. Keep in mind that the dependencies of the MainModule are parented to the MainModule (which I did for you).
All you need to do is separately publish the loader and MainModule as separate models, and have the loader require the asset ID of the MainModule from the file I provided.
Keep in mind that the MainModule needs a configuration so that moderators are recognized. I made a ModuleScript in the file I provided called “RomodSettings”, which is the new place to configure moderators.
If you’re having trouble understanding, please DM me. I’ll give you a simpler solution.
I published the main module, and in the loader, I require the main module. Then Published the Romod folder with the loader and config in it.
Was this right?