SEUH
SEUH

Reputation: 324

Rewrite minecraft server (getting/edit source and recompile)

I want to edit the minecraft server code and add/remove things, I need or not.

I really don't know what to do with these errors, because in the finshed jar, it's in there like my example.

Minecraft Server: https://minecraft.net/download

Upvotes: 2

Views: 4060

Answers (4)

Marito Torres
Marito Torres

Reputation: 11

use BuildTools as explained in spigot, after you got all the folders go inside the folder Spigot and go inside the folder Spigot-Server then inisde src then main then java then net then minecraft then server and there is the source code, modify the stuff you want in those .java files and when you are ready go back to the folder Spigot/Spigot-Server and put this command mvn clean package and thats it... you may need to install some dependencies like maven ... but that will make the spigot.jar inside the folder target with the minecraft modifications...

Upvotes: 1

Jwosty
Jwosty

Reputation: 3644

I would suggest using Minecraft Forge (Google it) for server and client modding, if Bukkit isn't what you want.

Upvotes: 0

Drifter64
Drifter64

Reputation: 1123

I think the source for minecraft servers is intended to be closed (You should not be able to even obtain it).

However, source for modded servers might be open, check Bukkit and similar projects.

Keep in mind that if you were able to find an open project, and you decided to add or delete various things, you are SOLELY responsible for ensuring that clients can still connect and operate properly.

Projects like Bukkit can be modified by writing your own plugins, so unless you want to REALLY change how minecraft operates (by adding new blocks or something!), you should be able to just write your own plugin without laying a hand on the server source code.

I admire your enthusiasm, but make sure you know what you're getting yourself into! :)

Upvotes: 1

Philipp Sander
Philipp Sander

Reputation: 10249

The Minecraft server is not open source. So you won't legaly get the source files.

i want to edit the minecraft server code and add/remove things, i need or not.

I doubt there are things you don't need and if so... don't use them.

But there are OpenSource minecraft servers (like bukkit), that can easily be customized with plugins.

Upvotes: 1

Related Questions