Guest User

PaperMC Template

a guest
Jun 8th, 2019
884
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. {
  2.   "pufferd": {
  3.     "type": "java",
  4.     "display": "PaperMC - Minecraft",
  5.     "install": {
  6.       "commands": [
  7.         {
  8.           "type": "download",
  9.           "files": "https://papermc.io/api/v1/paper/${version}/${build}/download"
  10.         },
  11.         {
  12.           "source": "paper-*.jar",
  13.           "target": "server.jar",
  14.           "type": "move"
  15.         },
  16.         {
  17.           "commands": [
  18.             "java -jar server.jar"
  19.           ],
  20.           "type": "command"
  21.         },
  22.         {
  23.           "type": "writefile",
  24.           "text": "server-ip=${ip}\nserver-port=${port}\nmotd=${motd}\n",
  25.           "target": "server.properties"
  26.         },
  27.         {
  28.           "type": "writefile",
  29.           "text": "eula=${eula}",
  30.           "target": "eula.txt"
  31.         }
  32.       ]
  33.     },
  34.     "run": {
  35.       "stop": "stop",
  36.       "pre": [],
  37.       "post": [],
  38.       "arguments": [
  39.         "-Xmx${memory}M",
  40.         "-jar",
  41.         "server.jar"
  42.       ],
  43.       "program": "java"
  44.     },
  45.     "environment": {
  46.       "type": "standard"
  47.     },
  48.    "data": {
  49.       "memory": {
  50.         "value": "1024",
  51.         "required": true,
  52.         "desc": "How much memory in MB to allocate to the Java Heap",
  53.         "display": "Memory (MB)",
  54.         "internal": false
  55.       },
  56.       "ip": {
  57.         "value": "0.0.0.0",
  58.         "required": true,
  59.         "desc": "What IP to bind the server to",
  60.         "display": "IP",
  61.         "internal": false
  62.       },
  63.       "port": {
  64.         "value": "25565",
  65.         "required": true,
  66.         "desc": "What port to bind the server to",
  67.         "display": "Port",
  68.         "internal": false
  69.       },
  70.       "eula": {
  71.         "value": "false",
  72.         "required": true,
  73.         "desc": "Do you (or the server owner) agree to the <a href='https://account.mojang.com/documents/minecraft_eula'>Minecraft EULA?</a>",
  74.         "display": "EULA Agreement (true/false)",
  75.         "internal": false
  76.       },
  77.       "version": {
  78.         "value":  "1.14.2",
  79.         "required": true,
  80.         "desc": "Version of Minecraft to install (i.e. 1.13.2, 1.12.2, etc)",
  81.         "display": "Version",
  82.         "internal": false
  83.       },
  84.       "build": {
  85.         "value": "latest",
  86.         "required": true,
  87.         "desc": "Build of PaperMC to install (may be located <a href='https://papermc.io/downloads'>here</a>",
  88.         "display": "Build",
  89.         "internal": false
  90.       },
  91.       "motd": {
  92.         "value": "A Minecraft Server\\n\\u00A79 hosted on PufferPanel",
  93.         "required": true,
  94.         "desc": "This is the message that is displayed in the server list of the client, below the name. The MOTD does support <a href='https://minecraft.gamepedia.com/Formatting_codes'>color and formatting codes</a>.",
  95.         "display": "MOTD message of the day",
  96.         "internal": false
  97.       }
  98.     }
  99.   }
  100. }
RAW Paste Data