Bungee - Spigot Lobby Switch 0.5.8

This plugin uses bungee to allow players to change servers with an inventory GUI.

  1. Lazertx submitted a new resource:

    Lobby Switch - This plugin allows you to change server with an inventory GUI.

    Read more about this resource...
     
  2. Lazertx updated Lobby Switch with a new update entry:

    Lobby Switch 0.2.2

    Read the rest of this update entry...
     
  3. Glad you like the plugin. Let me know if you have any features you want.
     
  4. Hey, I was thinking at some point we could change the config to be more simple, as of now it's kind of complex. I have no rush on the config changes though.
     
  5. I am working on commands for it so you don't even have to touch the config.
    Commands like
    /lobbyswitch <add|a> <ItemName|ItemID> <Amount> <Slot> <Target Server> <Color> <Display Name>
    /lobbyswitch remove <Slot>
    /lobbyswitch edit amount <Amount>
    /lobbyswitch edit slot <Slot>
    /lobbyswitch edit targetserver <Target Server>
    /lobbyswitch edit color <Color>
    /lobbyswitch edit displayname <Display Name>

    None of these commands are final an there will likely be more commands and they will probably have aliases. I am also considering adding a GUI to do it for you but that may not work we will see.

    I may be able to fix some of the config.
     
    • Like Like x 1
  6. Lazertx updated Lobby Switch with a new update entry:

    Lobby Switch 0.3

    Read the rest of this update entry...
     
  7. Looks great and all, but it doesn't work for me D= Where do you put the server ip so it can connect you to that one? I have my config set up like this...

    Code (Text):
    InventoryRows: 1
    InventoryName: Server Selector
    ItemStack:
      ==: org.bukkit.inventory.ItemStack
      type: WATCH
      meta:
        ==: ItemMeta
        meta-type: UNSPECIFIC
        display-name: §bServer Selector
    Servers:
    - GOLD_NUGGET:1:Demi-Gods United:[serveripnotshown]:6:1
    - BLAZE_ROD:1:Project Eclipse:[serveripnotshown=P]:d:2
    Version: '0.3'
    The ips aren't shown so I don't get random people coming on them (they're fandom servers XD). They're both subdomains. Demi-Gods United is a bukkit server, whilst Project Eclipse is a spigot server. Also, don't I have to create a 3rd server to be the lobby server...? Or could I just install this plugin onto both servers and have it like a switchy thing?

    I also tried doing it in game (onto slot 3) but it kicked me with 'Internal Server Error'.

    Compasses are still named &4Server Selector (I changed it to a watch because we have WorldGuard which means if you have the permission, right clicking on a compass sends you through something. Basically it's the same as doing /thru in chat)

    Clicking on a server in the watch menu does nothing but pick up the item (not even an error message or anything in chat).

    Thanks for helping.
     
  8. This should be an easy fix you are not suppose to put the server IP there you are suppose to put the server name as seen here. The config.yml in your Bungee Cord folder.
    [​IMG]
    My two options would be lobby1 or lobby2 so my config is setup like this.

    Code (Text):
    InventoryRows: 1
    InventoryName: Server Selector
    ItemStack:
      ==: org.bukkit.inventory.ItemStack
      type: WATCH
      meta:
        ==: ItemMeta
        meta-type: UNSPECIFIC
        display-name: "\xa7bServer Selector"
    Servers:
    - PAPER:1:Lobby 1:lobby1:a:1
    - PAPER:1:Lobby 2:lobby2:a:2
    Version: '0.3'
     
    If you can't get it to work try using the in-game command
    /lobbyswitch <add|a> <ItemName|ItemID> <Amount> <Slot> <Target Server> <Color> <Display Name>
    on the target server argument use the TAB key and it will list all of your available servers.

    Good luck with the plugin let me know if you have any more issues I would be happy to help.

    Edit:
    For the color of the item it should be
    Code (Text):
        display-name: "\xa7bServer Selector"
     
    #10 Lazertx, Aug 11, 2014
    Last edited: Aug 11, 2014
  9. All you need is for it to display player count
     
  10. plugin is a great, but I have a problem
    problem: http://pastebin.com/N9h9vT5F
    Spigot Version: 1542 1.7.9 r3
    bungeecord Version: 975
    add the ability to add more than 9 servers?
     
  11. You should be able too, have you tried adding more lines using the config before adding the servers?
     
  12. It should already do that under the item in the lore.
    [​IMG]
    You can add more servers by changing the inventory rows in the config file.
    As for your error please post your config so I can take a look at it.

    There will be a pretty big update in the next day or so allowing you to edit items in slot ie /lobbyswitch edit <Slot> target <New Target Server> and things like that.
     
  13. The default configuration is nothing I changed

    Code (Text):

    InventoryRows: 1
    InventoryName: Server Selector
    ItemStack:
      ==: org.bukkit.inventory.ItemStack
      type: COMPASS
      meta:
        ==: ItemMeta
        meta-type: UNSPECIFIC
        display-name: §4Server Selector
    Servers:
    - PAPER:1:Lobby 1:lobby1:a:1
    - PAPER:1:Lobby 2:lobby2:a:2
    Version: '0.3'
     
     
    #15 KalisPro, Aug 13, 2014
    Last edited: Aug 13, 2014
  14. Weird I will look into the error then and let you know what I find.

    Edit: You could try deleting you config since you haven't touched it and just start the server up and it will generate a new one for you.

    Edit 2: If you haven't touched the config then you probably need to setup the servers you want the plugin to put in the inventory and it's probably looking for the default ones.
     
    #16 Lazertx, Aug 13, 2014
    Last edited: Aug 13, 2014
  15. Lazertx updated Lobby Switch with a new update entry:

    Lobby Switch 0.3.5

    Read the rest of this update entry...
     
  16. #20 Lazertx, Aug 15, 2014
    Last edited: Aug 15, 2014