Buffer Config
The buffer config file is a properties
file used by Puffin to determine how many games should be running of each type.
Puffin looks for this file at /service/config/buffer-config.properties
by default.
Here is BlueDragon’s buffer-config.properties
at the time of writing:
# Defines the required "buffer" of instances for each game type, map name, and mode.# For keys: <game type>_<map name>_<mode># <mode> is optional. If it's not included, the last _ should also be omitted.# For values:# - Each term can consist of a number and one optional operator prefixing it# - Valid operators include:# - "+" takes the current amount of joinable servers and adds the following quantity to it# - "/" takes the current amount of logged in players and divides it by the following quantity (and adds one)# - A plain number will result in that number of instances.# - Examples:# - "/25" makes one server for every 25 players, rounding down: floor(n / 25), where n is the current number of players# - "+1" keeps one additional server as a "buffer" if all other servers are full.# - "+3" keeps a buffer of 3 servers. This means that, at most times, there will be 3 joinable game servers of this type.# - "/25 +5" creates 1 server for every 25 players, plus a buffer of 5 servers that must be joinable.# - Plain numbers and the "/" operator are not influenced by the status of each server (whether there are any empty slots).ArenaPvP_Quad=1# ^ Keep 1 server for ArenaPvP, plus one for every 10 playersBedWars_Caves=+1FastFall_Chaos=+2Infection_Office=+1Infinijump_Classic_Solo=+2Infinijump_Classic_Versus=+2Infinijump_Classic_Race=+1Lobby_lobbyv2.2=/25 +2# ^ Keep 2 lobbies with empty player slots as well as one for every 25 playersPvPMaster_Subway=+1Skyfall_Skyfall=+1SkyWars_Buccaneer=+1SkyWars_Dinner=+1SkyWars_Mini\ Trenches=+1SkyWars_Tower=+1WackyMaze_Islands=+1WackyMaze_Pitfall=+1WackyMaze_Snowy=+1WackyMaze_Canopy=+1WackyMaze_Orbit=+1Paintbrawl_Arena\ I=+1Paintbrawl_Arena\ II=+1Paintbrawl_Arena\ III=+1Paintbrawl_Arena\ IV=+1Paintbrawl_Arena\ V=+1Dominate_Stony=+1Dominate_Lunar=+1Dominate_Cherry\ Grove=+1
Common Patterns
+1
always keeps one empty game open./25
creates a new game for every 25 players logged in to the network. This is useful for persistent games like ArenaPvP.1
keeps one game open at all times and does not create or destroy games based on player count.