Skip to content

Skullmc1/oneclear

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OneClear

OneClear is a lightweight Bukkit plugin designed to reduce server lag by automatically or manually clearing specific dropped items from all worlds.

Features

  • Automatic Clearing: Periodically removes specified items.
  • Broadcast Notifications: Warn players before items are cleared.
  • Manual Control: Clear specific items instantly via commands.
  • TOML Configuration: Easy-to-read configuration file.

Commands & Permissions

  • /oneclear - Clears all items listed in the config.
  • /oneclear clear <item_id> - Clears a specific item (e.g., minecraft:feather).
  • /oneclear reload - Reloads the configuration.

Permission: oneclear.use (Default: OP)

Configuration (config.toml)

The configuration file is located in plugins/Oneclear/config.toml.

# Prefix for all plugin messages (supports & color codes)
prefix = "&8[&bOneClear&8] &r"

# List of item IDs to be cleared automatically or via /oneclear
items = ["minecraft:string", "minecraft:rotten_flesh", "minecraft:arrow"]

# Automatic clearing timer settings
timer_enabled = true
timer_interval = 600   # How often to clear items (in seconds)

# Notification settings
notify_enabled = true  # Whether to broadcast a warning message
notify_time = 10       # How many seconds before clearing to send the warning

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors