Filled Multitool - all tools in one

Discussion in 'Plugin Requests' started by will2022, Jun 19, 2016.

Thread Status:
Not open for further replies.
  1. Offline

    will2022

    Plugin category: Fun or Tools

    Minecraft version: 1.8.x

    Suggested name: Multitools

    What I want: I'd like a plugin that make a multitool that is Pickaxe, Shovel, Axe and Hoe in one tool

    Ideas for commands:
    • /multitool help
    • /multitool type <tool1> <tool2> <tool3> <tool4> : Type of tools in one tool (Only 2 tools is needed)

    Ideas for permissions:
    • multitool.use
    • multitool.tools
    • multitool.admin : Access to everything (Commands and tools)
     
    Last edited: Jun 19, 2016
  2. Offline

    MrGeneralQ

    We need more information.
    • What would be the actual tool?
    • What would be the use for it?
    • How should it act for item brekaing? (e.g: The item durabilty)
    • Explain your arguments <tool1> <tool2> ...
    • Multitool.tools allows the player to..?
    It would also help if you give describe a situation so we (or myself) understand better.

    thnx
     
  3. Offline

    I Al Istannen

    @will2022 @MrGeneralQ
    And:
    How fast should it break the blocks?
    What tier should it be? Wood? Stone? Iron? Diamond?
     
  4. Offline

    will2022

    @MrGeneralQ
    1. The actual tool should be set in a config.yml
    2. When you are mineing where there are sand, dirt, wood, and stone (Example: In my mineresetlite mines) it could be useful
    3. Durability do i think is something you can set in config.yml
    4. <tool1> <tool2> ... What there have to be mixed to the tool
    5. Multitool.tools allows the player to use a multitool
    @I Al Istannen
    1. it should break the blocks so fast a normal example: "diamond_pickaxe" do
    2. It have to be set with a command
     
    Last edited: Jun 19, 2016
  5. Offline

    I Al Istannen

    @will2022
    I will maybe make this. Is it okay, if you have the normal diamond tools, but they transform themselves, keeping enchantments (and durability if you activate it in the config)?
    So you have an axe, which can also be all of the others. Then you hit stone and it would suddenly become a pickaxe. Then you right click and you have a hoe in your hand.
     
  6. Offline

    will2022

    It will be nice:)
     
  7. Offline

    I Al Istannen

  8. Offline

    will2022

    @I Al Istannen
    When it works i think you should upload it to spigot or bukkit:)

    I tested it on a test server on a server site
    I used spigot 1.8.8 and it do not load so i think there are an fail or something

    Ok it works really great thank you it was only the test server there not working :)

    Do it only working on craftbukkit for when i test on spigot it do not load or are it not work with some other plugins?

    And the multitool directory do not came on craftbukkit and spigot can you say the problems?
     
    Last edited: Jun 21, 2016
  9. Offline

    MrGeneralQ

    I uploaded one of my plugins to spigot as well. It is a succes on bukkit, but on spigot I get nearly 15 downloads...
     
  10. Offline

    I Al Istannen

    @will2022
    If you could post the contents of the file "latest.log" in the "logs" folder, I may be able to find the problem :)

    EDIT: Fixed the config. Still need the log from the spigot server where it didn't work though.

    Link: Dropbox.
     
    Last edited: Jun 21, 2016
  11. Offline

    will2022

    Last edited: Jun 21, 2016
  12. Offline

    I Al Istannen

    @will2022
    "java.lang.UnsupportedClassVersionError: me/ialistannen/multi_tool/MultiTool : Unsupported major.minor version 52.0"
    You need Java 8 to run the plugin, but you are running a lower version (probably Java 7). I would recommend updating your java.
     
  13. Offline

    will2022

    Yes it was the problem:)
     
    Last edited by a moderator: Jun 21, 2016
  14. Offline

    I Al Istannen

    @will2022
    So it works now? As you intended? Or should I change anything?
     
  15. Offline

    will2022

    @I Al Istannen
    It will be nice with java 7 because the server is slower with java 8 and what with a command to enchant it and then you can save it see a list and give the savedtool
    • /multitool enchant <enchantment> (enchant the multitool you hold in hand)
    • /multitool save <name> (Save the multitool you have in hand with its enchantments and tools)
    • /multitool savedtools (A list with savedtools)
    • /multitool givetool <nameofsavedtool> (gives a savedtool)
     
    Last edited: Jun 22, 2016
  16. Offline

    I Al Istannen

    @will2022
    1. You can enchant it in an enchanting table and with every other plugin out there capable of enchanting (even minecrafts /enchant command). It will keep it's enchantments between the different tool types. Not sure if all of them work on all tools, if you get an error, write a Reply here.
    2. Saving: Sure I can do it, but what do you need this for, if I may ask?
    Java 8 shouldn't be slower than Java 7 and it is a pain to rewrite all the methods to use Java 7. Java 8 came out more than 2 years ago, if I recall correctly. And according to mcstats.org around 70 percent of the servers already use Java 8. So it really shouldn't be a iusse.
    So the answer would be: No, not unless it really impacts you.
     
  17. Offline

    will2022

    @I Al Istannen
    Saving is for the tool can be gived with serversigns with enchantments and more
    It is because of java 8 i can't use virtual ram then the server get slower
     
  18. Offline

    I Al Istannen

    @will2022
    Don't know what you mean with VRAM here, don't know enough about it to judge. But I would guess you can do the same with Java 8.

    But yes, I can add saving.

    EDIT: Try this.
     
    Last edited: Jun 22, 2016
  19. Offline

    will2022

    @I Al Istannen
    In java 8 they have removed VRAM from when i start the console:-(
     
  20. Offline

    I Al Istannen

    @will2022
    Did you see my edit? Does it work?

    Sorry about that VRAM thing. Still can't believe they completly removed it, but I am by no means able to name an alternative.

    I just happen to be using many Java 8 only methods, which makes downgrading a bit more time consuming.
     
  21. Offline

    will2022

    @I Al Istannen
    How hard is it to make it to java 7?
    And what program do you use to make plugins for it could be fun learn to make plugins
     
  22. Offline

    I Al Istannen

    @will2022

    - Removed all Streams, Lambdas and other Java 8 things
    + Added a delete command for saved items
    + Fixed the item not having the lore and name set in the config

    Link: DropBox.

    EDIT: You will have to learn Java first. At least get a basic understanding of what the language is, how to use it and so on. It is nothing that is learned from today to tomorrow, but once you grasped the basics it can be extremly fun. Then, if you did this, you can search the forum for learning Bukkit or ask again :)
    I am using Eclipse as my IDE of choice, but there are more out there, like IntelliJ or NetBeans.
     
  23. Offline

    will2022

  24. Offline

    I Al Istannen

Thread Status:
Not open for further replies.

Share This Page