



- Download jar from here
- Put the jar in your plugins folder
- Restart your server (not reload)
- Download the new jar from here
- Replace the old jar with the new one
- Delete the old
config.yml and restart your server
<repository>
<id>allaystudios</id>
<url>https://repo.allay-studios.com/public</url>
</repository>
<dependency>
<groupId>me.david</groupId>
<artifactId>EventCore</artifactId>
<version>VERSION</version>
</dependency>
maven {
name ="allaystudios"
url = uri("https://repo.allay-studios.com/public")
}
implementation("me.david:EventCore:VERSION")Example API Usage:
EventCoreAPIapi = EventCoreAPI.get();
GameManagergameManager = api.getGameManager();
gameManager.start();
gameManager.stop("Winner");
KitManagerkitManager = api.getKitManager();
kitManager.enable("cool kit");
kitManager.give(Bukkit.getPlayer("JavaMio"));
MapManagermapManager = api.getMapManager();
mapManager.drop();
| Command | Action |
|---|
/event start | Start the event |
/event stop <winner> | Stop the event |
/event drop | Drop with the commands defined in the config.yml |
/event autoBorder <on / off> | Toggle AutoBorder |
/event setSpawn | Set the spawn location |
/event kickspec | Kick all spectators |
/event kickall | Kick all players (exclude players with event.command) |
/event clearall | Clear all player inventories |
/kit <player> | Give a player the saved kit |
/kit * | Give all players the saved kit |
/kit enable <name> | Enable a kit |
/kit save <name> | Saves your current inventory as kit |
/kit delete <name> | Delete a kit |
/revive <player> | Revive a player |
/revive * | Revive all players who are not in gamemode 0 |
/announce <message> | Announce a message |
/spawn | Teleport to the spawn |
| Permissions | |
|---|
event.bypass | Disables protect while not started (break blocks, place blocks, interact, hit players) |
event.command | Use /event |
event.spawn | Use /spawn |
| Placeholder | Description | Example |
|---|
%eventcore_total% | Total players online | 12 |
%eventcore_alive% | Total players alive (players in gamemode 0) | 4 |
%eventcore_kills% | Kills of the player | 6 |
%eventcore_deaths% | Deaths of the player | 3 |
%eventcore_kd% | K/D of the player | 2.00 |
%eventcore_totems% | Totem count of the player | 8 |
%eventcore_border% | Current border size of the world the player is on | 30 |
%eventcore_ping% | Ping of the player | 18ms |
%eventcore_tps% | Server TPS (via Spark) | 20.00 |