KarimAKL's Recent Activity

  1. KarimAKL replied to the thread Folder inside of the plugins folder.

    @FreakyPear5 Yeah, although i'd probably change a few things: 1. I'd remove the "else", since you're already creating the file before...

    Apr 2, 2020 at 4:27 AM
  2. KarimAKL replied to the thread Folder inside of the plugins folder.

    @FreakyPear5 Get the file, load the configuration, do what you must. File file = new File(plugin.getDataFolder().getPath() +...

    Apr 2, 2020 at 4:21 AM
  3. KarimAKL replied to the thread Filled Sell NBT Items.

    @AlwaysAllstar Hey, did you ever get someone to make it? (The thread is marked as filled)

    Apr 2, 2020 at 4:17 AM
  4. KarimAKL replied to the thread Get the data of a config and put in Inventory.

    @AntonioC94 Try adding all of the point items into the inventory, then let me know how it goes.

    Apr 1, 2020 at 5:27 AM
  5. KarimAKL replied to the thread Get the data of a config and put in Inventory.

    @AntonioC94 You don't need the '.' when using ConfigurationSection#getConfigurationSection() & ConfigurationSection#get(). Otherwise, i...

    Apr 1, 2020 at 4:46 AM
  6. KarimAKL replied to the thread Scoreboard.

    @LiamHBest Recreating the scoreboard causes flicker, if you don't want any flicker, you'll have to set the values.

    Apr 1, 2020 at 1:45 AM
  7. KarimAKL replied to the thread Get the data of a config and put in Inventory.

    @AntonioC94 Create the inventory, then loop the list of warps, and then get the item and add it to the inventory.

    Mar 31, 2020 at 10:58 PM
  8. KarimAKL replied to the thread Get the data of a config and put in Inventory.

    @AntonioC94 You shouldn't add the "minecraft:" part, just "granite" should be fine.

    Mar 31, 2020 at 9:20 PM
  9. KarimAKL replied to the thread Scoreboard.

    @LiamHBest Why would you want that?

    Mar 31, 2020 at 11:54 AM
  10. KarimAKL replied to the thread Scoreboard.

    @LiamHBest You're creating a new scoreboard everytime the events are called. You should create it in the onEnable.

    Mar 31, 2020 at 10:28 AM
  11. KarimAKL replied to the thread Get the data of a config and put in Inventory.

    @AntonioC94 No need to be sorry. Let me know if you have any problems.

    Mar 31, 2020 at 5:50 AM
  12. KarimAKL replied to the thread Get the data of a config and put in Inventory.

    No, i just used Warp as an example to hold data for warps. How it would look: public class Warp { private final String name;...

    Mar 31, 2020 at 3:19 AM
  13. KarimAKL replied to the thread Saving Inventory ArrayList.

    @Calebizzthaman You should save each ItemStack in the inventory individually, you should almost never save the result of toString().

    Mar 30, 2020 at 10:06 PM
  14. KarimAKL replied to the thread Saving Inventory ArrayList.

    @Calebizzthaman What's your current code?

    Mar 30, 2020 at 8:47 PM