General > Developers Corner
All of the ancient commands still here?
WispySkies:
After I open !menu I go to Groups, superadmin, permissions and give me the permissions to EVERY command I have made and saved as a .lua on my computer. All fine (some are under development, check Dev. Corner threads by me)! And then I scroll ALL the way down and see _Uncategorized. Here you have a copy of every command Ive added, even ones I have removed! Its just a pain as it gets longer, any way to fix this?
Stickly Man!:
ULib keeps track of commands in your server's data\ulib\misc_registered.txt file. I can't remember what the purpose of the file is (Megiddo would know), but I think you should be able to delete the whole file (or open it up and remove individual lines of old commands) and be fine. You'll also want to double check your server's data\ulib\groups.txt file and make sure any old commands aren't assigned to any groups.
WispySkies:
Thanks Stickly it worked! It was getting to be a real pain .-.
Bite That Apple:
--- Quote from: Stickly Man! on November 01, 2015, 08:15:29 PM ---ULib keeps track of commands in your server's data\ulib\misc_registered.txt file. I can't remember what the purpose of the file is (Megiddo would know), but I think you should be able to delete the whole file (or open it up and remove individual lines of old commands) and be fine. You'll also want to double check your server's data\ulib\groups.txt file and make sure any old commands aren't assigned to any groups.
--- End quote ---
To my knowledge it does nothing useful (aside from like if you had an addon you removed, but forgot what it was called and looked at the old files to find it in uncategorized). You can freely delete it, and nothing bad will happen, ulx is smart and will recreate it.
Stickly Man!:
Just talked to Megiddo- the misc_registered.txt file exists solely to let ULX know which commands have been registered, and that default accesses been set to the groups. If this file is deleted, ULX will treat every command like it's never been on the server, and thus reapply the initial permissions for each command.
Because so many people get these '_Uncategorized' commands building up after a while, I'll be implementing a cleanup button somewhere that will remove no-longer-installed commands/permissions, and remove any references to them in the groups.txt/users.txt files. You can check my progress here:
https://github.com/Nayruden/Ulysses/issues/527
Navigation
[0] Message Index
[#] Next page
Go to full version