You have to use an Expression for this purpose (use SimpleExpression, with the pattern "myVar") and override its acceptChange and change methods....
So basically you want something like this? ItemStack[] items = {some random items}; Random r = new Random(); /** * @return a random item stack...
What do you actually want to achieve with your code?
I suggest to remove the superfluous spaces from langConfig.yml. In most text editors you can simply highlight the lines and press shift+tab to do so.
http://minecraft.gamepedia.com/Data_values#Golden_Apple
You forgot .getType() after location.getBlock() - You're currently comparing a block to a Material. BTW: you can simply use...
You can just send the data in a different thread than the main server thread (e.g. an async Bukkit task). This will not slow down the server more...
Use ChatColor, not Color.
You likely need to use "connection.prepareStatement(query)". prepare() is a method of SQLibrary which I use in my plugin.
Take a look at ItemStack's serialize() method: public Map<String, Object> serialize() { Map<String, Object> result = new LinkedHashMap<String,...
I recommend to change your save queries to a single one, and to use a PreparedStatement: // put this where you connect to the database //replace...
I currently use "Started" for fixed issues, and change it to "Fixed" to close the ticket when the fix is released to the public. It's not perfect...
Any update on this?
After some more testing I have been able to make Skript work again by removing ExprLocation. I guess that Skript tries to parse every location as...
Parsing is done for each line independently with Statement.parse(String) which calls SkriptParser's general parse() method with an iterator of all...
Separate names with a comma.