sperm is a Discord plugin builder that makes plugins that work with every Discord client mod through Cumcord.
npm i -g sperm
All CLI functionality of sperm can be done via CLI switches to allow users to automate plugin builds using scripts or CI tools.
sperm --help [command] to get information on what a command does and what CLI switches it can use.
sperm initwill prompt you for information regarding your plugin and create a manifest.
sperm buildwill build a plugin from
sperm devwill automatically open a connection to Cumcord's built-in development websocket to hot-reload your plugin and report errors.
sperm helperwill automatically generate "installation helper" plugins for GooseMod, BetterDiscord, Powercord, or Vizality (NOT RECOMMENDED) that install Cumcord and your plugins seamlessly without any work from you or your users.
Distributing built plugins can be done in 3 ways:
- Distributing a helper plugin generated through
- Distributing a link to your plugin's
distfolder and telling users to install it through Cumcord's settings UI. (example:
- Distributing a link to Cumcord's "web plugin installer" for users who already have Cumcord, which will talk to Cumcord's websocket to prompt the user to install a plugin in Discord itself. (example
What is supported?
- .js (Obviously.)
- .jsx (REQUIRES YOU IMPORT REACT FROM "@cumcord/modules/commonModules")