Questions tagged [bukkit-vault]

Vault is a Permissions, Chat, & Economy API for Bukkit plugins.

9 questions
2
votes
3 answers

Vault loading too late

My Plugin is loading before Vault, even tho I added a depend/load-after into the plugin.yml I tried depend, softdepend and loadbefore. I even tried downgrading the on the server used version of Vault. I tried even loadbefore without depend and the…
2
votes
1 answer

NullPointerException upon starting my Bukkit plugin

I have been getting the following java.lang.NullPointerException when my plugin is being enabled. I don't really see the problem. Error: java.lang.NullPointerException at tk.mypalsgaming.TARDIScraft.TARDIScraft.onDisable(TARDIScraft.java:31) at…
Piper McCorkle
  • 1,044
  • 13
  • 27
1
vote
1 answer

Bukkit - ShapedRecipe is deprecated

I want to make custom item with custom recipe. I created class with 2 methods, item and customRecipe. My class looks like this public class LifeCrystal implements Listener { private ItemStack item = new ItemStack(Material.DIAMOND); private…
user11866276
1
vote
1 answer

Bukkit - NPE using VaultAPI (Chat)

When trying to set the player suffix/prefix from the GUI I am getting a null pointer exception for setting the said prefix/suffix. (I get the 'You applied the x tag' message, and it does close the inventory.) Main class (Where the chat is defined…
Askingg
  • 107
  • 1
  • 2
  • 11
1
vote
2 answers

Adding money to a player's account with Bukkit Vault API

I am working on a plugin for my server for the KitPvP section. Right now I am adding MoneyPerKill but have run into a problem. My code is: package com.lobbyist.junk.kitpvp; import net.milkbowl.vault.economy.Economy; import…
User
  • 129
  • 2
  • 16
0
votes
1 answer

Spigot server not writing to config file

I am making an economy system for my spigot Minecraft 1.8.8 server, and because a hashmap resets every time I reload the server (erasing everybody $ data), I am trying to use the config file. A problem I'm having though is that my server won't write…
zachary cohen
  • 55
  • 2
  • 9
0
votes
1 answer

Minecraft server clear already loaded .class files from JAR plugin

So my minecraft server has an economy plugin I've been working on. After battling a couple of days, I realised this is a common problem with Java that it won't unload the classes which are already loaded. So when I tried the plugin on a fresh server…
Akash Agarwal
  • 2,326
  • 1
  • 27
  • 57
0
votes
1 answer

onCommand nullpointer Error

This code keeps giving an error when I perform the command, I've fixed a few variable mistakes but that still doesn't fix it. Can anyone help me out? It's a null pointer, but I don't see anything that gives a null. Thanks! …
Ryan_DS
  • 750
  • 7
  • 28
-2
votes
1 answer

How to get top account with Vault in a way that it doesn't lag?

Vault is a plugin for Bukkit that is also an Economy API. It can be used to post updates to Players' money, and used as a Currency in a server. VaultAPI is also open-sourced at Github I'm trying to get the accounts which have the biggest amount of…
LeoColman
  • 6,950
  • 7
  • 34
  • 63