🔑 PermissionsEx v2.0 [API 5]

Not a pex issue – there’s probably some other plugin blocking your. You could run /pex debug to see which permissions are being checked?

How can I set different spawn location for different groups?

Oh btw is there a specific permission node to allow a certain group to rank other players up to a specific rank? For example I want my admin group to be able to do /pex user <user> parent add group Member and /pex user <user> parent remove group Member but not be able to do /pex user <user> parent add group AnotherRank

Use a plugin that does that. That’s not the job of a permissions plugin – another plugin can use pex’s groups to set spawn locations per-group, but pex does not do itself.

@SnowBlitzz Not at the moment – you can open an issue on the GitHub repo, but it’s low-priority compared to some of the other todo items for PEX so it might be a while before it happens.

Editing this because first time for some reason the jar was downloaded with nothing in it, I have since managed to get it downloaded and tried to run it and still it crashes the server

"---- Minecraft Crash Report ----

WARNING: coremods are present:
SpongeCoremod (spongeforge-1.9.4-1968-5.0.0-BETA-1503.jar)
Contact their authors BEFORE contacting forge

// But it works on my machine.

Time: 6/28/16 12:35 PM
Description: Exception in server tick loop

net.minecraftforge.fml.common.LoaderException: java.lang.AbstractMethodError: ninja.leaping.permissionsex.sponge.PermissionsExPlugin.getDefaults()Lorg/spongepowered/api/service/permission/Subject;
at net.minecraftforge.fml.common.LoadController.transition(LoadController.java:179)
at net.minecraftforge.fml.common.Loader.serverStarted(Loader.java:831)
at net.minecraftforge.fml.common.FMLCommonHandler.handleServerStarted(FMLCommonHandler.java:290)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:431)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.AbstractMethodError: ninja.leaping.permissionsex.sponge.PermissionsExPlugin.getDefaults()Lorg/spongepowered/api/service/permission/Subject;
at net.minecraft.command.ServerCommandManager.registerDefaultPermissions(SourceFile:130)
at net.minecraft.command.ServerCommandManager.registerCommandsList(SourceFile:141)
at net.minecraft.command.ServerCommandManager.registerLowPriorityCommands(SourceFile:147)
at org.spongepowered.mod.SpongeMod.onServerStarted(SpongeMod.java:275)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:228)
at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:206)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at net.minecraftforge.fml.common.LoadController.redirect$onPost$0(LoadController.java:53)
at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:135)
at net.minecraftforge.fml.common.Loader.serverStarted(Loader.java:830)
… 3 more

A detailed walkthrough of the error, its code path and all known details is as follows:

– System Details –
Details:
Minecraft Version: 1.9.4
Operating System: Linux (amd64) version 2.6.32-042stab104.1
Java Version: 1.8.0_91, Oracle Corporation
Java VM Version: Java HotSpot™ 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 77184624 bytes (73 MB) / 486862848 bytes (464 MB) up to 1577254912 bytes (1504 MB)
JVM Flags: 11 total; -Xms32M -Xmx1555M -XX:OnOutOfMemoryError=curl https://api.creeper.host/callbacks/minecraft/outofmemory.php?instance=mc-575ff8ce8d704 -k -XX:OnError=curl https://api.creeper.host/callbacks/minecraft/crash.php?instance=mc-575ff8ce8d704 -k -XX:+UseParNewGC -XX:+CMSIncrementalPacing -XX:+CMSClassUnloadingEnabled -XX:ParallelGCThreads=2 -XX:MinHeapFreeRatio=5 -XX:MaxHeapFreeRatio=10 -XX:MaxMetaspaceSize=256M
IntCache: cache: 0, tcache: 0, allocated: 13, tallocated: 95
FML: MCP 9.28 Powered by Forge 12.17.0.1987 8 mods loaded, 8 mods active
States: ‘U’ = Unloaded ‘L’ = Loaded ‘C’ = Constructed ‘H’ = Pre-initialized ‘I’ = Initialized ‘J’ = Post-initialized ‘A’ = Available ‘D’ = Disabled ‘E’ = Errored
UCHIJAAAA mcp{9.19} [Minecraft Coder Pack] (minecraft.jar)
UCHIJAAAA FML{8.0.99.99} [Forge Mod Loader] (forge-1.9.4-12.17.0.1987-universal.jar)
UCHIJAAAA Forge{12.17.0.1987} [Minecraft Forge] (forge-1.9.4-12.17.0.1987-universal.jar)
UCHIJAAAE sponge{1.9.4-1968-5.0.0-BETA-1503} [SpongeForge] (spongeforge-1.9.4-1968-5.0.0-BETA-1503.jar)
UCHIJAAAA io.github.hsyyid.essentialcmds{@project.informativeVersion@} [EssentialCmds] (EssentialCmds-1.9.4-8.1.11-universal.jar)
UCHIJAAAA io.github.hsyyid.kits{1.7.4} [Kits] (Kits-1.7.4.jar)
UCHIJAAAA ninja.leaping.permissionsex{2.0-SNAPSHOT} [PermissionsEx] (PermissionsEx-Sponge.jar)
UCHIJAAAA totaleconomy{1.4.1} [Total Economy] (TotalEconomy-v1.4.1.jar)
Loaded coremods (and transformers):
SpongeCoremod (spongeforge-1.9.4-1968-5.0.0-BETA-1503.jar)
org.spongepowered.common.launch.transformer.SpongeSuperclassTransformer
Profiler Position: N/A (disabled)
Player Count: 0 / 10;
Is Modded: Definitely; Server brand changed to ‘fml,forge,sponge’
Type: Dedicated Server (map_server.txt)"

it looks like this is the event in the fml-server-latest.log

a copy of the logs can be found here
http://unitedskillingfront.co.uk/Forgesponge194log/

PEX isn’t compatible with API 5 yet and therefore not compatible with 1.9+ Sponge yet

@zml has actually already updated it here:

https://github.com/PEXPlugins/PermissionsEx/tree/update/sponge-bleeding

I guess it’s still in the testing phase though?

Please help I can NOT get the permissions to work with vanilla commands I keep trying /pex group mod permission minecraft.command.tp true , but it doesn’t work

Try using /pex debug from console, and then try the /tp command in-game to see what permission is being denied. It might even be another plugin commandeering the /tp command for it’s own nefarious purposes…

all it says is that you do not have access to this command!
my plugins are adminshop,command signs, EMP sponge, essential commands, inspector, kits, land protect, pex, pixel auction, pixel extras, safeguard,totaleconomy,wondertrade,holograms,sponge forge,twenty ticks,and votifier.

just out of curiosity is there a version for 1.10 or 1.10.2 ???

The latest build as of a few minutes ago builds against the 1.9+ Sponge API (v5) since that is what folks are using for the most part.

[quote=“sibomots, post:914, topic:6198”]
list all the permission nodes that belong to a specific group
[/quote]that would be:

/pex group <group> info

Okay so I downloaded the lastest version and I am running a server with SpongeForge 1473 (1.8.9)…and I am getting a crash from the ninja.leaping file.

What is the latest stable build for 1.8.9?

  1. That error report is basically useless except I already know what you’re doing wrong (hint: ignoring the version in the forum thread title). Generally you want to post the full stacktrace when you get one.
  2. Build 131 is the latest for 1.8.9

How do I migrate a permissions.json to the mysql backend?

Hey @Zml, will you be releasing a version for 1.10 in the near future?

The latest version works with 1.10

Weird… I put it on but it doesnt seem to work. Build 133 should work?

Yeah, 133 should.

What’s the error it gives you?