Code (YAML):
config
:
# List of allowed worlds in which the plugin works
allowed-worlds
:
- world
- world_nether
- world_the_end
# Enable/Disable the remove items option
auto-cleaner
: true
# List of items that are not going to be cleaned
blacklist
:
- diamond
- nether_star
- netherite_ingot
# Interval in seconds to clean items
clean-interval
: 300
# 300 seconds (5 minutes)
# Every how many seconds should the warning message be sent
warning-interval
:
- 60
- 15
- 5
# Variables: %plugin%, %timereaming%
warning-message
: '
%plugin% &c&l¡WARNING! &6Items will be cleaned in &c%timereaming% &6seconds!'
# Variables: %plugin%, %removeditems%
auto-clean-message
: '
%plugin% &4&l¡WARNING! &6Items have been cleaned! Removed &b%removeditems% &6items.'
# Variables: %plugin%, %world%, %removeditems%
clean-clean-message
: '
%plugin% &4&l¡WARNING! &6An admin forced cleaner in world &4%world%&6! Removed &b%removeditems% &6items.'
# Variables: %plugin%, %world%
clean-world-not-exist-message
: '
%plugin% &cThe world &4%world% &cdoes not exist.'
# Enable/Disable the new version available message (update-message)
update-checker
: true
# Variables: %plugin%, %version%, %latestversion%, %link%
update-message
: '
%plugin% &bNew version available &e(&f%latestversion%&e)&b, you are using &e(&f%version%&e)&b. Download it here: &7%link%'
messages
:
# Variables: NA
help
:
- '&b<
-----------------&aCOMMANDS ITEMCLEANER&b
----------------->'
- '&e/itemcleaner help &7Show this message'
- '&e/itemcleaner reload &7Reload plugin config'
- '&e/itemcleaner version &7Show plugin version'
- '&e/itemcleaner author &7Show plugin author'
- '&e/itemcleaner plugin &7Show plugin download link'
- '&e/itemcleaner permissions &7Show plugin permission list'
- '&e/clean &7Clean items in the groung'
- '&e/clean <world> &7Clean items in the groung in selected world'
- '&7Aliases
:
&eitemcleaner&7, &eic'
# Variables: %plugin%
reload
: '
%plugin% &aThe plugin has been reloaded'
# Variables: %plugin%, %version%, %latestversion%
version
: '
%plugin% &aPlugin version: &b%version%'
# Variables: %plugin%, %author%
author
: '
%plugin% &aPlugin author: &b%author%'
# Variables: NA
permissions
:
- '&b<
-----------------&aPERMISSIONS ITEMCLEANER&b
----------------->'
- '&eitemcleaner.* &7OP permissions'
- '&eitemcleaner.help &7Allow to use &e/itemcleaner help'
- '&eitemcleaner.reload &7Allow to use &e/itemcleaner reload'
- '&eitemcleaner.version &7Allow to use &e/itemcleaner version'
- '&eitemcleaner.author &7Allow to use &e/itemcleaner author'
- '&eitemcleaner.plugin &7Allow to use &e/itemcleaner plugin'
- '&eitemcleaner.permissions &7Allow to use &e/itemcleaner permissions'
- '&eitemcleaner.clean &7Allow to use &e/clean &7and &e/clean <world>'
- '&eitemcleaner.updatechecker &7Allow receive message if there is an update'
# Variables: %plugin%
command-no-argument
: '
%plugin% &7Use &e/itemcleaner help &7to see the command list'
# Variables: %plugin%
no-perm
: '
%plugin% &cYou don`t have permission to use that command'
# Variables: NA
console-error
: 'You can`t use that command in console'