fee5d80e8f23151a1066d7531fab4376fae6afde
Duels
The TrueOG Network branch of Duels - a duel plugin for spigot. Spigot Project Page
This branch includes the following changes that have yet to be merged into Duels upstream:
- Inventory loss bug fixes by @szumielxd
- Essentials API NPE fix by @skbeh
- Update deprecated pickup API by @NotAlexNoyle
- Prevent players from stealing Duels items from the inventory by @dwaslashe
- Prevent players from stealing Duels items from the ground by @SrBedrock
Getting the dependency
Repository
Gradle:
maven {
name 'jitpack-repo'
url 'https://jitpack.io'
}
Maven:
<repository>
<id>jitpack-repo</id>
<url>https://jitpack.io</url>
</repository>
Dependency
Gradle:
compile group: 'com.github.Realizedd.Duels', name: 'duels-api', version: '3.5.1'
Maven:
<dependency>
<groupId>com.github.Realizedd.Duels</groupId>
<artifactId>duels-api</artifactId>
<version>3.5.1</version>
<scope>provided</scope>
</dependency>
plugin.yml
Add Duels as a soft-depend to ensure Duels is fully loaded before your plugin.
soft-depend: [Duels]
Getting the API instance
@Override
public void onEnable() {
Duels api = (Duels) Bukkit.getServer().getPluginManager().getPlugin("Duels");
}
Description
freetolga Duels-OG fork, tries to add 1.20.6 and 1.21.11 support
https://www.spigotmc.org/resources/duels.20171/
17 MiB
0 Stars
1 Watchers
0 Forks
Languages
Java
100%