Giter Club home page Giter Club logo

permissionsex's Introduction

README

PermissionsEx

PermissionsEx (PEX (not the pipe)) is a full-service permissions plugin giving in-depth control of permissions for a server. PEX is available for various server and proxy platforms:

💬 Having an issue setting up PEX? Check out our Discord

🐞 Found a bug? File a bug report

Development Builds

Development

Want to access permissions in your plugin? PermissionsEx tries to provide extensive compatibility with native APIs, but sometimes more direct access is needed. In that case, PEX has an extensive API that allows querying any sort of information.

PEX can also be extended to support new platforms or implement new data store formats using just the implementation-agnostic core API.

On Maven

PEX is available in a format that can be retrieved in Maven. Its repository:

<repository>
    <id>pex-repo</id>
    <url>https://repo.glaremasters.me/repository/permissionsex/</url>
</repository>

and its dependency specification is:

<dependency>
    <groupId>ca.stellardrift.permissionsex</groupId>
    <artifactId>permissionsex-core</artifactId> <!-- replace with -sponge or -bukkit depending on which platform you're using -->
    <version>2.0-SNAPSHOT</version>
</dependency>

On Gradle

We work in the Kotlin DSL, but Groovy should be similar.

repositories {
    maven(url = "https://repo.glaremasters.me/repository/permissionsex/") {
        name = "pex-repo"
    }
}

dependencies {
    implementation("ca.stellardrift.permissionsex:permissionsex-core:2.0-SNAPSHOT")
}

Contributing

PermissionsEx always appreciates well thought-out pull requests for code changes, documentation improvements, and translations. All contributions except those to the Bukkit implementation of PEX must be released under the terms of the Apache 2.0 license. All contributions to PermissionsEx for Bukkit/Spigot/Paper must be provided under the terms of the GNU General Public License, version 3 or later.

We build with Gradle -- a wrapper is provided, to build the project simply run ./gradlew build. Feel free to run ideas by me in the discord before spending time implementing something that doesn't match my vision for the plugin.

permissionsex's People

Contributors

arensirb avatar aurelien-roy avatar caspervg avatar darkarc avatar derflash avatar extered avatar flames avatar ichbinjoe avatar lycano avatar marksort avatar md-5 avatar menelmir avatar mpotthoff avatar pdelvo avatar praefator avatar psithief avatar punkeel avatar renovate-bot avatar renovate[bot] avatar robmcl4 avatar robxu9 avatar simsonic avatar stuntguy3000 avatar t3hk0d3 avatar tonybruess avatar x4n4th avatar zml2008 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

permissionsex's Issues

Not detecting

A lot of plugins I was hoping to use are not detection PEX as a permissions plugin. Saying thing's like "No permission plugins detected." The Bukkit server is even saying " Server permissions file permissions.yml is empty, ignoring it". Could I fix this by myself of is it a problem with the plugin?

modifyworld.mobtarget problem

The permission node modifyworld.mobtarget doesn't seem to be working

The function it provides works, but the node itself does nothing.

having
- modifyworld.*
- -modifyworld.mobtarget.*
doesn't prevent mobs from targeting you,
while having all other nodes defined individually and leaving out mobtarget works perfectly.
Like this:
- modifyworld.blocks.*
- modifyworld.damage.*
- modifyworld.interract.*
- modifyworld.tame.*
- modifyworld.items*
- modifyworld.vehicle.*
- modifyworld.chat
- modifyworld.login
- modifyworld.chat.private
- modifyworld.usebeds
- modifyworld.bucket.*
- -modifyworld.*
- '*'

I suspect the node isn't what it says in the wiki here on github.

'\t' that cannot start any token initializing PermissionsEx v1.13

Hey
Getting this error alot on my server after i set up permissions for the people.

2011-08-24 22:42:29 [SEVERE] while scanning for the next token; found character '\t' that cannot start any token initializing PermissionsEx v1.13 (Is it up to date?)
while scanning for the next token
found character '\t' that cannot start any token
in "", line 33, column 42:
... 'essentials.itemspawn.item-all'

Thats the part about the error

Server log on pastebin:
http://pastebin.com/pya5YbZ3

PEX promotion/demotion nodes broken

Completely unable to give a mod only promotion and demotion nodes.

I've tried
permissions.user.promote
permissions.user.promote.*
permissions.user.rank.promote

and none of them have worked.. I don't want them to be able to use any other commands, but they still are not able to promote/demote players on the default ladder.

Startup issue

19:10:56 [SEVERE] Error occurred while enabling PermissionsEx v1.13 (Is it up to date?): org.bukkit.plugin.PluginDescriptionFile.getPermissions()Ljava/util/ArrayList;
java.lang.NoSuchMethodError: org.bukkit.plugin.PluginDescriptionFile.getPermissions()Ljava/util/ArrayList;
at ru.tehkode.permissions.bukkit.BukkitPermissions.collectPermissions(BukkitPermissions.java:105)
at ru.tehkode.permissions.bukkit.BukkitPermissions.(BukkitPermissions.java:73)
at ru.tehkode.permissions.bukkit.PermissionsEx.onEnable(PermissionsEx.java:103)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:920)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
at me.kalmanolah.os.OKmain.onEnable(OKmain.java:95)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:920)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:173)
at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:156)
at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:297)
at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:284)
at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:152)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)

[request] nickname

A simple nickname system would be very nice.
Optionally allow/disallow users to set colors for themselves.

Bug with SQL backend

Negated Permissions don't work with SQL backend. It doesn't matter in which order they are created. An additional field "weight" might help.

Pex Hierarchy To File

On mature and/or busy servers, the hierarchy command floods the console to the extent that the only way to read it is with either a considerable scroll-back buffer or use of a tool such as BSD script. The size and complexity of the output suits it to file output, so that the user can view it or upload it without a problem.

In short, it would be useful if /pex hierarchy could write it's output to a file.

Can't find PEX

19:35:23 [INFO] [PermissionsEx] Superperms support enabled.
19:35:23 [INFO] [PermissionsEx] v1.13 enabled
19:35:23 [SEVERE] [ChatManager] PermissionsEx not found, disabling
19:35:23 [INFO] [ChatManager] ChatManager disabled!
19:35:23 [SEVERE] [Modifyworld] PermissionsEx not found, disabling
19:35:23 [INFO] [Modifyworld] Modifyworld disabled!
19:35:23 [INFO] [PermissionsCompat] Compatibility layer enabled.

Can anyone help. Probably not a prob with the plugin just my computer but can anyone help anyways?

Add a new player automatically to SQL - permissions_entities

Please add a feature/option to automatically add new joining players to 'permissions_entites' (sql backend).
If it's possible the player could also be assigned to default group in 'permissions_inheritance

As for now any new player is not listed anywhere in database, hence it's not possible to change his/hers permissions/groups via a web panel.

xWarp and PermissionsEX

I'm not sure if I did it incorrectly but I tried using for example the xWarp permission xwarp.warp.prices.create.public (this is the correct permission according to their wiki) with a value of 10 on the permissions SQL table. This would in theory make it cost 10 iConomy coins for someone in the specified group to create a public warp. However it does not seem to work. Is this how the value field is used? If so, what am I doing wrong?

It is similar to doing:
groups:
--group1:
----info:
------warp:
--------prices:
----------public: 10

Dashes there so it doesn't erase the spaces.

Problem with WorldEdit

I am using PermissionsEx 1.13 with MySQL and WorldEdit won't hook into PermissionsEx.
In result to that, nobody (even people with the worldedit.* or specific worldedit. permissions ) can't use worldedit whatsoever.

If name contains dot, the yaml will be broken.

The old Permissions plugin already has this problem.

For example, if a user is named 0.0.0, the user section will become:

users:
  '0':
    '0':
      '0':
        group:
        - user

If a user named 0., then the users like 0.. , 0..., 0.... all will be in same group.

Build flag in SQL

Unless I am mistaken and cannot find it, there doesn't seem to be a build permission or flag to be set through SQL for groups. Is there some sort of permission to use or does a build field need to be added to the entity table?

Inheritance not working as intended?

I have a user with the group Builder-Mod. It's a superclass of the Builder group and the Moderator group.

There are many permissions in each, thanks to explicitly spelling out worldedit permissions and such.

I need to know if I simply have this misconfigured.
http://pastebin.com/y8tzvbsi
This is the link to my permissions.yml, scrubbed of unnecessary user info.
I recieve no errors on server start or reload.

Unrelated, but helpful:
Can you make a permissions node for a user being able to promote/demote himself up to a rank limit?
Also, xWarp functionality seems to be lost, in regards to the information nodes that worked with TheYeti's permissions. I don't know if it's a bug with xWarp or PermissionsEx, but it would be nice to get some communication going to see what is going on. (I hope it's just a misconfiguration!)

Group per World for Users?

I can't find any info whether or not it is possible to assign groups to users per world, like:

users:
Name:
worlds:
world1:
- Group1
world2:
- Group2

For some users it may be sufficient to define the group permissions per world, but you can't have, for example, different moderators in different worlds.

If it's not possible yet, then let this post be a feature request.

Conversion Fails to Recognize Default Group

When trying to convert from Permissions 2.7.x to PEX I get errors during the file dump. The primary error is that no default group is set even though the first group in the permissions file has the default: true property.

When converting from 3.x/2.x permissons to PEX on 1060+ Error with pex dump file permissions.yml

[code]2011-08-30 02:02:05 [INFO] [PermissionsEx] Initializing p2compat backend
2011-08-30 02:02:05 [INFO] [PermissionsCompat] Parsing "aether.yml" file
2011-08-30 02:02:05 [INFO] [PermissionsCompat] Parsing "nether.yml" file
2011-08-30 02:02:05 [INFO] [PermissionsCompat] Parsing "worldeco.yml" file
2011-08-30 02:02:05 [INFO] Permission backend changed!
2011-08-30 02:02:15 [INFO] [PermissionsEx] Initializing file backend
2011-08-30 02:02:15 [INFO] Error: null
2011-08-30 02:02:15 [SEVERE] Error: null
2011-08-30 02:02:15 [SEVERE] java.util.ConcurrentModificationException
2011-08-30 02:02:15 [SEVERE] at java.util.HashMap$HashIterator.nextEntry(Unknown Source)
2011-08-30 02:02:15 [SEVERE] at java.util.HashMap$KeyIterator.next(Unknown Source)
2011-08-30 02:02:15 [SEVERE] at ru.tehkode.permissions.compat.P2Entity.getAllOptions(P2Entity.java:116)
2011-08-30 02:02:15 [SEVERE] at ru.tehkode.permissions.ProxyPermissionUser.getAllOptions(ProxyPermissionUser.java:94)
2011-08-30 02:02:15 [SEVERE] at ru.tehkode.permissions.backends.FileBackend.dumpData(FileBackend.java:283)
2011-08-30 02:02:15 [SEVERE] at ru.tehkode.permissions.bukkit.commands.UtilityCommands.dumpData(UtilityCommands.java:141)
2011-08-30 02:02:15 [SEVERE] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2011-08-30 02:02:15 [SEVERE] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2011-08-30 02:02:15 [SEVERE] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2011-08-30 02:02:15 [SEVERE] at java.lang.reflect.Method.invoke(Unknown Source)
2011-08-30 02:02:15 [SEVERE] at ru.tehkode.permissions.commands.CommandsManager$CommandBinding.call(CommandsManager.java:298)
2011-08-30 02:02:15 [SEVERE] at ru.tehkode.permissions.commands.CommandsManager.execute(CommandsManager.java:120)
2011-08-30 02:02:15 [SEVERE] at ru.tehkode.permissions.bukkit.PermissionsEx.onCommand(PermissionsEx.java:123)
2011-08-30 02:02:15 [SEVERE] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
2011-08-30 02:02:15 [SEVERE] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
2011-08-30 02:02:15 [SEVERE] at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:344)
2011-08-30 02:02:15 [SEVERE] at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:488)
2011-08-30 02:02:15 [SEVERE] at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:467)
2011-08-30 02:02:15 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
2011-08-30 02:02:15 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)[/code]

Op able to edit Pex permissions?

It would be nice if I can make all op's able to manage PEX. Without giving them permission. Or even better special user Op in witch we can set what permission got all op's

Perfix and Color

Hello
Im having some problems with the prefix. Im using the plugin iChat and ColorMe, but none of them seem to react to anything.

No prefix or color?

Hey

Ive made some prefix's in my permissions file but they dont show up on the world? Using the chat manager that came with PEX

Chat Manager config:

chat-range: 100.0
global-message-format: [%world] >> %prefix %player%suffix: &e%message
enable: true
message-format: %prefix %player%suffix: %message
ranged-mode: false

Prefix setting in permissions:

ServerOwner:
    worlds:
        '&f[&1SO&f]':
            prefix: set
    permissions:
    - '*'

Simple sign command for /pex promote <user>

I used commandsigns before to acomplish this but its not working in 1.8 anymore and it never really worked well.

Would it be possible for pex to directly support promote signs? A lot of servers(including mine of coruse) has some sort of a test system where guest users can obtain build rights automatically. Thats where the prmotion sign comes in, at the end of the test they just rightclick it and the command /pex promote is ran. Of course the sign is limited to only be used by the guest group of users so they cant keep being promoted.

Hope its possible!

Debug code left in Dinnerperms

at src/main/java/ru/tehcode/permissions/bukkit/BukkitPermissions.java line 138 outside of the isDebug() check. This is annoying a bunch of users complaining in IRC.

SEVERE chunk bug

Since PEX 1.14 & RB 1185, it seems that some chunk can be "bugged". Let me explain : In those chunks, people with the -modifyworld.* will be able to open chest (where they should no be able to). In other regular chunks, they won't be able to. it's only happening with chest, block place& break, item pickup and so on seems to work..
In those bugged chunk, no one will be able to place a block in flowing water. (the block will dissapear and the water will still flow). Something to do with Modifyworld ?

I can't truly state if it's coming from pex, because when I reload to disable or enable pex, the bugged chunk changes positions. But I think the chest thing is coming from PEX.

It seems that a server reboot "fix" the chunks. But more of them will pop somewhere else :/

SQL-table prefix

Hay,
could you add a config option to set a table prefix for the sql backend?

e.g.:

prefix_permissions
prefix_permissions_entity
prefix_permissions_inheritance

TIA

Can't seem to get ChatManager working

I'm trying to get it to show this:
[group] name: message

group will be a different colour depending on their group.
This is my config.

groups:
guest:
default: true
permissions:
- modifyworld.*
prefix: '&2'
suffix: 'Guest'
moderator:
default: false
permissions:
- modifyworld.*
inheritance: guest
prefix: '&4'
suffix: 'Moderator'
admin:
default: false
permissions:
- modifyworld.*
prefix: '&8'
suffix: 'Admin'

and

chat-range: 100.0
display-name-format: '%prefix%player%suffix'
global-message-format: <%prefix&f><%sufix>%player: %message
enable: true
message-format: <%prefix&f><%sufix>%player: %message
ranged-mode: false

But all it shows is message.
Not sure if this is a bug or something I'm doing wrong :)
If you can help me this it would be great.

PEX is getting bloated

Just a suggested. It feels like the base PEX module is getting too bloated with the features.
It would be nice if Modifyworld & Chat were completely seperate helper plugins rather than contained in PEX itself.

ModifyWorld does now track paintings and crops.

Greetings, guests on my server have no permissions to edit or interface with any blocks or entities, yet they can affect wheat (by walking on it) and paintings (by punching them). I toggled debug mode and I don't see any checks for these items until they walk over the dropped item.

2011-08-16 11:32:45 [INFO] User xchuckyx checked for "modifyworld.items.pickup.295", no permission found
2011-08-16 11:32:45 [INFO] User xchuckyx checked for "modifyworld.items.pickup.seeds", no permission found
...etc.

Permissions.yml file is available here if you'd like to verify it: http://pastebin.com/nE8LNQcq

World based groups refusing to work in SQL

I run a server with 3 worlds and use permissionsEX (latest sept 5th commit)
worlds are : world, world_nether and PvP respectively.
world is the main creative world, users should have access to all group permissions assigned (and they do)
world_nether simply inherits permissions from world (works without fault)
PvP should have no permissions and everyone should revert to Player (this is where things break down)

Using the SQL backend (cannot dump to yml either or id post my entire config)

The problem is I cant assign a player to a group based on whichever world they're in.

For instance in the table permissions_inheritance
INSERT INTO permissions_inheritance ( child, parent, type, world ) VALUES ( 'Chromauk', 'Admin', 1, world);
Causes me to drop down to the default Player group across every world.

if i try:
INSERT INTO permissions_inheritance ( child, parent, type, world ) VALUES ( 'Chromauk', 'Admin', 1, ``);
INSERT INTOpermissions_inheritance(`child`,`parent`,`type`,`world`) VALUES ( 'Chromauk', 'Player', 1,`PvP`);

I bounce back to Admin on every world and only seem to remove access to permissionsEX on PvP (the rest of my admin commands still work)

As it stands right now every group maintains permissions across worlds and therefore has access to commands which should be restricted in the PvP world.

Even modifying values in game to assign users/groups permissions to specific worlds refuses to work as expected.
I've spent the past 3 days playing around, radically altering my database (then reverting back when everyone drops to Player across the board) and reading through the source trying to trace the issue to no avail.

I've frankly tried everything I can think of and cannot get it to work. any ideas?

Dumped sql to flatfile. made changes. tried dumping back to sql

pex dump sql "permissions.sql"
22:36:05 [INFO] [PermissionsEx] Initializing sql backend
22:36:05 [INFO] Error: null
22:36:05 [SEVERE] Error: null
22:36:05 [SEVERE] java.lang.ArrayStoreException
22:36:05 [SEVERE] at java.lang.System.arraycopy(Native Method)
22:36:05 [SEVERE] at java.util.Arrays.copyOf(Unknown Source)
22:36:05 [SEVERE] at java.util.ArrayList.toArray(Unknown Source)
22:36:05 [SEVERE] at ru.tehkode.permissions.file.FileUser.getGroupsNamesIm
pl(FileUser.java:62)
22:36:05 [SEVERE] at ru.tehkode.permissions.PermissionUser.getGroups(Permi
ssionUser.java:146)
22:36:05 [SEVERE] at ru.tehkode.permissions.PermissionUser.getGroupsNames(
PermissionUser.java:172)
22:36:06 [SEVERE] at ru.tehkode.permissions.backends.SQLBackend.dumpData(S
QLBackend.java:204)
22:36:06 [SEVERE] at ru.tehkode.permissions.bukkit.commands.UtilityCommand
s.dumpData(UtilityCommands.java:141)
22:36:06 [SEVERE] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native M
ethod)
22:36:06 [SEVERE] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown S
ource)
22:36:06 [SEVERE] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unkno
wn Source)
22:36:06 [SEVERE] at java.lang.reflect.Method.invoke(Unknown Source)
22:36:06 [SEVERE] at ru.tehkode.permissions.commands.CommandsManager$Comma
ndBinding.call(CommandsManager.java:298)
22:36:06 [SEVERE] at ru.tehkode.permissions.commands.CommandsManager.execu
te(CommandsManager.java:122)
22:36:06 [SEVERE] at ru.tehkode.permissions.bukkit.PermissionsEx.onCommand
(PermissionsEx.java:112)
22:36:06 [SEVERE] at org.bukkit.command.PluginCommand.execute(PluginComman
d.java:35)
22:36:06 [SEVERE] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCo
mmandMap.java:129)
22:36:06 [SEVERE] at org.bukkit.craftbukkit.CraftServer.dispatchCommand(Cr
aftServer.java:312)
22:36:06 [SEVERE] at net.minecraft.server.MinecraftServer.b(MinecraftServe
r.java:480)
22:36:06 [SEVERE] at net.minecraft.server.MinecraftServer.h(MinecraftServe
r.java:465)
22:36:06 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftSer
ver.java:361)
22:36:06 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(Sour
ceFile:422)

Does HeroChat work with this?

Basically what the title says, I've tried to get it working, as I've seen some people do it, but I'm having problems, how do I do this, or is it not possible?

Operator causing problems

I installed PermissionsEx, but unless players are Operators, they can't use any commands for iconomy or essentials, and if they are they have access to all commands, not just the ones in their groups.

Promote after set time

Promoting a user to a new rank after a set amount of time would make grey listing on servers ALOT easier for server admins, and the few plugins that could do this before are either inactive or do not support PEX. Maybe add this as a default feature?

[SEVERE] null initializing PermissionsEx v1.14 (Is it up to date?)

2011-09-27 20:30:10 [INFO] Starting minecraft server version Beta 1.8.1
2011-09-27 20:30:10 [WARNING] **** NOT ENOUGH RAM!
2011-09-27 20:30:10 [WARNING] To start the server with more ram, launch it as "java -Xmx1024M -Xms1024M -jar minecraft_server.jar"
2011-09-27 20:30:10 [INFO] Loading properties
2011-09-27 20:30:10 [INFO] Starting Minecraft server on *:25565
2011-09-27 20:30:10 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-1067-g6301507-b1185jnks (MC: 1.8.1)
2011-09-27 20:30:11 [INFO] [PermissionsEx] sql backend registered!
2011-09-27 20:30:11 [INFO] [PermissionsEx] file backend registered!
2011-09-27 20:30:11 [INFO] [PermissionsEx] PermissionEx plugin initialized.
2011-09-27 20:30:11 [INFO] [PermissionsEx] p2compat backend registered!
2011-09-27 20:30:11 [INFO] [PermissionsCompat] Compatibility Layer Initalized!
2011-09-27 20:30:11 [INFO] LWC: Loading shared objects
2011-09-27 20:30:11 [INFO] LWC: Protection cache: 0/10000
2011-09-27 20:30:11 [INFO] LWC: Native library: plugins/LWC/lib/native/Linux/amd64/libsqlitejdbc.so
2011-09-27 20:30:11 [INFO] [PermissionsEx] Initializing file backend
2011-09-27 20:30:11 [SEVERE] null initializing PermissionsEx v1.14 (Is it up to date?)
java.lang.NullPointerException
at ru.tehkode.permissions.backends.FileBackend.initialize(FileBackend.java:71)
at ru.tehkode.permissions.PermissionManager.setBackend(PermissionManager.java:420)
at ru.tehkode.permissions.PermissionManager.initBackend(PermissionManager.java:471)
at ru.tehkode.permissions.PermissionManager.(PermissionManager.java:53)
at ru.tehkode.permissions.bukkit.PermissionsEx.onLoad(PermissionsEx.java:73)
at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:141)
at org.bukkit.craftbukkit.CraftServer.(CraftServer.java:103)
at net.minecraft.server.ServerConfigurationManager.(ServerConfigurationManager.java:52)
at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:136)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
2011-09-27 20:30:11 [WARNING] [PermissionsCompat] PermissionsEx plugin not found. Some plugins may not work.

Permissions are not being inherited

I have to add users to every group in order to give them all access.

My users in Mod group need to be in Builder and Default to get thos commands. What am I doing wrong?

Also, if i enable modifyworld no one but ops can build so I had to disable modify world, but now default users can build and i dont want that? What am I doing wrong?

Here is a copy of my config

http://pastebin.com/VR633GJk

I am running craftbukkit with mc 1.8.1 and Essentials 1.6.*

Add an User to a Group for X time.

Hi,
about this description "Timed Permissions - you can give user permission only for some amount of time." I have a similar request: the possibility to add an User to a Group for X time.
Regards.

Bukkit 1185 SuperPerms

Updated my server to Bukkit 1185. Super Perms using PEX no longer seem to be working, and the server throws a Sever on reload or restart.

2011-09-22 04:07:58 [SEVERE] Error occurred while enabling PermissionsEx v1.13 (Is it up to date?): org.bukkit.plugin.PluginDescriptionFile.getPermissions()Ljava/util/ArrayList;
java.lang.NoSuchMethodError: org.bukkit.plugin.PluginDescriptionFile.getPermissions()Ljava/util/ArrayList;
at ru.tehkode.permissions.bukkit.BukkitPermissions.collectPermissions(BukkitPermissions.java:105)
at ru.tehkode.permissions.bukkit.BukkitPermissions.(BukkitPermissions.java:73)
at ru.tehkode.permissions.bukkit.PermissionsEx.onEnable(PermissionsEx.java:103)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:920)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:173)
at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:156)
at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:410)
at org.bukkit.Bukkit.reload(Bukkit.java:173)
at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:22)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:353)
at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:349)
at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:499)
at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:478)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)

Errors while trying to convert Permissions 2.7.4 to PermissionsEX on RB 1060

2011-08-20 03:58:43 [INFO] [PermissionsEx] Initializing p2compat backend
2011-08-20 03:58:43 [INFO] [PermissionsCompat] Parsing "Freebuild.yml" file
2011-08-20 03:58:43 [INFO] [PermissionsCompat] Parsing "Iconomy.yml" file
2011-08-20 03:58:43 [INFO] �[37mPermission backend changed!�[0m
2011-08-20 03:58:57 [INFO] [PermissionsEx] Initializing file backend
2011-08-20 03:58:57 [INFO] �[31mError: null�[0m
2011-08-20 03:58:57 [SEVERE] Error: null
2011-08-20 03:58:57 [SEVERE] java.util.ConcurrentModificationException
2011-08-20 03:58:57 [SEVERE] at java.util.HashMap$HashIterator.nextEntry(HashMap.java:810)
2011-08-20 03:58:57 [SEVERE] at java.util.HashMap$KeyIterator.next(HashMap.java:845)
2011-08-20 03:58:57 [SEVERE] at ru.tehkode.permissions.compat.P2Entity.getAllOptions(P2Entity.java:116)
2011-08-20 03:58:57 [SEVERE] at ru.tehkode.permissions.ProxyPermissionUser.getAllOptions(ProxyPermissionUser.java:94)
2011-08-20 03:58:57 [SEVERE] at ru.tehkode.permissions.backends.FileBackend.dumpData(FileBackend.java:283)
2011-08-20 03:58:57 [SEVERE] at ru.tehkode.permissions.bukkit.commands.UtilityCommands.dumpData(UtilityCommands.java:141)
2011-08-20 03:58:57 [SEVERE] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2011-08-20 03:58:57 [SEVERE] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
2011-08-20 03:58:57 [SEVERE] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2011-08-20 03:58:57 [SEVERE] at java.lang.reflect.Method.invoke(Method.java:616)
2011-08-20 03:58:57 [SEVERE] at ru.tehkode.permissions.commands.CommandsManager$CommandBinding.call(CommandsManager.java:291)
2011-08-20 03:58:57 [SEVERE] at ru.tehkode.permissions.commands.CommandsManager.execute(CommandsManager.java:120)
2011-08-20 03:58:57 [SEVERE] at ru.tehkode.permissions.bukkit.PermissionsEx.onCommand(PermissionsEx.java:123)
2011-08-20 03:58:57 [SEVERE] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
2011-08-20 03:58:57 [SEVERE] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
2011-08-20 03:58:57 [SEVERE] at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:344)
2011-08-20 03:58:57 [SEVERE] at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:489)
2011-08-20 03:58:57 [SEVERE] at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:468)
2011-08-20 03:58:57 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
2011-08-20 03:58:57 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
2011-08-20 03:59:13 [INFO] [PermissionsEx] Initializing file backend
2011-08-20 03:59:13 [INFO] �[31mError: null�[0m
2011-08-20 03:59:13 [SEVERE] Error: null
2011-08-20 03:59:13 [SEVERE] java.util.ConcurrentModificationException
2011-08-20 03:59:13 [SEVERE] at java.util.HashMap$HashIterator.nextEntry(HashMap.java:810)
2011-08-20 03:59:13 [SEVERE] at java.util.HashMap$KeyIterator.next(HashMap.java:845)
2011-08-20 03:59:13 [SEVERE] at ru.tehkode.permissions.compat.P2Entity.getAllOptions(P2Entity.java:116)
2011-08-20 03:59:13 [SEVERE] at ru.tehkode.permissions.ProxyPermissionUser.getAllOptions(ProxyPermissionUser.java:94)
2011-08-20 03:59:13 [SEVERE] at ru.tehkode.permissions.backends.FileBackend.dumpData(FileBackend.java:283)
2011-08-20 03:59:13 [SEVERE] at ru.tehkode.permissions.bukkit.commands.UtilityCommands.dumpData(UtilityCommands.java:141)
2011-08-20 03:59:13 [SEVERE] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2011-08-20 03:59:13 [SEVERE] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
2011-08-20 03:59:13 [SEVERE] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2011-08-20 03:59:13 [SEVERE] at java.lang.reflect.Method.invoke(Method.java:616)
2011-08-20 03:59:13 [SEVERE] at ru.tehkode.permissions.commands.CommandsManager$CommandBinding.call(CommandsManager.java:291)
2011-08-20 03:59:13 [SEVERE] at ru.tehkode.permissions.commands.CommandsManager.execute(CommandsManager.java:120)
2011-08-20 03:59:13 [SEVERE] at ru.tehkode.permissions.bukkit.PermissionsEx.onCommand(PermissionsEx.java:123)
2011-08-20 03:59:13 [SEVERE] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
2011-08-20 03:59:13 [SEVERE] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
2011-08-20 03:59:13 [SEVERE] at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:344)
2011-08-20 03:59:13 [SEVERE] at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:489)
2011-08-20 03:59:13 [SEVERE] at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:468)
2011-08-20 03:59:13 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
2011-08-20 03:59:13 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
2011-08-20 03:59:20 [INFO] [PermissionsEx] Initializing file backend
2011-08-20 03:59:20 [INFO] �[37mPermission backend changed!�[0m
2011-08-20 03:59:25 [INFO] User/Group inheritance hierarchy:�[0m
2011-08-20 03:59:25 [SEVERE] There is bogus command handler for pex command. (Is appropriate plugin is update?)
2011-08-20 03:59:25 [SEVERE] java.lang.NullPointerException
2011-08-20 03:59:25 [SEVERE] at ru.tehkode.permissions.backends.FileBackend.getGroups(FileBackend.java:191)
2011-08-20 03:59:25 [SEVERE] at ru.tehkode.permissions.PermissionManager.getGroups(PermissionManager.java:231)
2011-08-20 03:59:25 [SEVERE] at ru.tehkode.permissions.bukkit.commands.PermissionsCommand.printHierarchy(PermissionsCommand.java:243)
2011-08-20 03:59:25 [SEVERE] at ru.tehkode.permissions.bukkit.commands.UtilityCommands.printHierarhy(UtilityCommands.java:122)
2011-08-20 03:59:25 [SEVERE] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2011-08-20 03:59:25 [SEVERE] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
2011-08-20 03:59:25 [SEVERE] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2011-08-20 03:59:25 [SEVERE] at java.lang.reflect.Method.invoke(Method.java:616)
2011-08-20 03:59:25 [SEVERE] at ru.tehkode.permissions.commands.CommandsManager$CommandBinding.call(CommandsManager.java:291)
2011-08-20 03:59:25 [SEVERE] at ru.tehkode.permissions.commands.CommandsManager.execute(CommandsManager.java:120)
2011-08-20 03:59:25 [SEVERE] at ru.tehkode.permissions.bukkit.PermissionsEx.onCommand(PermissionsEx.java:123)
2011-08-20 03:59:25 [SEVERE] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
2011-08-20 03:59:25 [SEVERE] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
2011-08-20 03:59:25 [SEVERE] at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:344)
2011-08-20 03:59:25 [SEVERE] at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:489)
2011-08-20 03:59:25 [SEVERE] at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:468)
2011-08-20 03:59:25 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
2011-08-20 03:59:25 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)

There are the errors. I can't seem to dump my permissions for some odd reason.

Feature request: Timed promotion

I was poking around on IRC earlier about getting PEX hooked up with Time rank. The author of that plugin is tied into permissions 3.x.x .

You already have a timed permissions feature in PEX. Would it be possible to add timed ranking? Ie: 2 hours in game moves you up one level, 5 hours moves you up to the next.

Thanks

MonsterTKE

SQL: Auto reload if something changes

Mysql.

Situation: we change on our website the rank of a player. (automatic script on site after registration default -> member)
Problem: ingame the player is not member until a moderator reload the plugin.

Suggestion: auto reload plugin option for the SQL.

Something that SQL changes are instant viewed for the users.

1.13 Causes clientside lag

We don't know why it does it since it doesn't give any error feed back. But all of our members lag when we switch over to pEx 1.13 from 1.12. We only load the permisisonsex.jar & permissions.jar (permcompat) and after we restart the server it starts to lag the clients. The server is fine; 20/ticks per second, but our members experience chat, block, & movement lag.

If possible, I think it would be best if you can join our server and see if 1st hand.

Feature Request.

Not sure if this idea possible/requested but here goes.

Would it be possible to have on the world settings for each group a seperate prefix/suffix for each world?
For example I would be Default group only and in world Main I would have the tag [Guest] then in the Survival world I would still stay the same rank but have the tag [Survivalist]

Bug with Perms 3.x -> 2.x -> PEX conversion, CB 1060

I've been having a rather strange error where i get this:

2011-09-01 20:18:21 [WARNING] [PermissionsEx] Specified backend "p2compat" are not found.

Now, all i did to my perm 3.x file was merge, parse (to ensure a correct merge), name it my world (which is PC-World), then type all that which i had to into the cmd prompt. after i checked the file and it hadn't copied.... any help please?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.