🔑 PermissionsEx v2.0 [API 5]

Still getting errors, and commands aren’t registering, even after creating the config files.

java.lang.RuntimeException: Error occurred while enabling PermissionsEx
        at ninja.leaping.permissionsex.sponge.PermissionsExPlugin.onPreInit(PermissionsExPlugin.java:135) ~[PermissionsExPlugin.class:?]
        at org.spongepowered.common.event.listener.GamePreInitializationEventListener_PermissionsExPlugin_onPreInit11.handle(Unknown Source) ~[?:?]
        at org.spongepowered.common.event.RegisteredListener.handle(RegisteredListener.java:92) ~[RegisteredListener.class:1.8-1568-2.1-DEV-837]
        at org.spongepowered.common.event.SpongeEventManager.post(SpongeEventManager.java:242) [SpongeEventManager.class:1.8-1568-2.1-DEV-837]
        at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:269) [SpongeModEventManager.class:1.8-1568-2.1-DEV-837]
        at org.spongepowered.mod.SpongeMod.onStateEvent(SpongeMod.java:151) [SpongeMod.class:1.8-1568-2.1-DEV-837]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_66]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_66]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_66]
        at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_66]
        at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) [minecraft_server.1.8.jar:?]
        at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) [minecraft_server.1.8.jar:?]
        at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) [minecraft_server.1.8.jar:?]
        at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) [minecraft_server.1.8.jar:?]
        at com.google.common.eventbus.EventBus.post(EventBus.java:275) [minecraft_server.1.8.jar:?]
        at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:212) [LoadController.class:?]
        at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:190) [LoadController.class:?]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_66]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_66]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_66]
        at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_66]
        at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) [minecraft_server.1.8.jar:?]
        at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) [minecraft_server.1.8.jar:?]
        at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) [minecraft_server.1.8.jar:?]
        at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) [minecraft_server.1.8.jar:?]
        at com.google.common.eventbus.EventBus.post(EventBus.java:275) [minecraft_server.1.8.jar:?]
        at net.minecraftforge.fml.common.LoadController.onPost(LoadController.java:49) [LoadController.class:?]
        at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:119) [LoadController.class:?]
        at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:550) [Loader.class:?]
        at net.minecraftforge.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:88) [FMLServerHandler.class:?]
        at net.minecraftforge.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:355) [FMLCommonHandler.class:?]
        at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:117) [po.class:?]
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:438) [MinecraftServer.class:?]
        at java.lang.Thread.run(Thread.java:745) [?:1.8.0_66]
Caused by: java.util.NoSuchElementException: No value present
        at java.util.Optional.get(Optional.java:135) ~[?:1.8.0_66]
        at ninja.leaping.permissionsex.sponge.PermissionsExPlugin.lambda$new$0(PermissionsExPlugin.java:113) ~[PermissionsExPlugin.class:?]
        at ninja.leaping.permissionsex.util.Util.asyncFailableFuture(Util.java:74) ~[Util.class:?]
        at ninja.leaping.permissionsex.backend.AbstractDataStore.performBulkOperation(AbstractDataStore.java:127) ~[AbstractDataStore.class:?]
        at ninja.leaping.permissionsex.PermissionsEx.convertUuids(PermissionsEx.java:125) ~[PermissionsEx.class:?]
        at ninja.leaping.permissionsex.PermissionsEx.<init>(PermissionsEx.java:107) ~[PermissionsEx.class:?]
        at ninja.leaping.permissionsex.sponge.PermissionsExPlugin.onPreInit(PermissionsExPlugin.java:133) ~[PermissionsExPlugin.class:?]
        ... 33 more
[17:50:10] [Server thread/TRACE] [Sponge/Sponge]: Sent event FMLPreInitializationEvent to mod Sponge

all you need to do is create/upload and empty file name permissionsex.conf and then when loading PEX will populate it with the config information as if it had created the file

I did that, as I said. Downgrading to an old build worked, but then other plugins complained.

I can’t get PEX to work on anything newer than 833.

Your issue is actually something different – I’ll have to take a look more in-depth but I’m really busy right now so it’ll be a little while.

1 Like

Sounds good. Take your time!

I’m having a problem with build #94, SpongeForge 838, and Forge 1568.

It only seems to crash on SpongeForge build 834+

1 Like

It’s updated to SpongeForge Dev 833, He’s still waiting on more free time to update and fix an issue again

MoeBoy76 It’s not enough. I still does not work (#93 and #94).

there is nothing in your last pastebin to suggest anything is wrong, the server seems to have started fine

MoeBoy76, Server the mod starts without error. Error when connecting to the player.

Read my previous posts

Definitely going to need an update to Dev 847 here soon :wink: Everything runs as is supposed to on Dev 833

I have never worked. pex - Pastebin.com

Are you sure you have the most recent Permissionsex? I have my server using Forge 1568 and SpongeForge dev 833, I had to create my ONE config file and ONE json’s file to get it to work but I’m having no issues currently.

Yes
forge-1.8-11.14.4.1568-universal.jar
spongeforge-1.8-1568-2.1-DEV-833.jar
permissionsex-sponge-2.0-SNAPSHOT.jar (or PermissionsEx-Sponge.jar) #95
No other mods
permissions.json and permissionsex.conf created

It needs a recompile

He’s been pretty busy and trying to find time to recompile, took a bit for the 833 recompile as well.

PEX works on Sponge 848…

EDIT: Nope, was wrong, sorry.
EDIT2: Was wrong the 2nd time. It does indeed work on Sponge 848 :slight_smile:

1 Like

When I tried on 847 it didn’t? Would it be different if I did 848?

Nvm. i thought we had it running on the SoS VII server. Seems like i was wrong :stuck_out_tongue:
Sorry for causing confusion.