Coder Social home page Coder Social logo

unnamed / creative-central Goto Github PK

View Code? Open in Web Editor NEW
13.0 13.0 5.0 1.07 MB

The resource-pack unifier for Minecraft: Java Edition

Home Page: https://unnamed.team/docs/creative-central

License: MIT License

Java 100.00%
bukkit creative creative-central minecraft paper resource-pack

creative-central's Introduction

unnamed

Unnamed Team's archive. Assets, conventions and contributing guidelines.

creative-central's People

Contributors

yusshu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

creative-central's Issues

[Feature Request] External Resource-Pack Installation

Installing Resource Packs

We could add a functionality that allows server administrators to include features from other, existing, resource-packs without having
to create a custom plugin
ย 

From GitHub

Maybe adding a command like /central install <repo>, for example: /central install unnamed/sidebar-score-remover would merge the server's resource-pack with the resource-pack at unnamed/sidebar-score-remover

We could also make the JSON parser for those repositories lenient, supporting comments, making quotes optional, etc.
Check JsonReader#setLenient(boolean)

[Feature Request] Proxy Support

Add support for Velocity and maybe Waterfall

Help is needed!
How should proxies be handled? The resource-pack is always generated in the backend servers, there may be backend servers that do not have resource-packs, servers that have the same resource-pack, and servers that have different resource-packs.

Something like BungeePackLayer is enough?

Better error logging / reporting

Currently, the only indication of resource packs not loading is an error in the console on startup.

I have a few ideas that some or all of which could be used:

  1. errors.log file which generates every time a resource pack is generated if errors occur. This would just be a copy-paste of the error as it gets sent to the console.
  2. A warning message in-game sent to either OP'd players/players with specific permission any time the server attempts to reload the resource pack and errors occur. This could also have the cause stated in the error.
  3. A general message in game when reloading if the reload has failed (currently no output is given)

Per plugin resource-packs

At the moment, plugins have to listen to the ResourcePackGenerateEvent and register their resources in the single, server resource-pack initially created by creative-central.

This new idea of per-plugin-resourcepacks would be similar to how external resource packs (e.g. from ModelEngine4, ItemsAdder, Oraxen) are currently handled in the Bukkit plugin. The external resource pack provider loads the resource-pack and it's then merged with the central resource-pack.

For example:

interface ResourcePackProvider {
  String pluginName();
  
  ResourcePack create();
}

We could have something similar for creative-central plugins, which would allow:

  • Check the amount of resources a plugin generates (we could have something like /central info <pluginName>)
  • Check which plugins are not compatible with other plugins

This will also remove the need of 'ExternalResourcePackProvider's, since they can be normal ResourcePack providers, but registered by creative-central.

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.