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 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.

I've seen this happen in PVP servers and honestly, i think its amazing!!!

Pretty dynamic gameplay in Tekkit :D

  • 0
Posted

Hey I downloaded the Factions .jar put it in my plugins folder, I then downloaded the Old version of gson.jar then added that to my lib folder, after that I went into the factions conf.json and edited that Playersthatbypassallprotection bit I then started my server and it gave me this error.

[Factions v1.6.7] Using default as I failed to load: plugins\Factions\conf.json

2012-04-21 09:02:57 [WARNING] [Factions v1.6.7] Backing up copy of bad file to: plugins\Factions\conf.json_bad

2012-04-21 09:02:57 [iNFO] [Factions v1.6.7] Loading board from disk

2012-04-21 09:02:57 [iNFO] [Factions v1.6.7] Found and will integrate chat with EssentialsChat v2.8.2

2012-04-21 09:02:57 [iNFO] [Factions v1.6.7] Economy integration is disabled, and the plugin "Vault" is not installed.

2012-04-21 09:02:57 [iNFO] [Factions v1.6.7] Successfully hooked into LWC! Integration is currently disabled, though ("lwcIntegration").

2012-04-21 09:02:57 [iNFO] [Factions v1.6.7] === ENABLE DONE (Took 108ms) ===

2012-04-21 09:02:57 


I have never used factions before on this server.

Whenever I edit the conf.json it seems to move the code around after I get the error.


 "playersWhoBypassAllProtection": [

  "[buildCraft]",

  "[industralCraft]",

  "[RedPower]",

  "[ComputerCraft]",

  "[Forestry]"

 ],

But I made sure I put it in fine.

  • 0
Posted

Hey I downloaded the Factions .jar put it in my plugins folder, I then downloaded the Old version of gson.jar then added that to my lib folder, after that I went into the factions conf.json and edited that Playersthatbypassallprotection bit I then started my server and it gave me this error.

[Factions v1.6.7] Using default as I failed to load: plugins\Factions\conf.json

2012-04-21 09:02:57 [WARNING] [Factions v1.6.7] Backing up copy of bad file to: plugins\Factions\conf.json_bad

2012-04-21 09:02:57 [iNFO] [Factions v1.6.7] Loading board from disk

2012-04-21 09:02:57 [iNFO] [Factions v1.6.7] Found and will integrate chat with EssentialsChat v2.8.2

2012-04-21 09:02:57 [iNFO] [Factions v1.6.7] Economy integration is disabled, and the plugin "Vault" is not installed.

2012-04-21 09:02:57 [iNFO] [Factions v1.6.7] Successfully hooked into LWC! Integration is currently disabled, though ("lwcIntegration").

2012-04-21 09:02:57 [iNFO] [Factions v1.6.7] === ENABLE DONE (Took 108ms) ===

2012-04-21 09:02:57 


I have never used factions before on this server.

Whenever I edit the conf.json it seems to move the code around after I get the error.


 "playersWhoBypassAllProtection": [

  "[buildCraft]",

  "[industralCraft]",

  "[RedPower]",

  "[ComputerCraft]",

  "[Forestry]"

 ],

But I made sure I put it in fine.

According to the error, you messed up the yaml code at some point.

Copy the entirety of your config.json and paste it into here (http://yaml-online-parser.appspot.com/)

That should identify any issues with the formatting in your config

  • 0
Posted

It moves the code around like that that's fine, that's how it works for me and it works fine... if it doesn't work then there's a problem.

  • 0
Posted

Dont work the quarry for me :(

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

  • 0
Posted

Thanks for this, works fine no errors or anything, machines working fine.

Make sure servers isnt up when you add "[buildCraft]", "[industralCraft]", "[RedPower]", "[ComputerCraft]", "[Forestry]"

otherwise it automaticly overwrites it back to the default,

Thanks

  • 0
Posted

I don't understand why the config of factions reset when i add "playersWhoBypassAllProtection": ["[buildCraft]", "[industralCraft]", "[RedPower]", "[ComputerCraft]", "[Forestry]"]

  • 0
Posted

I have been searching for a fix on the Json error for Factions 1.6.7( minecraft 1.2.5) I tried to follow this, the error is much shorter but it seems to be a new error, please help!

2012-07-11 00:16:12 [iNFO] [Factions] Enabling Factions v1.6.7

2012-07-11 00:16:12 [iNFO] [Factions v1.6.7] === ENABLE START ===

2012-07-11 00:16:12 [sEVERE] Error occurred while enabling Factions v1.6.7 (Is it up to date?)

java.lang.NoSuchMethodError: org.bukkit.plugin.PluginDescriptionFile.getCommands()Ljava/lang/Object;

at com.massivecraft.factions.zcore.MPlugin.preEnable(MPlugin.java:77)

at com.massivecraft.factions.P.onEnable(P.java:79)

at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:215)

at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:336)

at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:386)

at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:262)

at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:244)

at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:375)

at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:362)

at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:191)

at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:426)

at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)

  • 0
Posted

Sorry guys for not updating, i've been inactive (obviously) so yeah... if a 3.0.3 version is still needed I might try making one. I'm pretty sure this feature is already there in newer versions of the plugin that work with 1.2.5.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Announcements

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



×
×
  • Create New...