Bungee - Proxy SubServers 2 2.13.2d

The Server Management Platform

  1. ssamjh

    Junior Mod

    Could you please allow us to specify a spigot / Bukkit download link. I have my own build server that builds daily.

    Secondly can you please setup a feature like mineplex player servers. With the default startup command, and like a specified spigot.yml, server.properties etc.
     
  2. ssamjh

    Junior Mod

    You must change online-mode to false in spigot and enable BungeeCord: true in spigot.yml
     
  3. (1) I'm not exactly sure how that would help. If you have a server that builds itself, then just specify for subservers to run the jar that you update in the config.

    (2) This was a planned feature. I eventually deemed it not what subservers (as a plugin) was meant for. However, I have contacted the owner of PlayerServers about making a plugin that takes advantage of SubServers API to make such a thing possible. Unfortunately though, @Absentee23 never responded.
     
    #43 ME1312, Aug 31, 2015
    Last edited: Aug 31, 2015
    • Like Like x 1
  4. Does this make a shared host server practically and dedicated.
     
  5. ssamjh

    Junior Mod

    The download idea was to save time when starting the server. Instead of waiting 5 minutes for it to build it just wgets a jar. I don't know, just an idea.

    Also it's a shame that the player servers never happened. It would've been a really nice feature!
     
  6. Yeah it would save time. However, the decision for SubServers Creator to use freshly generated jars instead of hosted ones will most likely reduce issues related to subservers. Anyhow, SubServers doesn't update the jar on every startup so the waiting is a one time thing.
     
  7. ssamjh

    Junior Mod

    OK, well my Jenkins, updates every 3 hours. It takes approximately 1.2 seconds for my server to download the jar. So every time my server restarts it downloads the latest jar. It will auto restart every 24 hours. In other words, my server is ALWAYS up to date. The most out-of-date it can possibly be is 24 hours.
     
  8. hmm what is the usual time taken to create a bukkit subserver using the plugin?

    (i have been doing it for 35 mins straight yet it hasnt completed)
     
  9. For bukkit/spigot it should take the same amount of time as BuildTools. What's the last message you've gotten?
     
  10. if i try to join the other server via the gui it doesn't work pls help
     
    #50 laurens, Sep 20, 2015
    Last edited: Sep 20, 2015
  11. Make sure you've joined through the proxy.
     
  12. but then i got this[​IMG]
     
  13. Make sure you've properly setup your bungeecord config.yml. This error is caused by Bungee being unable to find the server inputted
     
  14. this is my bungeecord config can you please tell me what i am doing wrong?
    Code (Text):
    player_limit: -1
    ip_forward: true
    permissions:
      default:
      - bungeecord.command.server
      - bungeecord.command.list
      admin:
      - bungeecord.command.alert
      - bungeecord.command.end
      - bungeecord.command.ip
      - bungeecord.command.reload
    timeout: 30000
    online_mode: true
    servers:
      lobby:
        motd: '&1Just another BungeeCord - Forced Host'
        address: localhost:25562
        restricted: false
    listeners:
    - query_port: 25562
      motd: '&1Another Bungee server'
      tab_list: GLOBAL_PING
      query_enabled: false
      forced_hosts:
        pvp.md-5.net: pvp
      ping_passthrough: true
      default_server: lobby
      bind_local_address: true
      fallback_server: lobby
      host: 0.0.0.0:25562
      max_players: 100
      tab_size: 60
      force_default_server: true
    disabled_commands:
    - disabledcommandhere
    network_compression_threshold: 256
    groups:
      llaurenss:
      - admin
    connection_throttle: 4000
    stats: d5783589-a2e1-4dc3-958f-9fd1c2c3b0bb
     
  15. Well, the port for your lobby should match the one in the Main Server's server.properties. Also the Proxy's port should not be the same as the server's ports
     
  16. ME1312 updated SubServers with a new update entry:

    Bugfixes

    Read the rest of this update entry...

    HostServers is now a thing again, I brought it back as an API plugin :p
     
    #56 ME1312, Sep 23, 2015
    Last edited: Sep 23, 2015
  17. Ok thx, I can join to the proxy now, but if I try to join the subserver nothing happens. and if I do /go I got this:[​IMG]
    Code (Text):
    [16:53:31 INFO]: Proxy ---> [WARNING] Error in dispatching command
    [16:53:31 INFO]: Proxy ---> java.lang.NullPointerException
    [16:53:31 INFO]: Proxy --->     at net.ME1312.SubServer.NavCommand.execute(NavCo
    mmand.java:30)
    [16:53:31 INFO]: Proxy --->     at net.md_5.bungee.api.plugin.PluginManager.disp
    atchCommand(PluginManager.java:162)
    [16:53:31 INFO]: Proxy --->     at net.md_5.bungee.api.plugin.PluginManager.disp
    atchCommand(PluginManager.java:116)
    [16:53:31 INFO]: Proxy --->     at net.md_5.bungee.connection.UpstreamBridge.han
    dle(UpstreamBridge.java:116)
    [16:53:31 INFO]: Proxy --->     at net.md_5.bungee.protocol.packet.Chat.handle(C
    hat.java:50)
    [16:53:31 INFO]: Proxy --->     at net.md_5.bungee.netty.HandlerBoss.channelRead
    (HandlerBoss.java:76)
    [16:53:31 INFO]: Proxy --->     at io.netty.channel.AbstractChannelHandlerContex
    t.invokeChannelRead(AbstractChannelHandlerContext.java:308)
    [16:53:31 INFO]: Proxy --->     at io.netty.channel.AbstractChannelHandlerContex
    t.fireChannelRead(AbstractChannelHandlerContext.java:294)
    [16:53:31 INFO]: Proxy --->     at io.netty.handler.codec.MessageToMessageDecode
    r.channelRead(MessageToMessageDecoder.java:103)
    [16:53:31 INFO]: Proxy --->     at io.netty.channel.AbstractChannelHandlerContex
    t.invokeChannelRead(AbstractChannelHandlerContext.java:308)
    [16:53:31 INFO]: Proxy --->     at io.netty.channel.AbstractChannelHandlerContex
    t.fireChannelRead(AbstractChannelHandlerContext.java:294)
    [16:53:31 INFO]: Proxy --->     at io.netty.handler.codec.ByteToMessageDecoder.c
    hannelRead(ByteToMessageDecoder.java:244)
    [16:53:31 INFO]: Proxy --->     at io.netty.channel.AbstractChannelHandlerContex
    t.invokeChannelRead(AbstractChannelHandlerContext.java:308)
    [16:53:31 INFO]: Proxy --->     at io.netty.channel.AbstractChannelHandlerContex
    t.fireChannelRead(AbstractChannelHandlerContext.java:294)
    [16:53:31 INFO]: Proxy --->     at io.netty.handler.codec.ByteToMessageDecoder.c
    hannelRead(ByteToMessageDecoder.java:244)
    [16:53:31 INFO]: Proxy --->     at io.netty.channel.AbstractChannelHandlerContex
    t.invokeChannelRead(AbstractChannelHandlerContext.java:308)
    [16:53:31 INFO]: Proxy --->     at io.netty.channel.AbstractChannelHandlerContex
    t.fireChannelRead(AbstractChannelHandlerContext.java:294)
    [16:53:31 INFO]: Proxy --->     at io.netty.handler.codec.MessageToMessageDecode
    r.channelRead(MessageToMessageDecoder.java:103)
    [16:53:31 INFO]: Proxy --->     at io.netty.channel.AbstractChannelHandlerContex
    t.invokeChannelRead(AbstractChannelHandlerContext.java:308)
    [16:53:31 INFO]: Proxy --->     at io.netty.channel.AbstractChannelHandlerContex
    t.fireChannelRead(AbstractChannelHandlerContext.java:294)
    [16:53:31 INFO]: Proxy --->     at io.netty.handler.timeout.ReadTimeoutHandler.c
    hannelRead(ReadTimeoutHandler.java:152)
    [16:53:31 INFO]: Proxy --->     at io.netty.channel.AbstractChannelHandlerContex
    t.invokeChannelRead(AbstractChannelHandlerContext.java:308)
    [16:53:31 INFO]: Proxy --->     at io.netty.channel.AbstractChannelHandlerContex
    t.fireChannelRead(AbstractChannelHandlerContext.java:294)
    [16:53:31 INFO]: Proxy --->     at io.netty.channel.DefaultChannelPipeline.fireC
    hannelRead(DefaultChannelPipeline.java:846)
    [16:53:31 INFO]: Proxy --->     at io.netty.channel.nio.AbstractNioByteChannel$N
    ioByteUnsafe.read(AbstractNioByteChannel.java:131)
    [16:53:31 INFO]: Proxy --->     at io.netty.channel.nio.NioEventLoop.processSele
    ctedKey(NioEventLoop.java:511)
    [16:53:31 INFO]: Proxy --->     at io.netty.channel.nio.NioEventLoop.processSele
    ctedKeysOptimized(NioEventLoop.java:468)
    [16:53:31 INFO]: Proxy --->     at io.netty.channel.nio.NioEventLoop.processSele
    ctedKeys(NioEventLoop.java:382)
    [16:53:31 INFO]: Proxy --->     at io.netty.channel.nio.NioEventLoop.run(NioEven
    tLoop.java:354)
    [16:53:31 INFO]: Proxy --->     at io.netty.util.concurrent.SingleThreadEventExe
    cutor$2.run(SingleThreadEventExecutor.java:112)
    [16:53:31 INFO]: Proxy --->     at java.lang.Thread.run(Unknown Source)
    >
     
  18. That Appears to be an issue with your lang file, can I see it?
     
  19. Sure
    Code (Text):
    # Language File
    # These are All the messages Subserver Outputs.
    Lang:
        Commands:
            'Proxy-Start': 'Please allow a minute for the proxy to start.'
            'Proxy-Start-Error': 'Config Error: Proxy Disabled!'
            'Server-Start': 'Please allow a minute for the server to start.'
            'Server-Start-Error': 'Config Error: Server Disabled!'
            'Start-Permission-Error': 'You do not have permission to start this subserver.'
            'Start-Config-Error': 'Error: Invalid Server'
            'Send-Command-Proxy': 'Sending Command...'
            'Send-Command-Proxy-Error': 'Error: Proxy Not Started'
            'Send-Command-Server': 'Sending Command...'
            'Send-Command-Server-Error': 'Error: Server Not Started!'
            'Send-Command-Config-Error': 'Error: Invalid Server'
            'Send-Command-Permission-Error': 'You do not have Permission to Execute this Command on this Subserver.'
            'Proxy-Stop': 'Please allow a minute for the proxy to stop.'
            'Proxy-Stop-Error': 'Error: Proxy Not Started'
            'Server-Stop': 'Please allow a minute for the server to stop.'
            'Server-Stop-Error': 'Error: Server Not Started'
            'Stop-Permission-Error': 'You do not have permission to stop this subserver.'
            'Stop-Config-Error': 'Error: Invalid Server'
            'Proxy-Kill': 'Killed Proxy.'
            'Proxy-Kill-Error': 'Error: Proxy Not Started'
            'Server-Kill': 'Killed Server.'
            'Server-Kill-Error': 'Error: Server Not Started'
            'Kill-Permission-Error': 'You do not have permission to terminate this subserver.'
            'Kill-Config-Error': 'Error: Invalid Server'
            'Teleport': 'Teleporting...'
            'Teleport-Server-List': 'You Are at: |||Servers: |||and $int$ PlayerServer(s)'
            'Teleport-Player-Error': 'Error: Invalid Player'
            'Teleport-Config-Error': 'Error: Invalid Server'
            'Teleport-Permission-Error': 'Error: Invalid Permissions to Teleport '
            'Teleport-Offline-Error': 'Error: Server Offline'
            'Teleport-Console-Error': 'Error: You Cannot Teleport Console'
        Create-Server:
            'Mojang-Agreement': 'Do You Agree to Mojang\u0027s EULA?'
            'Mojang-Agreement-Accept': 'Accept'
            'Mojang-Agreement-Decline': 'Decline'
            'Mojang-Agreement-Link': 'Click Here to Read the EULA'
            'Mojang-Agreement-Link-Message': 'Click the Hyperlink below to view Mojang\u0027s End User License Agreement'
            'Mojang-Agreement-Decline-Message': 'Sorry, You Have to agree to the EULA to make a Server.'
            'Server-Type': 'Choose the Server Type'
            'Server-Version': 'Please Input the Server Version (Example: \"1.8.8\")'
            'Server-Version-Unsupported': 'Unsupported Server Version. Please try again.'
            'Server-Name': 'What is The name for this Server?'
            'Server-Name-Alphanumeric': 'Names Must be Alphanumeric. Please try again.'
            'Server-Memory': 'How Much Memory (in MegaBytes) Should this Server have? (Example: \"1024\")'
            'Server-Memory-Invalid': 'Invalid Memory Value Inputted. Please try again.'
            'Server-Port': 'Which Port Will The Server Run On? (Example: \"25565\")'
            'Server-Port-Invalid': 'Invalid Port Value Inputted. Please try again.'
            'Server-Create-Loading': 'Creating Server... This may take some time...'
            'Server-Create-Done': 'Server $Server$ was Created Successfully!'
            'Log-Prefix': 'Building '
        GUI:
            'Online': 'Running'
            'Offline': 'Offline'
            'Click-to-Join': 'Click to Join'
            'Temp-Server': 'Temporary Server'
            'Server-List-Title': 'Server List - \u00A73 Page $Int$'
            'Sub-Help-Book': 'Use /SubServer Help for a|||Command List.'
            'Next': 'Next'
            'Back': 'Back'
            'Exit': 'Exit'
            'Already-Running': 'Server Already Running'
            'Permission-Error': 'Invalid Permissions'
            'Start': 'Start Server'
            'Stop': 'Stop Server'
            'Terminate': 'Terminate Server'
            'Send-CMD': 'Run Command'
            'Not-Running': 'The Server is not yet Started'
            'Loading': 'Loading...'
            'Success': 'Success - '
            'Enter-CMD': 'Enter Your Command In Chat (Without a \"/\")'
            'Server-Admin-Title': 'Admin - '
            'Removed': 'Removed Server'
            'OK': 'OK'
            'Create-Server': 'Create...'
            'Create-Server-Busy': 'Building...'
        Proxy:
            'Register-Server': 'Registered Server: '
            'Remove-Server': 'Removed Server: '
            'Reset-Storage': 'Reset Proxy Settings'
            'Teleport': 'Sent $Player$ to $Server$'
        Debug:
            'Server-Logging-Prefix': '$Server$ ---> '
            'Server-Logging-Start': 'Running: $Shell$ for $Server$'
            'Server-Logging-End': 'Terminated $Server$ Shell.'
            'Server-Logging-Start-Error': 'Error: Invalid Server Config'
            'Config-Reload-Warn': 'Reloading Config... This may take some time...'
            'Config-Reload': 'Config Reloaded!'
    # Language File Version If invalid, this will Regenerate
    config-version: 1.8.8e+