Duels-OG

The TrueOG Network fork of Duels - a duel plugin for Spigot. Spigot Project Page

Changes from Duels:

  • Remove update checker by @NotAlexNoyle
  • Only start Duels from one world, configurable in config.yml by @NotAlexNoyle
  • Inventory loss bug fixes by @szumielxd
  • Essentials API NPE fix by @skbeh
  • Update deprecated pickup API by @NotAlexNoyle
  • Added an option to hide the Duel winning title message by @NotAlexNoyle
  • Added an option to hide the bet winning title message 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");
}
S
Description
freetolga Duels-OG fork, tries to add 1.20.6 and 1.21.11 support
https://www.spigotmc.org/resources/duels.20171/
Readme GPL-3.0
17 MiB
0 Stars 1 Watchers 0 Forks
Languages
Java 100%