Installing vault and an economy handler (eg essentials) will enable betting on duels. 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) %notduels_losses% returns the losses of the playerĪll values are returned as strings. %notduels_wins% - returns the wins of the player %notduels_win_loss% - returns the win/loss of the player %notduels_other_player_duel% - returns the other player in 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_duel_arena% - returns the arena of the duel the player is in if they are in one %notduels_in_duel% - returns if the player is in a duel Placeholders that are compatible with PAPI: Getting PaperSpigot for this plugin is highly recommended. Optimizations, such as asynchronous teleporting, which doesn't block the main thread, are made to increase the plugins performance. The code is much shorter and more efficient while using the paper API. This plugin supports the PaperSpigot API, which can make the plugin run much smoother and decrease lag on your server. checkversion (-v): compares the version of the plugin to the version on spigot (-v gives more information) settype (name): sets a new type to your current inventory and sets the icon to the item in your hand setspawn (name) (1-2): sets either spawn 1 or spawn 2 for the specified arena provided that you have a location selected with /stool setarena (name): sets an arena up provided you have 2 locations selected with /dtool resetstats (player): resets the stats of the specified player leavequeue: leaves the queue if you are in one gettype (type name): gets the items and armor for that duel type duelqueue (duel type): joins the queue for that duel type duel (player) (type): duels a player with the specified duel type duel (player): opens up the duel type gui for that player dtypes: lists all duel types and their gui icon dtool: get the tool for setting arena corners dstats (player): views the stats of that player if they are online dleave: leaves the duel if you are in one ddeny (player): denies duel request from that player if you have one darenas: lists all registered arenas and whether they are active or in use daccept (player): accepts duel request from that player if you have on arenatp (arena name): teleports you to spawn 1 of the specified arena
0 Comments
Leave a Reply. |