Questions from a Beginner Civcraft Developer

49 views
Skip to first unread message

Scuwr

unread,
Sep 18, 2014, 10:27:34 PM9/18/14
to civcraftd...@googlegroups.com
I'm currently a third year undergrad majoring in Computer Engineering with a secondary major in Computer Science at the United States Air Force Academy. I'm a relatively new programmer with nearly six years of experience with Java being my first language. I had a few question concerning how things are run here, and what exactly I should do to get started.

To elaborate:
    1. How is everything typically run? Is there any delegation for who does what, or is it strictly volunteer?

    2. What should I do to get started? I've developed server-side mods in the past for Bukkit using Eclipse as my preferred IDE, but that was during 1.5. Things have since changed with maven, and I was hoping I could receive some guidance on that.

    3. I've noticed while looking through the github repository that some of the dependencies in the pom.xml is for 1.7.2-R0.3 and a few others are 1.7.9-R0.1-SNAPSHOT. Which version specifically should I use to update the mods?

Thank you guys for taking the time to answer my amateurish questions.

Rourke750

unread,
Sep 18, 2014, 10:38:35 PM9/18/14
to Scuwr, civcraftd...@googlegroups.com
1. Everything is volunteer.  
3. you need a 1.7.10 version of spigot.  It isn't technically legal to provide jars (as far as my understanding) for it but there are some one the internet that you can download.  You need spigot build 1649.  Refer to this post by md5 to get the md5 refer to this post: http://www.spigotmc.org/threads/spigot-update-20140909a.29091/ .  Also for the pom some plugins arent version specific so referencing old versions isn't bad.  You should still use the latest version though for testing / compiling.

Dr. Andrew Jawa

unread,
Sep 18, 2014, 10:38:47 PM9/18/14
to Scuwr, civcraftd...@googlegroups.com
1. Volunteer

2. Usually ttk2 mentions issues in the changelog, like things that need
to be done. According to changelog, combattag needs to be updated for
1.7.10 and realisticbiomes is having some issues. Feel free to pick
something and work on it if it interests you
http://www.reddit.com/r/Civcraft/comments/2gtj2k/civcraft_changelog_for_20140918/


3. Some of the poms may be a bit out of date. Which repo's are you
looking at? The ones here are the uptodate ones. https://github.com/Civcraft

Dr. Andrew Jawa

unread,
Sep 18, 2014, 10:42:00 PM9/18/14
to Rourke750, Scuwr, civcraftd...@googlegroups.com

Scuwr

unread,
Sep 19, 2014, 1:18:18 AM9/19/14
to civcraftd...@googlegroups.com, thes...@gmail.com
The repository seems to have been a casualty of the DMCA take-down. Would you know of a possible mirror I could get spigot from? Also, I've never used spigot before, so will I need to add the bukkit API to my reference libraries at all, or is spigot a one-stop-shop?

Jake Jungbluth

unread,
Sep 19, 2014, 7:09:38 AM9/19/14
to Scuwr, civcraftd...@googlegroups.com
Spigot is all you will need, pretty much just an optimized version of bukkit.

Scuwr

unread,
Sep 19, 2014, 7:58:59 PM9/19/14
to civcraftd...@googlegroups.com, thes...@gmail.com
That still doesn't answer the question on how to get spigot with the DMCA take-down notice. I'd really love to work on Realistic Biomes and see if I can get that to work, but until I can get spigot, there isn't much I can do. Will the code work with the standard bukkit API, perchance?

Nick

unread,
Sep 19, 2014, 8:55:44 PM9/19/14
to Scuwr, civcraftd...@googlegroups.com
The DMCA notice has created an air of skittishness. As you are new here you might not receive a jar from us as we won't know if you're looking for other DMCA violations.  ;P

Do you have any working version of Spigot or CraftBukkit? If so what version is it?

Per http://www.spigotmc.org/threads/our-dmca-response.28772/, if you find a 1.7.10 build 1649, which is the last canonical build, the MD5 sum is f2edc09c45b1f80237602dc0d1b05969 to verify that it hasn't been modified.

N

Scuwr

unread,
Sep 23, 2014, 10:47:05 PM9/23/14
to civcraftd...@googlegroups.com, thes...@gmail.com
So, I have the spigot jar, but when I try to compile the RealisticBiomes with "Run As > Maven Install" I get this error:
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building RealisticBiomes 0.6.4.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for org.bukkit:craftbukkit:jar:1.7.2-R0.3 is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.393s
[INFO] Finished at: Tue Sep 23 12:41:45 MDT 2014
[INFO] Final Memory: 4M/121M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project RealisticBiomes: Could not resolve dependencies for project com.untamedears:RealisticBiomes:jar:0.6.4.1-SNAPSHOT: Failure to find org.bukkit:craftbukkit:jar:1.7.2-R0.3 in http://repo.bukkit.org/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of bukkit-repo has elapsed or updates are forced -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:

I assume this is due to the DMCA violations on the bukkit webpage, because when I tried to follow the link to the source in my browser, I was redirected to the DMCA takedown message. Does anyone know how I might be able to remedy this?

Rourke750

unread,
Sep 23, 2014, 10:49:04 PM9/23/14
to Scuwr, civcraftd...@googlegroups.com
You dont really need maven.  I dont think you'll be able to compile it because those references were taken down.  If you have all the dependencies downloaded just reference them and compile them that way.  If you want to send code just send a PR.

wildweazel

unread,
Sep 23, 2014, 11:41:21 PM9/23/14
to civcraftd...@googlegroups.com, thes...@gmail.com
The public maven repo for craftbukkit no longer exists. If you have the jar you can install it locally as described here: http://stackoverflow.com/a/7623805/213156
mvn install:install-file -Dpackaging=jar -Dfile=craftbukkit.jar -DgroupId=org.bukkit -DartifactId=craftbukkit -Dversion=1.7.10-R0.1

Nick

unread,
Sep 23, 2014, 11:55:33 PM9/23/14
to wildweazel, civcraftd...@googlegroups.com, Christian Arnold
Should we update our POMs to all work from a local repository like that link shows by default?

Glad I don't use Maven, lol. Hopefully Gradle works better for Sponge.

N

wildweazel

unread,
Sep 24, 2014, 2:41:06 PM9/24/14
to civcraftd...@googlegroups.com, wildw...@gmail.com, thes...@gmail.com
I think it's safe to assume this situation is permanent and that Craftbukkit will only be found in the user's local repo. But Maven will check locally first, so our poms will still work and those that depend only on Bukkit can still look it up if need be.
Reply all
Reply to author
Forward
0 new messages