GithubHelp home page GithubHelp logo

inxomnyaa / mapapi Goto Github PK

View Code? Open in Web Editor NEW
28.0 7.0 1.0 741 KB

MapAPI is a tool to create Map items with images on them

Home Page: https://poggit.pmmp.io/ci/thebigsmileXD/MapAPI/~

License: GNU General Public License v3.0

PHP 100.00%
pmmp pmmp-plugin mapapi map-api minecraft

mapapi's Introduction

MapAPI

MapAPI is a tool to create Map items with images on them

How does it work

Put images into the image folder that will be created run /map create You are set!

TODO

  • Save maps and "respawn" them on restart
  • Different sizes/resolutions
  • Video rendering
  • Web image rendering
  • Turn into virion poggit library

mapapi's People

Contributors

inxomnyaa 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

alderander

mapapi's Issues

An error has ocorred

[Tesseract] [12:39:14] CRITICAL> Unhandled exception executing command 'map load png' in map: Call to undefined method xenialdan\MapAPI\Color::getR()
[Tesseract] [12:39:14] CRITICAL> Error: "Call to undefined method xenialdan\MapAPI\Color::getR()" (EXCEPTION) in "/plugins/MapAPI-master/src/xenialdan/MapAPI/MapUtils" at line 97

There is a mistake

[09:24:48] [Server thread/CRITICAL]: Could not pass event 'pocketmine\event\server\DataPacketReceiveEvent' to 'MapAPI v0.1.0': Undefined property: pocketmine\network\mcpe\protocol\MapInfoRequestPacket::$uuid on xenialdan\MapAPI\EventListener
[09:24:48] [Server thread/CRITICAL]: ErrorException: "Undefined property: pocketmine\network\mcpe\protocol\MapInfoRequestPacket::$uuid" (EXCEPTION) in "/plugins/MapAPI-master/src/xenialdan/MapAPI/EventListener" at line 41

I do not revive fossils

this plugin have error, it say's we cant find map $png but its exists and its 128*128 and .png file, FIX PROBLEM

Issue on creating map from png

[14:57:02] [Server thread/CRITICAL]: 於 map 執行指令 “map create avatar“ 時,出現了未被處理的錯誤: Call to undefined function xenialdan\MapAPI\subcommand\imagecreatefrompng()
[14:57:02] [Server thread/CRITICAL]: Error: "Call to undefined function xenialdan\MapAPI\subcommand\imagecreatefrompng()" (EXCEPTION) in "/plugins/MapAPI-master/src/xenialdan/MapAPI/subcommand/CreateSubCommand" at line 52

Update

Can you update this please?! I would LOVE to use it.

Am I doing, it wrong?

Step 1: Download plugin.
Step 2: Upload Plugin to Server.
Step 3. Start server.
Step 4. Check Files, and see new folder maps
Step 5. Insert PNG (images.png) file in folder next too idcounts.json
Step 6. Restart Server.
Step 7. Do /map create images.png
Step 8. Shows error about some route

Anything I'm doing wrong?

Error

525[06:03:33] [Server thread/CRITICAL]: Unhandled exception executing command 'map save' in map: Argument 2 passed to pocketmine\nbt\tag\CompoundTag::__construct() must be of the type array, object given, called in /root/StormNation/plugins/MapAPI/src/xenialdan/MapAPI/MapUtils.php on line 534
[06:03:33] [Server thread/CRITICAL]: TypeError: "Argument 2 passed to pocketmine\nbt\tag\CompoundTag::__construct() must be of the type array, object given, called in /root/StormNation/plugins/MapAPI/src/xenialdan/MapAPI/MapUtils.php on line 534" (EXCEPTION) in "/src/pocketmine/nbt/tag/CompoundTag" at line 38

Tutorial

I'm having trouble creating a map I put an image png (yt.png) in the maps folder I reloaded my server and In put the command /map create yt but it doesn't seem to work

Error

2017-08-25 [13:11:48] �[Server thread/CRITICAL]: Unhandled exception executing command 'map save' in map: Call to a member function getName() on string� 2017-08-25 [13:11:48] �[Server thread/CRITICAL]: Error: "Call to a member function getName() on string" (EXCEPTION) in "/src/pocketmine/nbt/tag/CompoundTag" at line 37
Pocketmine Protocol 113

Regarding Issue #3

In Issue #3 @Misteboss he has a problem where the maps wouldn't save. He closed the issue since he fixed it. But didn't tell how he did... So others don't know how to fix this same problem if they have this too.

So I'm asking again how did you fix it @misteboss ?

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.