-
-
Notifications
You must be signed in to change notification settings - Fork 17
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
Limits not working on AOneBlock #147
Comments
Is AOneBlock listed as an active game mode in config.yml?
|
Yes, here is my config:
|
I also noticed in the source code that AOneBlock is not listed as a soft dependency? Would that be an issue? |
I'll have to try and replicate it - bit busy right now, but I'll have a try on the weekend. |
Hmm, I can't replicate this. I set AOneBlock to be used by Limits. Then I used LuckPerms and gave myself the permission How are you doing ranks? Maybe that's the issue.
|
So I have 5 ranks, each rank inherits the permissions below it, the first rank inherits the default rank. Here is how my ranks inherit one another. Netherite Rank --> Emerald Rank The netherite rank has: aoneblock.island.limit.hopper.400 The default rank has: My config has the limit of 150 for the block: hoppers When I take away all my admin perms and * and only set myself yo rank netherite and logout of the server then log in to update my perms and use the command: The hopper limit stays at 150 Can you please paste your config for limits? As well as tell me what versions you are running? |
Something that we do is we also set context for every permission for our servers. For example when we set aoneblock.island.limit.hopper.400 we set the context to server=oneblock |
Here is what I mean by the contexts. |
Could it also possibly have an issue with being on a bungee coord network? |
The Limits config I'm using is just out-of-the-box but with AOneBlock added to the list:
I'm running the latest build of Paper. I'm sure it's nothing to do with bungee cord. Also, I assume that this is not actually specific to AOneBlock - I expect if you had BSkyBlock running it'd do the same. I do suspect it is something to do with permissions and how they are setup. Could you start with a test server with BentoBox and LP perms but no perms and then just confirm that it all works? Then I suggest to try adding your ranks and see what happens. |
I also made sure to download the latest paper version "paper-1.17.1-325" and try with that but the same issue. |
Ahhhh, so I found something! |
So I found out after removing all of the other addons 1 by 1 this addon made Limits not work: Something in upgrades is causing the limits to act up :) Hopefully you find what it is because we need upgrades 😭 |
Expected behavior
We want to have different hopper limits for each rank in our AOneBlock server.
We tried setting the top rank at 400, and the default rank at 10
Top Rank: aoneblock.island.limit.hopper.400
Default Rank: aoneblock.island.limit.hopper.10
When the default player uses "/ob limits" we want the limits to change when they hover over the item in the GUI to the limit that has been assigned. Ex: Default rank should show 0/10 if they have none placed and the top rank should show 0/400 if they have none placed.
Observed/Actual behavior
So far I've tried a few ways to configure.
1st:
Set limit in config to the limit I want the default rank to have: hopper:10
Give the first rank a value above that default limit: aoneblock.island.limit.hopper.11
Restart the server
Player joins and uses: /ob limits
Limits still says 0/10 and the player cannot place more than 10 (they should have perms for a limit of 11)
2nd:
Set limit in config to the limit I want the top rank to have: hopper:400
Give the first rank a value above that default limit: aoneblock.island.limit.hopper.10
Restart the server
Player joins and uses: /ob limits
Limits still says 0/400 and the player can place more than the 10 they were assigned by perms
Seems like the perms are being ignored or this plugin is broken for AOneBlock
Steps/models to reproduce
There are no errors in console, the only way I can suggest this can be reproduced is have a server running:
Paper: git-Paper-301 (MC: 1.17.1) (Implementing API version 1.17.1-R0.1-SNAPSHOT) (Git: e14aff9)
BentoBox: BentoBox-1.17.3.jar
AOneBlock Addon: AOneBlock-1.8.1.jar
Limits Addon: Limits-1.17.2.jar
BentoBox version
Running PAPER 1.17.1.
BentoBox version: 1.17.3
Database: JSON
Loaded Game Worlds:
oneblock_world (OneBlock): Overworld, Nether*
Loaded Addons:
AOneBlock 1.8.1 (ENABLED)
Bank 1.3.2 (ENABLED)
Border 3.2.0 (ENABLED)
Challenges 0.8.4 (ENABLED)
Chat 1.1.4 (ENABLED)
ControlPanel 1.13.0 (ENABLED)
Level 2.7.2 (ENABLED)
Limits 1.17.2 (ENABLED)
Upgrades 0.2.0-SNAPSHOT-b84 (ENABLED)
Warps 1.11.1 (ENABLED)
Plugin list
Plugins (53): AdvancedColorAPI, AdvancedDevelopmentLibrary, AdvancedEnchantments, AlonsoTags, AuctionHouse, BankPlus, BentoBox, BuycraftX, Chunky, Citizens, ClearLag, CMI, CMILib, CoreProtect, CustomCommands, DeathPenalties, DeluxeCoinflip, FastAsyncWorldEdit (WorldEdit), floodgate, GCore, GoldenCrates, GuiRedeemMCMMO*, HolographicDisplays, JetsMinions, LuckPerms, mcMMO, MoneyPouch, Multiverse-Core*, NBTAPI, NexEngine, NightVision*, PinataParty, PlaceholderAPI, PlayerVaults, ProCasino, ProCosmetics, ProtocolLib, ProVotes, QuickShop, RoseStacker, SafariNet, spark, TAB, TempFly, TokenManager, UpgradeableHoppers, Vault, VoidGen, Votifier, Voting, WorldBorderAPI, WorldGuard, WorldGuardExtraFlags
Other
No response
The text was updated successfully, but these errors were encountered: