Coder Social home page Coder Social logo

amongus's Introduction

AmongUs

A PocketMine-MP mini-game Plugin called AmongUs This is simlar to the AmongUs game but in MCBE.

Join our AmongUs test server (1.16.200)

🔹️IP: test.alvin0319.ml
🔸️Port: 25578

This is yet not completed!

This project is still in progress, if you want to contribute my project, make a pull request!

You can get any updates or progress on my Discord Server.

If you have any problems please open a issue or join our discord server for support.

Changelogs

  • 0.0.1: Initial commit.
  • 0.0.2: Implemented basic core API.
  • 0.0.3: Implemented objectives.
  • 0.0.4: Implemented DeadPlayerEntity.
  • 0.0.5: Implemented event handlers.
  • 0.0.6: Implemented FilledMap.
  • 0.0.7: Implemented DisplayTextTask.
  • 0.0.8: Added basic event API.
  • 0.0.9: Now we can play this, but not completed.
  • 0.0.10: Fixed my bad english (thanks to @HydroGames-dev)
  • 0.0.11: Added Task Complete message & sound.
  • 0.0.12: Added bossbar API.
  • 0.1.0: Ditched Map-related methods.
  • 0.1.1: Implemented Scoreboard API, Added vent entity (Special thanks to @iMasterProX)

Download & Installation

  • Check the Poggit-dev builds or Source code from github.
  • Put the plugin in /plugins Folder
  • and put the virions in /virions folder after adding devirion.
  • and restart server and edit config.yml
  • If you want the AmongUs Skeld Map Here,
    it's not Fixed, so manually fix it.

Dependencies

Plugins

DEVirion will allow virions to work on your server. (these are not virions, put these in /plugins folder)

Virions

These virions are needed in order for the plugin to function properly.

Extensions
  • GD extension MUST installed in your php binary.

Default Configuration

max_games: 3

world_name: amongus

amongus's People

Contributors

alvin0319 avatar hydrogames-dev avatar poggit-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

amongus's Issues

Setting spawn positions crashes the server

Issue Description

Server crashes when you set the spawn position
Step to Reproduce

  1. Create an arena with /aum creategame
  2. Tap a block to set the spawn position

Expected behavior

Expected it to set spawn positions
Actual behavior

It crashed the entire server
Screenshots

None

PocketMine-MP Info

  • OS:
  • PocketMine-MP version: 3.16.0
  • Plugin version: Dev 53

Additional context or Notes

[21:18:42] [Server thread/CRITICAL]: ErrorException: "Undefined offset: 1" (EXCEPTION) in "plugins/AmongUs_dev-53.phar/src/alvin0319/AmongUs/game/Game" at line 193

Line 193 of Game.php:

[$x, $y, $z] = explode(":", $data);

Join Command

add a Join Command like /amongus join because I want to use Specters to test the game, add /amongus join command so we can use Specters for the game

[Suggestion] Waiting Lobby + ChangeLevel

Hello I have a suggestion about making a waiting lobby. So when players join a match they join into the waiting lobby and wait for the game to start.

Also whenever a players wants to leave a game and do /hub it sends a message that you left the match and take away the Tip Message.

Error

[11:10:42] [Asynchronous Worker #1 thread/CRITICAL]: #0 plugins/AmongUs-master/src/alvin0319/AmongUs/task/WorldDeleteAsyncTask(69): RecursiveDirectoryIterator->__construct(string[33] /home/container/worlds/AmongUs_1/, integer 4096)
[11:10:42] [Asynchronous Worker #1 thread/CRITICAL]: #1 plugins/AmongUs-master/src/alvin0319/AmongUs/task/WorldDeleteAsyncTask(60): alvin0319\AmongUs\task\WorldDeleteAsyncTask->recursiveRmdir(string[33] /home/container/worlds/AmongUs_1/)
[11:10:42] [Asynchronous Worker #1 thread/CRITICAL]: #2 src/pocketmine/scheduler/AsyncTask(84): alvin0319\AmongUs\task\WorldDeleteAsyncTask->onRun()
[11:10:42] [Asynchronous Worker #1 thread/CRITICAL]: #3 (): pocketmine\scheduler\AsyncTask->run()
[11:10:42] [Server thread/CRITICAL]: Could not execute asynchronous task WorldDeleteAsyncTask: Task crashed

Bug

The Tip message doesn't go away
20201111_200358

The map is purple
Screenshot_20201111-194955_Toolbox

Question

how to call an emergency meeting?

How to do Tasks works

Hello, I am new to this plugin and I just want to know the way tasks are functioned. I haven’t tryed the plugin yet but I just want know if the tasks require a item or you set up the tasks

Suggest

Pls adding time in download data and adding sabootage 👍, and pls give me map example for test this plugin pls...

Suggestions & Future Updates

Entity

  • InBuilt Join NPC
  • Color Skins for players

Commands

  • Leave game option in /amu
  • game settings for ranked players
    (example: /amur - Opens the Game Settings for YouTuber/Ranked players)
    with Impostor limit and etc
    Basically for private game hosting for Players.

Config

  • More configuration settings

Misc

  • Colored Names (red,cyan,black,pink,green,white,blue,lime,dark green etc.)
  • Red Name for impostors
  • Player current location Map or task

Game improvements

  • Scoreboard
crewmates: {num} left
impostors: {num} left

Emergency Meeting: 1 
  • BossBar (Showing the Role)
  • More visual tasks & easy tasks.
  • venting system. (Setup able thru /aum setvents)
  • sabotage system.
    Lights(blindless), O2, Reactor if the map is same
    Blocks:
    Light - Glowstone
    O2 - diamond block
    reactor - diamond block
    this way people can setup the sabotage in their maps.

This are just Suggestions and improvements plans.

leave cmd

hi can you add a leave command if you stay alone in game you cant leave!
and if i push play buttom i dont tp to the map can you fix this to plz?

Bug

Issue Description
Among Us plugin will not enable

Step to Reproduce
Add it to your plugins folder

Expected behavior
Among Us plugin should enable

Actual behavior

Server thread/CRITICAL Error: "Class 'muqsit\invmenu\InvMenuHandler' not found" (EXCEPTION) in "plugins/AmongUs-master/src/alvin0319/AmongUs/AmongUs" at line 100
25.11 02:55:38 [Server] Server thread/CRITICAL #0 src/pocketmine/plugin/PluginBase(116): alvin0319\AmongUs\AmongUs->onEnable()
25.11 02:55:38 [Server] Server thread/CRITICAL #1 src/pocketmine/plugin/PluginManager(552): pocketmine\plugin\PluginBase->setEnabled(boolean 1)
25.11 02:55:38 [Server] Server thread/CRITICAL #2 src/pocketmine/Server(1787): pocketmine\plugin\PluginManager->enablePlugin(object alvin0319\AmongUs\AmongUs)
25.11 02:55:38 [Server] Server thread/CRITICAL #3 src/pocketmine/Server(1773): pocketmine\Server->enablePlugin(object alvin0319\AmongUs\AmongUs)
25.11 02:55:38 [Server] Server thread/CRITICAL #4 src/pocketmine/Server(1856): pocketmine\Server->enablePlugins(integer 1)
25.11 02:55:38 [Server] Server thread/CRITICAL #5 src/pocketmine/command/defaults/ReloadCommand(49): pocketmine\Server->reload()
25.11 02:55:38 [Server] Server thread/CRITICAL #6 src/pocketmine/command/SimpleCommandMap(248): pocketmine\command\defaults\ReloadCommand->execute(object pocketmine\command\ConsoleCommandSender, string[6] reload, array[0])
25.11 02:55:38 [Server] Server thread/CRITICAL #7 src/pocketmine/Server(1811): pocketmine\command\SimpleCommandMap->dispatch(object pocketmine\command\ConsoleCommandSender, string[6] reload)
25.11 02:55:38 [Server] Server thread/CRITICAL #8 src/pocketmine/Server(1423): pocketmine\Server->dispatchCommand(object pocketmine\command\ConsoleCommandSender, string[6] reload)
25.11 02:55:38 [Server] Server thread/CRITICAL #9 vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\Server->pocketmine\{closure}()
25.11 02:55:38 [Server] Server thread/CRITICAL #10 vendor/pocketmine/snooze/src/SleeperHandler(85): pocketmine\snooze\SleeperHandler->processNotifications()
25.11 02:55:38 [Server] Server thread/CRITICAL #11 src/pocketmine/Server(2157): pocketmine\snooze\SleeperHandler->sleepUntil(double 1606272935.2371)
25.11 02:55:38 [Server] Server thread/CRITICAL #12 src/pocketmine/Server(1994): pocketmine\Server->tickProcessor()
25.11 02:55:38 [Server] Server thread/CRITICAL #13 src/pocketmine/Server(1588): pocketmine\Server->start()
25.11 02:55:38 [Server] Server thread/CRITICAL #14 src/pocketmine/PocketMine(273): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[48] /, string[56] /plugins/)
25.11 02:55:38 [Server] Server thread/CRITICAL #15 src/pocketmine/PocketMine(304): pocketmine\server()
25.11 02:55:38 [Server] Server thread/CRITICAL #16 (11): require(string[108] phar:///PMMP-Latest-Stable.phar/s)

PocketMine-MP Info

  • PocketMine-MP version: newest
  • Plugin version: newest

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.