WarpGUI Command Errors

Discussion in 'Plugin Development' started by apmc1236, Feb 11, 2018.

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

    apmc1236

    I am using this plugin:
    https://www.spigotmc.org/resources/warpgui-essentials-with-sounds.29933/


    I set up my configuration file to test it, as it keeps on wanting to reset itself after the errors, following the format of the original/example provided upon installation.
    However, everything appears to load fine, but when I go in-game to use the command /warp (or /warps) I get an error and I cannot seem to figure out the problem.

    Main error line given: (when I do /warps or /warp)
    [03:08:47 ERROR]: Could not pass event PlayerCommandPreprocessEvent to WarpGUI v4.5.5

    Error code from PlayerCommandPreprocessEvent:
    https://pastebin.com/3mMuW9A3

    Main error line given: (when I click on the item in the GUI in-game to try to warp)
    [22:16:46 ERROR]: Could not pass event InventoryClickEvent to WarpGUI v4.5.5

    Error code from InventoryClickEvent:
    https://pastebin.com/59As7aFw

    Full error code:
    https://pastebin.com/Cv971AGr

    My current config file: (the original because it resets)
    https://pastebin.com/B5s47Y8x

    I use version Bukkit 1.12.2 on Java 8
     
  2. The Bukkit Playersound library is changed since 1.9.
    So the plugin is outdated, It is trying to get the previous library of the sounds.

    You need to change the Enum (PlaySound names) to the 1.9+ ones.

    This is the good library: http://www.theredengineer.com/1.9-playsound-list.html


    List of Noteblock sounds (open)

    block.note.basedrum
    block.note.bass

    block.note.bell

    block.note.chime

    block.note.flute

    block.note.guitar
    block.note.harp
    block.note.hat

    block.note.pling
    block.note.snare

    block.note.xylophone
     
  3. Offline

    apmc1236

    @Proxygames14

    I fixed that and when I add more than one item, it completely erases the config file to the original...

    what I try to do:
    https://pastebin.com/NUdb7HsU
    I get the error:
    "Cant load warp gui config"
    at java.lang.Thread.run(Thread.java:745) [?:1.8.0_112]
     
    Last edited: Feb 18, 2018
Thread Status:
Not open for further replies.

Share This Page