NiklasEi / gamebox

Minecraft plugin with a vast selection of inventory games
http://gamebox.nikl.me
GNU General Public License v3.0
17 stars 12 forks source link

Warn. :) #19

Closed TheIntelloBox closed 6 years ago

TheIntelloBox commented 6 years ago

[12:12:56] [Server thread/INFO]: [GameBox] Enabling GameBox v1.5.9 [12:12:56] [Server thread/WARN]: Enabled plugin with unregistered PluginClassLoader GameBox v1.5.9 [12:12:56] [Server thread/WARN]: [GameBox] guiSettings.hotBarNavigation.mainMenuMaterial is not a valid material [12:12:56] [Server thread/WARN]: [GameBox] guiSettings.hotBarNavigation.gameMenuMaterial is not a valid material [12:12:56] [Server thread/WARN]: [GameBox] guiSettings.hotBarNavigation.exitMaterial is not a valid material

NiklasEi commented 6 years ago

The unregistered PluginClassLoader warning seems to be a more general problem that has nothing to do with GameBox.

The other warnings come up because the settings for the GUI buttons are not valid or not set at all. I just corrected those warnings, so that they don't appear when the materials are not configured at all. I will upload a new version to Spigot soon.

You can add the # button materials part of the following to your configs guiSettings section to get rid of the warnings with your current GB version:

  # Here you can customize the navigation buttons in the players hot bar
  # disable navigation buttons by giving them a negative slot
  #   valid slots are from 0 to 8
  hotBarNavigation:
    exitSlot: 4
    mainMenuSlot: 0
    gameMenuSlot: 8
    # button materials
    exitMaterial: "BARRIER"
    mainMenuMaterial: "DARK_OAK_DOOR_ITEM"
    gameMenuMaterial: "BIRCH_DOOR_ITEM"

That you for reporting this :)