When you schedule a task with the scheduler you get a task id of type int wrapped in the return value. You have to use that task id to cancel the...
It always depends on the size of your dataset and how often it is modified, and how resilient you want the data. All those attributes have...
Such wonderful timing on the forums. http://forums.bukkit.org/threads/easiest-way-to-make-repeating-delayed-tasks.172812/
Jack Price-Burns Please pay attention to the type hierarchy. A BukkitRunnable is a Runnable but a Runnable is not always a BukkitRunnable.
TGRHavoc No, that is an assignment, of this instance to the variable mainClass, also it really should not be static....
TGRHavoc You cannot create a new instance of JavaPlugin, in fact the plugin loader will now forbid you from doing so. B3N909 You invoke the...
rsod If you care for performance, you can look at the implementation of YamlConfiguration. This will give you an idea of how quickly information...
Using multiple CommandExecutors are discussed here in the plugin tutorial...
From the code you have included here, this plugin should not even compile.
A NullPointerException is a different problem. It is mostly thrown when you try to use null in an operation that cannot happen, such as calling a...
Remember that stack trace you opened the thread with? You are encountering the same problem which you first seek out to fix. you cannot...
raGan. JavaDoc for exceptions generally tell you why the exception may have been thrown. Some methods also document under what conditions the...
plugin.yml must me a valid yaml file with the structure as described in...
the $ in class name is used to denote a a nested or anonymous class within another class. You can have multiple constructors for a class and not...
As I mentioned before "You must define your own object that is ConfigurationSerializable" Alternatively, you could encode location data as a String.
The parser read a tab character, so logically it follows that the file it is reading has a tab. If you did change the file, make sure that you...
Extending Location is not really advisable. On that note, an object is only ConfigurationSerializable if all the fields are...
If it is the same exact error, then you have the same exact problem. The parser encountered a \t (tab character) in your yaml file.
Since I need to repeat myself. Objects that are not ConfigurationSerilizable do not round trip. Objects that are not ConfigurationSerializable...
MinecraftMart If the server is giving you a stack trace you should read all of it. It will give you important information about what is wrong, and...
Separate names with a comma.