#status of a server.

1 messages · Page 1 of 1 (latest)

blazing bridge
#

is there a way to add the status of a server on my velocity network. when a player joins the main hub and goes over to the NPC / portal, i want to be able to add something shows if the server is online or offline (NOT how many players are on said server)

west sierra
#

My example

open_command: 
register_command: false
size: 27

items:
  'survival_online':
    material: totem_of_undying
    slot: 13
    priority: 1
    update: true
    display_name: '&bSurvival &7[%bungee_survival%/500]'
    lore:
      - ''
      - '[lang]lobby1.npc.online.lore[/lang]'
    view_requirement:
      requirements:
        server_status:
          type: string equals
          input: '%pinger_online_127.0.0.1:20022%'
          output: '&aOnline'
        maintenance:
          type: string equals
          input: '%maintenance_server_survival%'
          output: '&cdisabled'
    left_click_commands:
    - '[connect] survival'
  'survival_offline':
    material: totem_of_undying
    slot: 13
    priority: 2
    update: true
    display_name: '&bSurvival &7[%bungee_survival%/500]'
    lore:
      - ''
      - ' [lang]lobby1.npc.ofline.lore[/lang]'
      - ''
    view_requirement:
      requirements:
        server_status:
          type: string equals
          input: '%pinger_online_127.0.0.1:20022%'
          output: '&cOffline'
  'survival_maintenance':
    material: blaze_rod
    slot: 13
    priority: 3
    update: true
    display_name: '&bSurvival &7[%bungee_survival%/500]'
    lore:
      - ''
      - '[lang]lobby1.npc.tech.Works.lore[/lang] '
    view_requirement:
      requirements:
        server_status:
          type: string equals
          input: '%pinger_online_127.0.0.1:20022%'
          output: '&aOnline'
        maintenancee:
          type: string equals
          input: '%maintenance_server_survival%'
          output: '&aenabled'```
#

I'll tell you what you should have

#

DeluxeMenus - MaintenanceAddon - Maintenance - ProtocolLib - PlaceholderAPI - PlugManX

#

If you understand Russian, I can send you a video tutorial as well.

#

@blazing bridge

blazing bridge
#

thank you, will be sure to give this ago. and no I don't understand Russian unfortunately.