Ulysses
General => Developers Corner => Topic started by: WispySkies on November 01, 2015, 03:16:11 PM
-
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?
-
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.
-
Thanks Stickly it worked! It was getting to be a real pain .-.
-
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.
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.
-
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
-
Thanks! Also, check your messages, I had a question on tabs from a post from 2013 if you don't mind :D