Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bkm016/icommand
Powerful ItemStack extensions.
https://github.com/bkm016/icommand
bukkit taboolib
Last synced: 3 days ago
JSON representation
Powerful ItemStack extensions.
- Host: GitHub
- URL: https://github.com/bkm016/icommand
- Owner: Bkm016
- License: gpl-3.0
- Created: 2018-04-24T13:48:43.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-04-27T14:07:52.000Z (almost 7 years ago)
- Last Synced: 2024-12-14T17:43:15.206Z (about 2 months ago)
- Topics: bukkit, taboolib
- Language: Java
- Size: 36.1 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ICommand
> Powerful ItemStack extensions.---
### Customization
---You can use the **ICommand** to do anything about **Item**.
```yaml
CustomRequire:
Lore: 'CustomRequire'
Type: RIGHT_CLICK_BLOCK|RIGHT_CLICK_AIR
Commands:
- '[console] tell $player Executed CustomRequire!'
Require: '!player.hasPermission("CustomRequire")'
RequireMessage: '&4You don^t have permission to do it'
```---
### Execution order
---The execution order of items inside the **ICommnad**.
1. `JAVA` onExecutePre()
2. `YAML` Require
3. `YAML` Cooldown
4. `YAML` Consume
5. `YAML` Chance
6. `YAML` Cancelled
7. `JAVA` onExecutePost()
8. `YAML` Commands
9. `YAML` ExecuteCode---
### Events
---**PLAYER**
- PLAYER_JOIN
- PLAYER_QUIT
- PLAYER_RESPAWN
- PLAYER_DEATH
- PLAYER_EXP_CHANGE
- PLAYER_LEVEL_CHANGE
- PLAYER_TELEPORT
- PLAYER_SNEAK
- PLAYER_CHAT
- PLAYER_FISH
- PLAYER_SWAPHAND
**INTERACT**
- RIGHT_CLICK_ENTITY
- RIGHT_CLICK_BLOCK
- RIGHT_CLICK_AIR (Ignored Cancelled)
- LEFT_CLICK_BLOCK
- LEFT_CLICK_AIR (Ignored Cancelled)
- BLOCK_PLACE
- BLOCK_BREAK
- PHYSICAL
- CONSUME
**ATTACK**
- ATTACK
- DAMAGED_ENTITY
- DAMAGED_OTHER
- DAMAGED_BLOCK