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

v1.10.0-b1: Support for multiple profiles in one profile

Pre-release
Pre-release
Compare
Choose a tag to compare
@Andre601 Andre601 released this 27 Dec 21:00
· 1050 commits to master since this release
7da8877

This update is a rather big one, as it adds a new profiles option to the serve list profile.

Profiles

The Server List profile can now have a profiles option. This is a list that contains the different Options in a server list profile.
As an example:

profiles:
  - motd:
      - Line 1
      - Line 2
    playerCount:
      text: Hey!

is the same as...

motd:
  - Line 1
  - Line 2

playerCount:
  text: Hey!

The main differences are...

  • You can have multiple entries.
  • Whenever an option is not set in a entry, will the global one (The option you usually have in the file) be used as replacement. This allows you to only modify specific parts while keeping others the same.

Breaking changes!

There are unfortunately breaking changes to this release.
The previously introduced motds option has been removed in favour of this new option. This means that motd is the default again and no longer deprecated.

I've written a small migration guide for those that used the motds option to see how they can migrate.
Link: https://github.com/Andre601/AdvancedServerList/wiki/Migrate-from-v1.9.0-to-v1.10.0