{"id":382251,"date":"2026-11-06T12:20:02","date_gmt":"2026-11-06T12:20:02","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/underworld-empire\/"},"modified":"2026-11-06T13:32:26","modified_gmt":"2026-11-06T13:32:26","slug":"digifalk-mafia-pbbg-engine","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/digifalk-mafia-pbbg-engine\/","author":23581357,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"2.2.2","stable_tag":"2.2.2","tested":"7.1.4","requires":"6.0","requires_php":"7.4","requires_plugins":null,"header_name":"DigiFalk Mafia PBBG Engine","header_author":"DigiFalk","header_description":"A complete, modular mafia browser game (PBBG) for WordPress. Crimes, car theft, jail, travel, bank and more \u2014 all as separate, extendable modules. Families, murders and the Mafia PBBG Engine theme come with the free Mafia PBBG Engine Extended.","assets_banners_color":"1f1a15","last_updated":"2026-11-06 13:32:26","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/DigiFalk\/Mafia_PBBG_engine","header_author_uri":"https:\/\/digifalk.com\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":64,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"2.2.1":{"tag":"2.2.1","author":"digifalk","date":"2026-11-06 12:19:49","revision":3787888},"2.2.2":{"tag":"2.2.2","author":"digifalk","date":"2026-11-06 13:32:26","revision":3788002}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3787927,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3787927,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3787927,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3787927,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["2.2.1","2.2.2"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3788002,"resolution":"1","location":"assets","locale":"","width":2360,"height":2006},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3788002,"resolution":"2","location":"assets","locale":"","width":2360,"height":1840},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3788002,"resolution":"3","location":"assets","locale":"","width":2360,"height":1840},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3788002,"resolution":"4","location":"assets","locale":"","width":2360,"height":1840},"screenshot-5.png":{"filename":"screenshot-5.png","revision":3788002,"resolution":"5","location":"assets","locale":"","width":2360,"height":1888},"screenshot-6.png":{"filename":"screenshot-6.png","revision":3788002,"resolution":"6","location":"assets","locale":"","width":780,"height":1688},"screenshot-7.png":{"filename":"screenshot-7.png","revision":3788002,"resolution":"7","location":"assets","locale":"","width":2560,"height":2000},"screenshot-8.png":{"filename":"screenshot-8.png","revision":3788002,"resolution":"8","location":"assets","locale":"","width":2560,"height":2000}},"screenshots":{"1":"The overview: rank progress, health, money, timers and the latest notifications.","2":"Crimes: the success chance grows the more often a player commits a crime.","3":"The garage: sell, crush, repair or ship stolen cars.","4":"The game in the colours of your theme (here Twenty Twenty-Five, light mode).","5":"Leaderboards for rank, wealth, crimes and breakouts.","6":"On a phone: the game menu folds away and everything fits the screen.","7":"The admin dashboard: players, money in circulation, actions per day and the top players.","8":"Switch every game feature (module) on or off."}},"plugin_section":[],"plugin_tags":[291150,533,161515,44334,54288],"plugin_category":[37],"plugin_contributors":[291151],"plugin_business_model":[],"class_list":["post-382251","plugin","type-plugin","status-publish","hentry","plugin_tags-browser-game","plugin_tags-game","plugin_tags-mafia","plugin_tags-multiplayer","plugin_tags-rpg","plugin_category-arts-and-entertainment","plugin_contributors-digifalk","plugin_committers-digifalk"],"banners":{"banner":"https:\/\/ps.w.org\/digifalk-mafia-pbbg-engine\/assets\/banner-772x250.png?rev=3787927","banner_2x":"https:\/\/ps.w.org\/digifalk-mafia-pbbg-engine\/assets\/banner-1544x500.png?rev=3787927","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/digifalk-mafia-pbbg-engine\/assets\/icon-128x128.png?rev=3787927","icon_2x":"https:\/\/ps.w.org\/digifalk-mafia-pbbg-engine\/assets\/icon-256x256.png?rev=3787927","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/digifalk-mafia-pbbg-engine\/assets\/screenshot-1.png?rev=3788002","caption":"The overview: rank progress, health, money, timers and the latest notifications."},{"src":"https:\/\/ps.w.org\/digifalk-mafia-pbbg-engine\/assets\/screenshot-2.png?rev=3788002","caption":"Crimes: the success chance grows the more often a player commits a crime."},{"src":"https:\/\/ps.w.org\/digifalk-mafia-pbbg-engine\/assets\/screenshot-3.png?rev=3788002","caption":"The garage: sell, crush, repair or ship stolen cars."},{"src":"https:\/\/ps.w.org\/digifalk-mafia-pbbg-engine\/assets\/screenshot-4.png?rev=3788002","caption":"The game in the colours of your theme (here Twenty Twenty-Five, light mode)."},{"src":"https:\/\/ps.w.org\/digifalk-mafia-pbbg-engine\/assets\/screenshot-5.png?rev=3788002","caption":"Leaderboards for rank, wealth, crimes and breakouts."},{"src":"https:\/\/ps.w.org\/digifalk-mafia-pbbg-engine\/assets\/screenshot-6.png?rev=3788002","caption":"On a phone: the game menu folds away and everything fits the screen."},{"src":"https:\/\/ps.w.org\/digifalk-mafia-pbbg-engine\/assets\/screenshot-7.png?rev=3788002","caption":"The admin dashboard: players, money in circulation, actions per day and the top players."},{"src":"https:\/\/ps.w.org\/digifalk-mafia-pbbg-engine\/assets\/screenshot-8.png?rev=3788002","caption":"Switch every game feature (module) on or off."}],"raw_content":"<!--section=description-->\n<p>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 <em>Street Rat<\/em> to <em>Godfather<\/em>.<\/p>\n\n<p>The game runs on a shortcode page that the plugin creates for you, works with any theme and looks good on phones.<\/p>\n\n<h4>What players can do<\/h4>\n\n<ul>\n<li><strong>Crimes<\/strong>: crimes with a success chance that grows the more a player does them.<\/li>\n<li><strong>Car theft and garage<\/strong>: steal cars at spots with different odds, then sell, repair, ship or crush them.<\/li>\n<li><strong>Jail<\/strong>: jail time, breakouts, bail and solitary confinement.<\/li>\n<li><strong>Hospital<\/strong>: heal for money and time.<\/li>\n<li><strong>Travel<\/strong>: fly between cities.<\/li>\n<li><strong>Bank<\/strong>: deposit (with a laundering fee), withdraw and transfer money.<\/li>\n<li><strong>Inventory<\/strong>: equip, use and sell items.<\/li>\n<li><strong>Messages and notifications<\/strong>: private messages and a feed of everything that happens to your character.<\/li>\n<li><strong>Profiles, players and leaderboards<\/strong>: public profiles, who's online, search and top 25 lists.<\/li>\n<li><strong>Statistics and news<\/strong>: numbers about the game world and game news.<\/li>\n<\/ul>\n\n<h4>What you can do as the game owner<\/h4>\n\n<ul>\n<li>Switch every game feature (module) on or off.<\/li>\n<li>Edit all game data: ranks, wealth titles, cities, crimes, cars, items and more.<\/li>\n<li>Start a new round: player data is wiped, game data is kept.<\/li>\n<li>Arrange the game screen with the <strong>Game layout<\/strong> in the Customizer: drag money, timers, the game menu and more into the header, sidebar or footer.<\/li>\n<li>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.<\/li>\n<li>Build your own modules: a module is a folder with a <code>module.php<\/code>. Your own modules survive plugin updates.<\/li>\n<\/ul>\n\n<h4>Mafia PBBG Engine Extended (free)<\/h4>\n\n<p>The game in this plugin is complete on its own. The free add-on <strong>Mafia PBBG Engine Extended<\/strong>, available on <a href=\"https:\/\/digifalk.com\/en\/product\/mafia-pbbg-engine-extended\/\">digifalk.com<\/a>, 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.<\/p>\n\n<h4>Source code<\/h4>\n\n<p>The source code, documentation for module developers and the development history are on <a href=\"https:\/\/github.com\/DigiFalk\/Mafia_PBBG_engine\">GitHub<\/a>.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Install and activate <strong>Mafia PBBG Engine<\/strong> from <em>Plugins \u2192 Add New<\/em>.<\/li>\n<li>On activation the plugin creates its tables, loads starting data and creates a page <strong>Mafia PBBG Engine<\/strong> with the shortcode <code>[mafia_pbbg_engine]<\/code>.<\/li>\n<li>Enable <em>Settings \u2192 General \u2192 Anyone can register<\/em> if players may create their own account.<\/li>\n<li>Manage the game under the <strong>Mafia PBBG Engine<\/strong> menu.<\/li>\n<\/ol>\n\n<p>Requirements: WordPress 6.0 or newer, PHP 7.4 or newer, MySQL 5.7+ or MariaDB 10.3+.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id=\"do%20players%20need%20a%20wordpress%20account%3F\"><h3>Do players need a WordPress account?<\/h3><\/dt>\n<dd><p>Yes. Players log in with a normal WordPress account. Turn on <em>Anyone can register<\/em> under <em>Settings \u2192 General<\/em> so they can sign up themselves.<\/p><\/dd>\n<dt id=\"can%20i%20add%20my%20own%20game%20features%3F\"><h3>Can I add my own game features?<\/h3><\/dt>\n<dd><p>Yes. Put a folder with a <code>module.php<\/code> in <code>wp-content\/mafia-pbbg-modules\/<\/code> and switch it on under <em>Mafia PBBG Engine \u2192 Modules<\/em>. See the module documentation on GitHub.<\/p><\/dd>\n<dt id=\"does%20the%20plugin%20show%20a%20link%20to%20its%20maker%3F\"><h3>Does the plugin show a link to its maker?<\/h3><\/dt>\n<dd><p>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 <em>Settings<\/em>.<\/p><\/dd>\n<dt id=\"does%20the%20plugin%20contact%20other%20servers%3F\"><h3>Does the plugin contact other servers?<\/h3><\/dt>\n<dd><p>No. This plugin does not send data to external services.<\/p><\/dd>\n<dt id=\"what%20happens%20to%20player%20data%20when%20i%20delete%20the%20plugin%3F\"><h3>What happens to player data when I delete the plugin?<\/h3><\/dt>\n<dd><p>Nothing, unless you turn on <em>Delete all game data when the plugin is deleted<\/em> under <em>Settings<\/em>.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.2.2<\/h4>\n\n<ul>\n<li>Fixed: with the built-in dark look, players who switch to light now get readable accent colours too.<\/li>\n<li>Fixed: on phones, long names and amounts on the overview are no longer broken off halfway.<\/li>\n<\/ul>\n\n<h4>2.2.1<\/h4>\n\n<ul>\n<li>Security: the HTML returned by the shortcodes is escaped as a last step.<\/li>\n<\/ul>\n\n<h4>2.2.0<\/h4>\n\n<ul>\n<li>Security: posted data is sanitized and all output is escaped where it is printed.<\/li>\n<li>The text domain is now digifalk-mafia-pbbg-engine.<\/li>\n<li>The old shortcode names [mafia_game] and [maffia_game] are removed; use [mafia_pbbg_engine].<\/li>\n<\/ul>\n\n<h4>2.1.2<\/h4>\n\n<ul>\n<li>The plugin is now called DigiFalk Mafia PBBG Engine.<\/li>\n<\/ul>\n\n<h4>2.1.0<\/h4>\n\n<ul>\n<li>With a theme that switches light and dark for the whole site, the game follows that switch.<\/li>\n<li>New for developers: the filter dfmg_profile_own_actions adds buttons to the player's own profile.<\/li>\n<\/ul>\n\n<h4>2.0.2<\/h4>\n\n<ul>\n<li>Links point to the new GitHub repository.<\/li>\n<\/ul>\n\n<h4>2.0.1<\/h4>\n\n<ul>\n<li>A module that can't be loaded no longer breaks the site: it is skipped and the admin sees why.<\/li>\n<\/ul>\n\n<h4>2.0.0<\/h4>\n\n<ul>\n<li>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.<\/li>\n<\/ul>\n\n<h4>1.14.0<\/h4>\n\n<ul>\n<li>New name: Mafia PBBG Engine (was Underworld Empire).<\/li>\n<\/ul>\n\n<h4>1.13.3<\/h4>\n\n<ul>\n<li>The link to Mafia PBBG Engine Extended opens the English product page.<\/li>\n<\/ul>\n\n<h4>1.13.2<\/h4>\n\n<ul>\n<li>New: a light\/dark switch in the game. Players choose between the colours of your theme and the built-in dark look.<\/li>\n<\/ul>\n\n<h4>1.13.1<\/h4>\n\n<ul>\n<li>Fixed: rank names, labels and icons are readable with themes that have a very light accent colour.<\/li>\n<\/ul>\n\n<h4>1.13.0<\/h4>\n\n<ul>\n<li>Mafia PBBG Engine is now available under the GPL (version 2 or later).<\/li>\n<li>New: on the dashboard you choose whether game pages show \"Mafia PBBG Engine by DigiFalk\". It is off until you choose yes.<\/li>\n<\/ul>\n\n<h4>1.12.0<\/h4>\n\n<ul>\n<li>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.<\/li>\n<\/ul>\n\n<p>The full changelog is on <a href=\"https:\/\/github.com\/DigiFalk\/Mafia_PBBG_engine\/blob\/main\/CHANGELOG.md\">GitHub<\/a>.<\/p>","raw_excerpt":"A complete mafia browser game (PBBG) for WordPress. Players commit crimes, steal cars, travel, bank and climb from Street Rat to Godfather.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/382251","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=382251"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/digifalk"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=382251"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=382251"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=382251"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=382251"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=382251"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=382251"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}