Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
AdvancedServerList

AdvancedServerList

A plugin to display a custom MOTD, Player count text, player count hover and Favicon using conditions and priorities.

39.3k
130
Utility

Compatibility

Minecraft: Java Edition

1.21.x
1.20.x
1.19.x

Platforms

BungeeCord
Folia
Paper
Spigot
Velocity
Waterfall

Supported environments

Server-side

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Links

Report issues View source Visit wiki Join Discord server
Donate on PatreonDonate on Ko-fi

Creators

Andre601
Andre601 Owner

Details

Licensed MIT
Created 2 years ago
Updated 3 months ago
DescriptionGalleryChangelogVersions
All versionsv5.1.2 (velocity)

v5.1.2 (velocity)

Download
Report

Changelog

This small update should hopefully fix an issue where a IndexOutOfBoundsException could be raised in Conditions if only using a placeholder.

Truth be told, I'm not sure if this issue is fixed for good or not, as I wasn't really able to properly reproduce it.
But the way I understand it is this: I had a system in place where the index (Current position in the full text) would be increased by one, if the placeholder was parsed in a condition. This had a unwanted side-effect here, where if you only used a Placeholder for the condition, it could cause the aforementioned exception. It could also happen, if the condition ended with a placeholder.

As an example, here are the indexes indicated on a condition after handling the placeholder:

# This one is fine.
${player name} != "Anonymous"
              ^

# This one is Out of bounds
${player isWhitelisted}
                       ^

# This one is also Out of bounds
"Anonymous" != ${player name}
                             ^

I really hope this issue is now fixed, as I otherwise have no idea what could be the problem.

Dependencies

dependency-iconPAPIProxyBridgeoptional
dependency-iconMaintenanceoptional

Files

AdvancedServerList-Velocity-5.1.2.jar(3.3 MiB) Primary
Download
AdvancedServerList-BanPlugins-Addon-5.1.2.jar(22.24 KiB)
Download

Metadata

Release channel

Release

Version number

5.1.2

Loaders

Velocity

Game versions

1.20–1.21.1, 1.21.2, 1.21.3, 1.21.4

Downloads

98

Publication date

December 10, 2024 at 10:33 PM

Publisher

Andre601

Andre601

Owner

Version ID

Modrinth is open source.

app-ads@1633f40

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.