Another option is to use an external program like NBTExplorer. One way to display the internal nbt data of an item is to use minecraft's build-in /data command. To figure out what the exact issue here is I need to know the internal nbt data of the original items (what gets actually saved to the save.yml file might not match what the plugin was trying to save). There are a few common reasons for Spigot (and therefore Shopkeepers) not being able to correctly persist the data of certain items. Shopkeepers uses a piece of Spigot's API for saving and loading items to and from the save.yml file. the item saved into the save.yml file and the item loaded from the save.yml file do not match). These kinds of issues with the trades no longer working after a plugin/server reload/restart usually hint at an issue with the de/serialization of the involved items (i.e. If there is anything else that you need from me, please let me know! save.yml file The internal attribute in the save.yml file does not change after replacing the drug with the working one. If the shops are edited and the drugs obtained from the command above are placed into the shop again, it will function as intended until after another server restart. The shops all still give player heads drugs that look like the ones that would be obtained by UltimateDrugs (/drug give ), but only 4 of the drugs actually work. However, upon a server restart, the majority of the shops no longer work as intended. At first, the shops functions as expected and the drugs work after trading. I was trying to set up a villager shop where the player will exchange 2 stacks of cactus for a drug which is a player head (comes from the UltimateDrugs plugin). I am trying to use the UltimateDrugs plugin with your Shopkeepers plugin. Provide a detailed description of your problem and add as much information as possible which could help reproducing the issue. I was able to reproduce my issue on a freshly setup and up-to-date Spigot server (currently Paper version git-Paper-299) with the latest version of Shopkeepers (currently 2.9.3), with no other plugins and with no kinds of other server or client mods. Reproduction on a fresh and up-to-date Spigot server: I have checked all open and closed issues, but none seems to fit my issue/question.I have checked that my issue/question does not get answered by:.Spigot version: This server is running Paper version git-Paper-299 (MC: 1.15.2) (Implementing API version 1.15.2-R0.1-SNAPSHOT).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |