Skip to content

Instantly share code, notes, and snippets.

@TomLewis
Created August 12, 2021 16:45
Show Gist options
  • Save TomLewis/7cc5ab64363ac24b7b95c091fd183c5c to your computer and use it in GitHub Desktop.
Save TomLewis/7cc5ab64363ac24b7b95c091fd183c5c to your computer and use it in GitHub Desktop.
### ###
### ###
### ### Generic BungeeCord mark2 options
### ### Place a copy of this file in the same directory as BungeeCord
### ###
### ###
# Jar file path ;Waterfall*.jar;BungeeCord*.jar
mark2.jar-path=Waterfall*.jar
#mark2.jar-path=FlameCord*.jar
###
### JVM options
###
# Memory allocation pool initial size
java.cli.X.ms=1024M
# Memory allocation pool max size
java.cli.X.mx=1024M
# Insert your java arguments here
java.cli_extra=-XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=8M -XX:G1ReservePercent=20 -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4 -XX:InitiatingHeapOccupancyPercent=15 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:+PerfDisableSharedMem -XX:MaxTenuringThreshold=1 -Dusing.aikars.flags=https://mcflags.emc.gs -Daikars.new.flags=true -jar
###
### mark2 Services
###
###
# PROCESS
# Regular expression that lets mark2 know that BungeeCord is done loading.
mark2.service.process.done-pattern=Listening on.*
# Command that is ran when mark2 has to stop BungeeCord.
mark2.service.process.stop-cmd=end\n
# Detect player bungeecord join and quits for tab complete support
mark2.regex.join=\\[(?P<username>[A-Za-z0-9_]{1,16})\\] \\<(?P<ip>-)\\> ServerConnector.+
mark2.regex.quit=\\[(?P<username>[A-Za-z0-9_]{1,16})\\] disconnected with: (?P<reason>.+)
###
### Plugins
###
###
# ALERT
# Prints messages on an interval (in seconds)
# Each line of your alerts.txt file should be a message to say
plugin.alert.enabled=false
plugin.alert.interval=300
# Set default alert message command to alertraw so [Alert] doesn't appear
# before every message. You must use valid json. If you want to display simple
# messages, just edit the alerts.txt file and quote every line
# Example: "Text Goes Here!"
plugin.alert.command=alertraw {message}
# Minimum number of players online that are required for alerts to show up
plugin.alert.min-pcount=1
###
# LOG
# Exports server.log to a directory
plugin.log.enabled=true
plugin.log.gzip=true
plugin.log.path=mark2logs/Waterfall-{timestamp}-{status}.log.gz
#plugin.log.path=mark2logs/FlameCord-{timestamp}-{status}.log.gz
# keeps 2 weeks worth of daily logs
mark2.log.rotate-mode=daily
mark2.log.rotate-limit=14
# Whether to log to the default server.log format
plugin.log.vanilla=false
###
# MONITOR
# Set the unknown command response for mark2's crash detection system
plugin.monitor.crash-unknown-cmd-message=Command not found.*
###
# SHUTDOWN
# Make sure that the shutdown alert command uses alert instead of say.
plugin.shutdown.alert-command=alert %s
###
# BACKUP
# Disable Backup plugin
plugin.backup.enabled=false
###
# SAVE
# Disable Save plugin
plugin.save.enabled=false
###
# TRIGGER
# Disable Trigger plugin
plugin.trigger.enabled=false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment