HomeJavaModsNotDuels1.15
ModsJava

NotDuels1.15

A 1.15 duels plugin with arenas, different types, stats, and more!. Free Minecraft Java mod for 1.15.

⬇ Download on Spigot
NotDuels:
Permissions:
Spoiler: arena
notduels.arena.tp - /arenatp
notduels.arena.list - /darenas
notduels.arena.create - /setarena
notduels.arena.delete - /rmarena

notduels.arena.setspawn - /setspawn
Spoiler: type
notduels.type.list - /dtypes
notduels.type.set - /settype
notduels.type.delete - /rmtype
notduels.type.get - /gettype
Spoiler: duel
notduels.duel - /duel
notduels.duel.accept - /daccept
notduels.duel.deny - /ddeny
notduels.duel.leave - /dleave
Spoiler: stats
notduels.stats.view - /dstats
notduels.stats.reset - /resetstats for yourself
notduels.stats.resetothers - /resetstats for others
Spoiler: misc
notduels.queue - /duelqueue, /leavequeue
notduels.help - /help
notduels.cmdlimit.bypass - disables no command rule in duels
notduels.tool.spawn - /stool
notduels.tool.arena - /dtool
notduels.updates - update notifications
Spoiler: misc
notduels.checkversion - /checkversion

Commands:
Spoiler: Commands
/arenatp (arena name): teleports you to spawn 1 of the specified arena
/daccept (player): accepts duel request from that player if you have on
/darenas: lists all registered arenas and whether they are active or in use
/ddeny (player): denies duel request from that player if you have one
/dhelp: help with NotDuels commands
/dleave: leaves the duel if you are in one
/dstats (player): views the stats of that player if they are online
/dtool: get the tool for setting arena corners
/dtypes: lists all duel types and their gui icon
/duel (player): opens up the duel type gui for that player
/duel (player) (type): duels a player with the specified duel type
/duelqueue: opens up the duel queue gui
/duelqueue (duel type): joins the queue for that duel type
/gettype (type name): gets the items and armor for that duel type
/leavequeue: leaves the queue if you are in one
/resetstats (player): resets the stats of the specified player
/rmarena (arena name): deletes arena
/rmtype (type name): deletes duel type
/setarena (name): sets an arena up provided you have 2 locations selected with /dtool
/setspawn (name) (1-2): sets either spawn 1 or spawn 2 for the specified arena provided that you have a location selected with /stool
/settype (name): sets a new type to your current inventory and sets the icon to the item in your hand
/stool: get the duels arena spawn tool
/checkversion (-v): compares the version of the plugin to the version on spigot (-v gives more information)


PaperSpigot:

This plugin supports the PaperSpigot API, which can make the plugin run much smoother and decrease lag on your server. The code is much shorter and more efficient while using the paper API. for example: without paper https://pastebin.com/L335X86C , with paper https://pastebin.com/UqKbzcVd
Optimizations, such as asynchronous teleporting, which doesn't block the main thread, are made to increase the plugins performance. Getting PaperSpigot for this plugin is highly recommended.

Placeholder API:

Placeholders that are compatible with PAPI:
Spoiler: server placeholders
- %notduels_players_in_duel% - returns the number of players in a duel
- %notduels_version% - returns the current version of the plugin
- %notduels_update_status% - returns the update status from the UpdateChecker class
- %notduels_active_duel_count% - returns the number of active duels
- %notduels_arena_count% - returns the number of registered arenas
- %notduels_type_count% - returns the number of registered duel types

Spoiler: player placeholders
- %notduels_in_duel% - returns if the player is in a duel
- %notduels_duel_arena% - returns the arena of the duel the player is in if they are in one
- %notduels_duel_type% - returns the duel type of the duel the player is in if they are in one
- %notduels_other_player_duel% - returns the other player in the duel the player is in if they are in one
- %notduels_win_loss% - returns the win/loss of the player
- %notduels_wins% - returns the wins of the player
- %notduels_losses% returns the losses of the player


All values are returned as strings. If you want to get one as a number you will need to do Integer.parseInt() but for your respective type of number (float, double, long, etc)


Vault:
Installing vault and an economy handler (eg essentials) will enable betting on duels.
Essentials:
Installing essentials will allow vault to function if installed and will use Essentials' AFK API to check if a player is AFK before starting a duel with them
----------------------------------------------------------------------------------------------

Source code: https://github.com/notjacob-dev/NotDuels/tree/1.15
For support DM me on the forum or leave a comment in the discussion of this resource and I will try to get back to you ASAP.

Plugin details

Read from the plugin's own plugin.yml.

NotDuels1.15 is a free Minecraft Java mod. Compatible with Minecraft 1.15. Downloaded 181 times (via Spigot). Download it and open it directly in the game.

Explore more