Plugin adding general minecraft features.
Default: German Config to edit the Language available.
Everything can be enabled/disabled in config
- Calculator
- Broadcast
- Command executing Commands
- Fly
- Gamemodecommand
- InfoComamnds
- MSG
- Ping
- Playtime
- Portableinventories
- Speed
- Chat channel
- Use Minimagge(
<green>TEXt</green>
) or Lagasy(&7Text
) chat formatter (editable in Config, defautl: Minimessage) - First Join Text and Title
- TAB Prefix/Suffix (Luckperms)
- TAB Sorting (Luckperms Weight)
- Chatinput capture
- ItemStack creator (mainly for GUI) Usage Later
- Name
- Lore
- Glint
- When Clicked action
- When Placed action
- GUI created out of
List<ItemStack>
public class ClassName implements InventoryHolder{
private static final ClickEvent event = ClassName::eventI;
Inventory inventory;
public ClassName() {
this.inventory = Bukkit.createInventory(this, (row * 9), Component.Text();
// row = anzahl der reihen des Inventars (1-6)
Stuff.INSTANCE.itemBuilderManager.addClickEvent(changeName, "Plugin:EventName");
telepadGui.setItem(
1, // Item index
new ItemBuilder()
// Weitere Argumente
.whenClicked("Plugin:EventName")
.build()
);
}
private static void eventI(InventoryClickEvent e) {
// event Code
}
@Override
public @NotNull Inventory getInventory() {
return inventory;
}
}
public class ClassName {
private static final PlaceEvent event = ClassName::eventI;
public ClassName() {
Stuff.INSTANCE.itemBuilderManager.addPlaceEvent(changeName, "Plugin:EventName");
Itemstack item = new ItemBuilder()
// Weitere Argumente
.whenPlaced("Plugin:EventName")
.build()
);
private static void eventI(BlockPlaceEvent e) {
// event Code
}
}
Events can be registered in other classes
** Material has to be setted**
.setMaterial(Material.Item_Material)
.setName(String)
.setName(Component)
.setGlint(boolean)
List<Component> lore = new ArrayList<>();
lore.add(Component);
.setLore(lore)
.addLore(String)
.addLore(Component)