|
| 1 | +## =========================================================== |
| 2 | +## MULTICRAFT CONFIGURATION TO ADD .JAR TYPES |
| 3 | +## To simplify all the add of JAR in less time than ever. |
| 4 | +## This configuration was edited by Valentin.T - 15/07/21. |
| 5 | +## =========================================================== |
| 6 | + |
| 7 | +[config] |
| 8 | +name = [Vanilla] 1.17.1 |
| 9 | +source = http://launcher.mojang.com/v1/objects/a16d67e5807f57fc4e550299cf20226194497dc2/server.jar |
| 10 | +configSource = http://raw.githubusercontent.com/ValentinTh/MultiCraft-JAR-Conf/master/minecraft/vanilla/vanilla-1.17.1.jar.conf |
| 11 | + |
| 12 | +[encoding] |
| 13 | +encode = utf-8 |
| 14 | +decode = utf-8 |
| 15 | +fileEncoding = latin-1 |
| 16 | + |
| 17 | +[settings] |
| 18 | +logFile = server.log |
| 19 | +## Uncomment the following to rotate the log at 20MB |
| 20 | +#logRotateSize = 20971520 |
| 21 | +## Keep 5 log files |
| 22 | +logBackupCount = 5 |
| 23 | +## Check the log size every 60 seconds |
| 24 | +logRotateCheckInterval = 60000 |
| 25 | +## Copy instead of move log to log.1, vanilla Minecraft requires this |
| 26 | +logPersistent = True |
| 27 | + |
| 28 | +[start] |
| 29 | +command = /usr/lib/jvm/adoptopenjdk-16-hotspot-jre-amd64/bin/java -server -Xmx{MAX_MEMORY}M -Xms{START_MEMORY}M -Djline.terminal=jline.UnsupportedTerminal -jar "{JAR}" nogui {PARAMS} |
| 30 | + |
| 31 | +[force_config] |
| 32 | +configFile = server.properties |
| 33 | +newline = \n |
| 34 | +search1 = server-ip |
| 35 | +replace1 = server-ip={IP} |
| 36 | +search2 = server-port |
| 37 | +replace2 = server-port={PORT} |
| 38 | +search3 = max-players |
| 39 | +replace3 = max-players={MAX_PLAYERS} |
| 40 | + |
| 41 | +[parse_log] |
| 42 | +start=^(?P<time>(:?[-\d]+ )?\[?[:\d]+\]?)\s+\[?(?P<type>[^]<>]+)[\]>]\:?\s+(:?\[(:?Minecraft-)?(:?Server)\]\s+)?(?P<line>.*)$ |
| 43 | + |
| 44 | +[parse_startup] |
| 45 | +start=^\s*Done |
| 46 | +important=true |
| 47 | + |
| 48 | +[parse_players] |
| 49 | +listSplit=\s*,\s* |
| 50 | +listLine=(?P<name>.*) |
| 51 | +start=^(?:Connected\s*players|Online \([\d]+[^)]*\)):\s*(?P<v_listStr_append>.*)$ |
| 52 | +start1=^There are (?P<v_maxDataLines>\d+)/\d+ players |
| 53 | +data=^(?P<v_listStr_append>.+)$ |
| 54 | +trigger=list |
| 55 | +important=true |
| 56 | +isList=true |
| 57 | +maxLines=2 |
| 58 | +maxDataLines=0 |
| 59 | + |
| 60 | +[parse_chat] |
| 61 | +start=^(?P<source>\[[^\]]+\])?\s*<(?P<sender>[^>]*)>\s*(?P<message>.*)$ |
| 62 | + |
| 63 | +[parse_command] |
| 64 | +shortStart=(?:tried|issued server) command |
| 65 | +start=^(?P<sender>.+)\s(?:tried|issued\sserver)\scommand:\s*(?P<command>.*)$ |
| 66 | +important=true |
| 67 | + |
| 68 | +[parse_connect] |
| 69 | +shortStart=logged in with entity id \d+ at |
| 70 | +start=^(?P<name>.+?)\s*\[/(?P<ip>[^\]:]*)(:?(?P<port>[0-9]+)?)\]\s*logged in |
| 71 | +start1=^(?P<name>.+)(?P<ip>\s+)logged in |
| 72 | + |
| 73 | +[parse_disconnect] |
| 74 | +shortStart=(lost connection|Kick(ing|ed)) |
| 75 | +start=^(?P<name>.+)\slost connection:\s*(?P<reason>.*)$ |
| 76 | +start1=^CONSOLE:\s*Kicking\s(?P<name>.+)$ |
| 77 | +start2=Kicked\s(?P<name>.+) from the game\s*$ |
0 commit comments