Solved PluginMessagingChannels

Discussion in 'Spigot Plugin Development' started by YourPalJake, Jun 25, 2018.

Thread Status:
Not open for further replies.
  1. Hi there!

    I wondered if I could use a fake player(CitizensAPI) to make bungee believe there is atleast one player on that server. The reason for this is I wanna make multiple small sized servers: 256MB for minigames etc. But I wanna use PluginMessagingChannels for the lobby: for join signs etc. Is this possible?
    And if not is there another solution for faking this?

    Best regards
  2. No, this isn't possible as plugin messaging uses the player's connection to send the data so that a socket doesn't have to be made for sending data. Obviously with no player's this won't work.For join signs, ForwardPlayer should work, just send the message to the player who clicked the sign. For stuff like player count, it should also work as BungeeCord keeps track of the player count even if it's 0. Anything else such as actually sending data you can use a socket for.

    Hope this helps

    Sent from my SM-G903F using Tapatalk
    • Like Like x 1
    • Optimistic Optimistic x 1
  3. Thank you!
    - Solved locking thread
Thread Status:
Not open for further replies.