Comments (14)
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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)
- Ships PreAlpha 4.2 bug HOT 2
- Ships Version 6 HOT 19
- Vessel Requires 0.0 of (any) wool HOT 1
- Can't disable burner HOT 8
- Error with /ships shiptype HOT 2
- Cannot find ship licence sign HOT 23
- Feature request: bringing mobs on ships HOT 7
- Feature request: documentation HOT 2
- Issue: players fall off boat HOT 13
- Issue: console spam HOT 3
- Issue/Feature request: disable EOT when ship is unoccupied HOT 7
- Issue: Kelp Detect HOT 1
- Water issues when airship lands and takes off from water HOT 6
- Land Vessels HOT 1
- Feature request: limited structure updating on ships HOT 2
- Feature request/ Issue: Waterlogged blocks on airship leave water abnormalities. HOT 8
- Issue while moving Ship/Ships is not installed on the server HOT 6
- Ships 6? Read me first
- Feature: Ship Sinking (Most likely an addon) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ships-2ndgen.