Integrates uMod/Oxide-enabled Rust servers with WordPress

Supported Games
GameServerKingsGameServerKings

Description

WordPress Bridge integrates WordPress with uMod/Oxide enabled Rust servers. This makes it possible for Rust admins to show updated player statistics and server information on their WordPress site.

Features

  • Player and Server statistics exchange between Rust server and WordPress (WordPress REST API).
  • Tested up to 200 players online simultaneously.
  • Player chat commands.

WPBridge Demo

Visit WordPress Bridge's official website

Installation

  • Click the Download Button on the plugin page
  • Copy the downloaded WPBridge.cs file to YOUR_RUST_SERVER\oxide\plugins\ where YOUR_RUST_SERVER is the path to your rust server.

Configuration

Configuration steps

  • Install WordPress plugin, Instructions here.
  • Once your Rust server has loaded the plugin, it generates YOUR_RUST_SERVER\oxide\config\WPBridge.json config file.
  • Open WPBridge.json in your preferred text editor and replace the dummy variables.
  • Reload the plugin using o.reload WPBridge.
  • The rest is done in the WordPress plugin.

Variables

  • External_IP: The external IP for your Rust server.
  • Wordpress_Site_URL: The URL to your wordpress installation with a trailing slash.
  • Wordpress_Secret: The unique secret generated from WordPress plugin.
  • Player_Data_Update_Interval: The interval between everytime Rust sends data to WordPress.
  • Print_Debug_To_Console: Print debug information to Rust Console. true: Debug | false No debug.

Example

    {
        "External_IP": "98.765.43.21",
        "Wordpress_Site_URL": "http://your-wordpress-site.com/",
        "Wordpress_Secret": "svp*edf&g$s.e",
        "Player_Data_Update_Interval": 30,
        "Print_Debug_To_Console": false
    }

Video tutorials

1. How to setup Wordpress with Elementor and WPBridge for Rust

2. How to configure WordPress Bridge in WordPress

Commands

Chat commands

  • /wip.help See a list of commands.
  • /wip.isreserved Check if is reserved or sharing stats.
  • /wip.reserve Toggles share/reserve statistics. BY DEFAULT: share

Upcoming features

  • More Shortcode customization: Extend the ability to further customize the generated blocks.

FAQ

  • Does this plugin have any plugin dependencies?

    • No.
  • Why not just communicate directly with database?

    • Some hosts accepts external scripts to query database directly, and some hosts don't.By default, remote access to database server is disabled for security reasons on most hosts.

The upside about this is that WordPress Bridge doesn't care about the database technology, and shouldn't either. As long as the REST API Endpoint responds correctly the data that is sent could basically be stored in any kind of database and format.

Feedback

You can create a thread, submit an issue on Github, reach out on reddit, Facebook, Twitter or even by e-mail.

Changelog

1.2.12

Added localization. Default language file can be found in oxide/lang/en/WPBridge.json.

1.0.125

Plugin now prints exceptions to log file

1.0.124

Added loot for all items and resources Commit on GitHub  Documentation here

1.0.123

Tracking of loot containers. New player stats: killedbynpc,lootcontainer,lootbradheli,loothackable,lootcontainerunderwater Commit on GitHub and reddit for details

1.0.122

Error logging Commit on GitHub and reddit for details

1.0.121

Plugin unloading and more readable console. Commit on GitHub and reddit for details

1.0.111

Resolved a bug that cleared the player statistics on plugin update Commit on GitHub and reddit for details

1.0.1

Performance update for bandwith and memory usage Commit on GitHub and reddit for details


Thank you

Thanks for your interest in WordPress Bridge! <3

Visited WordPress Bridge's official website yet?

MIT License

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.