GithubHelp home page GithubHelp logo

soccermitchy / consoles Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jarcode-foss/consoles

1.0 2.0 1.0 1.49 MB

A replacement map API and plugin for craftbukkit & spigot servers

Java 86.43% C 11.58% C++ 0.02% Lua 1.97%

consoles's Introduction

Consoles

CircleCI GitHub issues GitHub pull requests GitHub forks GitHub stars

A powerful set of plugins that provides programmable computers and a powerful map rendering API for craftbukkit and spigot servers. Requires Java 8!

I have brought this plugin up to date with Minecraft 1.12.2. Although I have not tested everything I hope it is usable enough in its current state for people to enjoy again like it last was in 1.8. If anyone with more experience using the plugin could test it out on their server it would be greatly appreciated.

Licensing

LGPL Version 3 for consoles-api

GPL Version 3 for consoles-core, consoles-computer, consoles-bungee, consoles-nms-api, and all NMS versioned consoles modules.

License for consoles-fetcher: see source file(s)

Builds

Build artifacts can be found on the CircleCI builds page although I intend to set up a more user friendly repository for builds soon (perhaps uploading the releases to GitHub).

warning: use snapshot builds with care, they can be extremely unstable.

Bug Reporting

Bug reporting is done using GitHub's bug tracker. For how to create detailed reports, see reporting bugs.

API Overview

The API provides:

  • A replacement for the default map renderer in the minecraft server
  • A fast interface for painting to 'canvases' (that are actually a grid of maps)
  • A workaround for this issue: https://bugs.mojang.com/browse/MC-46345
  • Pixel-accurate interaction events with the map canvas and its components
  • Different map data for each player (per-player rendering)
  • Hooks for overriding command block functionality to link up to console components

Behind the scenes, this API:

  • Contains a threaded painting system, calling repaints as little as possible for each player
  • Contains its own packet listener, no need for ProtocolLib!
  • Provides a basic component set for building interfaces with the console
  • Provides streaming support, so you can effectively map input and output to console components

Non-API features:

  • Fully programmable Computers (separate plugin). Refer to the wiki.
  • Reliable image rendering from URLs!

Notes:

  • This replaces maps, and completely removes handheld map functionality. Fake map handlers/items are injected to ensure that the normal map system does not send packets and map out world regions.
  • This plugin/API is strictly for map canvases, which are sets of (modified) item frames in a grid containing maps that can display pixels in its own screen coordinates, for each player.
  • My code has very large NMS backends, which means writing support for older server versions and keeping this up to date will be difficult.

consoles's People

Contributors

christocoder avatar incognitojam avatar jarcode-foss avatar soccermitchy avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

killergoldfisch

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.