Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting up a plugin repository #1023

Closed
sphinxc0re opened this issue May 23, 2014 · 108 comments
Closed

Setting up a plugin repository #1023

sphinxc0re opened this issue May 23, 2014 · 108 comments

Comments

@sphinxc0re
Copy link
Contributor

What if we set up such a repository like the one that bukkit has? It would be easier for the users to find and/or upload plugins. We could also run this under another url like plugins.mc-server.org

@sphinxc0re sphinxc0re changed the title Setting up a Plugin repository Setting up a plugin repository May 23, 2014
@NiLSPACE
Copy link
Member

We actually talked about it in some random thread. I think the main problem is that we have to find/write one.

@madmaxoft
Copy link
Member

Yes, that would be nice, but such a repository needs a hosting, database, disk space, someone to code it up and most importantly it needs the plugin authors to declare some metadata about their plugins. I could provide the hosting, database and diskspace, we have a beginning of a metadata support (the Info.lua file), but there's no-one to do the web development. Also regarding the metadata, we don't even know what everything we'd like to have. So a deeper thought is needed, too.

@madmaxoft
Copy link
Member

Things that'd be useful to have:

  • Plugin short descriptions and long descriptions, possibly with some sort of formatting support.
  • Categories
  • Commands and Console Commands lists for each plugin (search for a specific command? yay!)
  • Permissions list for each plugin (search for a specific permission - check)
  • Plugin author accounts (so that we can display all plugins by a single author)
  • Tags (looking for similar plugins?)

@sphinxc0re
Copy link
Contributor Author

I could possibly do the web development in "Ruby on Rails" together with a custom Interface that I have in my mind. But it might need some time, because I don't have much spare time at the university...

@madmaxoft
Copy link
Member

All those metadata items could be read from the Info.lua file, if the web makes it a required condition for the plugin and the format is well documented. It could even be read automatically when uploading the plugin, by executing a Lua script that executes the info file in a sandbox environment.

@madmaxoft
Copy link
Member

Do you have a Ruby on Rails - enabled web hosting? 'Cause mine most likely doesn't support it.

@sphinxc0re
Copy link
Contributor Author

Don't you have a root-server?

@madmaxoft
Copy link
Member

No, it's semi-managed. But then, we're not limited to my hosting, we could host anywhere, if we find a reasonable deal.

@sphinxc0re
Copy link
Contributor Author

df.eu "ManagedHosting Pro" under "Webhosting"

@madmaxoft
Copy link
Member

Can RubyOnRails call external processes, feed data to them and read their output? We'd need that to parse the Info.lua file for each plugin.

@sphinxc0re
Copy link
Contributor Author

RubyOnRails is able to unpack and read zip or rar files. It just can read the file out of a zip file.

@bearbin
Copy link
Member

bearbin commented May 23, 2014

I would be interested in writing one but it would have to wait until the
summer holidays.

@sphinxc0re
Copy link
Contributor Author

Do you know RoR?

@bearbin
Copy link
Member

bearbin commented May 23, 2014

Nah, but id write it in Go if i did it.

@sphinxc0re
Copy link
Contributor Author

No, RoR is much better than Go. Faster, more secure... etc...

@madmaxoft
Copy link
Member

🔥 Why not do it in the industry-standard PHP + MySQL? 🔥

Yup, let the flamewar begin :D

@worktycho
Copy link
Member

My favourite is perl. Its got a lot in common with c++ as a language (complexity, power, expressiveness, laden with backward compatibility issues).

@sphinxc0re
Copy link
Contributor Author

Because PHP is hella unsafe.

@sphinxc0re
Copy link
Contributor Author

RoR is so much safer and easier

@worktycho
Copy link
Member

PHP is not unsafe. Its just got a horrible API and a lot of tutorials that say that concatenating SQL and user input is a good idea.

@andreasgoulas
Copy link
Contributor

@sphinxc0re
Copy link
Contributor Author

Yes! I thought of RoR in connection with a custom bootstrap design of mine and this design (http://startbootstrap.com/templates/sb-admin-v2/) for the admin lounge :)

EDIT: I also think it should look a little bit like this: http://plugins.bukkit.org/

@madmaxoft
Copy link
Member

There's no such thing as "unsafe language".

I've found Python in my webhosting, but no sign of RoR. Go seems too esoteric for my taste. And I'll need to do something about Lua missing there :P

@sphinxc0re
Copy link
Contributor Author

What do you mean "missing" RoR can just read the files and give an output to the user.

@bearbin
Copy link
Member

bearbin commented May 23, 2014

RoR is faster??? What world are you living in?

@sphinxc0re
Copy link
Contributor Author

It is! It is not written in java but in c and c++

@andreasgoulas
Copy link
Contributor

http://benchmarksgame.alioth.debian.org/u32/benchmark.php?test=all&lang=yarv&lang2=php&data=u32

In fact, Ruby is (slightly) slower than PHP. Both languages, though, are on average, 40 to 50 times slower compared to native code.

@bearbin
Copy link
Member

bearbin commented May 23, 2014

What do you mean written in java? Go is a compiled programming language introduced by Google about 5 years ago, for systems programming, command line tools and web apps. See the benchmarks

@sphinxc0re
Copy link
Contributor Author

Though is there any Go framework we can use?

@bennasar99
Copy link
Contributor

Any news? I saw plugins.mc-server.org, but there is nothing at the moment.

@tigerw
Copy link
Member

tigerw commented Sep 20, 2014

pluginrepositorypreliminary

@tigerw
Copy link
Member

tigerw commented Sep 20, 2014

I have a feeling some more seasoned developers will throw a fit when they see my PHP code, but ah well.

@bennasar99
Copy link
Contributor

I like it, why not include a cave johnson picture and his quotes? :D

@tigerw
Copy link
Member

tigerw commented Sep 21, 2014

Perhaps another Easter egg is in order!

@NiLSPACE
Copy link
Member

NiLSPACE commented Feb 1, 2015

Bringing this issue back:
@FakeTruth tried to create a plugin repo quite a while back, but he stopped working on it. He still has the 'preview' online: http://pluginsold.mc-server.org/ What I really like with this version is that you can login using your forum username and password.

@FakeTruth
Copy link
Contributor

Syncing with the forums is really easy :)

@tigerw
Copy link
Member

tigerw commented Feb 1, 2015

1
2
3
4

@tigerw
Copy link
Member

tigerw commented Feb 3, 2015

crickets

@tigerw
Copy link
Member

tigerw commented Feb 3, 2015

Classic MCS developers' response (or lack thereof) :P

@NiLSPACE
Copy link
Member

NiLSPACE commented Feb 3, 2015

I have to admit that it looks pretty good :D

@sphinxc0re
Copy link
Contributor Author

Yeah it does 👍

@bearbin
Copy link
Member

bearbin commented Feb 3, 2015

Are you going to put the code up tiger?

@bennasar99
Copy link
Contributor

So beautiful

@tigerw
Copy link
Member

tigerw commented Feb 3, 2015

Very relieved you like it. I'll upload the code when its more presentable :)

@tigerw
Copy link
Member

tigerw commented May 11, 2015

Code is uploaded. Want to try adding plugins?

@bearbin
Copy link
Member

bearbin commented May 11, 2015

I tried :P

@bearbin
Copy link
Member

bearbin commented May 11, 2015

It seems quite good, but a bit buggy.

@sphinxc0re
Copy link
Contributor Author

For me, too. but the design is a little chabby :)

@tigerw
Copy link
Member

tigerw commented May 11, 2015

Chabby?

@bearbin
Copy link
Member

bearbin commented May 12, 2015

Closing. Plugin repo now exists in a usable state, and further development can be focused there.

@bearbin bearbin closed this as completed May 12, 2015
@NiLSPACE
Copy link
Member

I dissagree. It's not fully implemented and tested, and we might want to change the place it's hosted.

@bearbin
Copy link
Member

bearbin commented May 12, 2015

It's open source, so anyone can host it.

Anyway, this proposal was just for having one, not choosing between different ones if they are available. Now there is one there isn't much point in this proposal anymore.

@bennasar99
Copy link
Contributor

@NiLSPACE
Also, it could be in another URL such as plugins.mc-server.org

@NiLSPACE
Copy link
Member

@tonibm19 Yes, that's what I meant.

@sphinxc0re
Copy link
Contributor Author

@FakeTruth mapped that to my devilbyte server :)

@tigerw
Copy link
Member

tigerw commented May 28, 2016

And the funny thing is, despite the language flamewar at the beginning, the repository ended up being written in PHP, interfaced to SQL Server, run on Internet Information Services (8), and hosted on an Azure instance running Windows Server.

lel.

@sphinxc0re
Copy link
Contributor Author

I agree, it's a total mess 😉

@mathwhiz1212
Copy link

I would suggest scaleway for hosting: https://www.scaleway.com/ I use the cheapest BareMetal server. (The C1.) for hosting my cuberite server. It's 2.99 euros a month.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests