Skip to content

Chat Plugins Refactor #240

@HoeenCoder

Description

@HoeenCoder

Chat Plugins are probably the area that needs to most work as they are the most modified.
To consider:

  • Should we merge all plugins into chat-plugins and drop support for the alternate folder?
    • Pros: Reduced possibility of errors, especially when main changes anything to do with chat-plugin folder functionality.
    • Cons: Folder becomes bigger since it has more plugins (bloat).
  • Should we try to merge some related plugins together such as custom colors, avatars, and icons?
    • Pros: Less bloat in the number of files.
    • Cons: Possible bloat in the file instead.

Please try to keep plugins self contained (they stay inside their own file and code in other files is NOT needed)
Please ensure all commands have a /help entry

Chat Plugins approved for refactoring and re-adding

  • Custom Colors [colors.js]
  • Custom Avatars [customavatar.js]
  • Dice [dice.js]
  • Digimon Info Plugin [digimon.js] (Digimon Dev Team)
  • Emotes [emoticons.js]
  • Github [github.js] Not currently in the plugin folder so hotpatch chat dosent reload it, maybe we can get around that?
  • Icons [icons.js]
  • Economy Plugin [economy.js] (@Dragotic-PS)
  • News [news.js] Honestly just remove the whole "subscribe" thing and just show it in a PM box when they connect/type a command. (@Mystifi)
  • Permalock/ban Plugin [perma.js]
  • PSGO [psgo.js]
  • Shop Plugin [shop.js formerly eShop.js] (@HoeenCoder)
  • SSBFFA [ssb.js] Fate of this depends on the fate of SSBFFA in Refactor and re-add existing formats #239
  • Surveys [survey.js]

Chat Plugins pending approval before refactoring and re-adding. Refactor at your own risk.

  • Ambush [ambush.js Create ambush.js #230 ] Not yet added plugin that is a game thats often hosted by bots.
  • Badges [badges.js] Not really used
  • Drafts [drafts.js] Not really used
  • EXP [exp.js] Unsure about an EXP system at this point, may be better to just give dust for stuff
  • Factions [factions.js] Not really used
  • Freinds List [friends.js] Main has one coming "soon" (a while) and idk how I feel about ours atm.
  • Gen Requests [genrequests.js] ???
  • Lottery [lottery.js] If users want this, it can stay
  • Misc Plugins [misc.js] Was used as a catch all file, potentially this would be better done in other files. Needs research.
  • Modified Plugins/Commands from Main [modified.js] We should potentially just modify them where they originally were from, even if it causes conflicts we can fix them and its important to know when the base code changes for these. Modify the command in its original file.
  • Ontime Plugin [ontime.js] Just records ontime for people
  • Profiles [profile.js] Has always been a pain to maintain and work with, if were keeping it try not to overload it with features and make editing it intuitive.
  • Room Request Plugin [roomrequest.js] Fate of this depends on how we chose to handle rooms in the future.
  • Room Shop [roomshop.js] Idk maybe this has a useful purpose. Merged into shop (supports both with less code)
  • Shadow Bans [shadowban.js] Do we even use these? /gban works just as well.
  • Splatoon [splatoon.js] I'm a fan of the game but idt it has enough draw here.
  • Staff Help [staffhelp.js] Basically a giant list of staff commands, might be better to automate this rather than making it all hardcoded or just drop it.
  • Tsumeta [tsumeta.js] Fate of this depends on the fate of Tsumeta in Refactor and re-add existing formats #239

If I missed something, or you have opinions on what to keep/remove reply to this. For those that are approved and unclaimed (no parens after the plugin name) feel free to post here to claim it and then refactor it.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions