xTigerRebornx Let me try this out... xTigerRebornx That was my issue! Thank you so much, you've been a tremendous help! EDIT by Moderator:...
xTigerRebornx Write the values to the config for later use
xTigerRebornx so set() would create the section if it didnt already exist? and then allow me to remove it later?
Using this method public void remove(){ Bukkit.getLogger().info(Main.districts.getConfig().getString("Districts." + id.toString() +...
xTigerRebornx check/print ... check/print set ... set save check/print ... check/print ? Or the first one?
xTigerRebornx I am not really understanding what you are asking me to do... This? public void remove(){...
using this method public void printBag(){ for(UUID id: DistrictBag.districts.keySet()){...
xTigerRebornx Befor the unclaim command: Districts: 300399d6-be25-4a84-8c44-da546cac2b9c: ownerUUID: c1533692-de50-43ee-b653-73b69b90f085...
I just sent messages to myself using player.sendMessage(), they just state that the UUID that i am looking for is in the config, and is in the...
xTigerRebornx I can put a check befor i remove them to see if the UUID i am using to remove exists in the DistrictBag... Give me a minute...
xTigerRebornx I do receive that message.
xTigerRebornx Just a minute, i will upload a GitHub of my entire code, and tell you where everything happens. @xTigerRebornx This is where you...
xTigerRebornx The block of code IS called, verified by adding an bit that tells the console its attempting to remove the section. After it all...
xTigerRebornx districts is an instance of ConfigFile, using this class here, provided on the Bukkit Wiki.
Here is a typical config for a plugin I am creating called Districts. (The districts are kept track of via UUIDs) Districts:...
private Map<Player, ArrayList<Location>> borderBlocks = new HashMap<Player, ArrayList<Location>>(); @SuppressWarnings("deprecation")...
ResultStatic Yeah its not for publishing, its for a custom plugin. I have decided to just use the other plugin, EDIT by Moderator: merged posts,...
I am creating a plugin that hooks into World Guard. In order to make it work properly, I wish to throw events when the player enters and leaves...
Profan Hope its everything you wanted!
timtower good to know, but i can't get on my VNC anymore today, i'll have to do it tomarrow morning Profan Here you go!...
Separate names with a comma.