Skip to content

Instantly share code, notes, and snippets.

@PocketHostingBR
Last active February 21, 2020 19:23
Show Gist options
  • Save PocketHostingBR/2b99aca1c0b82f58c9691407112242bf to your computer and use it in GitHub Desktop.
Save PocketHostingBR/2b99aca1c0b82f58c9691407112242bf to your computer and use it in GitHub Desktop.
## ===========================================================
## MULTICRAFT CONFIGURATION TO ADD .JAR TYPES
## To simplify all the add of JAR in less time than ever.
## This configuration was edited by Valentin.T - 29/12/2017.
## ===========================================================
[config]
name = [Vanilla] 1.8.8
source = https://launcher.mojang.com/mc/game/1.8.8/server/5fafba3f58c40dc51b5c3ca72a98f62dfdae1db7/server.jar
configSource = https://gist.githubusercontent.com/PocketHostingBR/2b99aca1c0b82f58c9691407112242bf/raw/be5bc8ed8687024d11e5d776d65829a551312e60/Multicraft
category = Vanilla
[encoding]
encode = utf-8
decode = utf-8
fileEncoding = latin-1
[settings]
logFile = server.log
## Uncomment the following to rotate the log at 20MB
#logRotateSize = 20971520
## Keep 5 log files
logBackupCount = 5
## Check the log size every 60 seconds
logRotateCheckInterval = 60000
## Copy instead of move log to log.1, vanilla Minecraft requires this
logPersistent = True
[start]
command = "{JAVA}" -server -Xmx{MAX_MEMORY}M -Xms{START_MEMORY}M -Djline.terminal=jline.UnsupportedTerminal -jar "{JAR}" nogui {PARAMS}
[force_config]
configFile = server.properties
newline = \n
search1 = server-ip
replace1 = server-ip={IP}
search2 = server-port
replace2 = server-port={PORT}
search3 = max-players
replace3 = max-players={MAX_PLAYERS}
[parse_log]
start=^(?P<time>(:?[-\d]+ )?\[?[:\d]+\]?)\s+\[?(?P<type>[^]<>]+)[\]>]\:?\s+(:?\[(:?Minecraft-)?(:?Server)\]\s+)?(?P<line>.*)$
[parse_startup]
start=^\s*Done
important=true
[parse_players]
listSplit=\s*,\s*
listLine=(?P<name>.*)
start=^(?:Connected\s*players|Online \([\d]+[^)]*\)):\s*(?P<v_listStr_append>.*)$
start1=^There are (?P<v_maxDataLines>\d+)/\d+ players
data=^(?P<v_listStr_append>.+)$
trigger=list
important=true
isList=true
maxLines=2
maxDataLines=0
[parse_chat]
start=^(?P<source>\[[^\]]+\])?\s*<(?P<sender>[^>]*)>\s*(?P<message>.*)$
[parse_command]
shortStart=(?:tried|issued server) command
start=^(?P<sender>.+)\s(?:tried|issued\sserver)\scommand:\s*(?P<command>.*)$
important=true
[parse_connect]
shortStart=logged in with entity id \d+ at
start=^(?P<name>.+?)\s*\[/(?P<ip>[^\]:]*)(:?(?P<port>[0-9]+)?)\]\s*logged in
start1=^(?P<name>.+)(?P<ip>\s+)logged in
[parse_disconnect]
shortStart=(lost connection|Kick(ing|ed))
start=^(?P<name>.+)\slost connection:\s*(?P<reason>.*)$
start1=^CONSOLE:\s*Kicking\s(?P<name>.+)$
start2=Kicked\s(?P<name>.+) from the game\s*$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment