No, i don't want to check permissions, i want all plugins that does the hasPermission() to call an event in my plugin. That event would then check...
Is there an event that gets called when the server checks if the player has a permission? Like, you would have PlayerPermissionCheckEvent and it...
Hi, i've been trying to get this for the last couple of hours, but no success. I am basically getting blocks material and data from a file, then...
I know this has been asked many time and there are alot of results on google, but none of them have answers that really work and almost all of the...
Garris0n java.lang.ClassCastException: org.bukkit.material.MaterialData cannot be cast to org.bukkit.material.Rails Nope Garris0n Okay,...
Aqgorn Everytime i try it i don't get any errors until i actually use the code, then i get a ClassCastException. java.lang.ClassCastException:...
Aqgorn final Minecart cart = (Minecart) player.getWorld().spawnEntity(player.getLocation(),...
Okay, so i've currently got a plguin that spawns a minecart, and every second it checks the minecarts position, and then do stuff. Now, i want...
The_Doctor_123 What class? I'm doing it in a class called Center.java wich implements Structure. Then i'm trying to get the Center class from my...
The_Doctor_123 Uhm, where should i do value()? I tried doing it like this: Structure structure = (Structure)...
Hi, i'm creating a plugin that basically build houses for me. Every house has it's own class instance and i basically want to do so that you can...
Okay then, i'll google around, thanks for the help.
I that case i would like to know how to read the format myself and then creating a loop through that. Pasting it takes too much time, since it's...
Hi, was just wondering if there's any way to loop through a worldedit schematic? I have one saved as a file but cannot figure out how to do it....
1Rogue I'm doing it in my 'onPlayerJoin'. Also, "Permissions" class?
1Rogue I am not OP. Why does * give permission to use all commands in essentials? And how does PEX and such do it then?
1Rogue xGun None of these worked for me, i also tried them both with just giving myself: essentials.me essentials.afk Then removing: essentials.me...
So i'm currently creating a custom per-player permission plugin, and i'm trying to give myself the permission '*' wich gives me all permissions,...
1Rogue While your code worked, i decided to go with The_Doctor_123 's instead, just cause it was easier to add to the code. The_Doctor_123 Your...
1Rogue Uhm, well, i'm getting the player name from the SQL, so i probably do. It's supposed to get "playername, items" from mysql, check if...
Separate names with a comma.