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

The ultimate starvation game for PocketMine!
version Build-16
Approved
Direct Download How to install?
Switch version
215 Downloads / 11470 Total
21 Reviews
Plugin Description §

HungerGames

=============

BIG NOTE

COMPILING IT WITH pmt.mcpe.me WILL MAKE THE PLUGIN CORRUPTED. DOWNLOAD FROM RELEASES INSTEAD: https://github.com/InfinityGamers/HungerGames-UPDATED/releases/tag/Build%2316

A HungerGames plugin for PocketMine-MP developed by xBeastMode

#New Features?
Yes, of course. You can choose between SkyWars or HungerGames!
How? You can make a game with the following command: /hg add
Then, run the command "/reload", and check the config inside the folder "arenas", inside the plugin folder. Configure it to your needs, there you will find the "is_sky_wars" option, set it to true to make it skywars ;)

When you join a game the plugin will automatically backup the map.

  • Other features: Scripts have been added. I did not make any scripts for it yet, maybe in the future.

#Future updates?
I am planning to adding many more features to this plugin, if you wish me to add one, please say it in issues, thank you.

  • For Devs:

This plugin comes with a script loader api. You can use this to access game functions, like when player joins, quits, wins, etc. You do not need to enable it, as it loads itself.

If you wish to create one here's an example code:

Click here to view example:
//Example script:


<?php
class ExampleScript extends \hungergames\api\scripts\HGAPIScript{
    public function __construct(){
        parent::__construct("Script names here", "Versions here 1.0", "Authors here xBeastMode");
    }
    public function onLoad(){
        $this->sendConsoleMessage("Test script loaded!");
    }
}


//All function from this script api are:

/**
     * Creates script config
     *
     * @param $name
     * @param array $values
     * @return Config
     */
    public void function createConfig($name, array $values)
    /**
     * Gets script config
     *
     * @return Config
     */
    public Config function getConfig()
    /**
     * Gets the name of the script
     *
     * @return string
     */
    public string function getName()
    /**
     * Gets the name of the script
     *
     * @return string
     */
    public string function getVersion()
    /**
     * Gets the author of the script
     *
     * @return string
     */
    public string function getAuthor()
    /**
     * disables script
     */
    public void function setDisabled()
    /**
     * enables script
     */
    public void function setEnabled();
    /**
     * returns whether script is enabled or not
     *
     * @return bool
     */
    public bool function isEnabled()
    /**
     * Sends console message
     *
     * @param $message
     */
    public void function sendConsoleMessage($message)
    /**
     * Called when script is loaded
     */
    public function onLoad(){
    //your code here
    }
    /**
     * called when player joins game
     *
     * @param Player $p
     * @param HungerGames $game
     */
    public function onPlayerJoinGame(Player $p, HungerGames $game){
    //your code here
    }
    /**
     * called when player quits game
     *
     * @param Player $p
     * @param HungerGames $game
     */
    public function onPlayerQuitGame(Player $p, HungerGames $game){
    //your code here
    }
    /**
     * Called when player fails to join full game
     *
     * @param Player $p
     * @param HungerGames $game
     */
    public function gameIsFull(Player $p, HungerGames $game){
    //your code here
    }

    /**
     * Called when player is waiting for players
     *
     * @param array $players
     * @param HungerGames $game
     */
    public function whileWaitingForPlayers(array $players, HungerGames $game){
    //your code here
    }
    /**
     * Called when player is waiting for players
     *
     * @param array $players
     * @param HungerGames $game
     */
    public function whileWaitingToStart(array $players, HungerGames $game){
    //your code here
    }
    /**
     * Called when game starts
     *
     * @param array $players
     * @param HungerGames $game
     */
    public function onGameStart(array $players, HungerGames $game){
    //your code here
    }
    /**
     * Called when death match starts
     *
     * @param array $players
     * @param HungerGames $game
     */
    public function onDeathMatchStart(array $players, HungerGames $game){
    //your code here
    }
    /**
     * Called when players wins a game
     *
     * @param Player $p
     * @param HungerGames $game
     */
    public function onPlayerWinGame(Player $p, HungerGames $game){
    //your code here
    }

===
BIG NOTE: after every change you will have to run the command /reload

Commands:

  • /hg add : adds a new game

    • OP perm: hg.command.add
  • /hg del : deletes a game

    • OP perm: hg.command.del
  • /hg min : changes the number of minimum players required to start a game

    • OP perm: hg.command.min
  • /hg max : changes number of maximum players that can enter a game

    • OP perm: hg.command.max
  • /hg level : changes level of game where players are gonna go

    • OP perm: hg.command.level
  • /hg ws : sets amount of seconds to wait before game starts

    • OP perm: hg.command.ws
  • /hg gs : sets amount of second to wait before death match starts

    • OP perm: hg.command.gs
  • /hg addslot : adds new slot to game (positions sets where you are standing)

    • OP perm: hg.command.slot.add
  • /hg delslot : deletes slot from game by name

    • OP perm: hg.command.slot.del
  • /hg leave : leaves game that you are playing

    • OP perm: none

RazzyGP
using v19.3
23 Nov 21
please update
waumiller1818
using v19.3
20 Dec 20
Update ur plugin or remove it
rimmada16
using v19.3
28 Jan 20
Great plugin but causes lots of server crashing and doesn’t allow for custom items in the chests
jennocool
using v19.3
04 Jan 20
Can you add border moving to middke works perfect
IceCruelStuff
using v19.3
29 Aug 19
crashes server it gives me error "The default world cannot be unloaded while running, please switch worlds."
explodersname
using v19.3
03 Jul 19
Crashes server sometimes, please fix and add economy api support so winners gain money
Wertzui123
using v19.3
23 Apr 19
2 Bugs: 1. After DeathMatch Server crashes 2. Inv insn't resetet after the game Please fix it!!!
mikeygio10
using v19.3
02 Mar 19
Crashes server
twk1024
using v19.3
08 Feb 19
It's good. BUT.... IT HAVE ERROR! Only winner's invertory reset, and the other player's inventory does not RESET!!!! Please fix!!
Alemiz112
using v19.3
09 Dec 18
Hi, I have problem. Everything work, but game sing not update. Text will not change. It still show: "hg" pvp1" - arena name. Please help me
ElementalMinecraftGaming
using v19.3
04 Dec 18
Absolutely brilliant. My players will love this.
Wolfkid200444
using v19.3
22 Aug 18
I Love it :D
ModdingTwins
using v19.3
10 Aug 18
Well done
monster200014
Outdated
using v19.2
04 Aug 18
Update to API 3.1.0 please...
Gtafgu
Outdated
using v19.2
06 Jun 18
The man after the round Still has his armor and Shield where hg and the map is bug no player number
KingRainbow44
Outdated
using v19.1
12 Jun 18
Can someone help me with this plugin? It keeps giving me this error : "Call to undefined method pocketmine\Server::getScheduler()" (EXCEPTION) in "HungerGames.phar/src/hungergames/Loader" at line 46
Mundschutziii
Outdated
using v17.1
20 Apr 18
Please update to ALPHA12 please:D
KeremDgGG
Outdated
using v17.1
10 Mar 18
Update alpha11 plsss
SivannOnlinee
Outdated
using v17.1
15 Feb 18
Update to ALPHA11 please
llronaldoll
Outdated
using v16.3
31 Dec 17
Good Pugin but outdated
NotGolden
Outdated
using v16.3
01 Nov 17
Needs to be updated. Other than that, Great work!

Reply to review by :

/ 5
Supported API versions
2.0.0
->
3.0.0-ALPHA3
Producers §
  • Contributors:
    • @Haxley
License §
Categories:
Minigame
Fun
World Editing and Management
Miscellaneous
Permissions
Other files
Permissions
Commands
Edit world

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

/ 5
Loading...