-
-
Notifications
You must be signed in to change notification settings - Fork 1
Configuring
| Key | Description |
|---|---|
prefix |
The prefix sent before all messages sent by the plugin. You can set this to an empty string or delete this line entirely to remove the prefix. Supports & codes, &# codes, and MiniMessage for colouring. |
schedules |
Schedules are the different timers that clear types of entities. Schedules activate in the order they're put into the config. Infinite schedules are supported. Each schedule requires a different key. For different built-in schedule types and explanations on their config options, see below. |
| Key | Description |
|---|---|
type |
By default, NeoClear supports 3 different clear types, but more can be added via the API. Default types are COBBLEMON, ENTITY, and ITEM, explained more below, or by clicking on the type you're interested in. |
interval |
The amount of time, in seconds, before this clear wipes the specified entities. |
messages |
The messages sent at specific times before the clear goes off. You can have an infinite amount of messages, but the key must follow the Time Key Format. When using the on-clear message, you may use placeholders such as {interval}, which outputs the interval seconds directly, {interval-formatted} which outputs the interval seconds in "# hour(s), # minute(s), and # second(s) dynamically (time formats at 0 will not be used, like an interval of 5 minutes would output 5 minutes), and {amount} for the amount of the specified entity cleared. Supports & codes, &# codes, and MiniMessage for colouring. |
commands |
The commands sent at specific times before the clear goes off. You can have an infinite amount of commands, but the key must follow the Time Key Format. Each time key requires a list of commands, allowing you to send multiple commands on the same time key. on-clear commands support the same placeholders as the on-clear message. |
whitelist |
A list that determines what entities will not be cleared. Each clear type has a different way to whitelist entities, explained in their corresponding sections below. |
blacklisted-worlds |
A list of worlds that the schedule will not clear entities in. |
The COBBLEMON clear type is specific to Cobblemon pokémon entities. Certain pokémon will never clear, such as busy pokémon (those in battle, etc.), owned pokémon, pokémon in pastures, and those marked persistent.
The whitelist takes Cobblemon specs. Any specs in pokegive, pokeedit, etc. are supported. You can also whitelist pokémon entities with command tags, like so: tag:outbreak_spawned. The default config will not wipe any shiny, ultra beasts, or legendary pokémon.
The ENTITY clear type is specific to living entities (non-living entities like minecarts, boats, armour stands, arrows, and item frames are not cleared), and works with modded entities. The ENTITY clear type will not clear pokémon entities or Taterzens NPCs automatically. Certain entities are never cleared, such as entities with a nametag or those marked persistent.
The whitelist takes entity identifiers, formatted as mod:id. The default config will not wipe zombie villagers and any passive or boss mob.
The ITEM clear type is specific to item entities. Items with display NBT (name or lore) are never cleared.
The whitelist takes item identifiers, formatted as mod:id. You can see these identifiers by using F3+H in-game and hovering any item in your inventory; the identifier will be at the very bottom of the item hover. The default config will not wipe any netherite items, beacons, nether stars, and cobblemon master balls.
Time keys are used in message and command sections to send messages or commands x amount of time before the clear goes off. Time keys are formatted like so: ##-hour(s), ##-minute(s), or ##-second(s). Examples of valid time keys are: 1-minute, 1-hour, 5-minutes, 600-seconds. Time keys cannot include more than one time measurement. on-clear is used for when the clear goes off.