Question World Count Gui

Discussion in 'Bukkit Help' started by jamesd5, Nov 11, 2017.

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

    jamesd5

    I have been recently making a mini game server, and I have been stuck making and finding a gui with world count in a lore. I have tried many placeholders such as %server_online_(world)%. I used the plugins, chest commands, deluxe menus, Better Menu, and ServerSelectorX. I don't know if I am using the placeholder wrong or what.
    Please help!

    Examples (World name = Example)
    %server_online_(Example)%
    %server_online_Example%
    {server_online_(Example)}
    {server_online_Example}

    Oh by the way I am using
    Mac Os X - Version 10.8.5

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.

    Please Respond!
     
    Last edited: Nov 11, 2017
  2. Offline

    jamesd5

    I have been recently making a mini game server, and I have been stuck making and finding a gui with world count in a lore. I have tried many placeholders such as %server_online_(world)%. I used the plugins, chest commands, deluxe menus, Better Menu, and ServerSelectorX. I don't know if I am using the placeholder wrong or what.
    Please help!

    Examples (World name = Example)
    %server_online_(Example)%
    %server_online_Example%
    {server_online_(Example)}
    {server_online_Example}



    Oh by the way I am using
    Mac Os X - Version 10.8.5
     
  3. Offline

    RunsWithShovels

    @jamesd5 Are you making a plugin for your game server? Or trying to implement the placeholders into an existing plugin?

    What kind of GUI are you looking for / or to make? An interactive GUI or just something that provides information.
     
  4. Offline

    jamesd5

    I have used the recent plugins listed above for my gaming server. However, I am looking for a gui with a world count in a lore. I tried using the placeholders above.

    Am I using the placeholder wrong?
    Is there a different placeholder I should use?

    Is there a different plugin I should use? Which gui would you use?

    This gui is for transporting players to certain games. The lore would be helpful for my players.
    Concluding that the gui I am looking for is an interactive gui.
     
  5. Offline

    RunsWithShovels

    You're using PlaceholderAPI correct? I take it that you are.
    You need to download the correct expansions for the placeholders that you want to use.

    So for the server placeholders do this:
    1. Ensure that you have the latest version of PlaceholderAPI
    2. When you have it installed, type this in your console or in game.
    /papi ecloud download server

    this will download the server placeholder pack and install it.
    you should be able to use the server placeholders that are listed on the PlaceholderAPI page

    I know ServerSelectorX uses PAPI, as I just tested it.
     
  6. Offline

    jamesd5

    I have tried the plugin ServerSelectorX, newest version, and the newest placeholder api doing the command above. When I log in I get the compass from the plugin, but it does not open the gui. I try using the command to open the gui and I get this in the console…


    _____________________________________________________________

    14.11 23:44:14 [Server] INFO ... 3 more

    14.11 23:44:14 [Server] INFO at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53)

    14.11 23:44:14 [Server] INFO at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:71)

    14.11 23:44:14 [Server] INFO at xyz.derkades.serverselectorx.SelectorMenu$1.run(SelectorMenu.java:200)

    14.11 23:44:14 [Server] INFO at org.bukkit.Material.valueOf(Material.java:1)

    14.11 23:44:14 [Server] INFO at java.lang.Enum.valueOf(Unknown Source)

    14.11 23:44:14 [Server] INFO Caused by: java.lang.IllegalArgumentException: No enum constant org.bukkit.Material.WOODEN_SWORD

    14.11 23:44:14 [Server] INFO at java.lang.Thread.run(Unknown Source)

    14.11 23:44:14 [Server] INFO at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

    14.11 23:44:14 [Server] INFO at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

    14.11 23:44:14 [Server] INFO at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:56)

    14.11 23:44:14 [Server] WARN org.apache.commons.lang.UnhandledException: Plugin ServerSelectorX v3.2.4 generated an exception while executing task 673

    14.11 23:44:14 [Server] WARN Exception in thread "Craft Scheduler Thread - 30"

    _____________________________________________________________

    I use a server host, ignore the numbers 14.11 and so on… It is just the time.




     
    Last edited: Nov 16, 2017
  7. Offline

    timtower Administrator Administrator Moderator

    Merged threads
    Double posting is not appreciated

    @jamesd5 Did you check the Material enum? It is WOOD_SWORD
     
    Last edited: Nov 15, 2017
  8. Offline

    jamesd5

    Timtower?
    What do you mean about the wooden sword? Do I remove it? Should I show you my config?
     
  9. Offline

    timtower Administrator Administrator Moderator

    @jamesd5 You are using the string WOODEN_SWORD in the config, that doesn't exist as Material, it is WOOD_SWORD
     
  10. Offline

    jamesd5

    Thank you!!!! Both, RunWithShovels and timtower!!!!!!!!
    I have been looking for a plugin that can support my need, for a year!
    Thank you both again!
     
Thread Status:
Not open for further replies.

Share This Page