Creating A Plugin - EdgeIY/infiniteyield GitHub Wiki
Infinite Yield plugins are a way for you to add custom content to your command list. You can share this content or keep it to yourself without worrying about editing Infinite Yield every time we release an update.
Plugins are .iy files and should be placed in the workspace folder of your exploit.
Start by opening your favorite Lua text editor (Examples: Visual Studio Code, VSCodium, Zed, Lite XL, Notepad++, etc.).
Next, create a module that returns a table. I recommend that you name the table Plugin.
local Plugin = {
}
return PluginNow you need to set up the properties of the plugin and the commands table by adding keys to your Plugin table.
The following is the basic keys used to set plugin properties:
-
<string> PluginName: The name of your plugin. Keep in mind that your filename must match the value of this property. -
<string> PluginDescription: The description of your plugin. If the plugin name is self-explanatory, use this as the credits. -
<table> Commands: A table where all of your commands will be created.
Here is a template to guide you:
local Plugin = {
["PluginName"] = "NAME HERE",
["PluginDescription"] = "DESCRIPTION HERE",
["Commands"] = {
}
}
return Plugin