![]() Added maxitemrestoresperaccount=1 to config.We can still keep development going.Added "restoreweapon" command - will search ItemLedger01 and ItemLedger02 for a destroyed weapon based on a given set of variables - usage: !restoreweapon.Added "RGB" command (written by a staff member).Removed the "WhoAmI" command for now (was buggy af, needs to be rewritten).Added the ability to change guild name/delete guild/restore guild.Started a validation class, will be used to link and lock commands to a specific account (to prevent people fucking with other users they shouldnt be).Unsure if this will end as a command or not Fixed a bug in soaps command, was using the wrong table.Added the ability to announce to a channel when soaps have been fixed.Edited inifile to increase the max characters loaded into a string from the ini file (was running out of characters for extra commands).Permissions are now defined per-user (it broke when I changed how commands were parsed). Moved command parsing to its own functions.Moved all functions to individual class files.I am building this bot from scratch to be far less buggy than Regina ever was, and more configurable for use on other servers. One of our current dev's suggested that I point out, this is not Delteros' code. If you have any questions I haven't covered, feel free to ask! That's about all I can think of at the moment to add to this post. Permissions are the same as the command names (so for a user to use !online, they need to have online set in the usergroup perms) More groups will be added as functionality is added (such as the ability to restart the server without needing heroesOPTool)Ī: Yes, actually! Iset is licensed under the MIT License (meaning you can do anything you want with my code as long as you provide attribution back to me and don’t hold me liable)Ĭommand Syntax:.mssql section - this is so the bot can connect to your mssql instance to do most of these cool things (like finding online players, banning players, spawning items, etc).The top example has all the current permissions for all commands Here you can define what parts of the bot each group can use. permissions, these are the ids that can access the bot, on new lines.If the group isn't listed there, then the user gets told they have no permissions Allowed Groups is a comma seperated list of discord group id's who can use Iset.Here's an example of the configuration (its an image because the codeblocks broke formatting and i couldn't upload the ini itself) Q: Will you be adding the deploy feature that Delteros' bot had?Ī: Possibly, however that's not a feature that my server is in direct need of, so it will likely be in a much later build Stop/Restart server without needing HeroesOPTool.Transfer items from one character to another.Dye Items (even undyeable ones like elchy wings).List gear equipped to a specific character.Restore gear destroyed by enhancing or enchanting (even if permaboomed). ![]() SQL Connections are set in a config (so they can be changed whenever, and _also_ update on the fly).Permissions update on the fly (no need to restart the bot to remove a perm).Give AP to a character (adds to current AP char has).Spawn items in game (goes to character's mailbox). ![]()
0 Comments
Leave a Reply. |