I have a YAML config that looks something like this: worlds: - world: gamemode: 'deathmatch' - world_nether:...
It's a loop that searches through the list of teams in a config, and then creates those teams with the list's attributes. It works... but I feel...
AoH_Ruthless ok thank you!
[IMG] Could it just be the MySQL server I'm running? I'm on Windows using WAMPServer 2. It's obvious what the specific issue here is, but I...
The Fancy Whale well... yes it works. I just want to know if it's the right way to execute MySQL functions asynchronously.
I have this method in my main plugin class public void createSqlTables(){ new BukkitRunnable() { @Override public...
@WD_MUFFINFLUFFER hey thanks for all of your help. i've decided that what i'm doing is inefficient and dumb and i'm just going to use a sql...
i personally learned java by making bukkit plugins, and tinkering with other people's source code. learn the fundamentals of object oriented...
WD_MUFFINFLUFFER no. i actually need to re write this part of the code. the way you suggested to solve it would work but would be inefficient for...
so you're saying to pass the data I want to be set through the saveWorldData params?
all of the values i set are in my createWorldData method, which looks like this: public void createWorldData(String worldName){ World...
yes, i can change the yaml manually via Notepad++ or something and i will spawn where i set it. it just doesn't work when i set it via my command.
I'm writing a PVP plugin that is primarily team based. Teams have their own spawn points and whatnot on the map; this data is saved in a .yml that...
can you show me your code?
ChatColor.stripColor(string) although you'll just get a regular string with this, the ampersand and numbers will not be included
InventoryOpenEvent is fired whenever the player opens ANY sort of inventory (chest, dispenser, furnace etc.). you cannot stop a player from...
List<String> worldSpawns = new ArrayList<String>(); getConfig.set("worldSpawns", worldSpawns); saveConfig(); ?
well that's what you programmed it to do. what are you trying to do?
are these errors that are being thrown from your IDE? or console? i would initiate a new player and filemanager class within the run(){} callback
event.setCancelled(true)
Separate names with a comma.