caizo
Member
Posts: 45
| Likes: 8
|
Post by caizo on Feb 27, 2019 22:22:42 GMT
so im compiling tfm for the first time in a million billion years and i used netbeans and the tutorial on the github doesnt help me at all can someone explain it more clear?
Download the ZIP from above
Unzip it
In IntelliJ go to File > Open and select the directory where you extracted the ZIP too
Click on View > Tool Windows > Maven Projects
(confused on this right here) On the right, you should see a sidebar. If there are no Maven projects click the plus button and add the directory
Click on Lifecycle > Package
If you get an error saying no JDK defined, go to File > Project Settings and add your Java path
A binary release which you can use on your server will be available in the target folder. Be sure to use TotalFreedomMod.jar and not original-TotalFreedomMod.jar
Please note that this code is licensed under the TotalFreedom General License. You may not distribute binary copies of TotalFreedomMod
|
|
Deleted
Deleted Member
Posts: 0
|
compiling
Feb 27, 2019 23:14:35 GMT
via mobile
Post by Deleted on Feb 27, 2019 23:14:35 GMT
|
|
caizo
Member
Posts: 45
| Likes: 8
|
Post by caizo on Mar 2, 2019 17:02:02 GMT
i know it's for intellij, but i have no experience with it.
|
|
Deleted
Deleted Member
Posts: 0
|
compiling
Mar 2, 2019 17:10:52 GMT
via mobile
Post by Deleted on Mar 2, 2019 17:10:52 GMT
i know it's for intellij, but i have no experience with it. just hit the green build hammer on netbeans I think
|
|
caizo
Member
Posts: 45
| Likes: 8
|
Post by caizo on Mar 3, 2019 18:21:46 GMT
i know it's for intellij, but i have no experience with it. just hit the green build hammer on netbeans I think which version of netbeans should I use
|
|
Deleted
Deleted Member
Posts: 0
|
compiling
Mar 3, 2019 19:13:06 GMT
via mobile
Post by Deleted on Mar 3, 2019 19:13:06 GMT
just hit the green build hammer on netbeans I think which version of netbeans should I use the latest? I assume you just need git and Maven to compile it. You really should be using intellij to compile it thought
|
|
caizo
Member
Posts: 45
| Likes: 8
|
Post by caizo on Mar 3, 2019 19:41:39 GMT
do i need lib for 1.12 because 1.13.2 crashes
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Mar 3, 2019 23:11:57 GMT
do i need lib for 1.12 because 1.13.2 crashes What version are you compiling? 2019.1.1? I just released 2019.2.1: github.com/Telesphoreo/TotalFreedomMod/releases. You should use that (if you're compiling TFM for 1.13.2) You don't need a lib folder to compile TotalFreedomMod anymore. Maven automatically downloads the dependencies that you need to compile it. If you're looking for a version of TotalFreedomMod that supports 1.12.2, you'll need to use this: github.com/Telesphoreo/TotalFreedomMod/tree/1.12. Note that 2018.2.1 is a really old version and isn't supported anymore. You should consider upgrading your server to 1.13.2.
|
|
caizo
Member
Posts: 45
| Likes: 8
|
Post by caizo on Mar 4, 2019 3:03:40 GMT
i get an error in netbeans with 2.1
|
|
caizo
Member
Posts: 45
| Likes: 8
|
Post by caizo on Mar 4, 2019 3:06:50 GMT
package org.bukkit does not exist
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Mar 4, 2019 3:38:39 GMT
The dependencies are not being found. I just found out that NetBeans is completely different. I'll let you know how to compile it when I try it myself.
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Mar 4, 2019 5:09:12 GMT
Actually, I have no clue where to download NetBeans. All I see is a download to the source code. Just use IntelliJ!!!
|
|
Deterno
Club 4000 Member
Posts: 5,121
|
Post by Deterno on Mar 4, 2019 10:33:22 GMT
Actually, I have no clue where to download NetBeans. All I see is a download to the source code. Just use IntelliJ!!! You can download NetBeans here: netbeans.org/downloads/8.0.2/I recommend downloading the 'Java SE' version, but if you have extra space, good internet and an intention to use Netbeans in the future with other coding languages, either 'Java EE' or the 'All' version is your go-to. However, it has been a while since I've last used netbeans, and a while since I've done anything with TFM or other plugins so I can't guarantee I'm 100% correct.
|
|
caizo
Member
Posts: 45
| Likes: 8
|
Post by caizo on Mar 4, 2019 22:12:32 GMT
im good with netbeans not intellij, so thats why i installed it.
|
|
Deleted
Deleted Member
Posts: 0
|
compiling
Mar 5, 2019 15:19:05 GMT
via mobile
Post by Deleted on Mar 5, 2019 15:19:05 GMT
im good with netbeans not intellij, so thats why i installed it. Well if I were to apply that logic I would have installed Windows XP over Windows 10 because I know how to use it better
|
|