๐Ÿ‘‘ OpenSimulator Royal Flush

OpenSimulator Royal Flush

The cleanest hand in the metaverse.

OpenSimulator Royal Flush is a WordPress plugin for OpenSimulator grids running w4os. It automatically identifies, emails, and queues no-avatar accounts for admin review and safe bulk deletion โ€” keeping your grid database clean of bots, abandoned registrations, and dead weight.

Because every grid deserves a clean database.


๐Ÿƒ What It Does

When someone registers on your WordPress/w4os grid but never creates an avatar, they sit in your database forever โ€” taking up space, skewing your user counts, and making it harder to find real residents. Royal Flush fixes that.

  • Day 30 โ€” Sends a friendly reminder email with a link to create their avatar
  • Day 59 โ€” Sends a final warning email โ€” “your account will be removed tomorrow”
  • Day 60 โ€” Flags the account in the admin review queue
  • Admin reviews โ€” You decide who gets flushed. Nothing is ever auto-deleted.

โœจ Features

  • Safe by design โ€” No accounts are ever auto-deleted. Admin review and confirmation required for every flush
  • Avatar-aware โ€” Any account with a w4os_uuid is completely invisible to this plugin. Established residents are untouchable, always
  • Bot farm detection โ€” Automatically identifies suspect email domains with multiple no-avatar accounts
  • Trusted domain management โ€” Pre-populated with 38 legitimate providers (Gmail, Yahoo, Hotmail, Proton, iCloud, AOL and more) so real users never get flagged as bots
  • Color-coded review screen โ€” Red = disabled, orange = queued, yellow = pending. Spot the obvious ones instantly
  • Bulk select tools โ€” Select All, Select Queued, Select Disabled*, Deselect All
  • Email tracking โ€” D30 and D59 indicators show exactly which emails have been sent โ€” never sent twice
  • Daily WP-Cron scan โ€” Runs automatically every day. Manual scan button available for immediate runs
  • Admin/Editor exempt โ€” Users with edit_posts capability are never flagged, ever
  • Clean deactivation โ€” Deactivating removes the cron schedule cleanly
  • (Disabled Accounts Requires Disable User Log-In Plug-Inย https://wordpress.org/plugins/disable-user-login)

๐Ÿ“‹ Requirements


๐Ÿš€ Installation

  1. Download the latest release zip from the Releases page
  2. In WordPress admin go to Plugins โ†’ Add New โ†’ Upload Plugin
  3. Upload the zip and click Install Now
  4. Click Activate Plugin
  5. Navigate to Users โ†’ ๐Ÿ‘‘ Royal Flush
  6. Click โ–ถ Run Scan Now to immediately populate the queue with existing no-avatar accounts
  7. Review the list and flush at will

โš™๏ธ Configuration

Trusted Domains

Navigate to Users โ†’ Royal Flush Settings to manage your trusted domain list.

Trusted domains are never flagged as bot farm domains regardless of how many no-avatar accounts share them. The default list includes 38 common legitimate email providers. Add or remove domains as needed โ€” one per line, lowercase.

To add a domain directly from the main screen, click the “Add to trusted domains โ†’” link in the bot farm warning bar.


๐Ÿ–ฅ๏ธ Admin Screen

Users โ†’ ๐Ÿ‘‘ Royal Flush

ColumnDescription
UsernameLinks to WP User Edit screen
EmailFull email address with trusted domain indicator
RegisteredAccount creation date
Days OldDays since registration โ€” bold red at 60+, amber at 30+
Last SeenLast active date
StatusActive or Disabled
Emails SentD30 / D59 sent indicators with timestamps on hover
QueueWatching / Pending / Queued

Row Color Coding

ColorMeaning
Red backgroundAccount is disabled
Orange backgroundIn delete queue (60+ days)
Yellow backgroundPending (30+ days)
WhiteRecently registered, still watching

๐Ÿ“ง Email Content

Day 30 โ€” Friendly Reminder

Sent once to any no-avatar account registered for 30+ days. Includes a direct link to the avatar creation page.

Day 59 โ€” Final Warning

Sent once to any no-avatar account registered for 59+ days. Clearly states the account will be queued for removal with one final opportunity to create an avatar.

Both emails are sent once per account, ever. The timestamp is stored in user meta and the scan never sends that email again.


๐Ÿ”’ Safety Features

  • No auto-delete โ€” Ever. Admin must manually select and confirm every deletion
  • Double confirmation โ€” Dialog shows exact count before any deletion proceeds
  • Final server-side check โ€” At deletion time every account is re-verified: anyone with an avatar, admin privileges, or matching your own user ID is skipped
  • You cannot delete yourself โ€” Hardcoded protection
  • Admins and Editors are always exempt

๐Ÿ—ƒ๏ธ User Meta Keys

KeyValue
orf_email_d30Datetime D30 email was sent
orf_email_d59Datetime D59 email was sent
orf_queuedDatetime account was flagged for deletion queue

๐Ÿ“ Changelog

See CHANGELOG.md


๐Ÿ“„ License

GNU General Public License v2.0 โ€” see LICENSE


๐Ÿ‘ค Author

Gundahar Bravin โ€” nerdypappy.com

Built for NeverWorld Grid โ€” Live. Love. Create.


๐Ÿค Contributing

Issues and pull requests welcome! If you run an OpenSimulator grid and hit a use case this plugin doesn’t handle, open an issue and let’s talk. On Github!


โญ If This Helped You

Give the repo a star and tell your fellow grid operators. The OpenSimulator community is small โ€” sharing tools makes everyone’s grid better.