MYST Linking Books

Discussion in 'Plugin Requests' started by roracle, Aug 10, 2016.

Thread Status:
Not open for further replies.
  1. Offline

    I Al Istannen

    @roracle
    Yes, but that looks fine. The worlds are correct.
    Try it please.
     
  2. Offline

    roracle

  3. Offline

    I Al Istannen

    @roracle
    Does it also happen with books only in the main world "world"?
     
  4. Offline

    roracle

    @I Al Istannen

    I do not use "world" as the main world, it's a different name. Does that matter at all?
     
    Last edited: Aug 21, 2016
  5. Offline

    I Al Istannen

    @roracle
    Hopefully not. Just make one in your main world.
    Could you post the server log of it starting up? From the beginning to the "Done" message? Maybe a bit further.

    Look, I have got these information:
    Something is null when sending particles in the line "world.getName()" is called. Same for the constructor of the Location class

    This means that the world is null.

    It gets the world with this "Bukkit.getWorld(world)". This means, that the world is not yet loaded, when my plugin is.
    Problem is, I can't wait much longer, as otherwise uses would be able to destroy all books and stuff, causing it to glitch out. I really don't know any solution to this problem.

    EDIT: Could you try redownloading it from the same link AND deleting the saves?
     
    Last edited: Aug 21, 2016
  6. Offline

    roracle

    @I Al Istannen

    With the protections used the only time they would be able to destroy it is if it is either in the wilderness or if it's on their own land. I have Towny set up and use WorldGuard for other server specific things. It shouldn't be a problem to have it load post-world, if it will help any at all. If not, I could always add custom particles to descriptive books and players will just have to keep their linking stands labeled as such, or I might be able to custom texture it, too.
     
  7. Offline

    I Al Istannen

    @roracle
    Have you tried the edit first?
     
  8. Offline

    roracle

    @I Al Istannen
    Yes I have. Sorry, forgot to mention that. It had the same behavior as before.
     
  9. Offline

    I Al Istannen

    @roracle
    Then sadly my plugin is not the issue. I have used the default Bukkit serialization for the world now.

    Could you send me a link to the multiworld plugin you are using as well as the config and the server startup log?
     
  10. Offline

    roracle

    @I Al Istannen

    When I get home I'll get all that gathered for you. I use quite a bit of plugins, so it's a long log, I'll have to pastebin that and multiverse core config.

    EDIT:

     
    Last edited: Aug 22, 2016
  11. Offline

    I Al Istannen

    @roracle
    Okay, this is the same link as before. Please redownload.
    It is a somewhat debug version, designed to help me pinpoint WHEN it decided to crash.

    And I tried some things with the multiverse plugin. If you set "autoload" to true in the worlds.yml it worked fine. If not, it ceashed. Please verify that "autoload" is true for the worlds in question.
     
  12. Offline

    roracle

    Okay, cool, it seems to have worked! :)

    One thing I should note, is when I destroyed the Descriptive Book with a pickaxe, it dropped it, but it also dropped a duplicated enchanting table (just a regular one). It does not seem to do this with the Book Stands, however.
     
  13. Offline

    I Al Istannen

    @roracle
    Great! Except I haven't changed a thing regarding that... Well, I will just not touch it xD

    And I fixed the dropping (hopefully). Just redownload it.
    I dropped the item additionally for the descriptive books :p

    Also what should be the viewing distance for the particles? Right now it is 50 blocks.

    EDIT: Redownload please.
    • Fixed a few bugs with the way particles are handled. They now won't glitch out if you have more than a few books.
      I shouldn't have made that display method static *sigh*.
    • Fixed the books dropped by bookstands not having the correct author tag
     
    Last edited: Aug 22, 2016
  14. Offline

    roracle

    Hmm, mine is a survival/RP type server, so I think a smaller viewing distance (to make the player inspect an area closer) would be necessary. Forgot to say, it should be probably a 15 block radius.
     
  15. Offline

    I Al Istannen

    @roracle
    Use this version (same link). It has a config option for it. Either delete the config or add these lines at the end:
    Code:
    # The distance over which the particles are visible
    particle_viewing_distance: 50
     
  16. Offline

    roracle

    @I Al Istannen

    Thank you, it works great! If I find anything else in the plugin that errors or bugs I'll post it here and let you know! :)
     
  17. Offline

    I Al Istannen

    @roracle
    No problem :)

    I will be gone for I think 10 days, so I can't do anything in that timeframe.
     
  18. Offline

    roracle

    @I Al Istannen

    I have a final request for this plugin:

    When placing a Descriptive Book or making a Linking Stand, it should turn that 1x1 column it is placed on into a "Deep Ocean" biome. And on destruction if it could revert back to the biome setting it was prior.

    It's the only way to ensure I can do a custom texture on descriptive books and linking stands. This should be able to be done by invoking some WorldEdit commands.

    Thanks again, it's all worked really well thus far. :)
     
  19. Offline

    I Al Istannen

    @roracle
    Glad it is working :)

    Better back things up, but does this work? You will need to replace your books though.

    And either delete the config or add this to the end of it:
    Code:
    # The biome of the bookstand block. Set to "" for no change.
    # A list is here: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/block/Biome.html
    bookstand_biome: "DEEP_OCEAN"
    
    # The biome of the descriptive book block. Set to "" for no change.
    # A list is here: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/block/Biome.html
    descriptive_book_biome: "DEEP_OCEAN"
    Link: dropbox.
     
Thread Status:
Not open for further replies.

Share This Page