Skip to content
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.

Examples

Andre_601 edited this page Aug 4, 2022 · 13 revisions

About

This page lists some examples you may want to use for your proxy or server.

Feel free to suggest additional examples on my Discord Server in the #advancedserverlist channel.

Table of Contents


Versions

Some examples about version-related things.

Different List for outdated Clients

You may want to display a separate MOTD or text for incompatible client versions.
This example here shows a separate MOTD and player count message for when the player's client version is older than what the server supports.

priority: 1

# Display this profile, if the version of the player is below 760 (1.19.1)
conditions:
- '${player protocol} < 760'

motd:
- '<red>You are using an outdated client!'
- '<red>Please update to 1.19.1 to join.'

playerCount: '<red>Outdated Client!'

Different MOTD for < 1.16

This profile would display a MOTD without HEX colours if the player's version is below 735 (1.16).

priority: 1

# Display this profile, if the version of the player is below 760 (1.19.1)
conditions:
- '${player protocol} < 760'

motd:
- '<grey>Welcome to <aqua>YourServer.com</aqua>!'
- '<grey>Enjoy your stay.'

Spigot/PaperMC

Examples that can be used with the Spigot or PaperMC version.

Different profile for banned Player

Displays a separate profile for when the player has been banned from the server.

priority: 1

conditions:
- '${player isBanned} = true'

motd:
- '<red>You have been <bold>BANNED</bold>!'
- '<red>Go away.'

# Don't show the player count to the banned player.
hidePlayers: true

Other

Some misc examples.

Different profile for different host

Display a different profile when the playing pings a specific domain/IP.

priority: 1

conditions:
- '${server host} = other.example.com'

motd:
- '<grey>Please use <aqua>mc.example.com'
- '<grey>to join our server.'