By continuing to use this site, you agree to the Terms of Service of this website, including usage of cookies.

OK, Don't show this again

A modern open source factions plugin for PocketMine-MP
version 1.2.0
Direct Download How to install?
Switch version
1918 Downloads / 7432 Total
22 Reviews
Plugin Description §

PiggyFactions Banner

PiggyFactions Poggit-CI Discord

PiggyFactions is an open-sourced factions plugin for PocketMine-MP.



Feature PiggyFactions SimpleFactions FactionsPro
PiggyCE Integration
Hierarchy/HRKChat Integration
Economy Integration
ScoreHud Integration (v5 & v6)
Saves Players by UUID
Per Faction Permissions
SQLite3 Support
MySQL Support
Asynchronous Database I/O
SQL Injection Protection
Command Autocomplete
Form UI
Multi-Language Support
Developer Friendly


Plugin Description Installation
Download PiggyCustomEnchants AllyChecks Integration Automatically enabled.
Download HRKChat Chat Integration Requires Hierarchy. Additional setup required.
Download PureChat PR-17 Chat Integration Requires PurePerms. Additional setup required.
Download ScoreHud v5 Scoreboard Integration (slower) Requires Addon Script. See installation steps and tags.
Download ScoreHud v6 Scoreboard Integration (faster) Automatically enabled. See tags.
Download EconomyAPI Economy Integration Additional setup required.
Download MultiEconomy Economy Integration Additional setup required.

Issue Reporting

  • If you experience an unexpected non-crash behavior with PiggyFactions, click here.
  • If you experience a crash in PiggyFactions, click here.
  • If you would like to suggest a feature to be added to PiggyFactions, click here.
  • If you require support, please join our discord server here.
  • Do not file any issues related to outdated API version; we will resolve such issues as soon as possible.
  • We do not support any spoons of PocketMine-MP. Anything to do with spoons (Issues or PRs) will be ignored.
    • This includes plugins that modify PocketMine-MP's behavior directly, such as TeaSpoon.

Additional Information

  • We do not support any spoons. Anything to do with spoons (Issues or PRs) will be ignored.
  • We are using the following virions: Commando, libasynql, and libFormAPI.
    • Unless you know what you are doing, use the pre-compiled phar from Poggit-CI and not GitHub.
    • If you wish to run it via source, check out DEVirion.


  • Chinese (Simplified) - @Taylarity, @Aericio, TGPNG, prprprprprprpr
  • Chinese (Traditional) - @Taylarity, @Aericio, TGPNG, prprprprprprpr
  • French - Thouv (@adeynes), @ItsMax123, steelfri_031, @superbobby2000
  • German - @SalmonDE
  • Indonesian - @MrAshshiddiq, @SillierShark195
  • Serbian - yuriiscute53925
  • Spanish - @UnEnanoMas


   Copyright 2020 DaPigGuy

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   See the License for the specific language governing permissions and
   limitations under the License.

"Castle" vector graphic used in the banner and icon is licensed under the Pixabay License.

What's new §
  • Add support for ScoreHud v6 (#94)
  • Updated Serbian translations
  • Bumped libasynql to v3.3.1
  • Bumped version to v1.2.0
  • Fixed Internal Server Error caused by submitting empty forms (#91)
  • Added /f debug command (#69)
  • Bumped version to v1.1.3
  • Fixed Internal Server Error caused by banning factionless players
  • Register $instance in onLoad() instead of onEnable() (#76)
  • Renamed FlagFactory::registerPermission to FlagFactory::registerFlag
  • Fixed FactionPermission keys not being removed before serializing
  • Fixed right click interactions being cancelled (#11)
  • Bumped version to v1.1.2
  • BC-BREAK: Stop using Chunk objects for claim lookups and use Position instead.
  • BC-BREAK: Renamed ClaimsManager::getClaim() to ClaimsManager::getClaimByPosition()
  • BC-BREAK: Separate PlayerManager::getPlayer() to getPlayer() and getPlayerByUUID()
  • Reduced usage of class::getInstance() calls
  • Added command: /f unsethome
  • Added feedback to /f claim auto and /f unclaim auto
    • Note: To begin autoclaiming, you will need to first create a claim with /f claim, then use /f claim auto after that.
    • This is not intended behavior and is planned to be fixed in later versions.
  • Fixed error when promoting a player to leader in admin mode
  • Updated Translators list in /f version
  • New Languages:
    • id_ID: Indonesian
    • fr_FR: French
  • Updated existing language file strings
  • Bumped version to v1.1.1
  • Implemented new commands:
    • /f addpower (#40)
    • /f powerboost
    • /f player
      • {PLAYER} - Name
      • {FACTION} - Faction
      • {RANKSYMBOL} - Symbol of faction rank
      • {POWER} - Amount of power
      • {TOTALPOWER} - Max amount of power
      • {TIMETOMAXPOWER} - Time to max on power in hours
      • {POWERPERHOUR} - Amount of power obtained within an hour
      • {POWERPERDEATH} - Amount of power obtained per death
      • {CREATIONDATE} - Date of first login (format: January 1, 1970 @ 12:00 AM PST)
      • {AGE} - Detailed duration string since first login
      • {SIMPLEAGE} - Simplified {AGE}
    • /f unclaim <auto|circle|square>
    • /f version
  • New Languages: Serbian, Simplified Chinese
  • Updated Languages: German, Traditional Chinese, Spanish
  • Added config option to enforce alphanumeric faction names (#65)
  • Added the following tags for /f info
    • {CLAIMS} - # of claims
    • {CREATIONDATE} - Date of creation of faction (format: January 1, 1970 @ 12:00 AM PST)
    • {AGE} - Detailed duration string since faction creation
    • {SIMPLEAGE} - Simplified {AGE}
    • {RELATIONS} - Color coded list of factions in relationship with
  • Overclaiming now requires having outter claims to first be overclaimed
  • FactionEvent & FactionMemberEvent classes are now marked as abstract
  • Changed FactionRelationEvent constructor signature to accept two factions rather than an array of two factions
  • Fixed members with ban & kick permissions to ban or kick faction leaders
  • Fixed crash when using non-implemented language as the default language
  • Fixed exploit which allowed players to fly indefinately
  • Bumped minimum PMMP version to 3.13.0
  • Bumped version to 1.1.0
  • Updated ParoxityTeam/Commando to v2.1.0 (#59)
  • Fixed /f fly not disabling on teleport
  • Fixed crash when leaving while /f fly is toggling off
  • Fixed several potential crashes caused by faction member not yet existing
  • Bumped version to 1.0.8
  • New Language: Chinese (Traditional) by @Taylarity
  • New Language: Spanish by @UnEnanoMas
  • Added obtaining power through kills
  • Improved the update notifier
  • Fixed several missing permission nodes
  • Fixed /f permission not accepting neutral or truced
  • Fixed missing space in the logs.actions.kick message
  • Bumped version to 1.0.7
  • Fixed forms causing Internal Server Errors for float/int arguments
  • Bumped version to 1.0.6
  • Implemented faction bank
    • /f money
    • /f deposit
    • /f withdraw
    • /f top money
  • Localization improvements
    • Added /f language for players to change their language
    • Allow default server language to be changed within config.yml
    • Moved language files to its own folder
  • New Language: German (#51) by @SalmonDE
  • Database changes
    • Added patch system
    • Main thread is now stopped until tables are created
    • Main thread is now stopped on disable until all PiggyFactions queries are finished
  • DEVELOPERS: FactionsPlayer instance now available for most events
  • FactionCommand now implements PluginIdentifiableCommand (#49)
  • Add EconomyAPI, MultiEconomy, HRKChat as a soft dependency
  • Fixed autoclaiming not working when moving between unclaimed chunks
  • Bump version to 1.0.5
  • Added faction logs (#34)
  • Added virion checks
  • Added /f fly
  • Change displayed power to be rounded to the hundredth (#44)
  • Bump version to 1.0.4
  • Switched to ParoxityTeam/Commando fork
  • Added better auto completion for /f permission & /f flag
  • Added /f claim subcommands auto, circle, square
  • Fixed usernames not correctly updating when changed
  • Fixed /f setpower not displaying final player power
  • Fixed missing command permissions for disband, enemy, flag, top, & truce
  • Bump version to 1.0.3
  • Fixed container permissions having no effect
  • Fixed int column type remaining from development
  • Bumped version to 1.0.2
  • Added RANK_SYMBOL & RANK_NAME tags to faction/ally chats (#2)
  • Allow blocking of commands in claims by relation (#6)
  • Added faction player count limit feature (#7)
  • Added ability to customize /f form title
  • Added Poggit update checks
  • Cleaned up /f map
  • Fixed potential crash with slow chunk generation
  • Fixed potential crash caused by auto power gain

using v1.2.0
01 Nov 21
The best documentation and many features love it
using v1.2.0
31 Aug 21
"" This don't works
using v1.2.0
06 Aug 21
addon scorehub no working .Please help
using v1.2.0
14 Jun 21
Update it
using v1.1.2
30 Oct 20
using v1.1.2
11 Oct 20
using v1.1.2
02 Oct 20
FactionsPro :)
using v1.1.2
06 Sep 20
using v1.1.1
26 Jul 20
using v1.1.1
21 Jul 20
Very nice plugin but the commands, /f money /f deposit /f withdraw /f top money Do NOT work, any idea why? their's no error in console
24 Jul 20
Enable economy features in the configuration. It's disabled by default.
using v1.1.1
15 Jul 20
I gave it a 4 because I dont know if it has PureChat Support I Tried The Link That was sent to another client but it still didn't work please reply :)
15 Jul 20
Create an issue on the GitHub repository and be more specific.
using v1.1.0
29 Jun 20
"Undefined offset: 4" (EXCEPTION) in "plugins/PiggyFactions.phar/src/DaPigGuy/PiggyFactions/commands/subcommands/roles/PromoteSubCommand" at line 33
13 Jul 20
This issue was resolved in v1.1.1.
using v1.0.7
31 May 20
U can`t open chest while raiding
using v1.0.6
01 Jun 20
/ f fly bug, when doing / warp, / hub, / home or any command to go to a place you continue with the active fly
01 Jun 20
This issue has been resolved in v1.0.8 currently pending approval on Poggit
using v1.0.4
19 May 20
The best factions plugin for PMMP that i've ever seen!
using v1.0.4
18 May 20
Hi I am making an faction server the I realised u cant destroy obsiden with tnt so I might have a whole code that u can use to make that happen.
using v1.0.3
14 May 20
1. be Able to Increase Claim size so like 128x128, 2. How to get Strength, 3. Something like Purechat, 4. Something is broken with the Power so its like .6666666666 and stuff its quite annoying
15 May 20
All of the above were addressed in your GitHub issue.
using v1.0.3
13 May 20
it was so great i have nothing to say keep it up
using v1.0.2
10 May 20
why players in warzone and wilderness can't use enderpearl and god apple?
using v1.0.1
07 May 20
How to get it to work with purechat
13 Jul 20
using v1.0.1
07 May 20
using v1.0.0
07 May 20
Yessiiirrrr. Btw do you take suggestions piggy?
07 May 20
You can leave suggestions on the GitHub issue tracker or on Discord

Reply to review by :

Supported API versions
EconomyAPI 5.7.2
View Plugin
MultiEconomy 2.0.0
View Plugin
PiggyCustomEnchants 2.1.7
View Plugin
ScoreHud 6.1.0
View Plugin
Requirements & Enhancements
MySQL server Enhancement
Producers §
  • Collaborators:
    • @Aericio
    • @Heisenburger69
    • @Thunder33345
    • @TwistedAsylumMC
  • Translators:
    • @ItsMax123
    • @MrAshshiddiq
    • @SalmonDE
    • @SillierShark195
    • @UnEnanoMas
    • @adeynes
    • @superbobby2000
License §
Other files
Asynchronous tasks

You can leave one review per plugin release, and delete or update your review at any time

/ 5