Open Parties and Claims

Open Parties and Claims

25M Downloads

Cannot op or deop

legoulot opened this issue ยท 8 comments

commented

Hello,

When I have OPAC running on a server, I can no longer use /op or /deop commands.
When executing the command, I get the following message: "An unexpected error occurred trying to execute that command". It solves itself if I remove the jar and restart the server.

I might just miss something but I can't find anything in this regard.

Minecraft 1.20.1
Tried versions 0.19 and 0.18 of the mod.

Regards,
LeGoulot

commented

Thanks for reporting. Do you have other mods installed? If so, please test just OPAC on a new world and, if it works, try to figure out what the conflicting mod is.

commented

Hi,

You're welcome. Thanks for the fast answer!

Oh it seemed logical to me to test with only this mod before reporting it here but I should have mentioned it.
I also tried with the dependancies alone (Fabric API and Forge Config Port API) but I have no problem with these two. The error only occurs if I add the third jar (OPAC), and disappears when I remove it.

If this helps, here is the server console at startup:

[09:30:37 INFO]: Loading Minecraft 1.20.1 with Fabric Loader 0.14.21
[09:30:37 INFO]: Loading 43 mods:
	- fabric-api 0.85.0+1.20.1
	   |-- fabric-api-base 0.4.29+b04edc7a77
	   |-- fabric-api-lookup-api-v1 1.6.34+4d8536c977
	   |-- fabric-biome-api-v1 13.0.10+b3afc78b77
	   |-- fabric-block-api-v1 1.0.9+e022e5d177
	   |-- fabric-blockrenderlayer-v1 1.1.39+b3afc78b77
	   |-- fabric-client-tags-api-v1 1.1.0+97bb207577
	   |-- fabric-command-api-v1 1.2.32+f71b366f77
	   |-- fabric-command-api-v2 2.2.11+b3afc78b77
	   |-- fabric-commands-v0 0.2.49+df3654b377
	   |-- fabric-containers-v0 0.1.61+df3654b377
	   |-- fabric-content-registries-v0 4.0.8+b3afc78b77
	   |-- fabric-convention-tags-v1 1.5.3+b3afc78b77
	   |-- fabric-crash-report-info-v1 0.2.18+aeb40ebe77
	   |-- fabric-data-generation-api-v1 12.1.12+b3afc78b77
	   |-- fabric-dimensions-v1 2.1.51+b3afc78b77
	   |-- fabric-entity-events-v1 1.5.21+b3afc78b77
	   |-- fabric-events-interaction-v0 0.6.0+b3afc78b77
	   |-- fabric-events-lifecycle-v0 0.2.61+df3654b377
	   |-- fabric-game-rule-api-v1 1.0.38+b04edc7a77
	   |-- fabric-item-api-v1 2.1.26+b3afc78b77
	   |-- fabric-item-group-api-v1 4.0.8+40e50c4677
	   |-- fabric-key-binding-api-v1 1.0.36+fb8d95da77
	   |-- fabric-keybindings-v0 0.2.34+df3654b377
	   |-- fabric-lifecycle-events-v1 2.2.20+b3afc78b77
	   |-- fabric-loot-api-v2 1.1.38+b3afc78b77
	   |-- fabric-loot-tables-v1 1.1.42+9e7660c677
	   |-- fabric-message-api-v1 5.1.6+b3afc78b77
	   |-- fabric-mining-level-api-v1 2.1.48+b3afc78b77
	   |-- fabric-models-v0 0.3.35+b3afc78b77
	   |-- fabric-networking-api-v1 1.3.8+b3afc78b77
	   |-- fabric-networking-v0 0.3.48+df3654b377
	   |-- fabric-object-builder-api-v1 11.1.0+6beca84877
	   |-- fabric-particles-v1 1.1.0+201a23a077
	   |-- fabric-recipe-api-v1 1.0.18+b3afc78b77
	   |-- fabric-registry-sync-v0 2.2.6+b3afc78b77
	   |-- fabric-renderer-api-v1 3.1.0+c154966e77
	   |-- fabric-renderer-indigo 1.4.0+c154966e77
	   |-- fabric-renderer-registries-v1 3.2.44+df3654b377
	   |-- fabric-rendering-data-attachment-v1 0.3.33+b3afc78b77
	   |-- fabric-rendering-fluids-v1 3.0.26+b3afc78b77
	   |-- fabric-rendering-v0 1.1.47+df3654b377
	   |-- fabric-rendering-v1 3.0.6+b3afc78b77
	   |-- fabric-resource-conditions-api-v1 2.3.5+ea08f9d877
	   |-- fabric-resource-loader-v0 0.11.8+e3d6ed2577
	   |-- fabric-screen-api-v1 2.0.6+b3afc78b77
	   |-- fabric-screen-handler-api-v1 1.3.27+b3afc78b77
	   |-- fabric-sound-api-v1 1.0.12+b3afc78b77
	   |-- fabric-transfer-api-v1 3.2.3+43a3fedd77
	   \-- fabric-transitive-access-wideners-v1 4.2.0+b3afc78b77
	- fabricloader 0.14.21
	- forgeconfigapiport 8.0.0
	- java 17
	- minecraft 1.20.1
	- openpartiesandclaims 0.19.0
[09:30:37 INFO]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=file:/C:/Users/[user]/AppData/Roaming/.minecraft/LocalServer%20-%20Copie/libraries/net/fabricmc/sponge-mixin/0.12.5+mixin.0.8.5/sponge-mixin-0.12.5+mixin.0.8.5.jar Service=Knot/Fabric Env=SERVER
[09:30:38 INFO]: Compatibility level set to JAVA_16
[09:30:38 INFO]: Compatibility level set to JAVA_17
[09:30:43 INFO]: Loading Open Parties and Claims!
[09:30:43 INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD'
[09:30:44 INFO]: Loaded 7 recipes
[09:30:44 INFO]: Loaded 1271 advancements
[09:30:44 INFO]: Applied 0 biome modifications to 0 of 64 new biomes in 1.332 ms
[09:30:45 INFO]: Starting minecraft server version 1.20.1
[09:30:45 INFO]: Loading properties
[09:30:45 INFO]: Default game type: CREATIVE
[09:30:45 INFO]: Generating keypair
[09:30:45 INFO]: Starting Minecraft server on 0.0.0.0:25565
[09:30:45 INFO]: Using default channel type
[09:30:45 INFO]: Preparing level "LaBrasserie_Tests"
[09:30:45 INFO]: Initializing Open Parties and Claims for the server...
[09:30:45 INFO]: Loading server info!
[09:30:45 INFO]: Loading player configs...
[09:30:45 INFO]: Loaded player configs!
[09:30:45 INFO]: Loading parties...
[09:30:45 INFO]: Loaded parties!
[09:30:45 INFO]: Fixing party inconsistencies...
[09:30:45 INFO]: Registered party system for OPAC: default
[09:30:46 INFO]: Preparing start region for dimension minecraft:overworld
[09:30:47 INFO]: Preparing spawn area: 0%
[09:30:47 INFO]: Preparing spawn area: 0%
[09:30:47 INFO]: Preparing spawn area: 0%
[09:30:47 INFO]: Preparing spawn area: 44%
[09:30:48 INFO]: Time elapsed: 1726 ms
[09:30:48 INFO]: Done (2.530s)! For help, type "help"
[09:30:48 INFO]: Loading claims...
[09:30:48 INFO]: Loaded claims in 0ms
[09:30:48 WARN]: The configured permission system "prometheus" isn't registered!
[09:30:48 WARN]: The configured primary party system "argonauts_guilds" isn't registered!
[09:30:48 INFO]: Configured OPAC to use the following party system as primary: default

Please note this is a test world that has just been created for this purpose.
I also tried to create the world when having OPAC installed and without having OPAC installed. In both scenarii, I have the same error message when the mod is present, and the op/deop commands act normally as soon as I remove OPAC and restart the server.

Have a good day.

Regards,
LeGoulot

commented

Thanks for the info! I'll check it out.

commented

What does it say when you hover over the "An unexpected error occurred trying to execute that command" message?

commented

I can't seem to be able to reproduce this for the life of me.
There's something important you didn't tell me.

commented

I think I know what's wrong. Were you opping offline players?

commented

I think I know what's wrong. Were you opping offline players?

Hi, indeed, I've tested again and it only happens with offline players.
I've also tested with the new 0.19.1 build, but I still have the same issue with offline players, sorry :-/

Regards,
LeGoulot

commented

Yeah, I just realized I didn't fix it.