ItsSchatten / PortableCraftingInvs

This is a spigot/bukkit plugin. It allows a player to open crafting type inventories. (I.E. Enderchest, Crafting Tables, and such.)
MIT License
8 stars 0 forks source link

Permissions don t working #40

Closed mihiblu closed 1 year ago

mihiblu commented 1 year ago

Howdy,

Permissions for: anvil, enderchest, stonecutter, loom and grindstone do not work. Otherwise, for everything else it works, with the same method.

image image

ItsSchatten commented 1 year ago

Strange; thanks for the heads up! I'll take a look around and see if I can find the culprit.

mihiblu commented 1 year ago

Have you not found the cause yet? Because my players are looking forward to having access to the missing features.

ItsSchatten commented 1 year ago

I'm so sorry for the lack of response or work. I've been incredibly busy getting a project of mine up and running. I promise I shall look into in the coming few days.

mihiblu commented 1 year ago

Alright, thank you very much. P.S. Good luck with the new project! Keep up the good work!

ItsSchatten commented 1 year ago

Hey there, would you mind sending what spigot version you are running and your plugin list? I have a hunch this may be caused by running Essentials.

PaulinaCarrot commented 1 year ago

Hello, having a similar issues on my server as well. This happened after updating plugins & server to 1.19.4. Here's a list of our plugins:

Paper Plugins:
  - Minepacks
Bukkit Plugins:
 - AuthMe, BanManager, BungeeGuard, ChatControlRed, Citizens, CMI, CMILib, CraftingStore, dynmap, Elevators
  Essentials, EssentialsGeoIP, GlobalMarketChest, GriefPrevention, HolographicDisplays, HuskSync, *JDynmapGriefPrevention, LibsDisguises, LogBlock, LuckPerms
  LWC, MaSuiteCore, MaSuiteHomes, MaSuiteTeleports, MaSuiteWarps, mcMMO, MyCommand, NashornPlus, OtherDros, PlaceholderAPI
 Plan, PortableCraftingInvs, PremiumVanish, ProtocolLib, SkinsRestorer, TAB-Bridge, TreasureChest, Vault, VillagerLobotomizatorNator, VotingPlugin
 WorldBorder, WorldEdit, WorldGuard, WorldGuardExtraFlags, XConomy
ItsSchatten commented 1 year ago

Wonderful! Thanks a lot for that.

This confirms my theory that it's likely Essentials.

While I look into a fix or work around for this, I would highly recommend setting a custom command in the servers commands.yml (located in the server root directory) file to point directly to PCI's command (example below), or you may pass the handling off to essentials if you prefer with their appropriate permission.

# aliases: should replace the one already located in your commands.yml file.
aliases:
  # This will be the name of the command.
  enderchest:
  # A list of commands.
  # To make sure we are using PCI for the command handling we want to add 'portablecraftinginvs:' before the command we want to execute.
  - portablecraftinginvs:ec $1- # The $1- will pass all of the arguments in the command to PCI.
ItsSchatten commented 1 year ago

Please note: that you must have allow-essentials to false in the settings.yml for this to function properly.

Please reopen this issue if you exerience issues.