[h1=Introduce]
This mod is an optimized mod with automatic cleaning of useless entities and falling objects.
[h1=Instruction]
Open the trash can (default permission 0)
/royalcitygladiolussweep dustbin
Open the specified page's trash can (default permission 0)
/royalcitygladiolussweep dustbin <page>
Clear all entities and place dropped items in the trash can (default permission 1)
/royalcitygladiolussweep sweep all_entity
Clear all animals, no items dropped (default permission 1)
/royalcitygladiolussweep sweep animals
Clear all dropped objects and place them in the trash can (default permission 0)
/royalcitygladiolussweep sweep item_entities
Clear all monsters, no items dropped (default permission 1)
/royalcitygladiolussweep sweep mobs
Clear all other entities, excluding dropped objects (default permission 1)
/royalcitygladiolussweep sweep other_entities
Clear all XP entities, excluding dropped objects (default permission 0)
[h1=Configuration file]
Configuration file address "config/RoyalCityGladiolusSweep.toml"
RoyalCityGladiolusSweep.toml
#Number of pages in the trash can
# Default: 1
# Range: 1 ~ 100
dustbinPage = 1
#Cleaning interval (in seconds).
#Note: When the time is 0s, cleaning will not be turned on.
# Default: 600
# Range: > 0
cleaningInterval = 600
#White List
#Add entities that can be cleaned
entityTypesWhite = ["minecraft:arrow", "minecraft:spectral_arrow"]
#Blacklist
#Add uncleanable entities
entityTypesBlack = []
#What information will be sent to the player within 60 seconds.
#This' $1 'represents the remaining time to start cleaning. (in units of s)
cleaningTimeMessage = "§ a [§ 6 City Sword Orchid Sweeping Maid § a] § f: I will start cleaning within § 6 $1 § f seconds!"
#What information will be sent to players after cleaning. $1 "represents the number of items cleared and dropped, while" $2 "represents the number of entities killed.
afterCleaningMessage = "§ a [§ 6 City Sword Orchid Sweeping Maid § a] § f: I will clean up § 6 $1 of the falling objects and § 6 $2 of the unimportant entities"
#What chat messages will be sent to players after cleaning. The command will be attached to the end of the chat message.
afterCleaningMessageChat = "§ a [§ 6 City Sword Orchid Sweeping Maid § a] § f: Have you lost anything? Dear, please open the trash can:"
#After clearing the dropped items with the command (/royalcitygreeniolussweek sweep item_stities), "$1" represents the number of items cleared, and the command will be attached to the end of the chat message.
sweepItemEntitiesMessage = "§ a [§ 6 City Sword Orchid Sweeping Maid § a] § f: This time, we cleaned up § 6 $1 fallen objects. Are you missing anything? Dear, please open the trash can:"
#After clearing the monsters with the command (/royalcitygreeniolussweek sweep mobs), "$1" represents the number of monsters killed.
sweepMobsMessage = "§ a [§ 6 City Sword Orchid Sweeping Lady § a] § f: This time, we cleared $1 of § f monsters."
#After clearing all entities with the command (/royalcitybladiolussweek sweep all_denty), "$1" represents the number of monsters killed, and the command will be appended to the end of the chat message.
sweepAllEntityMessage = "§ a [§ 6 Royal City Sword Orchid Sweeping Lady § a] § f: Did you lose anything during the cleanup of § 6 $1 § f entities? Dear, please open the trash can: "
#After clearing animals with the command (/royalcitygreeniolussweek sweep animals), "$1" represents the number of animals killed.
sweepAnimalsMessage = "§ a [§ 6 City Sword Orchid Sweeping Maid § a] § f: This time, we cleared $1 of the § f animals."
#After clearing other entities with the command (/royalcitygdaliolusweek sweep other_ entities), "$1" represents the number of other entities killed.
sweepOtherEntitiesMessage = "§ a [§ 6 City Sword Orchid Sweeping Lady § a] § f: This time, we have cleared $1 of § f other entities."
#After clearing the experience value entities with the command (/royalcitygdaliolusweek sweep xp_denties), "$1" represents the number of experience value entities that have been killed.
sweepXpEntitiesMessage = "§ a [§ 6 City Sword Orchid Sweeping Lady § a] § f: This time, $1 experience value entity of § f has been cleared."
#The player's permission level to open the trash can.
# Default: 0
# Range: 0 ~ 4
openDustbinLevel = 0
#Clear the permission level for dropped items.
# Default: 0
# Range: 0 ~ 4
sweepItemEntitiesLevel = 0
#Clear monster permission levels.
# Default: 1
# Range: 0 ~ 4
sweepMobsLevel = 1
#Clear all entity permission levels.
# Default: 1
# Range: 0 ~ 4
sweepAllEntityLevel = 1
#Clear animal permission levels.
# Default: 1
# Range: 0 ~ 4
sweepAnimalsLevel = 1
#Clear other entity permission levels.
# Default: 1
# Range: 0 ~ 4
sweepOtherEntitiesLevel = 1
#Clear the experience value entity permission level.
# Default: 0
# Range: 0 ~ 4
sweepXpEntitiesLevel = 0