Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding numberd groups that only have numbers in groups.yml will break the plugin #1398

Open
4 of 5 tasks
noaskers opened this issue Dec 9, 2024 · 3 comments
Open
4 of 5 tasks
Labels
Resolution: Added / Fixed Feature added / issue was fixed Type: Bug Plugin is not working as described on the wiki
Milestone

Comments

@noaskers
Copy link

noaskers commented Dec 9, 2024

Server version

1.21.3

TAB version

5.0.3

Plugin list

[15:23:10 INFO]: Server Plugins (68):
[15:23:10 INFO]: Paper Plugins:
[15:23:10 INFO]: - AdvancedServerList, FancyHolograms, FancyNpcs, RoseStacker
[15:23:10 INFO]: Bukkit Plugins:
[15:23:10 INFO]: - AdvancedEnchantments, AstroJoinMessage, BattlePass, CommandPrompter, CommandWhitelist, CrazyVouchers, CyberLevels, DeluxeMenus, DiscordSRV, Essentials
[15:23:10 INFO]: EssentialsSpawn, ExcellentCrates, ExecutableItems, floodgate, Geyser-Spigot, GiveawayZ, GradientPlus, GriefPrevention, HappyCore, HappyCoreFrame
[15:23:10 INFO]: happycosmetics, Infiniteannouncements, ItemEdit, ItemsAdder, LeaderHeadsRevamped, LibsDisguises, LoneLibs, LuckPerms, mcMMO, McmmoGuiV2
[15:23:10 INFO]: Multiverse-Core, NBTAPI, nightcore, packetevents, PinataParty, PlaceholderAPI, PlayerParticles, PlayerPoints, PlayerVaults, PlayerWarps
[15:23:10 INFO]: ProCosmetics, ProtocolLib, QuickShop-Hikari, Rankup, SCore, ShopGUIPlus, SpawnerPickaxe, StoreStats, SupremeTags, TAB
[15:23:10 INFO]: Tebex, TempFly, UnlimitedNameTags, Vault, Vehicles, ViaBackwards, ViaVersion, Votifier, WorldEdit, WorldGuard
[15:23:10 INFO]: zAuctionHouseV3, ZelChat, ZithiumCollectors, zMenu

Describe the bug

When I added a numbers groups to the groups.yml like so:

`default:
tabprefix: "Default &a"
tagprefix: "Default &a"
1:
tabprefix: "Group 1"
tagprefix: "Group 1"
example_group:
header:
- "This is an example of per-group header/footer"
footer:
- "applied to a group"

default settings for all groups, all groups will take properties from this section unless player's primary group overrides a specific setting

DEFAULT:
tabprefix: "%luckperms-suffix% &7"
tagprefix: "%luckperms-suffix% &7"
customtabname: "%player%"

per-world:
world1:
Owner:
tabprefix: "&0&l[&a&lOwner&0&l] &a"
tagprefix: "&2&lOwner &a"`

Expected behavior

Be able to create numberd groups in the groups.yml

Steps to reproduce

Generate default files from scratch add a numbers group in groups.yml
1: tabprefix: "Group 1" tagprefix: "Group 1"

Plugin will break

Additional info

This used to work before but right now it does not work anymore might be some changes in the yml code

Checklist

  • I am running latest version of the plugin
  • I have read the wiki to make sure it's not an issue with configuration
  • I ticked all of the boxes without actually reading them
  • I have read the Compatibility wiki page and am not trying to run the plugin on an unsupported server version / platform
  • I am willing to cooperate to get this issue resolved faster, including providing any additional information requested or testing new builds
@noaskers noaskers added the Type: Bug Plugin is not working as described on the wiki label Dec 9, 2024
@NEZNAMY
Copy link
Owner

NEZNAMY commented Dec 9, 2024

Define "break".

@noaskers
Copy link
Author

noaskers commented Dec 9, 2024

I'm sorry forget the add the paste bin log!

https://pastebin.com/0YPE49B8

@noaskers
Copy link
Author

noaskers commented Dec 9, 2024

"2": tabprefix: "&0&l[&7&lPlayer&0&l] &3" tagprefix: "&2&lPlayer &3"
Adding the number between quotes will fix it!

@NEZNAMY NEZNAMY added the Resolution: Added / Fixed Feature added / issue was fixed label Dec 9, 2024
@NEZNAMY NEZNAMY added this to the 5.0.4 milestone Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: Added / Fixed Feature added / issue was fixed Type: Bug Plugin is not working as described on the wiki
Projects
None yet
Development

No branches or pull requests

2 participants