Bungee - Proxy SubServers 2 2.13.2d

The Server Management Platform

  1. Please do an updated video or provide a text tutorial explaining everything to do. If you do a video explanation be careful because some people do not know some of the things you are using and how to use the e.g. the cmd especially because its in mac. Also I would like you to make a tutoral so it can work on my Centos 6.6 server which has multicraft installed.

    Thanks
     
  2. An updated tutorial is not needed because the setup of SubServers Plugin has not changed since then. The commands I've used work on Mac, Linux, and PC as long as Java is properly installed. Finally, Text tutorials are being made on our wiki, however the wiki is not finished yet so some things may be missing.
     
  3. Try resetting your lang.yml so you get a fresh one.
     
  4. ssamjh

    Junior Mod

    Trying to build a server on a Ubuntu 12.04 VPS results in this error

    Code (Text):
    [11:52:16 INFO]: Building sub2 ---> ---------- SERVER BUILD START ----------
    [11:52:16 INFO]: Building sub2 ---> Downloading Buildtools...
    [11:52:18 INFO]: Building sub2 ---> Downloaded Buildtools!
    [11:52:18 INFO]: Building sub2 ---> Building CraftBukkit/Spigot Jarfiles...
    [11:52:19 ERROR]: [SubServers] build-subserver.sh exited with an errors. Please try again.
     
  5. That error is caused by the shell exiting with status not equal to 0. These are the lines that are there:
    Code (Text):
        export MAVEN_OPTS="-Xmx2G"
        java -Xmx2G -jar ../BuildTools.jar --rev $1; retvalc=$?
     
  6. I did and i get the same results.

    New generated lang file.
    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+
    when i do /go
    Code (Text):
    [08:06:10 INFO]: Proxy ---> [WARNING] Error in dispatching command
    [08:06:10 INFO]: Proxy ---> java.lang.NullPointerException
    [08:06:10 INFO]: Proxy --->     at net.ME1312.SubServer.NavCommand.execute(NavCo
    mmand.java:30)
    [08:06:10 INFO]: Proxy --->     at net.md_5.bungee.api.plugin.PluginManager.disp
    atchCommand(PluginManager.java:162)
    [08:06:10 INFO]: Proxy --->     at net.md_5.bungee.api.plugin.PluginManager.disp
    atchCommand(PluginManager.java:116)
    [08:06:10 INFO]: Proxy --->     at net.md_5.bungee.connection.UpstreamBridge.han
    dle(UpstreamBridge.java:116)
    [08:06:10 INFO]: Proxy --->     at net.md_5.bungee.protocol.packet.Chat.handle(C
    hat.java:50)
    [08:06:10 INFO]: Proxy --->     at net.md_5.bungee.netty.HandlerBoss.channelRead
    (HandlerBoss.java:76)
    [08:06:10 INFO]: Proxy --->     at io.netty.channel.AbstractChannelHandlerContex
    t.invokeChannelRead(AbstractChannelHandlerContext.java:308)
    [08:06:10 INFO]: Proxy --->     at io.netty.channel.AbstractChannelHandlerContex
    t.fireChannelRead(AbstractChannelHandlerContext.java:294)
    [08:06:10 INFO]: Proxy --->     at io.netty.handler.codec.MessageToMessageDecode
    r.channelRead(MessageToMessageDecoder.java:103)
    [08:06:10 INFO]: Proxy --->     at io.netty.channel.AbstractChannelHandlerContex
    t.invokeChannelRead(AbstractChannelHandlerContext.java:308)
    [08:06:10 INFO]: Proxy --->     at io.netty.channel.AbstractChannelHandlerContex
    t.fireChannelRead(AbstractChannelHandlerContext.java:294)
    [08:06:10 INFO]: Proxy --->     at io.netty.handler.codec.ByteToMessageDecoder.c
    hannelRead(ByteToMessageDecoder.java:244)
    [08:06:10 INFO]: Proxy --->     at io.netty.channel.AbstractChannelHandlerContex
    t.invokeChannelRead(AbstractChannelHandlerContext.java:308)
    [08:06:10 INFO]: Proxy --->     at io.netty.channel.AbstractChannelHandlerContex
    t.fireChannelRead(AbstractChannelHandlerContext.java:294)
    [08:06:10 INFO]: Proxy --->     at io.netty.handler.codec.ByteToMessageDecoder.c
    hannelRead(ByteToMessageDecoder.java:244)
    [08:06:10 INFO]: Proxy --->     at io.netty.channel.AbstractChannelHandlerContex
    t.invokeChannelRead(AbstractChannelHandlerContext.java:308)
    [08:06:10 INFO]: Proxy --->     at io.netty.channel.AbstractChannelHandlerContex
    t.fireChannelRead(AbstractChannelHandlerContext.java:294)
    [08:06:10 INFO]: Proxy --->     at io.netty.handler.codec.MessageToMessageDecode
    r.channelRead(MessageToMessageDecoder.java:103)
    [08:06:10 INFO]: Proxy --->     at io.netty.channel.AbstractChannelHandlerContex
    t.invokeChannelRead(AbstractChannelHandlerContext.java:308)
    [08:06:10 INFO]: Proxy --->     at io.netty.channel.AbstractChannelHandlerContex
    t.fireChannelRead(AbstractChannelHandlerContext.java:294)
    [08:06:10 INFO]: Proxy --->     at io.netty.handler.timeout.ReadTimeoutHandler.c
    hannelRead(ReadTimeoutHandler.java:152)
    [08:06:10 INFO]: Proxy --->     at io.netty.channel.AbstractChannelHandlerContex
    t.invokeChannelRead(AbstractChannelHandlerContext.java:308)
    [08:06:10 INFO]: Proxy --->     at io.netty.channel.AbstractChannelHandlerContex
    t.fireChannelRead(AbstractChannelHandlerContext.java:294)
    [08:06:10 INFO]: Proxy --->     at io.netty.channel.DefaultChannelPipeline.fireC
    hannelRead(DefaultChannelPipeline.java:846)
    [08:06:10 INFO]: Proxy --->     at io.netty.channel.nio.AbstractNioByteChannel$N
    ioByteUnsafe.read(AbstractNioByteChannel.java:131)
    [08:06:10 INFO]: Proxy --->     at io.netty.channel.nio.NioEventLoop.processSele
    ctedKey(NioEventLoop.java:511)
    [08:06:10 INFO]: Proxy --->     at io.netty.channel.nio.NioEventLoop.processSele
    ctedKeysOptimized(NioEventLoop.java:468)
    [08:06:10 INFO]: Proxy --->     at io.netty.channel.nio.NioEventLoop.processSele
    ctedKeys(NioEventLoop.java:382)
    [08:06:10 INFO]: Proxy --->     at io.netty.channel.nio.NioEventLoop.run(NioEven
    tLoop.java:354)
    [08:06:10 INFO]: Proxy --->     at io.netty.util.concurrent.SingleThreadEventExe
    cutor$2.run(SingleThreadEventExecutor.java:112)
    [08:06:10 INFO]: Proxy --->     at java.lang.Thread.run(Unknown Source)
     
    #67 laurens, Sep 24, 2015
    Last edited: Sep 24, 2015
  7. What's in SubServers config.yml?
     
  8. Code (Text):
    # SubServer Plugin Configuration
    # This is The Main Config for this Plugin
    #
    # Where is git-bash.exe Located? Mac/Linux users can ignore this option
    Settings:
        Server-Creation:
            git-dir: 'D:\Program Files\Git'
            log: true
        config-version: 1.8.8e+
        GUI:
            Enabled: true
            Trigger-Item: 'EMERALD_ORE'
        Server-IP: '172.0.0.1'
        Lobby-Port: 25564
    #
    # This is the settings for the proxy
    Proxy:
        enabled: true
        run-on-launch: true
        dir: 'Bungee/'
        shell: 'java -Xincgc -Xmx1G -jar BungeeCord.jar'
        log: true
    #
    # This Is the List of your Servers
    # And their configurations
    Servers:
        'SubServer1':
            enabled: true
            port: 25561
            run-on-launch: false
            log: true
            dir: 'subserver1/'
            shell: 'java -Xincgc -Xmx1G -jar spigot.jar'
            stop-after: 0
    #
    # End of Config
     
  9. There seems to be an issue sending the lang values to the proxy. Which OS do you run? Also you could try adding this "-Djline.terminal=jline.UnsupportedTerminal" between java and -jar
     
  10. I am using windows 10.
    I've added -Djline.terminal=jline.UnsupportedTerminal to the config and now i am able to do /go but if i try to join SubServer1 i get this:
    [​IMG]
     
  11. This means bungee was unable to connect to that server. Simple as that. Check that the port and server IP you have in the config is correct, and that your desired server is running.
     
  12. I checked everything, and if i start the SubServer1 as a vanilla server without running the main server i can join it, but not if i do /go on the main server.
     
  13. can I have a look at server.properties for subserver1 then?
     
  14. Sure
    Code (Text):
    #Minecraft server properties
    #Fri Sep 25 23:12:55 CEST 2015
    generator-settings=
    op-permission-level=4
    resource-pack-hash=
    allow-nether=true
    level-name=world
    enable-query=false
    allow-flight=false
    announce-player-achievements=true
    server-port=25561
    max-world-size=29999984
    level-type=DEFAULT
    enable-rcon=false
    force-gamemode=false
    level-seed=
    server-ip=192.168.1.146
    network-compression-threshold=256
    max-build-height=256
    spawn-npcs=true
    white-list=false
    spawn-animals=true
    hardcore=false
    snooper-enabled=true
    online-mode=true
    resource-pack=
    pvp=true
    difficulty=1
    enable-command-block=false
    gamemode=0
    player-idle-timeout=0
    max-players=20
    spawn-monsters=true
    generate-structures=true
    view-distance=10
    spawn-protection=16
    motd=A Minecraft Server
     
     
  15. set Server-IP in SubServers config.yml to 192.168.1.146, and turn online mode off
     
  16. thank you very much, I think it's working now :)
     
  17. When I use the command go, it tells me that the command doesn't exist
     
  18. You must have SubServers-Proxy installed properly and be joining through the proxy to use /go