Information: Minecraft Server: I started working on my old Minecraft server called Terona. Join our discord if you want :D Join

Configure NullBrand

Every NullBrand option with its default and effect, the full default config and placeholders.

NullBrandChecked

On this page

NullBrand has one file, config.yml. Edit it and run /nullbrand reload. If the file has a YAML error, the reload is refused and the working config stays active.

A missing setting uses its built-in default. Where the built-in default differs from the value in the shipped file, both are listed.

Full default config#

This is the shipped config.yml from 2.0.2 (unchanged since 2.0.1). The comment header is left out, and one hover line in the event profile uses a comma here where the shipped file has a long dash.

yaml
# Enable debug logging (verbose startup info)
debug: false
# =============================================================
# MOTD SETTINGS
# =============================================================
motd:
  enabled: true
  # Default active profile
  profile: "default"
  # Global favicon file (inside /plugins/NullBrand/favicons/)
  favicon: "logo.png"
# =============================================================
# MAINTENANCE MODE
# =============================================================
maintenance:
  enabled: false
  profile: "maintenance"
# =============================================================
# FAKE PLAYER ENGINE (global default, can be overridden per-profile)
# Modes: STATIC | RANDOM | SMART | TIME_BASED
# =============================================================
fakeplayers:
  enabled: false
  mode: STATIC
  amount: 250        # STATIC mode: add this many fake players
  min: 120           # RANDOM mode: minimum
  max: 280           # RANDOM mode: maximum
  multiplier: 1.8    # SMART mode: multiply real count by this
  minimum: 50        # SMART mode: minimum floor bonus
  cache-ticks: 20    # RANDOM mode: refresh interval in ticks (50ms each)
# =============================================================
# MAX PLAYERS OVERRIDE (global default, can be overridden per-profile)
# =============================================================
maxplayers:
  enabled: false
  amount: 9999
# =============================================================
# CUSTOM PLAYERCOUNT TEXT / ANIMATION
# Overrides the player count hover tooltip in the server list
# =============================================================
playercount:
  enabled: false
  text:
    enabled: false
    value: "<#ff00ff>NullBrand Network"
  animation:
    enabled: false
    interval: 20
    frames:
      - "<#ff0000>✦ PLAY NOW ✦"
      - "<#00ff00>✦ JOIN TODAY ✦"
      - "<#0000ff>✦ NULLBRAND ✦"
# =============================================================
# PROFILE ROTATION
# =============================================================
rotation:
  enabled: false
  interval: 300  # seconds
  profiles:
    - default
    - event
# =============================================================
# PING PROTECTION / RATE LIMITING
# =============================================================
pingprotection:
  enabled: true
  cooldown-ms: 500    # minimum ms between pings from same IP
  max-per-second: 10  # reserved for future burst limiting
# =============================================================
# LANGUAGE / MESSAGES
# Supports legacy color codes (&a, &c, etc.)
# =============================================================
lang:
  reload: "&aNullBrand reloaded successfully."
  no-permission: "&cYou don't have permission."
  profile-switched: "&aActive profile switched to: &e%profile%"
  maintenance-on: "&aMaintenance mode &cenabled&a."
  maintenance-off: "&aMaintenance mode &adisabled&a."
  unknown-profile: "&cUnknown profile: &e%profile%"
  fakeplayers-set: "&aFake players set to: &e%amount%"
  status: "&7--- &5NullBrand &7Status ---\n&7Profile: &f%profile%\n&7Maintenance: &f%maintenance%\n&7FakePlayers: &f%fakeplayers%"
# =============================================================
# MOTD PROFILES
# =============================================================
profiles:
  # Fallback profile (used if active profile is missing)
  global:
    lines:
      - "&7Welcome to our server"
      - "&fHave fun!"
  # Default server branding
  default:
    lines:
      - "<gradient:#ff00ff:#00ffff>NullBrand Network"
      - "<#aaaaaa>▶ <white>%display_online%</white> players online"
    hover:
      enabled: true
      random: false
      lines:
        - "&7Welcome to &5Null&dBrand"
        - "&7Running powerful infrastructure"
        - "&7Players online: &f%display_online%"
    # Leave out fakeplayers/maxplayers/playercount to inherit global defaults
    animation:
      enabled: false
      interval: 40
      frames:
        - "<gradient:#ff00ff:#00ffff>NullBrand Network"
        - "<gradient:#00ffff:#ff00ff>NullBrand Network"
  # Live event MOTD
  event:
    lines:
      - "&6&lSpecial Event &e&lLive Now!"
      - "&eJoin now and claim your rewards!"
    hover:
      enabled: true
      random: true
      lines:
        - "&6Limited time event, join fast!"
        - "&ePrizes and rewards await!"
        - "&aEvent ends this weekend!"
  # Maintenance mode MOTD
  maintenance:
    lines:
      - "&c&lServer Maintenance"
      - "&7We'll be back shortly. Follow us for updates."
    hover:
      enabled: true
      lines:
        - "&cMaintenance in progress"
        - "&7Check our Discord for live updates"
    maxplayers:
      enabled: true
      amount: 0

General#

SettingDefaultWhat it does
debugfalseLogs extra [DEBUG] lines, such as each profile rotation.
motd.enabledtrueMaster switch. When false, NullBrand leaves every ping alone.
motd.profiledefaultThe profile shown when the server starts or reloads. If it does not exist, the global profile is shown.
motd.faviconlogo.png in the file, empty if missingIcon file inside the favicons folder. Must be a PNG of exactly 64 by 64 pixels, at most 1 MiB. Empty means no icon change.

Profiles#

Each entry under profiles is one profile. The name is what you use in motd.profile, /nb profile and rotation.profiles.

SettingDefaultWhat it does
linesrequiredThe MOTD lines. The server list shows two lines. If a profile has no lines, NullBrand logs a warning and shows &5Null&dBrand.
hover.enabledfalseShow hover.lines when players hover over the player count.
hover.randomfalseShow one random line per ping instead of all lines.
hover.linesnoneThe hover lines.
animation.enabledfalseCycle through animation.frames instead of lines.
animation.interval20Ticks per frame. One tick is 50 ms, so 20 is one second.
animation.framesnoneEach frame is the whole MOTD as one string. Use %newline% for a second line. If the list is empty, the animation is turned off with a warning.
faviconnoneAn icon just for this profile. If it cannot be loaded, the global icon is used.
fakeplayersglobal valueIts own fake player settings. Leave it out to use the global fakeplayers section.
maxplayersglobal valueIts own max players setting.
playercountglobal valueIts own player count text or animation.

The global profile is the fallback. It is used when the active profile or the maintenance profile does not exist. If you delete it, NullBrand creates one with &7Welcome to our server and &fHave fun!.

Text and colours#

SyntaxWhere it works
&a, &l and other & codesEverywhere
&#RRGGBB and <#RRGGBB> hex coloursEverywhere
MiniMessage tags: <gradient:#ff00ff:#00ffff>, <rainbow>, <white>, <red>Velocity and Paper only

On BungeeCord and plain Spigot, MiniMessage tags are not converted and show up as text. Keep to & codes and hex there.

The default profile's two MOTD lines rendered on two platforms. On Paper and Velocity, NullBrand Network shows as a magenta to cyan gradient and the second line as 12 players online. On BungeeCord and plain Spigot, the tags show as text: the first line shows the gradient tag before NullBrand Network, partly coloured because the hex codes inside the tag still convert, and the second line shows the white tags around 12

Illustration generated with AI and checked by Maj Kovačič.

Placeholders#

These work in MOTD lines, animation frames, hover lines and player count text:

PlaceholderValue
%online%Real players online
%max_players%Real max players
%fake_online%Fake players added
%display_online%Online count shown, with fake players
%display_max%Max players shown
%profile%, %motd_name%Name of the profile being shown
%platform%, %proxy%Velocity, BungeeCord or Spigot
%time%Server time, HH:mm:ss
%date%Server date, yyyy-MM-dd
%maintenance%true or false
%fakeplayers%Fake player mode and bonus, for example STATIC +250, or off
%newline%A line break

Fake players#

fakeplayers adds a number to the online count shown in the server list. It never adds real players.

SettingDefaultWhat it does
enabledfalseTurn fake players on.
modeSTATICOne of STATIC, RANDOM, SMART, TIME_BASED. An unknown mode logs a warning and uses STATIC.
amount250STATIC: add this many.
min120 in the file, 100 if missingRANDOM: lowest bonus. If min is above max, they are swapped with a warning.
max280 in the file, 300 if missingRANDOM: highest bonus.
multiplier1.8 in the file, 1.5 if missingSMART: show about real count times this.
minimum50SMART and TIME_BASED: the bonus is never lower than this.
cache-ticks20RANDOM: how often a new random number is picked, in 50 ms ticks. 20 is one second.

How each mode works:

  • STATIC adds amount. /nb fakeplayers <amount> replaces it until the next reload.
  • RANDOM adds a random number between min and max, refreshed every cache-ticks.
  • SMART adds the real count times multiplier minus the real count, but at least minimum.
  • TIME_BASED multiplies the real count by a factor for the time of day, and adds at least minimum. Factors: 17:00 to 22:00 is 2.0 (2.5 at weekends), 12:00 to 17:00 is 1.4 (1.8 at weekends), 07:00 to 12:00 is 1.2, and night is 0.3, which leaves only minimum. It uses the server's local time.

Max players#

SettingDefaultWhat it does
maxplayers.enabledfalseReplace the max player number shown in the server list. It does not change the real slot limit.
maxplayers.amount9999The number to show. A negative number logs a warning and uses 9999.

The shipped maintenance profile sets this to 0.

Player count text#

playercount replaces the hover lines with your own text or animation. It does not work on plain Spigot.

SettingDefaultWhat it does
playercount.enabledfalseTurn the section on.
playercount.text.enabledfalseShow text.value.
playercount.text.valueemptyThe text.
playercount.animation.enabledfalseCycle through animation.frames. Wins over text.
playercount.animation.interval20Ticks per frame (50 ms each).
playercount.animation.framesnoneThe frames.

If playercount is on but both text and animation are off, the profile's normal hover lines are shown.

Rotation#

SettingDefaultWhat it does
rotation.enabledfalseSwitch profiles on a timer.
rotation.interval300Seconds between switches.
rotation.profilesnoneThe profiles to cycle through. Names that do not exist are skipped.

The first switch goes to the second name in the list, then on in order, and back to the start. A rotation switch replaces any profile you set with /nb profile. Maintenance mode still wins over rotation.

Maintenance#

SettingDefaultWhat it does
maintenance.enabledfalseStart with maintenance on.
maintenance.profilemaintenanceThe profile shown while maintenance is on. If it does not exist, global is shown.

Maintenance only changes the server list. Players can still join. /nb maintenance changes it until the next reload or restart.

Ping protection#

SettingDefaultWhat it does
pingprotection.enabledtrueIgnore repeated pings from the same IP.
pingprotection.cooldown-ms500If the same IP pings again within this many milliseconds, NullBrand leaves that ping alone and the platform's own MOTD is sent.
pingprotection.max-per-second10Not used yet. Reserved for a future burst limit.

NullBrand remembers up to 16384 IP addresses for this.

Messages#

All lang texts use & colour codes.

KeyShown whenPlaceholders
reloadA reload workednone
no-permissionYou lack the permissionnone
profile-switched/nb profile worked%profile%
maintenance-on, maintenance-off/nb maintenancenone
unknown-profile/nb profile with a name that does not exist%profile%
fakeplayers-set/nb fakeplayers worked%amount%
status/nb status. Use \n for new lines.%platform%, %profile%, %maintenance% (ENABLED or disabled), %fakeplayers% (mode name or disabled)

Commands and permissions#

/nullbrand and its permissions are on Commands.

For developers#

Other plugins can call the static methods in dev.korinetwork.nullbrand.api.NullBrandAPI: reload(), setProfile(name), getActiveProfile(), setMaintenance(active), isMaintenance(), setFakePlayers(amount) and getDisplayedPlayers(realOnline).

Your likes

Only what this browser did. Your data on this device