KarimAKL's Recent Activity

  1. KarimAKL replied to the thread I am in need of a plugin!.

    @Lightcaster5 I mean from the post before, that's why i didn't get notified. (Didn't notice till now but guessing from your answer just...

    Jan 21, 2019 at 9:18 AM
  2. KarimAKL replied to the thread I am in need of a plugin!.

    @Lightcaster5 Okay, i'll look at it. :) Also, please "tahg" or quote me. (When you answer)

    Jan 21, 2019 at 8:43 AM
  3. KarimAKL replied to the thread How can I save data in a YAML file?.

    Yes, do it like the 'saveDefaultConfig()' Yeah that was my bad, it's 'YamlConfiguration.loadConfiguration(file)'

    Jan 20, 2019 at 11:20 PM
  4. KarimAKL replied to the thread How can I save data in a YAML file?.

    @Jakob de Guzman In the CreateCommand class you can set the arena in the 'arenas.yml' file like this: File file = new...

    Jan 20, 2019 at 7:45 PM
  5. KarimAKL replied to the thread Solved TPA Plugin.

    @spatziempire If it's in different classes then make the map public.

    Jan 20, 2019 at 7:53 AM
  6. KarimAKL replied to the thread Solved TPA Plugin.

    @spatziempire Are you creating a new map somewhere? Also to print the contents of a map you can do something like this: for (Entry<UUID,...

    Jan 20, 2019 at 7:14 AM
  7. KarimAKL replied to the thread org.bukkit.java.javaplugin.

    For Eclipse it's CTRL + SHIFT + O Note: O as in organize, not zero.

    Jan 20, 2019 at 7:10 AM
  8. KarimAKL liked DerDonut's post in the thread Solved TPA Plugin.

    maybe try printing the content of the hashmap when doing /tpaccept

    Jan 20, 2019 at 5:06 AM
  9. KarimAKL replied to the thread org.bukkit.java.javaplugin.

    @ZadeFear I'm pretty sure the import is 'org.bukkit.plugin.java.JavaPlugin' not 'org.bukkit.Java.JavaPlugin'

    Jan 20, 2019 at 4:59 AM
  10. KarimAKL replied to the thread Solved TPA Plugin.

    @spatziempire Maybe, try printing message to the console in the "/tpa" section. Something like this: if...

    Jan 20, 2019 at 2:46 AM
  11. KarimAKL replied to the thread How can I save data in a YAML file?.

    @Jakob de Guzman To create a YAML file: File file = new File(getDataFolder()+File.separator+"arenas.yml"); FileConfiguration config =...

    Jan 20, 2019 at 1:26 AM
  12. KarimAKL replied to the thread Solved TPA Plugin.

    @spatziempire Have you tried 'if (requests.containsKey(player.getUniqueId()))' instead of 'if (requests.get(player.getUniqueId()) !=...

    Jan 19, 2019 at 11:26 PM
  13. KarimAKL replied to the thread Solved Print filenames in plugin directory/make them clickable.

    @Alias_Me Get the folder with all the waypoints and then loop all the files in there. Example: List<String> waypoints = new...

    Jan 19, 2019 at 12:28 AM
  14. KarimAKL replied to the thread Solved TPA Plugin.

    @spatziempire You are checking if the map contains the player and then you have an else statement, in that else statement you are trying...

    Jan 19, 2019 at 12:18 AM
  15. KarimAKL replied to the thread Solved Print filenames in plugin directory/make them clickable.

    @Alias_Me You can use 'file.getName()' to get the file name. (this includes the file extension) EDIT: If you want the text to be...

    Jan 18, 2019 at 7:43 AM