Giter Site home page Giter Site logo

vault's Issues

Vault 1.2.6 console error

Hello
I had Update from vault 1.2.5 that is was working fine to the new one 1.2.6 and is giving me this error and of course is not working.

10:24:05 [SEVERE] Error occurred while enabling Vault v1.2.6-b70 (Is it up to da
te?): org.bukkit.plugin.PluginManager.registerEvents(Lorg/bukkit/event/Listener;
Lorg/bukkit/plugin/Plugin;)V
java.lang.NoSuchMethodError: org.bukkit.plugin.PluginManager.registerEvents(Lorg
/bukkit/event/Listener;Lorg/bukkit/plugin/Plugin;)V
        at net.milkbowl.vault.economy.plugins.Economy_iConomy6.<init>(Economy_iC
onomy6.java:34)
        at net.milkbowl.vault.Vault.loadEconomy(Vault.java:280)
        at net.milkbowl.vault.Vault.onEnable(Vault.java:105)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:230)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
.java:989)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
r.java:280)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:190)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:173
)
        at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:132)
        at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigur
ationManager.java:52)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:407)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)

Can you help me out with this error?
thank you in advance

Vault presence causes PEX failures with parent permission nodes

It looks like the presence of Vault causes some severe failure with PermissionsEx.

I started investigating this when some of my plugin users complained that any parent permission nodes in my ScrollingMenuSign plugin weren't being picked up by PEX. At @t3hk0d3 's suggestion, I ran the SuperPermsTest (http://dev.bukkit.org/server-mods/superpermstest/) plugin against PEX, and got a lot of failures - see https://gist.github.com/1559189

On a hunch, I re-ran the same tests against PEX without Vault loaded, and everything passed.

It appears that the presence of Vault is somehow preventing PEX from handling parent permission nodes correctly - i.e. even if a user has been given the parent node in the PEX permissions.yml, both player.hasPermission() and the native PEX has() method return false for any child nodes of the given parent node. Also worth nothing that SuperPermsTest doesn't make any calls to Vault methods; it just calls player.hasPermission() directly - so it seems the mere presence of Vault triggers the problem.

I've been through the Vault source, and there's nothing obvious that would cause this, but something's definitely up. Not clear if it's a problem with Vault or a problem with PEX, or some subtle interaction between the two plugins that triggers this behaviour.

See also https://github.com/t3hk0d3/PermissionsEx/issues/179 for the original issue I created against PEX.

economy linking not working with many plugins?

Hi,
My link isnt working, if there are many plugins loaded. I tried to find the bug but its not plugin specific and just if more then 30 plugins in the ./plugins folder it doesnt work with one specific plugin, Here is my Code:

RegisteredServiceProvider<Economy> economyProvider = getServer().getServicesManager().getRegistration(Economy.class);
if(economyProvider != null)
economy = economyProvider.getProvider();
else
{
log.info("["+pdf.getName()+"] Vault error: No economy provider!");
pm.disablePlugin(this);
return;
}
if(!economy.isEnabled())
{
log.info("["+pdf.getName()+"] Vault error: Economy disabled!");
pm.disablePlugin(this);
return;
}

Negative numbers with Essentails Eco

I noticed that when I try to buy a bank slot using the plugin Global Bank and I do not have enough money, I will get a negative balance. I have been told this is a problem with vault and would like to have this fixed as it could cause huge problems on my server, Thanks.

Bpermissions update broke permissions api

2012-01-09 01:42:05 [SEVERE] Could not pass event PLAYER_KICK to mChatSuite
java.lang.NoClassDefFoundError: de/bananaco/permissions/worlds/HasPermission
at net.milkbowl.vault.permission.plugins.Permission_bPermissions.playerHas(Permission_bPermissions.java:77)
at net.milkbowl.vault.permission.Permission.has(Permission.java:67)
at in.mDev.MiracleM4n.mChatSuite.mChatAPI.checkPermissions(mChatAPI.java:463)
at in.mDev.MiracleM4n.mChatSuite.mChatAPI.ParseMessage(mChatAPI.java:192)
at in.mDev.MiracleM4n.mChatSuite.mChatAPI.ParseEventName(mChatAPI.java:322)
at in.mDev.MiracleM4n.mChatSuite.events.MPlayerListener.onPlayerKick(MPlayerListener.java:204)
at org.bukkit.plugin.java.JavaPluginLoader$4.execute(JavaPluginLoader.java:286)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
at net.minecraft.server.NetServerHandler.disconnect(NetServerHandler.java:107)

Can you build vault with the latest version of bpermissions?

Method public String[] getPlayerGroups(Player player) returns empty array on permissionsbukkit when it should not.

versions: vault 1.23 bukkit 1.0.1-R1
using permissionsbukkit: 1.2

expected behavior:

when calling public String[] getPlayerGroups(Player player) from the main thread.
with an existing player named "wiigor" , that is in one group called "megabuilder"
this method returns {"megabuilder"}

observed behavior:

when calling public String[] getPlayerGroups(Player player) from the main thread.
with an existing player named "wiigor" , that is in one group called "megabuilder"
this method returns {} empty array.

Adding some more methods for economy

Hey,
until now I used Register for all my plugins and what I really liked was the huge amount of methods, the only reason why I am not changing to Vault now.
As I can see, the only way to modify a player's balance is the method withdrawPlayer() (Teach me otherwise if I am wrong).
Could you add methods like add(), subtract(), multiply(), divide() and set() for a player's balance?
That would speed up work a lot!

Console being spammed with "Can't Keep Up" messages

I updated Vault to 1.2.6 and now I am being spammed with "[WARNING] Can't keep up! Did the system time change, or is the server overloaded?" every second. Also people who connect lag so badly they can't move. Running on a core i7 3.07GHz, 12GB DDR3 RAM, and a 120GB SSD.

Vault says towny is registered, but towny says otherwise

Vault Says:
18:30:34 [INFO] [Vault] Loading Vault v1.2.8-b87.
18:30:34 [INFO] [Vault][Economy] Essentials Economy found: Waiting
18:30:34 [INFO] [Vault][Permission] PermissionsEx found: Waiting
18:30:34 [INFO] [Vault][Permission] SuperPermissions loaded as backup permission
system.
18:30:34 [INFO] [Vault][Chat] PermissionsEx found: Waiting
18:30:34 [INFO] [Vault][Chat] Towny hooked.
18:30:34 [INFO] [Vault][Chat] Towny found: Loaded
18:30:34 [INFO] [Vault] Enabled Version 1.2.8-b87

Towny Says:
18:30:37 [INFO] [Towny] Loading Towny v0.79.0.0.
18:30:37 [INFO] ==================== Towny ========================
18:30:38 [INFO] [Towny] Database: [Load] flatfile [Save] flatfile
18:30:41 [INFO] Your Version of PEX is out of date. Please update.
18:30:41 [WARNING] [Towny] Error: No compatible Economy plugins found. You need
iConomy 5.01, or the Register.jar with iConomy, BOSE or Essentials Eco.
18:30:41 [INFO] [Towny] Using: PermissionsEX v1.18, Questioner v0.5
18:30:41 [INFO] [Towny] Time until a New Day: 11 hours, 29 minutes, 19 seconds
18:30:41 [INFO] =============================================================
18:30:41 [INFO] [Towny] Version: 0.79.0.0 - Mod Enabled
18:30:41 [INFO] =============================================================

Could not pass event CUSTOM_EVENT to ecoCreature

Why do i get this?!
I use GroupManager not permisionsEX

20:03:58 [SEVERE] Could not pass event CUSTOM_EVENT to ecoCreature
java.lang.NullPointerException
at net.milkbowl.vault.permission.plugins.Permission_PermissionsEx.playerHas(Permission_PermissionsEx.java:90)
at net.milkbowl.vault.permission.plugins.Permission_PermissionsEx.has(Permission_PermissionsEx.java:85)
at se.crafted.chrisb.ecoCreature.managers.ecoRewardManager.hasPermission(ecoRewardManager.java:283)
at se.crafted.chrisb.ecoCreature.managers.ecoRewardManager.registerCreatureDeath(ecoRewardManager.java:138)
at se.crafted.chrisb.ecoCreature.listeners.ecoDeathListener.onCreatureKilledByPlayer(ecoDeathListener.java:22)
at se.crafted.chrisb.ecoCreature.listeners.DeathEventsListener.onCustomEvent(DeathEventsListener.java:27)
at org.bukkit.plugin.java.JavaPluginLoader$96.execute(JavaPluginLoader.java:934)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
at se.crafted.chrisb.ecoCreature.listeners.ecoEntityListener.onEntityDeath(ecoEntityListener.java:41)
at org.bukkit.plugin.java.JavaPluginLoader$64.execute(JavaPluginLoader.java:707)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
at org.bukkit.craftbukkit.event.CraftEventFactory.callEntityDeathEvent(CraftEventFactory.java:305)
at net.minecraft.server.EntityLiving.dropDeathLoot(EntityLiving.java:629)
at net.minecraft.server.EntityLiving.die(EntityLiving.java:604)
at net.minecraft.server.EntityLiving.damageEntity(EntityLiving.java:500)
at net.minecraft.server.EntityAnimal.damageEntity(SourceFile:143)
at net.minecraft.server.EntityHuman.f(EntityHuman.java:793)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:915)
at net.minecraft.server.Packet7UseEntity.a(SourceFile:33)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:550)
at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:516)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:414)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)

NPE with bpermissions 2.02a

java.lang.NoClassDefFoundError: de/bananaco/permissions/worlds/HasPermission
at net.milkbowl.vault.permission.plugins.Permission_bPermissions.playerHas(Permission_bPermissions.java:89)
at net.milkbowl.vault.permission.Permission.has(Permission.java:87)
at org.morganm.homespawnplus.HomeSpawnPlus.hasPermission(HomeSpawnPlus.java:483)
at org.morganm.homespawnplus.HSPPlayerListener.onPlayerInteract(HSPPlayerListener.java:86)
at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.java:335)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:178)
at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:266)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:593)
at net.minecraft.server.Packet15Place.a(SourceFile:39)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:93)
at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:550)
at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
Caused by: java.lang.ClassNotFoundException: de.bananaco.permissions.worlds.HasPermission
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
... 18 more

Looks like there have been some class changes as of 2.0

Issue with bPerm 2.1.4b and Vault 1.1.9

Seems like Vault really wants me to use PEX

03:21:12 [SEVERE] Could not pass event CUSTOM_EVENT to ecoCreature
java.lang.NullPointerException
at net.milkbowl.vault.permission.plugins.Permission_PermissionsEx.playerHas(Permission_PermissionsEx.java:90)
at net.milkbowl.vault.permission.plugins.Permission_PermissionsEx.has(Permission_PermissionsEx.java:85)
at se.crafted.chrisb.ecoCreature.managers.ecoRewardManager.hasPermission(ecoRewardManager.java:293)
at se.crafted.chrisb.ecoCreature.managers.ecoRewardManager.registerCreatureDeath(ecoRewardManager.java:143)
at se.crafted.chrisb.ecoCreature.listeners.ecoDeathListener.onCreatureKilledByPlayer(ecoDeathListener.java:22)
at se.crafted.chrisb.ecoCreature.listeners.DeathEventsListener.onCustomEvent(DeathEventsListener.java:27)
at org.bukkit.plugin.java.JavaPluginLoader$97.execute(JavaPluginLoader.java:945)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
at se.crafted.chrisb.ecoCreature.listeners.ecoEntityListener.onEntityDeath(ecoEntityListener.java:44)
at org.bukkit.plugin.java.JavaPluginLoader$65.execute(JavaPluginLoader.java:718)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
at org.bukkit.craftbukkit.event.CraftEventFactory.callEntityDeathEvent(CraftEventFactory.java:305)
at net.minecraft.server.EntityLiving.dropDeathLoot(EntityLiving.java:631)
at net.minecraft.server.EntityLiving.die(EntityLiving.java:606)
at net.minecraft.server.EntityCreeper.die(EntityCreeper.java:91)
at net.minecraft.server.EntityLiving.damageEntity(EntityLiving.java:502)
at net.minecraft.server.EntityMonster.damageEntity(EntityMonster.java:44)
at net.minecraft.server.EntityArrow.w_(EntityArrow.java:202)
at net.minecraft.server.World.entityJoinedWorld(World.java:1253)
at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:107)
at net.minecraft.server.World.playerJoinedWorld(World.java:1235)
at net.minecraft.server.World.tickEntities(World.java:1142)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:518)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)

PermissionBukkit bugs

Could you please remove the UnsupportedOperationException in PermissionBukkit? I want to use the world feature from the other permission plugins too, but i cant, because i need to set world to null for PermissionsBukkit. Please just ignore the world...

if (world != null) {
throw new UnsupportedOperationException(getName() + " does not support world based groups.");
}

These Commands are in wrong order: The player needs to be written before the group.... failed ;)

Change line 191 : return plugin.getServer().dispatchCommand(ccs, "permissions player addgroup " + group + " " + player);
To : return plugin.getServer().dispatchCommand(ccs, "permissions player addgroup " + player+ " " + group);

Change line 199 : return plugin.getServer().dispatchCommand(ccs, "permissions player removegroup " + group + " " + player);
To: return plugin.getServer().dispatchCommand(ccs, "permissions player removegroup " + player+ " " + group);

Register VaultEco createAccount() Incorrect

createAccount(String name) and createAccount(String name, double balance) are creating a bank account when they are supposed to create a player account (which is now possible with the new Vault). Getting a bank account should automatically create the bank account if it is not created.

This makes Vault 1.2.5 not work entirely on plugins that use Register (like Towny). It is weird how Register works like this in my opinion, but that is how it happens.

Permissions Yeti 3.

Hey.

When i startup my server, everything works fine.
But when i'm trying to give me VIP with a command, it fails.
I'm using this code:

                            attacker.sendMessage("1: " + NLMinecraftPlugin.permission.playerAddGroup(attacker, "VIP"));
                            attacker.sendMessage("2: " + NLMinecraftPlugin.permission.playerRemoveGroup(attacker, "Normaal"));
                            attacker.sendMessage("3: " + NLMinecraftPlugin.permission.playerAddGroup("world", attacker.getName(), "VIP"));
                            attacker.sendMessage("4: " + NLMinecraftPlugin.permission.playerRemoveGroup("world", attacker.getName(), "Normaal"));
                            attacker.sendMessage("5: " + NLMinecraftPlugin.permission.playerAddGroup(NLMinecraftPlugin.Plugin.getServer().getWorld("world"), attacker.getName(), "VIP"));
                            attacker.sendMessage("6: " + NLMinecraftPlugin.permission.playerRemoveGroup(NLMinecraftPlugin.Plugin.getServer().getWorld("world"), attacker.getName(), "Normaal"));

Everything is returning false.
What do i wrong, Nothing?

Thanks!
Wouter0100

Pay with items

In addition to all the supported economies, is there a way to allow a certain item as currency (like gold ingots)? Would someone have to make a plugin for that first? I'm not sure if one exists already.

.7 breaks bPerm

Somehow it detects my permission plugin but all only have guest (Default group) displayed and im guest aswell. no admin. worked before with .6

bpermissions issues.

Submitted on Ultrabans.

What steps will reproduce the problem?

  1. Install UltraBans, Vault, and bPermissions
  2. Configure UltraBans with MySQL
  3. Use Commands

What is the expected output? What do you see instead?
I expected it to ban players like it supposed to. I see a huge exception instead.
http://pastebin.com/WhrVQ7tY

What version of the product are you using?
UltraBans 0.1.4, Vault 1.1.8-b105, bPermissions 2.0.1, CraftBukkit 1578

Do you have an error log of what happened?
http://pastebin.com/WhrVQ7tY

Part of pastebin:

Caused by: java.lang.NoClassDefFoundError: de/bananaco/permissions/worlds/HasPermission
at net.milkbowl.vault.permission.plugins.Permission_bPermissions.playerHas(Permission_bPermissions.java:89)
at net.milkbowl.vault.permission.Permission.has(Permission.java:87)
at com.modcrafting.ultrabans.commands.Ban.onCommand(Ban.java:55)
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
... 12 more
Caused by: java.lang.ClassNotFoundException: de.bananaco.permissions.worlds.HasPermission
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
... 16 more

Lastly:
Not sure if there is an issue with this guys setup however considering that the stacktrace points to bpermissions I figured I'd let you guys know.

Bug in 1.1.7

I'm running CB b1559 and iChat 2.4.5 and getting this error on plugin load. Plugins that use Vault don't have working economy though they do hook the plugin.

01:58:31 [SEVERE] Error occurred while enabling Vault v1.1.7-b101 (Is it up to date?): net.milkbowl.vault.Vault cannot be cast to net.TheDgtl.iChat.iChat
java.lang.ClassCastException: net.milkbowl.vault.Vault cannot be cast to net.TheDgtl.iChat.iChat
at net.milkbowl.vault.chat.plugins.Chat_iChat.(Chat_iChat.java:42)
at net.milkbowl.vault.Vault.loadChat(Vault.java:138)
at net.milkbowl.vault.Vault.onEnable(Vault.java:89)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:188)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:957)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
at net.madjawa.pluginreloader.PluginReloader.loadPlugin(PluginReloader.java:231)
at net.madjawa.pluginreloader.PluginReloader.onCommand(PluginReloader.java:84)
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:165)
at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:372)
at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:368)
at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:553)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:530)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:414)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)

Vault for Factions?

Hello everyone! Is it possible to get Vault to work with Factions? Register is really outdated now!

Should I post this on the factions github? or is it something Vault should do?

CurrencyCore Outdated Jar

The jar you're using to access CurrencyCore's API is a bit outdated.

The method "void AccountManager.removeAccount(String string)" was deprecated in 0.5 and in 0.6 removed. The replacement is "void AccountManager.deleteAccount(String string)".

Along with this at 0.7, "String[] AccountManager.getAccounts()" went deprecated and replaced with "List AccountManager.getAccountList()".

Just a heads up.

PermissionsBukkit player group manipulation

Hey there,

So, I've been trying to use the Vault methods for adding/removing groups to a player with the PermissionsBukkit system. I had noticed that it was not actually changing the groups on command. After looking at your source code, I noticed that I had to have the String object of the "world" set to null, or else it would return false.

However, when giving it a null string object for the world parameter, I get the following:

15:23:38 [WARNING] Unexpected exception while parsing console command
org.bukkit.command.CommandException: Unhandled exception executing command 'jail' in plugin KarmicJail v0.271
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166)
at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:378)
at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:374)
at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:564)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:541)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
Caused by: org.bukkit.command.CommandException: Unhandled exception executing command 'permissions' in plugin PermissionsBukkit v1.2
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166)
at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:378)
at net.milkbowl.vault.permission.plugins.Permission_PermissionsBukkit.playerAddGroup(Permission_PermissionsBukkit.java:168)
at com.mitsugaru.karmicjail.PermCheck.playerAddGroup(PermCheck.java:182)
at com.mitsugaru.karmicjail.KarmicJail.jailPlayer(KarmicJail.java:687)
at com.mitsugaru.karmicjail.KarmicJail.onCommand(KarmicJail.java:204)
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
... 7 more
Caused by: java.lang.NullPointerException
at com.platymuus.bukkit.permissions.PermissionsCommand.checkPerm(PermissionsCommand.java:444)
at com.platymuus.bukkit.permissions.PermissionsCommand.playerCommand(PermissionsCommand.java:310)
at com.platymuus.bukkit.permissions.PermissionsCommand.onCommand(PermissionsCommand.java:160)
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
... 14 more

Is this something on PermissionsBukkit end, Vault's end, or my plugin's end?

Error in 1.1.9 but 1.1.8-b105 works - Error is only if a Player joins the Server

2011-12-22 16:34:51 [SEVERE] Could not pass event PLAYER_JOIN to Vault
java.lang.NullPointerException
at net.milkbowl.vault.permission.plugins.Permission_PermissionsEx.playerHas(Permission_PermissionsEx.java:90)
at net.milkbowl.vault.permission.plugins.Permission_PermissionsEx.has(Permission_PermissionsEx.java:85)
at net.milkbowl.vault.Vault$VaultPlayerListener.onPlayerJoin(Vault.java:404)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:265)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
at net.minecraft.server.ServerConfigurationManager.c(ServerConfigurationManager.java:129)
at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:113)
at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:39)
at net.minecraft.server.NetworkListenThread.a(SourceFile:94)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)

Feature request: Region information

Hi,

would be cool if vault could also support region information like playerInRegion, and kindOfRegion.

That would help alot in coding plugins which need to do certain stuff different in a region... (well quite selfish I know, but I would help as soon as the framework is there)

Most interesting regions would be:

worldguard
regions
towny

CurrencyCore Implementation Issues

Some of the methods inside the Economy_CurrencyCore class in the version you released are faulty.
bankBalance creates a bank instead of returning the balance, while the outputs of methods like bankWithdraw and withdrawPlayer which do the same thing, are inconsistent.
This really does put a hole in the usability of CurrencyCore.

Client update spam now?

Now when my players login (using vault 1.2.0 at the moment) they get a spam addition to motd of:
"vault 1.2.2 is out! You are running 1.2.0
Update Vault at: link"

Ok who's "bright" idea was it to spam player's clients with update info? Having it in console is great, but telling players is GOING WAY TOO FAR.

Now how to stop the spam?

Bank Support

Might need to add this in. iCo4 and EE don't support it (that I know of), but I believe the others do. so it might be a good idea to add bank methods into the API.

add bPermissions player-specific perms

Hi,

I was wondering if this could be implemented?
It's possible in bPermissions YAML under the player name by prefixing a "p:" so that bPermissions knows that it's a player permission instead of a group...

(Also, bPermissions has Chat prefix/suffix support, could that be integrated? :3)

Not hooking mChatSuite

I'm using Vault 1.2.6, mChatSuite b63 and CraftBukkit 1.1 R1 (RB). Vault doesn't seem to find mChatSuite at all. I have tried these plugins on a test server without any other plugins with no results.

JavaDocs are down

If I want to open the JavaDocs from the link given on the main page on BukkitDev, it gives me an 404...

Could not pass event PLAYER_JOIN to Vaul

2011-12-30 17:43:48 [SEVERE] Could not pass event PLAYER_JOIN to Vault
java.lang.IncompatibleClassChangeError: Expecting non-static method ru.tehkode.permissions.bukkit.PermissionsEx.has(Lorg/bukkit/entity/Player;Ljava/lang/String;)Z
at net.milkbowl.vault.permission.plugins.Permission_PermissionsEx.playerHas(Permission_PermissionsEx.java:90)
at net.milkbowl.vault.permission.plugins.Permission_PermissionsEx.has(Permission_PermissionsEx.java:85)
at net.milkbowl.vault.Vault$VaultPlayerListener.onPlayerJoin(Vault.java:412)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:265)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
at net.minecraft.server.ServerConfigurationManager.c(ServerConfigurationManager.java:129)
at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:113)
at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:39)
at net.minecraft.server.NetworkListenThread.a(SourceFile:94)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)

Chat

Split the Chat API from the Permission API - this is about 75% complete. and is currently developped on the 'Chat' branch.

Vault 1.1.17

With v1.1.17, Localshop (:)) can't find the Vault class; although it works with v1.1.16. On a hunch that the softdepend might be responsible, I commented out the directive in v1.1.17 and LocalShop was once again able to find it. Why? I have no clue, but I'd figure I'd let you know.

Best,

Frelling

iCo6 - bankWithdraw and bankDeposit issues?

Here's my problem:

When I use bankWithdraw or bankDeposit, Vault gives me the 'success' type. However, when inspecting the EconomyResponse, the actual balance hasn't changed prior to using one of the methods. What's weird is that it only does this for some accounts, whereas it works fine for other accounts. At least its been consistent in working if the player is at least online or recently online or something...

I'm just wondering if you knew how this could happen, telling iConomy 6 to withdraw/deposit and it doesn't change their balance?

I know for a fact that the account is in the database, with a given name. I know that Vault sees the account since it can grab the balance appropriately. It just doesn't seem to want to edit it in some seemingly random cases.

For instance, I'm iterating through the database of say 500 different iConomy accounts. About 80-ish actually get modified and the rest don't.

This is probably just an iConomy 6 issue... IDK...
Any help is appreciated.

Plugin exemple out of date

The plugin exemple use a methods witch had been removed from Vault : vault.getEconomy()
I can't figure out how I can access to the Permission class now ...

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.