Multiple Inventories System Multiple Menu System Actions System Events System Coding System Reload Command
DEFAULT FILE
Code (YAML):
# This plugin has been designed for mini plugins with mini features.[/B] [B
][/B
] [B
]# You can create menus using Menus Path[/B] [B
]# You can create inventories using Inventories path[/B] [B
]# ¿You want to know in events when this code is loaded or not[/B] [B
]# Use these events:[/B] [B
]# - me.blueslime.imaginary.api.events.ExecutableInitializeEvent[/B] [B
]# - me.blueslime.imaginary.api.events.ExecutableShutdownEvent[/B] [B
]# This is a beta, please report issues.[/B] [B
]# Command creation will be in implemented in the future.[/B] [B
]# I'm still planning how this system will work.[/B] [B
][/B
] [B
]# Events are for listeners.[/B] [B
]events:
[/B
] [B
] '1':
[/B
] [B
] imports:
[/B
] [B
] -
"org.bukkit.event.inventory.InventoryOpenEvent"[/B
] [B
] -
"org.bukkit.entity.Player"[/B
] [B
] -
"org.bukkit.event.EventHandler"[/B
] [B
] -
"org.bukkit.event.Listener"[/B
] [B
] class-modifiers:
[/B
] [B
]# General code, make sure to add spaces and add imports to the imports sections[/B] [B
] code:
[/B
] [B
] -
" @EventHandler"[/B
] [B
] -
" public void on(InventoryOpenEvent event) {"[/B
] [B
] -
" Player player = (Player)event.getPlayer();"[/B
] [B
] -
" player.sendMessage(\"Hola!\
");"[/B
] [B
] -
" }"[/B
] [B
]
WORKING ON
Conditions for actions and Items Commands (with support to all arguments and conditions per argument) CURRENTLY IN BETA Please report issues on my discord Click Here