Stránka 1 z 1

Lobby a menu

Napsal: 15 dub 2016, 21:38
od variodriver
Server: 82.208.17.35:27695

Zdravím, chtěl bych se zeptat na dvě věci:
1) Jaký plugin na BungeeCord dokáže, že když dám příkaz /lobby na jakémkoli serveru, že mi to portne na zvolený server.

2) Přes jaký plugin si vytvořit menu do lobby, které bude ukazovat kolik je na jakém serveru hráčů, případně motd.

Kdo dobře poradí má K+

Re: Lobby a menu

Napsal: 15 dub 2016, 21:39
od pitilon@seznam.cz
1) mycommand

Re: Lobby a menu

Napsal: 15 dub 2016, 21:57
od variodriver
MyCommand teď mam, není na to nějaký jednodušší plugin? Že to dám jen na bungee a půjde to všude?

Re: Lobby a menu

Napsal: 16 dub 2016, 02:54
od ypxo

Re: Lobby a menu

Napsal: 29 dub 2016, 14:45
od variodriver
Tak jsem ten plugin nahrál na bungee, ale jediná věc co dělá je, že když dám na lobby serveru /lobby, že mi to napíše že už v lobby jsem.

Zde config:

Kód: Vybrat vše

# Specify all your hub servers here: (required)
servers:
- Lobby-1

# Specify the duration (in seconds) between server pings.
# This is used in selecting servers for the "lowest", "firstavailable", "random" and "sequential" modes.
# 3 seconds is the default. If you have more than 10-12 hubs this number may need increasing.
ping-duration: 3

# Specify the type of server selection you want.
# HubMagic supports the following modes:
# - lowest: Will attempt to connect to the least-populated server.
# - firstavailable: Attempts to connect to the first available server in the list above.
# - random: Attempts to connect to a random server.
# - sequential: Attempts to connect to the the servers listed above in sequence.
#
# The recommended default is "lowest".
type: lowest

# Specify how HubMagic will direct players to hubs upon connecting:
# HubMagic supports the following:
# - reconnect: Reconnects all players that join the network to a hub.
# - none: Disables HubMagic's reconnect handling. This still provides for /hub.
connection-handler: reconnect

# Specify the ping strategy to use.
# HubMagic supports the following:
# - bungee: Uses the BungeeCord ping handler. Recommended but doesn't work in some situations.
# - fallback: Uses zh32's server list ping library which may work better in some cases.
#
# The recommended default is "fallback".
ping-strategy: fallback

# Whether or not kicks will take you back to the hub.
# This applies only when the server is not listed in this file as a hub server.
# You may also optionally control it by using regex in this file.
# The default is enabled, without any regex matches, effectively disabling the function.
kicks-lead-to-hub:
   enabled: true
   mode: "reasons"
   reasons: []
   servers: []
   message: "&9Portal> &8Přepojuji na lobby."
   # You can use any HubMagic selector here, but "random" and "sequential" is recommended.
   selector: random

# Options for the hub command.
hub-command:
   # Whether or not the command is enabled.
   enabled: true
   # Whether or not to require hubmagic.hub permission.
   requires-permission: false
   # The aliases used to access this command.
   aliases:
   - hub
   - lobby
   # If you have aliases that must be forwarded to the backend server,
   # this will ignore HubMagic's handling for it.
   # Regex is supported.
   forwarding:
      global:
      - Skyblock
      - Survival
   # Messages for /hub. There is only one message currently available.
   messages:
      already_connected: "&9Lobby> &8Aktuálně jsi v lobby!"
      no_hubs_available: "&9Lobby> &8Aktuálně není dostupný žádný lobby server. Vyčkej než se nějaký nastartuje.."


Na bungee jsou napojené servery:
Survival
Skyblock
Lobby-1

-- 19 dub 2016, 20:47 --

Nevíte ke je chyba?

Re: Lobby a menu

Napsal: 29 dub 2016, 15:09
od pitilon@seznam.cz
A jaký to má význam když je v lobby tak ho to má portnout do loby? Myslím, že ani bungeecord to takto nepodporuje, takže to není chyba pluginu

Re: Lobby a menu

Napsal: 12 kvě 2016, 16:12
od variodriver
Pitilon, ale když jsem v lobby, tak je samozřejmé že mi to neportne do lobby. Mě vadí, že když jsem na survivalu, a dám /lobby, nic se nestane.

Re: Lobby a menu

Napsal: 12 kvě 2016, 20:23
od pitilon@seznam.cz
není lepší nechat povoleno /server?

Re: Lobby a menu

Napsal: 12 kvě 2016, 20:43
od variodriver
Nwm jestli hodně hráčů zná příkaz /server. A je nějaký MyCommand na bungee?

Re: Lobby a menu

Napsal: 12 kvě 2016, 21:12
od pitilon@seznam.cz