Giter VIP home page Giter VIP logo

Comments (6)

Phoenix616 avatar Phoenix616 commented on June 19, 2024

Please provide more information like your config and the log in debug mode.

from resourcepacksplugins.

IanLulz avatar IanLulz commented on June 19, 2024

Sure. Here's my config:

debug: true
autogeneratehashes: true
messages:
  usepack: You now use the pack %pack%!
  packlisthead: 'Packs available to you:'
  nopacks: No packs found!
packs:
  potterpack:
    url: https://cdn.fadehost.com/packs/dba6a5b0098e6f736815a755b005fe9b4e3ea1b0.zip
    format: 3
    hash: dba6a5b0098e6f736815a755b005fe9b4e3ea1b0
    restricted: false
    permission: worldresourcepacks.pack.potterpack
  worldpack:
    url: https://cdn.fadehost.com/packs/b27bb01438f382926f600a64ebcd402cdec95e8a.zip
    format: 3
    hash: b27bb01438f382926f600a64ebcd402cdec95e8a
    restricted: false
    permission: worldresourcepacks.pack.worldpack
empty: worldpack
worlds:
  potterworld:
    pack: potterpack

When a the player joins the server, the console logs:

[WorldResourcepacks] Send pack potterpack https://cdn.fadehost.com/packs/dba6a5b0098e6f736815a755b005fe9b4e3ea1b0.zip) to Xylopod

When logging on, the pack activates in the "loading terrain" screen but it disappears when you get into the world.

from resourcepacksplugins.

Phoenix616 avatar Phoenix616 commented on June 19, 2024

Well if it isn't printing a message that it sets it back to empty again we can at least be sure that the plugin itself isn't resetting it.

Maybe try setting the send-delay option in the world (or the server) section to a value above zero. (It's set to 10 ticks in the default config)

from resourcepacksplugins.

IanLulz avatar IanLulz commented on June 19, 2024

Thank you so much! That worked.

from resourcepacksplugins.

IanLulz avatar IanLulz commented on June 19, 2024

This solution works, but the value for the delay has to be rather high. What worked for me was 60 ticks (or roughly 3 seconds). Is there an issue which causes the resource pack to be handled improperly if the game is not given the 3 seconds?

from resourcepacksplugins.

Phoenix616 avatar Phoenix616 commented on June 19, 2024

It really depends on how fast your client is able to load and render the world. Packs will only be accepted by the client after the render is finished but the server wont really know when this happened.

from resourcepacksplugins.

Related Issues (20)

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.