Plugins

ChatNet features a WordPress-like plugin architecture that allows you to extend functionality without modifying core code. This section explains how to verify your license for marketplace access, install and manage plugins, and provides an overview of available official plugins. Developers will also find information about the plugin API for creating custom extensions using hooks, filters, and options.

License Verification

Before accessing the plugin marketplace:

  1. Navigate to License
  2. Enter your CodeCanyon purchase code
  3. Click Verify License
  4. Once verified, marketplace access is enabled

Installing Plugins from Marketplace

Browse and install plugins directly from the ChatNet marketplace with your verified license.

  1. Navigate to Plugins > Marketplace
  2. Browse available plugins
  3. Click Install on desired plugin
  4. Wait for installation to complete
  5. Activate the plugin

Managing Installed Plugins

Navigate to Plugins > Installed Plugins

ActionDescription
ActivateEnable the plugin
DeactivateDisable without removing
DeleteRemove completely
SettingsConfigure plugin options
UpdateInstall latest version

Available Official Plugins

Official plugins that extend ChatNet with premium features.

PluginDescription
Membership PlansTiered subscription system
WalletVirtual currency and payments
Voice ChannelsVoice chat rooms
Additional Sticker PacksExtra sticker collections

Plugin Development

Plugins follow a WordPress-like architecture:

// plugins/my_plugin/plugin.php register_plugin('my_plugin', [ 'name' => 'My Plugin', 'description' => 'Plugin description', 'version' => '1.0.0', 'author' => 'Your Name' ]); // Hooks add_action('init', 'my_init_function'); add_filter('message_content', 'my_filter_function'); // Options update_option('my_setting', 'value'); $value = get_option('my_setting', 'default');