Sueta

Bungeecord Server Manager

1.4

Create Server

·Plugin

Server Manager
! Warning: It only works on linux operating systems !
Feel free to ask me some questions if you dont understand it

With this plugin you dont have to setup and install the sub servers for your bungeecord server, you can just do it with the console.

Requirements:

  • Bungeecord Server
  • Java installed
  • screen installed (apt-get install screen)

Commands:

  • /sm help - Shows the help menu
  • /sm jars - Shows all available jars for creation
  • /sm console [server name] - Shows the output of the console
  • /sm start [server name] - Start a server
  • /sm stop [server name] - Stop a server
  • /sm delete [server name] - Delete a server
  • /sm command [server name] [command] - Send a command to a server
  • /sm create [server name] [jar id] [port] - Create a server
Default Config
Default:
  Jars:
    Paper-1-16-5: https://papermc.io/api/v2/projects/paper/versions/1.16.5/builds/783/downloads/paper-1.16.5-783.jar
  MaxRam: 512M
  Parameters: -XX:PermSize=256m -XX:NewRatio=3 -XX:SurvivorRatio=3 -XX:TargetSurvivorRatio=80
    -XX:MaxTenuringThreshold=8 -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:MaxGCPauseMillis=10
    -XX:GCPauseIntervalMillis=50  -XX:+ExplicitGCInvokesConcurrent -XX:+UseCMSInitiatingOccupancyOnly
    -XX:CMSInitiatingOccupancyFraction=60 -XX:+BindGCTaskThreadsToCPUs -Xnoclassgc
  Autostart: true
  DisableOtherServers: true

In the point “Jars:” you can define the jars you can use for the server creation.
You have to put the jar file in the Servers/Template folder.
The format of the file name should be: [id].jar.
Where id equals i.e. Paper-1-16-5 so it should be Paper-1-16-5.jar.

If you dont want to automatically update your files from a link you can also write just ‘-’ like in this example:

Example Config
Default:
  Jars:
    Paper-1-16-5: https://papermc.io/api/v2/projects/paper/versions/1.16.5/builds/783/downloads/paper-1.16.5-783.jar
    Paper-1-12-2: ‘-’
  MaxRam: 512M
  Parameters: -XX:PermSize=256m -XX:NewRatio=3 -XX:SurvivorRatio=3 -XX:TargetSurvivorRatio=80
    -XX:MaxTenuringThreshold=8 -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:MaxGCPauseMillis=10
    -XX:GCPauseIntervalMillis=50  -XX:+ExplicitGCInvokesConcurrent -XX:+UseCMSInitiatingOccupancyOnly
    -XX:CMSInitiatingOccupancyFraction=60 -XX:+BindGCTaskThreadsToCPUs -Xnoclassgc
  Autostart: true
  DisableOtherServers: true

In this example i have put another jar file in the Servers/Template folder that is named Paper-1-12-2.jar but i dont want to check if there is an update so i put a '-' in the link section.

Another neat feature is, if you edit the data.yml file and change the jar there, the server will automatically update the jar in the data folder after you restart the server.

The default jar that is downloaded is Paper 1.16.5. You can change that after you have customized the config.

Pro tip: you can just use /sm create lobby Paper-1-16-5 [port] to create the lobby.

Similar projects

Plugin →