iXanadu13 / EnderDragon

An easy plugin that can customize your EnderDragon.
https://www.spigotmc.org/resources/101583/
GNU General Public License v3.0
10 stars 3 forks source link

I want to ask about the reward_dist #23

Open AdwinL opened 1 month ago

AdwinL commented 1 month ago

hi can i ask about this line of code and how it's work i want the drop from the dragon to show up in a GUI reward_dist: enable: [all,drop,killer,pack,rank,termwise] all: Give to all participants in dragon slaying. drop: Dropped item, players can grab it casually. killer: Only give to the final killer. pack: Pack all items that trigger drop and distribute them to players weighted based on their damage percentage. rank: Strictly based on player damage ranking, give the top few players with the highest damage. termwise: Assign the items that trigger the drop ONE BY ONE to the player based on the weighted proportion of damage. type:

image

like shown in this picture or maybe I'm just misunderstanding that this is just the drop edit GUI?

iXanadu13 commented 1 month ago

This picture is out-dated, and u can use "/ed drop gui" to open the gui now. It looks like that:

![image](https://github.com/iXanadu13/EnderDragon/assets/104714710/0e213fa9-f827-485b-a0eb-5927e20d8ab4)

I'm not a fan of so-called "gui-edited". So the plugin doesn't provide online editor for drop items. You can only use "/ed drop add DRAGON_UID CHANCE" to save what it is in your mainHand as a drop item for corresponding dragon. (e.g. /ed drop add special 10) You can then edit the item configuration in files. Besides, if you just want to delete some items, try "/ed drop edit".