Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FileDeleter Plugin

A simple Minecraft plugin for version 1.20.6 that allows server administrators to delete specific files from the plugins directory using a console command.

Features

  • Delete any file within the plugins directory
  • Console-only command for improved security
  • Tab completion for easier command usage
  • Immediate deletion without confirmation prompts

Commands

  • /deletefile <file_path> - Delete a specific file (example: /deletefile folder/config.yml)

Security Features

  • Can only be executed from the console
  • Path traversal protection to prevent deleting files outside the plugins directory
  • Only deletes files, not directories

Configuration

# Settings
settings:
  # Whether to log deletions to console
  log-to-console: true

Installation

  1. Download the plugin JAR file
  2. Place it in your server's plugins folder
  3. Start or restart your server

Building from Source

To build the plugin from source:

mvn clean package

The compiled JAR will be in the target directory.

Security Note

This plugin should be used with caution as it provides a way to delete files from your server. The console-only restriction adds a layer of security, but still be careful when using it.

Author

Mario Enache

About

A simple Minecraft plugin for version 1.20.6 that allows server administrators to delete specific files from the plugins directory using a console command.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages