Open source programming for Zedwork

Open source programming for Zedwork

Postby Zedwick » Sat Aug 04, 2018 7:34 pm

I've been hard at work updating and recreating some of our essential plugins for Zurvival in preparation for updating to 1.13, and most of the essentials are done. However, as I know we have some people in our community who are interested in learning to create plugins, I thought this update period could be a good opportunity for them to get to grips with the Bukkit API. I have been intentionally trying to leave some of the simpler plugins with the hopes some of you might be interested in taking on the task of updating or recreating them as a new plugin. For those of you who are more experienced with the Bukkit API, there are definitely some more challenging code to work on too.

If I were to compile a list of projects with descriptions of what is needed, and open source some of the other plugins we use, would there be interest from the community in submitting code and working to make Zedwork better? :D

Some examples of projects which could be worked on would be:
  • Bukkit plugin to prevent iron golems from dropping loot. (very simple, good for a beginner)
  • Recreate the /sit command as a Bukkit plugin
  • Recreate the Zesty deposit items in nearby chests feature as a Bukkit plugin

Please reply below if you would be interested!
"Clothes make the man. Naked people have little or no influence on society." - Mark Twain
Zedwick
Guardian
 


Posts: 1900
Joined: Thu Mar 29, 2012 3:46 pm
Location: England
Minecraft IGN: Zedwick

Re: Open source programming for Zedwork

Postby dogzack123 » Sat Aug 04, 2018 7:40 pm

Would definitely be interested! Have limited Java experience, but looking to improve, and potentially make my own plugins at some point.
In the beginning, the universe was created. This has made many people very angry, and has been widely regarded as a bad move.
- Douglas Adams, The Restaurant at the End of the Universe
dogzack123
 


Posts: 42
Joined: Fri Apr 12, 2013 8:00 pm
Minecraft IGN: dogzack123

Re: Open source programming for Zedwork

Postby Jasmyn01 » Sat Aug 04, 2018 7:42 pm

I'd like to help ... if you gave me the simplest easiest task in history of coding stuffs, i may or may not do it well :')
Watch Your Back, Creper Sees All! -_-
Image
Jasmyn01
Zesty
 


Posts: 27
Joined: Sat Apr 01, 2017 9:28 pm
Minecraft IGN: Jasmyn01

Re: Open source programming for Zedwork

Postby chester1525 » Sat Aug 04, 2018 7:42 pm

I think I could take a look Zed. I am a noob so lead me to the right direction with Iron Golems.
chester1525
Zesty
 


Posts: 152
Joined: Sat Jun 30, 2012 2:09 am
Minecraft IGN: chester1525

Re: Open source programming for Zedwork

Postby iiWolfyyy » Sat Aug 04, 2018 7:42 pm

It sounds cool, but I am really not sure, I've never coded before.
"wprkl" ~dogzack123 12/05/18
"yeee" ~Jasmyn01 07/08/18
"Needs more Cobble" ~Mellori_ Every day
"tunr" ~Zedwick 18/08/18
"wuth" ~iiWolfyyy01/09/18
iiWolfyyy
 


Posts: 145
Joined: Sat May 27, 2017 9:57 pm
Minecraft IGN: iiWolfyyy

Re: Open source programming for Zedwork

Postby OffLuffy » Sat Aug 04, 2018 8:00 pm

I've been spending quite a lot of time lately stalking the Spigot Plugin Development forums helping whoever seemed to be somewhat left behind. I'd recommend that if someone takes up one of these projects, that you post on there for some pointers if you hit a wall!

Alternatively, it'd be neat if there was a category for that sort of support on here as well, I'd likely hang around and give pointers whenever I'm not at work or otherwise occupied.
OffLuffy
 


Posts: 18
Joined: Sun Jul 01, 2018 6:02 pm
Minecraft IGN: OffLuffy

Re: Open source programming for Zedwork

Postby Zedwick » Sun Aug 05, 2018 8:49 am

A good place to start would be the Spigot wiki, which has a section with guides for developing plugins.

Spigot Wiki: https://www.spigotmc.org/wiki/spigot/
Plugin Development guides: https://www.spigotmc.org/wiki/spigot-pl ... velopment/

I personally use and recommend Netbeans for making plugins, there is a guide for that on the wiki, however a lot of the guides are built for either Eclipse or IntelliJ so you may wish to use either of those instead. I would also recommend Maven, which will download dependencies for your project for you (like the spigot API, for example). There is a guide for using Maven with IntelliJ on the plugin development wiki page above.

You will need to get the spigot jar, which for boring legal reasons cannot be distributed directly. You will need to build it using BuildTool. Read about that here: https://www.spigotmc.org/wiki/buildtools/

And if you're feeling up to it, Git is version control software which enables tracking and reverting history of code in a project as well as enabling various people to contribute code to a single project (even the same files, simultaneously with their changes merged). It can be a bit tricky to get to grips with, so don't worry if it seems a little daunting. However, I highly recommend it. Really helps to see what you've done in your last few code commits which broke everything in inexplicable ways ;)

Git: https://git-scm.com/
You may wish to try some of the GUI clients listed from their download page. I'd recommend Sourcetree if you are running Mac or Windows.

You can host your git repositories for your project on sites like https://github.com or https://bitbucket.com for free, allowing others to see and contribute code.
"Clothes make the man. Naked people have little or no influence on society." - Mark Twain
Zedwick
Guardian
 


Posts: 1900
Joined: Thu Mar 29, 2012 3:46 pm
Location: England
Minecraft IGN: Zedwick

Re: Open source programming for Zedwork

Postby FunkyTechnician » Sun Aug 05, 2018 6:04 pm

Zedwick wrote:I'd recommend Sourcetree if you are running Mac or Windows.


If you have issues with Sourcetree being laggy and buggy, try GitKraken. Has support for Github, Bitbucket and Gitlab, as well as the ability to switch between identities.

As far as the actual plugin side goes, I did try Java plugins once upon a time, but I'm so tied up with Node.js (Web dev, Twitch, Discord and game management bots), I don't have time to bang my head against a wall over a different language :lol: ! Will save this thread for if/when I decide to give it a shot!
See a need, fill a need.

Image
FunkyTechnician
 


Posts: 25
Joined: Thu Mar 24, 2016 7:29 pm
Minecraft IGN: FunkyTechnician

Re: Open source programming for Zedwork

Postby OffLuffy » Sun Aug 05, 2018 8:03 pm

FunkyTechnician wrote:If you have issues with Sourcetree being laggy and buggy, try GitKraken. Has support for Github, Bitbucket and Gitlab, as well as the ability to switch between identities.


Also a fan of GitKraken. Brilliant pun aside, it has a wonderful dark interface in case SourceTree is burning your eyes out. And also because of it's support for GitLab. Not many Git GUIs support GitLab, and it's good in case you want to have private repos without paying anything. GitKraken has an annoying warning about private repos, but you can dismiss it.

I'm working on the sit plugin, although I somewhat got stuck. We wanted the ability to crouch+click to sit, but crouching instantly dismounts the seat. And I thought I'd just put the seated players in a 'no-eject' list for just a moment after sitting and cancel the eject event for those players, but for mysterious reasons, being ejected from the seat (an armor stand), it doesn't trigger the eject event, so can't cancel it. If it weren't for that, I might have had it mostly ready by now.
OffLuffy
 


Posts: 18
Joined: Sun Jul 01, 2018 6:02 pm
Minecraft IGN: OffLuffy

Re: Open source programming for Zedwork

Postby FunkyTechnician » Sun Aug 05, 2018 8:47 pm

Something I forgot to mention: Bitbucket has free private repos. Incase you are like me and like your code being private until you are satisfied with it (or embarrased about messy code).

There is a private option for GitHub, but you need the premium account, which you can get for free if you are a student (have a school email address).

Do note that privating a repo makes it quite the brainache for when you get into auto-pulling and stuff.
See a need, fill a need.

Image
FunkyTechnician
 


Posts: 25
Joined: Thu Mar 24, 2016 7:29 pm
Minecraft IGN: FunkyTechnician

Next

Return to General Discourse

Who is online

Users browsing this forum: No registered users and 55 guests

cron