Recent content by Leonidius

  1. Leonidius

    Trading Interface — Shop GUI

    maybe you're trying to sell an item that has enchantments or a custom name? the plugin perceives unenchanted and enchanted items as different even if the item itself is the same. If the item was added to the list of sellable items without enchantments, you wouldn't be able to sell an enchanted...
  2. Leonidius

    Trading Interface — Shop GUI - Update 2.0.0

    WARNING! Please backup buyList.yml, sellList.yml and customItemNames.yml from the plugin's data folder before installing this update. NOTE! Starting with version 2.0.0 the plugin depends on DbLib. - Added support for items with enchantments, custom names and lores - Temporary discounts, which...
  3. Leonidius

    Trading Interface — Shop GUI

    Leonidius updated Trading Interface — Shop GUI with a new update entry: Update 2.0.0 Read the rest of this update entry...
  4. Leonidius

    Trading Interface — Shop GUI

    Hey everyone! Version 2.0.0 is soon to be released, with the support for enchantments, custom names & lores, discounts that expire after a set time and a revamped interface. Everyone is invited to test the new version before it gets released: https://discord.gg/QUg5vyN Please note that...
  5. Leonidius

    Trading Interface — Shop GUI

    Leonidius updated Trading Interface — Shop GUI with a new update entry: Update 1.0.3 Read the rest of this update entry...
  6. Leonidius

    Trading Interface — Shop GUI - Update 1.0.3

    - Fixed the bug which allowed to receive free money by selecting an item to sell and dropping it during transition between windows; - Added Chinese translation (thanks to Anders233).
  7. Leonidius

    Trading Interface — Shop GUI

    Not yet. I do plan to add such an option in the future update, but I don't know when it will be released. Hopefully some time during the summer
  8. Leonidius

    Trading Interface — Shop GUI

    Use "Custom item names" function, it was designed specifically for this. The items themselves won't have custom names (like the ones you can set using an anvil), items will only appear under different names in the shop.
  9. Leonidius

    Trading Interface — Shop GUI

    Sure. You can then make a pull request on github and it will become an official translation (if you want it to be)
  10. Leonidius

    how to solve this problem PlayerFormRespondedEvent

    use FormWindowSimple.getResponse().getClickedButtonId()
  11. Leonidius

    how to solve this problem PlayerFormRespondedEvent

    First of all, don't need to call setResponce(). Secondly, you don't add the elements you created to your windows. It must be: ServerList = new FormWindowSimple(...); ServerList.addButton(new ElementButton("text")); // add other buttons p.getPlayer().showFormWindow(ServerList);
  12. Leonidius

    Help - How check if an item has an specific enchantment.

    You should get all of the enchantments applied to the item, iterate over them and check if there is a Silk Touch enchantment among them. To do so, compare each enchanment's ID to the ID of Silk Touch. It should look a little something like this: for (Enchantment e : item.getEnchantments()) {...
  13. Leonidius

    Trading Interface — Shop GUI

    I will probably add support for more decimals in the next update.
  14. Leonidius

    Trading Interface — Shop GUI

    Look up item's IDs on the internet and insert them into the "Add item" window. Different kinds of wool and glass have different IDs. You can use both string IDs and number IDs.
  15. Leonidius

    Trading Commands

    Leonidius updated Trading Commands with a new update entry: 1.0.4 Update Read the rest of this update entry...
Top