-
Notifications
You must be signed in to change notification settings - Fork 2
➤ Type of activator (Option)
Ssomar edited this page Nov 27, 2020
·
17 revisions
- description: Active when the player do a left click with the item.
- This activator can be trigger when the player have the item in his:
- Main hand
- specific Options:
- onlyAirClick: If yes only left click on air is accepted, and left click on block is disabled.
- exemple:
onlyAirClick: true
(default false)
- exemple:
- onlyAirClick: If yes only left click on block is accepted, and left click on air is disabled.
- exemple:
onlyAirClick: true
(default false)
- exemple:
- onlyAirClick: If yes only left click on air is accepted, and left click on block is disabled.
Activator RIGHT_CLICK:
- description: Active when the player do a right click with the item.
- This activator can be trigger when the player have the item in his:
- Main hand
- Off hand
- specific Options:
- onlyAirClick: If yes only right click on air is accepted, and right click on block is disabled.
- exemple:
onlyAirClick: true
(default false)
- exemple:
- onlyAirClick: If yes only right click on block is accepted, and right click on air is disabled.
- exemple:
onlyAirClick: true
(default false)
- exemple:
- onlyAirClick: If yes only right click on air is accepted, and right click on block is disabled.
Activator ALL_CLICK:
- description: Active when the player do a left click or right click with the item.
- This activator can be trigger when the player have the item in his:
- Main hand
- Off hand
- specific Options:
- onlyAirClick: If yes only right/left click on air is accepted, and right/left click on block is disabled.
- exemple:
onlyAirClick: true
(default false)
- exemple:
- onlyAirClick: If yes only right/left click on block is accepted, and right/left click on air is disabled.
- exemple:
onlyAirClick: true
(default false)
- exemple:
- onlyAirClick: If yes only right/left click on air is accepted, and right/left click on block is disabled.
Activator CONSUME:
- description: Active when the player consume the item.
- This activator can be trigger when the player have the item in his:
- Main hand
- Off hand
- specific Options: NONE
Activator KILL: 🎇 PREMIUM 🎇
- description: Active when the player kill an entity.
- This activator can be trigger when the player have the item in his:
- Main hand
- specific Options:
- detailedEntities: Choose wich entities are affected (player or type of mobs).
- list of entityType: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/entity/EntityType.html
- exemple:
entity: - "ZOMBIE" - "PLAYER"
- detailedEntities: Choose wich entities are affected (player or type of mobs).
Activator DEATH:
- description: Active when the player die.
- This activator can be trigger when the player have the item in his:
- Main hand
- Off hand
- Helmet, Chesplate, Leggings, Boots
- specific Options: NONE
Activator PLAYER_PROJECTILE:
- description: Active when the player hit another player with projectile.
- This activator can be trigger when the player have the item in his:
- Main hand
- Off hand
- specific Options:
- targetCommands: To run commands for the target player (player who are clicked).
- more informations: ➤ Target commands
- exemple:
targetCommands: - "COMMAND1" - "COMMAND2"
- targetCommands: To run commands for the target player (player who are clicked).
Activator ENTITY_PROJECTILE: 🎇 PREMIUM 🎇
- description: Active when the player hit another entity with projectile.
- This activator can be trigger when the player have the item in his:
- Main hand
- Off hand
- specific Options:
- detailedEntities: Choose wich entities are affected (type of entity).
- list of entityType: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/entity/EntityType.html
- exemple:
entity: - "ZOMBIE" - "PLAYER"
- entityCommands: Run command specify by the plugin to modify the monster.
- more informations: ➤ Entity commands
- exemple:
entityCommands: - "COMMAND1" - "COMMAND2"
- detailedEntities: Choose wich entities are affected (type of entity).
Activator PLAYER_CLICK:
- description: Active when the player click on anoth player with the item.
- This activator can be trigger when the player have the item in his:
- Main hand
- Off hand
- specific Options:
- targetCommands: To run commands for the target player (player who are clicked).
- more informations: ➤ Target commands
- exemple:
targetCommands: - "COMMAND1" - "COMMAND2"
- detailedClick: Choose wich click is needed. (RIGHT, LEFT, RIGTHORLEFT)
- exemple:
detailedClick: RIGHT
- exemple:
- targetCommands: To run commands for the target player (player who are clicked).
Activator ENTITY_CLICK: 🎇 PREMIUM 🎇
- description: Active when the player click on an entity with the item.
- This activator can be trigger when the player have the item in his:
- Main hand
- Off hand
- specific Options:
- detailedEntities: Choose wich entities are affected (type of entity).
- list of entityType: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/entity/EntityType.html
- exemple:
entity: - "ZOMBIE" - "PLAYER"
- entityCommands: Run command specify by the plugin to modify the monster.
- more informations: ➤ Entity commands
- exemple:
entityCommands: - "COMMAND1" - "COMMAND2"
- detailedClick: Choose wich click is needed. (RIGHT, LEFT, RIGTHORLEFT)
- exemple:
detailedClick: RIGHT
- exemple:
- detailedEntities: Choose wich entities are affected (type of entity).
Activator MINE: 🎇 PREMIUM 🎇
- description: Active when the player mine block with the item.
- This activator can be trigger when the player have the item in his:
- Main hand
- specific Options:
- detailedBlocks: Choose wich blocks are affected (material).
- list of material: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html
- exemple:
detailedBlocks: - "BRICKS" - "STONE"
- blockCommands Run command specify by the plugin to modify the block/mining.
- more informations: ➤ Block commands
- exemple:
blockCommands: - "COMMAND1" - "COMMAND2"
- detailedBlocks: Choose wich blocks are affected (material).
Activator EQUIP: 🎇 PREMIUM 🎇
- description: Active when the player wear/hold the item.
- This activator can be trigger when the player have the item in his:
- Main hand
- Off hand
- Helmet, Chesplate, Leggings, Boots
- specific Options:
- delay: Run the commands every delay. (seconds)
- exemple:
delay: 30
- exemple:
- delay: Run the commands every delay. (seconds)
Activator INVENTORY_CLICK: 🎇 PREMIUM 🎇
- description: Active when the player click on the item when he have the inventory open.
- This activator can be trigger when the player have the item in his:
- all slots
- specific Options:
- detailedClick: Choose wich click is needed. (RIGHT, LEFT, RIGTHORLEFT)
- exemple:
detailedClick: RIGHT
- exemple:
- detailedClick: Choose wich click is needed. (RIGHT, LEFT, RIGTHORLEFT)
Activator PLAYER_RECEIVE_HIT_BY_PLAYER: 🎇 PREMIUM 🎇
- description: Active when the player being hit by player.
- This activator can be trigger when the player have the item in his:
- Main hand
- Off hand
- Helmet, Chesplate, Leggings, Boots
- specific Options:
- targetCommands: To run commands for the target player (player who are clicked).
- more informations: ➤ Target commands
- exemple:
targetCommands: - "COMMAND1" - "COMMAND2"
- targetCommands: To run commands for the target player (player who are clicked).
Activator PLAYER_RECEIVE_HIT_BY_ENTITY: 🎇 PREMIUM 🎇
- description: Active when the player being hit by entity.
- This activator can be trigger when the player have the item in his:
- Main hand
- Off hand
- Helmet, Chesplate, Leggings, Boots
- specific Options:
- detailedEntities: Choose wich entities are affected (type of entity).
- list of entityType: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/entity/EntityType.html
- exemple:
entity: - "ZOMBIE" - "PLAYER"
- entityCommands Run command specify by the plugin to modify the monster.
- more informations: ➤ Entity commands
- exemple:
entityCommands: - "COMMAND1" - "COMMAND2"