Giter Club home page Giter Club logo

Comments (14)

mosemister avatar mosemister commented on June 11, 2024 1

Oh and as for the compatibility layer and such. Ships 6's source code is here https://github.com/Minecraft-Ships

Where it is broken down to multiple repositories. This is the old Ships 5 repository

from ships-2ndgen.

mosemister avatar mosemister commented on June 11, 2024

Interesting concept.

Storing items in files typically isnt a easy feat, but is possible.

Whilst personally I don't believe this feature should be added directly into ships itself, as tracking movement of players to detect if they are on ships takes a bit more resources then one would expect.

It does make sense for a addon to ships in the form of another plugin. I will definitely look into it.

Thanks for the suggestion

from ships-2ndgen.

TheRobLP avatar TheRobLP commented on June 11, 2024

No problem. As for the saving inventory, this free plugin right here does that: https://github.com/Qballl/StaffPlus . Since it´s license is under GPL-3.0 you can use part of it´s code if you just credit him. You can also just look on how to make that. Might be usefull to make it easier.

from ships-2ndgen.

mosemister avatar mosemister commented on June 11, 2024

Its a little more difficult then that. Because Ships 6+ uses a compatibility layer. A translation from bukkit to ShipsCore (the compatibility layer) as well as a sponge to ShipsCore will be required.

While i personally know how to save ItemStacks into a file for Bukkit and Sponge, they are both extremely different from one and another.

So thanks for the bukkit code but sadly its much more complex then stealing someone elses code

from ships-2ndgen.

TheRobLP avatar TheRobLP commented on June 11, 2024

Oh, I didnt know that Ships 6+ has a compatability layer implemented. I thought the Bukkit and Sponge version are on different repositories. As for the code, I just want to clarify that it wouldn´t be stealing the code, and I dont endorse piracy in most cases. The plugins license permits using part of the code (or the full code if you so desire) in other plugins or projects. The only real condition is to give credit when using the code of the plugin. Anyways, I wish you a good day. And also I would like to offer you my help. I am currently doing a java & Minecraft plugin course, and once Im trough with it (I hope I can do it in a few months) I could help you with my suggestion.

from ships-2ndgen.

mosemister avatar mosemister commented on June 11, 2024

I know it isnt stealing. Sorry I used the wrong word.

As for your course that sounds great. If you want i could add the difficult parts into the compatibility layer, such as saving item stacks and whole inventories and anything else needed. And then we have the addon maintained by either just you (with as many features, questions, requests, etc pointed at myself) or more of a collaboration.

The reason i say this is Ships got a lot more publicity when 3rd party addons such as ShipsDamage were maintained. Just a suggestion

from ships-2ndgen.

TheRobLP avatar TheRobLP commented on June 11, 2024

Hey mosemister

Thanks for the reply. Sure, lets do it that way... With the third-party plugin I mean. I will notify you when I finally learned Java enough. Tough that will take one month at least. I cant give an exact ETA because everyone learns at hist own pace. But I expect to learn enough to code in the coming months

[Edit]
If someone else who already knows how to code offers to make this while Im still in the learning phase, I understand and support it fully if you choose him instead

from ships-2ndgen.

mosemister avatar mosemister commented on June 11, 2024

Thats fine, take your time. I have just uploaded a small update to ShipsCore that allows the reading and writing of ItemStacks and Inventories so it will be nice and easy when it comes to writing the plugin.

https://github.com/Minecraft-Ships/ShipsCore/blob/66b28f1d7f74f712faa257d3b55f514a8109a129/src/main/java/org/core/configuration/parser/unspecific/UnspecificParsers.java#L12

Edit:
As for ownership, while i can not stop outright, I personally wont be trying to get someone else to create this. This is your idea, I want to keep it that way so you get the credit

Edit 2:
If you want some documentation on the API of ShipsCore and Ships itself, here is the current documentation.

https://dev.bukkit.org/projects/ships/pages/api/ships-6-r2

from ships-2ndgen.

TheRobLP avatar TheRobLP commented on June 11, 2024

I feel like I am too freaking stupid for anything. And lazy too. I don´t get Java, and when I don´t get it, I give up for a longer period of time. Sucks to be me, truly.

from ships-2ndgen.

mosemister avatar mosemister commented on June 11, 2024

Im more then happy to answer any questions about Java, if I get some free time ill take a look at adding an addon for your idea

from ships-2ndgen.

TheRobLP avatar TheRobLP commented on June 11, 2024

Hey there. I'll report back after a long time. I tried to learn Java by myself but I just can't. I really wanna learn it, so I want to pay for a dedicated development course, where someone is there to physically teach me. However you can probably imagine that Covid got in the way of my plans. I did not forget about this, and I still want to make it. Once I am a certified nerd I will come back and revisit this idea. Until then, either someone else has to pick up on it, or it has to wait until I know what I am doing.

Best Regards

from ships-2ndgen.

mosemister avatar mosemister commented on June 11, 2024

If you want join the ships discord. Im more then happy to teach you Java in my free time. Already taught one person this way ;)

from ships-2ndgen.

ColonelKai avatar ColonelKai commented on June 11, 2024

If you want join the ships discord. Im more then happy to teach you Java in my free time. Already taught one person this way ;)

Hey that's me

from ships-2ndgen.

ColonelKai avatar ColonelKai commented on June 11, 2024

As in for the suggestion, could be really useful, if we're going into details here's how I'd do it:

Movement

Have one stick control speed, change with right and left click.

Once stick is for moving, moves the amount of speed the speed control stick had been set to when left clicked towards the direction the player is looking.

The same stick rotates the ship to where the player is looking when right clicked.

Third stick for elevation? (Haven't used that feature ever so)

from ships-2ndgen.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.