- Added mode WHEN_PEACEFUL This will temporarily disable all active particles when a player engages in combat (You can change which entities are checked)
- You can give players permission to use /h open for a specific menu The permission is particlehats.command.open.<name of menu in menus folder>
- particlehats.command.open will allow the player to open any menu they like
- Added afk timer and combat timer values in config.yml
- Added mode description to example.yml
Here are the new config.yml variables
Code (Text):
#
# This will let you set how many seconds the plugin will wait before setting a player to afk
# (Only used when you set a particles mode to : WHEN_AFK or WHEN_MOVING)
afk:
cooldown: 1
#
combat:
# This will let you set how many seconds the plugin will wait before resetting a players combat state
# (Only used when you set a particles mode to : WHEN_PEACEFUL)
cooldown: 1
#
# These flags allow you to control which type of entity is checked when a particle has the WHEN_PEACEFUL mode selected
# Particles will not be displayed if a player is marked as "in combat", you can choose which entity will trigger this event
#
# Check for combat with other players
check_players: true
#
# Check for combat with hostile mobs
check_monsters: true
#
# Check for combat with friendly animals
check_animals: false
#
# Check for combat with friendly npc's
check_npc: false