Jump to content
  • 0

Modified Factions for Tekkit 2.1.1 with support for Auto-Mining and Forestry


Question

Posted

*READ THE WHOLE POST, DON'T JUST SKIP TO DOWNLOADS. IT WON'T WORK*

I have a fix for the bug with factions where Turtles, IC2 miners, quarries, farms, etc. don't work on claimed land. Just worked this out myself with the Factions developer. He fixed this problem in the new update, but that version is only 1.1 R6 and up compatible. So, I re-built his source for 1.1 R4 and now it's working perfectly on my server . I'll link to a download of the jar, but you'll also need to re-gen a conf.json (delete old one) and edit it a little bit.

Open up conf.json inside your Factions folder and look for this line:

"playersWhoBypassAllProtection": []

Just do a Ctrl + F if you're on windows or Cmd + F on mac and find "players". Then add all the names of the fake players used in between those brackets. An example would be

"playersWhoBypassAllProtection": ["[buildCraft]", "[industralCraft]", "[RedPower]", "[ComputerCraft]", "[Forestry]"]

A LAST, IMPORTANT STEP (Thanks to vidplace7 for this fix :) )

Download the other file linked below and navigate to your server folder. There should be a folder called lib, and inside that gson.jar. Delete the one that's currently in there and drag the new one you downloaded in. IF YOU DO NOT HAVE THIS FOLDER: Start your server once without doing this and it should create the folder (IT WILL THROW AN ERROR!). Shut your server down again and then do the above.

And then you should be good

PS:

Yes, I know people can place blocks within other factions land! That is because of how Tekkit modifies CB, not because of Factions! You can find a fix here:

http://forums.technicpack.net/index.php/topic,4645.0.html

Downloads:

Modified Jar for Tekkit 2.1.1: http://dl.dropbox.com/u/10200380/Factions.jar

Old version of gson.jar: http://www.mediafire.com/?o133ub9x3mggdk5

  • Answers 66
  • Created
  • Last Reply

Top Posters For This Question

Recommended Posts

  • 0
Posted

I'm using Multicraft, and i edit the File Useing the Multicraft Edit thing, i highlight the []" and then copy your text ['Buildcraft"]..ect and paste over the []". Then Save and Reload. Then It changes back D:

  • 0
Posted

I'm using Multicraft, and i edit the File Useing the Multicraft Edit thing, i highlight the []" and then copy your text ['Buildcraft"]..ect and paste over the []". Then Save and Reload. Then It changes back D:

no, just paste the thing INSIDE the brackets. see if that works. In other words, there should be outside brackets that contain the inside stuff like:

[[buildcraft], [industrialCraft], ...]

  • 0
Posted

Oh, woops. Try this. I'll edit the OP, too:

"playersWhoBypassAllProtection": ["[RedPower]", "[industrialCraft]", "[buildCraft]", "[Forestry]", "[Redpower]"]

EDIT:

OP is already like that, did you forget to put the quotes or...

  • 0
Posted

Yea, i did forget. But i just copied what you put and that didn't work either so its prob not your fault :P Thanks tho

*Edit*

Line Now:

"playersWhoBypassAllProtection": ["[buildcraft]"], "[industralCraft]", "[Redpower]", "[ComputerCraft]", "[Forestry]"]

  • 0
Posted

Yea, i did forget. But i just copied what you put and that didn't work either so its prob not your fault :P Thanks tho

*Edit*

Line Now:

"playersWhoBypassAllProtection": ["[buildcraft]"], "[industralCraft]", "[Redpower]", "[ComputerCraft]", "[Forestry]"]

Post a complete plugins list, it may be your permissions messing with factions :/

STICKY THIS!

  • 0
Posted

GroupManager,

WorldEdit,

iConomy,

Permissions,

CondenserPipeFix,

ChestShop,

DiskDriveFix,

mcMMO,

Essentials,

MobBounty,

EssentialsProtect,

EssentialsSpawn,

HawkEye,

EssentialsChat,

Factions

Hope it helps, but having Factions work now is good enough XD

  • 0
Posted

I see your error.

Yea, i did forget. But i just copied what you put and that didn't work either so its prob not your fault :P Thanks tho

*Edit*

Line Now:

"playersWhoBypassAllProtection": ["[buildcraft]"], "[industralCraft]", "[Redpower]", "[ComputerCraft]", "[Forestry]"]

You need to remove that bracket that's bolded.

  • 0
Posted

...dont hate me but, same issue D:

New Line:

"playersWhoBypassAllProtection": ["[buildcraft]", "[industralCraft]", "[Redpower]", "[ComputerCraft]", "[Forestry]"]

XI

  • 0
Posted

Make sure the P in "[RedPower]" is capitalized, if else the redpower things will not work

ProTip of the Day! But really, why not just copy and paste the line from the original post?

  • 0
Posted

I'm going to try this one out tonight.

Do you guys know if this will allow the players to bypass all protections (Including Safezone) ?

It will allow quarries etc. to bypass all factions-based protections.

  • 0
Posted

Okay, I have been trying this all night like I said I would :)

If I delete factions folder completely, it works.

I cannot do this due to my server having over 500 factions (player base of 3,500 people)

If I keep my factions files and only deleted the config.jsn file I get this error. Have you guys seen it? I have tried both gson files.

e?): No enum constant com.massivecraft.factions.struct.Role.OFFICER

java.lang.IllegalArgumentException: No enum constant com.massivecraft.factions.s

truct.Role.OFFICER

at java.lang.Enum.valueOf(Unknown Source)

at com.google.gson.internal.bind.TypeAdapters$EnumTypeAdapter.read(TypeA

dapters.java:664)

at com.google.gson.internal.bind.TypeAdapters$EnumTypeAdapter.read(TypeA

dapters.java:653)

at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(Ref

lectiveTypeAdapterFactory.java:86)

at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.re

ad(ReflectiveTypeAdapterFactory.java:170)

  • 0
Posted

I thought it might be worth pointing out that while the significance of bypass for the rest of the mods is only so-so (most of the machines either only operate vertically or have tiny ranges), if you add BuildCraft to the bypass list it means players can construct a filler or quarry completely encompassing any faction territory smaller than 4x4 chunks and disassemble it outright.

  • 0
Posted

Okay, I have been trying this all night like I said I would :)

If I delete factions folder completely, it works.

I cannot do this due to my server having over 500 factions (player base of 3,500 people)

If I keep my factions files and only deleted the config.jsn file I get this error. Have you guys seen it? I have tried both gson files.

e?): No enum constant com.massivecraft.factions.struct.Role.OFFICER

java.lang.IllegalArgumentException: No enum constant com.massivecraft.factions.s

truct.Role.OFFICER

at java.lang.Enum.valueOf(Unknown Source)

at com.google.gson.internal.bind.TypeAdapters$EnumTypeAdapter.read(TypeA

dapters.java:664)

at com.google.gson.internal.bind.TypeAdapters$EnumTypeAdapter.read(TypeA

dapters.java:653)

at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(Ref

lectiveTypeAdapterFactory.java:86)

at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.re

ad(ReflectiveTypeAdapterFactory.java:170)

Did you download the alternate gson.jar and put it in the lib folder?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements

  • Anything claiming to be official Technic servers are not allowed here, for obvious reasons



×
×
  • Create New...