Title: DigiFalk Mafia PBBG Engine
Author: digifalk
Published: <strong>November 6, 2026</strong>
Last modified: November 6, 2026

---

Search plugins

![](https://ps.w.org/digifalk-mafia-pbbg-engine/assets/banner-772x250.png?rev=3787927)

![](https://ps.w.org/digifalk-mafia-pbbg-engine/assets/icon-256x256.png?rev=3787927)

# DigiFalk Mafia PBBG Engine

 By [digifalk](https://profiles.wordpress.org/digifalk/)

[Download](https://downloads.wordpress.org/plugin/digifalk-mafia-pbbg-engine.2.2.2.zip)

 * [Details](https://wordpress.org/plugins/digifalk-mafia-pbbg-engine/#description)
 * [Reviews](https://wordpress.org/plugins/digifalk-mafia-pbbg-engine/#reviews)
 *  [Installation](https://wordpress.org/plugins/digifalk-mafia-pbbg-engine/#installation)
 * [Development](https://wordpress.org/plugins/digifalk-mafia-pbbg-engine/#developers)

 [Support](https://wordpress.org/support/plugin/digifalk-mafia-pbbg-engine/)

## Description

Mafia PBBG Engine turns your WordPress site into a multiplayer mafia browser game.
Players log in with their WordPress account, pick a gangster name and work their
way up from _Street Rat_ to _Godfather_.

The game runs on a shortcode page that the plugin creates for you, works with any
theme and looks good on phones.

#### What players can do

 * **Crimes**: crimes with a success chance that grows the more a player does them.
 * **Car theft and garage**: steal cars at spots with different odds, then sell,
   repair, ship or crush them.
 * **Jail**: jail time, breakouts, bail and solitary confinement.
 * **Hospital**: heal for money and time.
 * **Travel**: fly between cities.
 * **Bank**: deposit (with a laundering fee), withdraw and transfer money.
 * **Inventory**: equip, use and sell items.
 * **Messages and notifications**: private messages and a feed of everything that
   happens to your character.
 * **Profiles, players and leaderboards**: public profiles, who’s online, search
   and top 25 lists.
 * **Statistics and news**: numbers about the game world and game news.

#### What you can do as the game owner

 * Switch every game feature (module) on or off.
 * Edit all game data: ranks, wealth titles, cities, crimes, cars, items and more.
 * Start a new round: player data is wiped, game data is kept.
 * Arrange the game screen with the **Game layout** in the Customizer: drag money,
   timers, the game menu and more into the header, sidebar or footer.
 * Follow the colours and font of your theme, or use the built-in dark look. Players
   can switch between light and dark with one click.
 * Build your own modules: a module is a folder with a `module.php`. Your own modules
   survive plugin updates.

#### Mafia PBBG Engine Extended (free)

The game in this plugin is complete on its own. The free add-on **Mafia PBBG Engine
Extended**, available on [digifalk.com](https://digifalk.com/en/product/mafia-pbbg-engine-extended/),
adds families, murders, detectives, bounties, the bullet factory, the black market,
blackjack, police chases, properties, a forum and the matching Mafia PBBG Engine
theme. Extended is also needed for premium modules from DigiFalk. Extended is not
hosted on WordPress.org and has its own license.

#### Source code

The source code, documentation for module developers and the development history
are on [GitHub](https://github.com/DigiFalk/Mafia_PBBG_engine).

## Screenshots

[⌊The overview: rank progress, health, money, timers and the latest notifications.⌉⌊
The overview: rank progress, health, money, timers and the latest notifications.⌉[

The overview: rank progress, health, money, timers and the latest notifications.

[⌊Crimes: the success chance grows the more often a player commits a crime.⌉⌊Crimes:
the success chance grows the more often a player commits a crime.⌉[

Crimes: the success chance grows the more often a player commits a crime.

[⌊The garage: sell, crush, repair or ship stolen cars.⌉⌊The garage: sell, crush,
repair or ship stolen cars.⌉[

The garage: sell, crush, repair or ship stolen cars.

[⌊The game in the colours of your theme (here Twenty Twenty-Five, light mode).⌉⌊
The game in the colours of your theme (here Twenty Twenty-Five, light mode).⌉[

The game in the colours of your theme (here Twenty Twenty-Five, light mode).

[⌊Leaderboards for rank, wealth, crimes and breakouts.⌉⌊Leaderboards for rank, wealth,
crimes and breakouts.⌉[

Leaderboards for rank, wealth, crimes and breakouts.

[⌊On a phone: the game menu folds away and everything fits the screen.⌉⌊On a phone:
the game menu folds away and everything fits the screen.⌉[

On a phone: the game menu folds away and everything fits the screen.

[⌊The admin dashboard: players, money in circulation, actions per day and the top
players.⌉⌊The admin dashboard: players, money in circulation, actions per day and
the top players.⌉[

The admin dashboard: players, money in circulation, actions per day and the top 
players.

[⌊Switch every game feature (module) on or off.⌉⌊Switch every game feature (module)
on or off.⌉[

Switch every game feature (module) on or off.

## Installation

 1. Install and activate **Mafia PBBG Engine** from _Plugins  Add New_.
 2. On activation the plugin creates its tables, loads starting data and creates a 
    page **Mafia PBBG Engine** with the shortcode `[mafia_pbbg_engine]`.
 3. Enable _Settings  General  Anyone can register_ if players may create their own
    account.
 4. Manage the game under the **Mafia PBBG Engine** menu.

Requirements: WordPress 6.0 or newer, PHP 7.4 or newer, MySQL 5.7+ or MariaDB 10.3
+.

## FAQ

### Do players need a WordPress account?

Yes. Players log in with a normal WordPress account. Turn on _Anyone can register_
under _Settings  General_ so they can sign up themselves.

### Can I add my own game features?

Yes. Put a folder with a `module.php` in `wp-content/mafia-pbbg-modules/` and switch
it on under _Mafia PBBG Engine  Modules_. See the module documentation on GitHub.

### Does the plugin show a link to its maker?

Only if you want it to. On the dashboard of the plugin you can choose to show a 
small line “Mafia PBBG Engine by DigiFalk” at the bottom of game pages. It is off
until you choose yes, and you can change it under _Settings_.

### Does the plugin contact other servers?

No. This plugin does not send data to external services.

### What happens to player data when I delete the plugin?

Nothing, unless you turn on _Delete all game data when the plugin is deleted_ under
_Settings_.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“DigiFalk Mafia PBBG Engine” is open source software. The following people have 
contributed to this plugin.

Contributors

 *   [ digifalk ](https://profiles.wordpress.org/digifalk/)

[Translate “DigiFalk Mafia PBBG Engine” into your language.](https://translate.wordpress.org/projects/wp-plugins/digifalk-mafia-pbbg-engine)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/digifalk-mafia-pbbg-engine/),
check out the [SVN repository](https://plugins.svn.wordpress.org/digifalk-mafia-pbbg-engine/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/digifalk-mafia-pbbg-engine/)
by [RSS](https://plugins.trac.wordpress.org/log/digifalk-mafia-pbbg-engine/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 2.2.2

 * Fixed: with the built-in dark look, players who switch to light now get readable
   accent colours too.
 * Fixed: on phones, long names and amounts on the overview are no longer broken
   off halfway.

#### 2.2.1

 * Security: the HTML returned by the shortcodes is escaped as a last step.

#### 2.2.0

 * Security: posted data is sanitized and all output is escaped where it is printed.
 * The text domain is now digifalk-mafia-pbbg-engine.
 * The old shortcode names [mafia_game] and [maffia_game] are removed; use [mafia_pbbg_engine].

#### 2.1.2

 * The plugin is now called DigiFalk Mafia PBBG Engine.

#### 2.1.0

 * With a theme that switches light and dark for the whole site, the game follows
   that switch.
 * New for developers: the filter dfmg_profile_own_actions adds buttons to the player’s
   own profile.

#### 2.0.2

 * Links point to the new GitHub repository.

#### 2.0.1

 * A module that can’t be loaded no longer breaks the site: it is skipped and the
   admin sees why.

#### 2.0.0

 * Mafia PBBG Engine carries its new name everywhere: folders, shortcodes ([mafia_pbbg_engine]),
   the folder for your own modules (wp-content/mafia-pbbg-modules) and more.

#### 1.14.0

 * New name: Mafia PBBG Engine (was Underworld Empire).

#### 1.13.3

 * The link to Mafia PBBG Engine Extended opens the English product page.

#### 1.13.2

 * New: a light/dark switch in the game. Players choose between the colours of your
   theme and the built-in dark look.

#### 1.13.1

 * Fixed: rank names, labels and icons are readable with themes that have a very
   light accent colour.

#### 1.13.0

 * Mafia PBBG Engine is now available under the GPL (version 2 or later).
 * New: on the dashboard you choose whether game pages show “Mafia PBBG Engine by
   DigiFalk”. It is off until you choose yes.

#### 1.12.0

 * Families, murders, detectives, bounties, the bullet factory, black market, blackjack,
   police chases, properties, the forum and the theme moved to the free add-on Mafia
   PBBG Engine Extended.

The full changelog is on [GitHub](https://github.com/DigiFalk/Mafia_PBBG_engine/blob/main/CHANGELOG.md).

## Meta

 *  Version **2.2.2**
 *  Last updated **17 hours ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.0 or higher **
 *  Tested up to **7.1.4**
 *  PHP version ** 7.4 or higher **
 * Tags
 * [game](https://wordpress.org/plugins/tags/game/)[mafia](https://wordpress.org/plugins/tags/mafia/)
   [multiplayer](https://wordpress.org/plugins/tags/multiplayer/)[rpg](https://wordpress.org/plugins/tags/rpg/)
 *  [Advanced View](https://wordpress.org/plugins/digifalk-mafia-pbbg-engine/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/digifalk-mafia-pbbg-engine/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/digifalk-mafia-pbbg-engine/reviews/)

## Contributors

 *   [ digifalk ](https://profiles.wordpress.org/digifalk/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/digifalk-mafia-pbbg-engine/)