Code Monkey home page Code Monkey logo

mymap's Introduction

MyMap

MyMap plugin for Nukkit. Show your gif images on the server!

Description

This plugin allows you to show static images, gif images, multi images(Several images that are alternated) on your server.
Screenshots are at the end of this README.

Download

Usage

  1. Install the plugin into your server. And join in the server.
  2. Create a rectangle in a world(Any one, not just the main world).
  3. Use the command /mymap add <id> to make the rectangle you just created become a frame. The rectangle will be replaced with frame blocks by the plugin, which are not allowed to be removed. When you want to remove that, ues the command /mymap remove <id> first.
  4. Put your image files into plugins/MyMap/images/.
  5. Use the command /mymap setpicture <id> <imageFileName> to change the picture in the frame. (imageFileName not includes path)
  6. The plugin will start to fill in the frame. Enjoy it!

Tips

  • If you want to change the picture, use the command /mymap setpicture <id> <imageFile>.
  • Any OP can long-touch(Right-click for Win10) a frame to look up id of the frame.
  • This plugin supports languages in 简体中文(Chinese Simplified) and English
  • This plugin will automatically set the language(based on your system language)
  • You can change the language in config.yml

Q&A

  • How to set GIF image?
    The same way as static images. The plugin will automatically play them.

  • How to set Multi images?
    Create a folder under plugins/MyMap/images, put images in it.(Needs static picture, dynamic GIF only displays the first frame).
    Name of picture decides how long to display. (Not includeding the suffix, exploding by "-", the last one of which is the display time)
    Examples:

    • pic-3000.jpg displays 3000ms = 3s
    • img-500.png displays 500ms = 0.5s
    • -3000.bmp displays 3000ms = 3s

    PS: If the filename has no or more than 1 "-", or the number is invalid(negative), the plugin will use default display time 3000ms=3s.

Screenshots


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.