tastybento / ASkyBlock-Bugs-N-Features

Bug Tracker for ASkyBlock and AcidIsland - note team is 100% working on next version BentoBox
6 stars 3 forks source link

Imported ASkyBlock but creation of island does now work? #368

Closed ghost closed 7 years ago

ghost commented 7 years ago

Hello, I am using the program ECLIPSE IDE and have come across a problem when I imported the repository. First I right-clicked on the project > Import > File System. I then choose the askyblock-master folder which I extracted from the .zip. For the options section. I unticked them both. I then clicked the finish button. For the build paths. I choose to put in all of the spigot versions from spigot apart from 1.6.4 and lower. Finally, I put in vault. After I added the build path there were no errors and I proceeded to export the file to my local server. This is where the issue occurs. When the player does /is. The island creation message is shown. (Creating an island for you..). There is also a menu that pops up.

There are no errors in the console. The menu should open and the player should select an island type. I don't know why this happens. I think this bug/error is happening because of a number of versions I used. Any help is appreciated.

tastybento commented 7 years ago

When you export the jar, I suspect the schematics folder (and the locale) folder are missing from the jar. If you use Maven, these will be included. I can't remember how to include them if you do Export from Eclipse, but I think you may need to specifically checkbox them.

Upload the jar file you created to this ticket so we can look at it.

ghost commented 7 years ago

ASkyBlock.zip

Hello, Thanks for the reply. Here is the jar.

tastybento commented 7 years ago

It works great! Are you sure the plugin is loading? Do you have Vault installed? Also, I recommend you manually change the version number in plugin.yml to whatever the correct version is.

ghost commented 7 years ago

So I have got it to work, But I am wanting to change the island command. I changed all of the island commands in the plugin.yml and in the ASkyblock main class. But soon I do /. The schematic menu pops up. I click one and I get 'Creating an island for you..' After that, I get 'Unknown Command. Type '/help' for help. Also for the Config.yml. How would I add a custom skull with an owner to the schematic menu?

tastybento commented 7 years ago

Look in Settings.java - there are some command settings there too. For the schematic menu - you'll need to mark the skull as having an owner. Look at the TopTen panel for an example.

ghost commented 7 years ago

Thanks for the reply. The command is now working. yippee. But I do not know how to approach adding custom skulls to the schematic panel.

tastybento commented 7 years ago

You would need to change the code for the SchematicsPanel. Look in the TopTen for how to make skulls show a particular head. I'll close this for now.