⭐
StarAPI Documentation
  • ⭐API Information
    • ❔About Our API's
    • ⬇️Installing Our API
  • 🌟StarAPI (Spigot/Paper)
    • 📂Abilities
      • ⏳Transmition
      • 🤯Implosion
      • 🏹MultiShot
    • 📂Builders
      • 👕Armor Builder
      • 📊Bossbar Builder
      • ☄️Command Builder
      • ⚔️Item Builder
      • 🧟‍♂️Mob Builder
      • 💯Scoreboard Builder
      • 🔗Webhook Builder
      • 🔨Message Builder
      • 🏗️Actionbar Builder
    • 📂Files
      • 📃Create Files
      • 📁Create Folders
      • 📖Read Files
      • 🖊️Write Files
    • 📂Inventory Utilities
      • 💎Animated Items
      • 📖Book Content
      • 📔Book GUI
      • 🎞️Filler
      • 🪁Inventory Items
      • 📝Inventory Name
      • 💀Inventory Skulls
    • 📂Message Utilities
      • 🤖Auto Responses
      • 🎨Message Colors
    • 📂Recipes
      • ⚒️Crafting Recipes
      • 🧑‍🍳Furnace Recipes
    • 📂Timers
      • 🕙Active Timers
      • ❌Cancel Timers
      • 🕙Delayed Timers
      • 🕐Create Timers
    • 📂Misc
      • 💀Give Skulls
      • 📈Progress Bars
      • ⬛Block Placer
Powered by GitBook
On this page
  • Overview
  • Methods
  • Notes
  1. StarAPI (Spigot/Paper)
  2. Files

Create Folders

Create folders with ease

Overview

The Folders class provides utility methods for working with folders (directories) in a Minecraft Bukkit server environment. It includes functionality for creating folders if they do not already exist.

Methods

createFolder

public static void createFolder(String folderPath)

Creates a folder at the specified path if it does not already exist.

Parameters

  • folderPath: The path of the folder to be created.

Notes

  • The Folders class simplifies folder creation and directory handling in Bukkit plugins.

  • Developers can use the createFolder method to create folders if they do not already exist.

  • This can be useful for organizing plugin data, storing temporary files, or managing custom configuration directories within a plugin.

PreviousCreate FilesNextRead Files

Last updated 1 year ago

🌟
📂
📁