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

Max homes limit for players is the set limit minus 1 #2546

Closed
SenorFlamingo opened this issue Nov 2, 2024 · 1 comment
Closed

Max homes limit for players is the set limit minus 1 #2546

SenorFlamingo opened this issue Nov 2, 2024 · 1 comment
Assignees
Labels
Status: Done This issue has been completed or answered. This pull request has been merged.

Comments

@SenorFlamingo
Copy link

SenorFlamingo commented Nov 2, 2024

Expected behavior

Max homes of a player respects the configured limit with the ingame command

Observed/Actual behavior

When setting a home that's one less than the limit, you will get a message that you've reached the limit with the correct limit amount, even though you've only set one home less.

Steps/models to reproduce

  • use /bsbadmin setmaxhomes [playername] 4
  • set three homes with player
  • try to make a fourth one with the error appearing

Note: if this doesn't reproduce the bug, it might also be that I've repositioned existing homes before the limit was reached.

BentoBox version

Running PAPER 1.21.1.
(1.21.1-120-57c75a4 (MC: 1.21.1))
BentoBox version: 2.6.0
Database: JSON
Loaded Game Worlds:
skyblock_world (SkyBlock): Overworld, Nether, The End
Loaded Addons:
Bank 1.8.0 (ENABLED)
Biomes 2.2.0-SNAPSHOT-b258 (ENABLED)
Border 4.3.0 (ENABLED)
BSkyBlock 1.18.1 (ENABLED)
Challenges 1.3.1 (ENABLED)
Chat 1.2.0 (ENABLED)
ControlPanel 1.13.1 (ENABLED)
DimensionalTrees 1.7.0 (ENABLED)
ExtraMobs 1.13 (ENABLED)
IslandFly 1.13.0 (ENABLED)
Level 2.16.1 (ENABLED)
Likes 2.4.0 (ENABLED)
Limits 1.25.0 (ENABLED)
MagicCobblestoneGenerator 2.5.2-SNAPSHOT-b272 (ENABLED)

Plugin list

Server Plugins (87):
Paper Plugins:
 - AutoPickup2, BetterChestShops, Minepacks, RoseStacker, SignedVelocity, UltimateJQMessages, UltimateMobCoins, UltimateTags, UltimateWands
Bukkit Plugins:
 - ajLeaderboards, AntiAFKPlus, AreaShop, ArmorStandEditor, BentoBox, BentoBox-Bank, BentoBox-Biomes, BentoBox-BSkyBlock, BentoBox-Challenges, BentoBox-IslandFly
 BentoBox-Level, BentoBox-Likes, BentoBox-Limits, BentoBox-MagicCobblestoneGenerator, BetonQuest, BetterBoard, BottledExp, ChestShop, ChestShopNotifier, Citizens
 CleanroomGenerator, CMI, CMILib, *ConditionalPerms, CraftingStore, DecentHolograms, DeluxeCoinflip, DeluxeCombat, Duels, eco
 EcoEnchants, EffectLib, EntityDetection, Fadah, FastAsyncWorldEdit, FreedomChat, HeadDatabase, Hyperverse, InteractiveBoard, libreforge
 LibsDisguises, *LibsDisguiseWGFlags, LimitCrafting, LogBlock, cMMO, MobArena, MobFarmManager, MythicMobs, NametagEdit, NBTAPI
 NetworkManager, packetevents, Parkour, ParticlesMenu, PL-Hide, PlaceholderAPI, PlayerParticles, PlayerPoints, Polymart, PremiumVanish
 ProtocolLib, Shopkeepers, SimplePets, SpecializedCrates, *TCRestart, TNTRun_reloaded, TradeSystem, TryMe, UltimateMenus, UltimateShoutPro
 UpgradeableHoppers, Vault, ViaBackwards, ViaVersion, VoidGen, VotingPlugin, WGEF-Reborn, WorldGuard

Other

No response

@tastybento tastybento added the Status: Under investigation Investigating the interest and the feasability of the issue. label Nov 2, 2024
@tastybento tastybento self-assigned this Nov 23, 2024
@tastybento tastybento added Status: In progress Working on the issue. and removed Status: Under investigation Investigating the interest and the feasability of the issue. labels Nov 23, 2024
tastybento added a commit that referenced this issue Nov 23, 2024
…players_is_the_set_limit_minus_1

Fix for #2546. Default unnamed home was being counted in the number
@tastybento tastybento added Status: Done This issue has been completed or answered. This pull request has been merged. and removed Status: In progress Working on the issue. labels Nov 23, 2024
@tastybento
Copy link
Member

Thanks. This was because the default unnamed home (the one you go to if you do /is) was being counted. THis change will enable players to set one named home in addition to their default home. Not a bad thing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Done This issue has been completed or answered. This pull request has been merged.
Projects
None yet
Development

No branches or pull requests

2 participants