WordPress plugin intelligence profile

NS Chat

Real-time WebSocket chat for WordPress with user sync and message history.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 6.8
Current version1.0.1
WordPress coverageTested up to WordPress 6.8
Minimum stackWP 5.8 · PHP 7.4
Directory statusactive
Last directory update23 Sept 20251y ago
Active installationsNewAdoption metric — not a quality score
WordPress.org ratingNo WordPress.org ratings yet
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records NS Chat version 1.0.1 as active, updated 1y ago and tested up to WordPress 6.8.

Overview

About this plugin

NS Chat Plugin enables real-time communication between WordPress users using WebSocket technology, powered by the Workerman library.

Key Features:

* Real-time private chat between users

* Visual unread message indicators

* Persistent chat history stored in the database

* Lightweight modular JS + PHP architecture

* Automatic migration and sync of WP users to chat system

* Linux daemon service with SSL support for secure connections

* Future-ready integration with NFS or AWS S3 for file upload/download

Planned Features:

* Message editing and deletion

* Read receipt indicators (message seen)

* File attachments with optional NFS or AWS S3 integration

Ideal for community websites, intranets, or any platform requiring internal messaging without third-party services.

com

WebSocket Server Setup (Linux with SSL)

-

Create a systemd service file:

bash

service

-

Paste the following content:

bash

[Unit]

Description=WebSocket Server for NS Chat (SSL)

target

[Service]

php start

Restart=always

RestartSec=25

User=www-data

Group=www-data

log

log

[Install]

target

-

php:

php

$context = [

'ssl' => [

crt',

key',

'verify_peer' => false,

]

];

-

Set permissions for plugin folder:

bash

sudo chown -R www-data:www-data /path/to/ns-chat/

sudo chmod -R 775 /path/to/ns-chat/

-

Reload and start the daemon:

bash

sudo systemctl daemon-reload

sudo systemctl enable websocket_server --now

sudo systemctl restart websocket_server

sudo systemctl status websocket_server

-

Check logs if needed:

bash

log

log

Custom Port Configuration

By default, the WebSocket server listens on port 2346.

To use a different port:

  • Change the port in server.php:

php

0:2346', $context);

-

php:

php

$ws_port = 2346;

-

js:

js

wsPort || 2346;

-

If the port is closed, then open a new port on your server’s firewall:

bash

sudo ufw allow <your-port>/tcp

sudo firewall-cmd --permanent --add-port=<your-port>/tcp

sudo firewall-cmd --reload

sudo iptables -A INPUT -p tcp --dport <your-port> -j ACCEPT

v4

Database Tables

The plugin creates and uses the following tables:

  • wp_ns_chat_dialogues
  • wp_ns_chat_messages
  • wp_ns_chat_users

Tables are created and populated automatically on plugin activation.

User Synchronization

  • Initial migration of all users from wp_users to wp_ns_chat_users on plugin activation.
  • New registrations are handled by:

php

add_action('user_register', 'ns_chat_add_user_on_registration');

  • Profile updates are synced via:

php

add_action('profile_update', 'ns_chat_update_user_data');

You may bind these functions to custom hooks based on your app’s logic.

License

GPLv2 or later

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • real time
  • chat
  • messaging
  • websocket
  • workerman
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 6.8

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 6.8.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to6.8
Minimum requirementsWordPress 5.8 · PHP 7.4
Update activity23 Sept 20251y ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.