Skip to content

martin0300/MinecraftServerCreator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MinecraftServerCreator

Info: MinecraftServerCreator is being rewritten in javascript. The old python3 version will not be receiving any future updates! The rewrite will improve the code quality (hopefully) and other features. Web scraping code will be fully improved! The javascript beta is available in the beta-js branch.

Script for creating minecraft servers written in python.
Uses getbukkit.org and Paper API for server jars.
Uses Spiget for plugins.
More features coming soon!

How to use

Main program switches:

  • --i (start in interactive mode)
  • --f (start in config install mode)
  • --help (show help screen)
  • --version (show version screen)

Config install switches:

  • --help (shows help screen)
  • --createconfig (creates a config file to modify)
  • --listserver (list available server types and versions)
  • --listbuild {versionnumber} (only works for paper! list builds for server version)
  • --pluginmanager (starts the plugin manager)
    filename (config file)

Config file help: (Config file must be in JSON format!)

  • --servertype (to list server types use --f --listserver)
  • --serverversion (to list server versions use --f --listserver)
  • --servername (the servers name also used for folder name when createdir is enabled)
  • --installlocation (server install location (on windows use \\ !)
  • --build (build number for server to list builds use --f --listbuild {versionnumber} (only works for paper servers for other servers use latest also works for paper!))
  • --createdir (create directory for server with the server name)
  • --maxram (maximum ram for server in megabytes example 1024M (if you don't wanna change it use default)
  • --minram (minimum ram for server in megabytes example 512M (if you don't wanna change it use default)
  • --askinstall (ask user before installing server)
  • --pluginlist (plugin list to install from (leave it at null to not use a list))

Config file example

{
  "servertype": "spigot",
  "serverversion": "1.19",
  "servername": "spigot1.19",
  "installlocation": "C:\\testfolder1",
  "build": "latest",
  "createdir": true,
  "maxram": "default",
  "minram": "default",
  "askinstall": true,
  "pluginlist": null
}