Solved DeluxeHub doesn't show the online players!

Discussion in 'Spigot Plugin Help' started by chamo, Jan 29, 2020.

  1. Hi I'm using deluxehub plugin for my lobby of my bungee server, the problem is that in the compass menu it does now show the online players that are in each game, it always show 0 players online, I have looked a lot of times the config.yml and it is correct with its variable, no requirement plugins is missing... Which is the problem?? please help me

    PLUGIN: https://www.spigotmc.org/resources/deluxehub-3-professional-hub-management-1-8-1-15.49425/
    CONFIG:
    #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
    # SERVER SELECTOR
    #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
    # You can use PlaceholderAPI in the lore section
    # of each item in the GUI for example to display
    # how many players are on each server using the
    # PAPI Bungee expansion!

    Server_Selector:
    # Should the server selector be enabled?
    Enabled: true
    # Should we prevent them from moving/dropping the item?
    Disable_Inventory_Movement: true

    # The filler item fills the inventory if there is any blank item slots
    Filler_Item:
    Enabled: true
    Item: BLACK_STAINED_GLASS_PANE
    Amount: 1
    Name: '&r'

    # Item for the server selector
    Item: COMPASS
    Amount: 1
    Slot: 0
    Name: '&8<3> &6&lSeleccionar Juego &8<3> &7(Clic Derecho)'
    Lore:
    - '&7Click to open the server selector!'

    GUI:
    Name: '&6&lSeleccionar Juego'
    Slots: 54
    Items:
    survival:
    Item: DIAMOND_PICKAXE
    Slot: 14
    Amount: 1
    Glow: false
    Name: '&8&k|| &r&9&lSURVIVAL &8&k||'
    Lore:
    - '&8&lJugadores Online: &a&l%online%'
    - ''
    - '&eEl clasico juego de minecraft'
    - '&econsigue recursos para sobrevivir'
    - '&ecrea tu propio imperio y hazte'
    - '&ela persona mas rica del server'
    - ''
    - '&8> &aClick para conectar &8<'
    Commands:
    - '[bungee] survival'
    - '[close]'
     
  2. Hi,
    Try using the placeholder %bungee_survival%. Example:

    GUI:
    Name: '&6&lSeleccionar Juego'
    Slots: 54
    Items:
    survival:
    Item: DIAMOND_PICKAXE
    Slot: 14
    Amount: 1
    Glow: false
    Name: '&8&k|| &r&9&lSURVIVAL &8&k||'
    Lore:
    - '&8&lJugadores Online: &a&l%bungee_survival%'
    - ''
    - '&eEl clasico juego de minecraft'
    - '&econsigue recursos para sobrevivir'
    - '&ecrea tu propio imperio y hazte'
    - '&ela persona mas rica del server'
    - ''
    - '&8> &aClick para conectar &8<'
    Commands:
    - '[bungee] survival'
    - '[close]'


    Best regards
     
  3. As displayed above, if you want to display player counts on different servers on a BungeeCord network you must use PlaceholderAPI and the Bungee expansion.