Content: Slate Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate Marble
Background: Slate Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate Marble
Pattern: Blank Waves Notes Sharp Wood Rockface Leather Honey Vertical Triangles
Welcome to TerraFirmaCraft Forums

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.

  • Announcements

    • Dries007

      ATTENTION Forum Database Breach   03/04/2019

      There has been a breach of our database. Please make sure you change your password (use a password manager, like Lastpass).
      If you used this password anywhere else, change that too! The passwords themselves are stored hashed, but may old accounts still had old, insecure (by today's standards) hashes from back when they where created. This means they can be "cracked" more easily. Other leaked information includes: email, IP, account name.
      I'm trying my best to find out more and keep everyone up to date. Discord (http://invite.gg/TerraFirmaCraft) is the best option for up to date news and questions. I'm sorry for this, but the damage has been done. All I can do is try to make sure it doesn't happen again.
    • Claycorp

      This forum is now READ ONLY!   01/20/2020

      As of this post and forever into the future this forum has been put into READ ONLY MODE. There will be no new posts! A replacement is coming SoonTM . If you wish to stay up-to-date on whats going on or post your content. Please use the Discord or Sub-Reddit until the new forums are running.

      Any questions or comments can be directed to Claycorp on either platform.
erian_7

TFC and Towny Configuration

5 posts in this topic

Version #: 78.17

SSP/SMP (Single/MultiPlayer): SMP

Suggested Name: Towny Configuration

Suggested Category: Not a Bug

Description:

Have you deleted your config files and are still able to reproduce this bug?: Yes

Do you have any mods other than Forge and TFC installed?: No

If yes, which mods?
 

Pastebin.com link of the Crash Report: No crash.

 

Hi all. I'm working on how TFC interacts with various mods and plug-ins and am hoping someone has already solved this problem. As I'm sure many are aware, the default installation of Towny only supports Vanilla blocks for protection, e.g. in a claimed block you can restrict Outsiders from opening Vanilla wooden doors, but Towny doesn't recognize TFC doors. The Towny config file has a section for defining what blocks are protected, but I'm so far not successful in adding TFC blocks. Does anyone have a list of how the blocks should be defined to work with Towny?

 

Here's the relevant section from the config.yml found in the Towny settings folder:

############################################################# +------------------------------------------------------+ ## |             block/item/mob protection                | ## +------------------------------------------------------+ #############################################################protection:  # Items that can be blocked within towns via town/plot flags  # 259 - flint and steel  # 325 - bucket  # 326 - water bucket  # 327 - lava bucket  # 351 - bone/bonemeal  # 359 - shears  # 368 - ender pearl  # 374 - glass bottle  # 385 - fire charge  item_use_ids: FLINT_AND_STEEL,BUCKET,WATER_BUCKET,LAVA_BUCKET,MINECART,STORAGE_MINECART,INK_SACK,SHEARS,ENDER_PEARL,GLASS_BOTTLE,FIREBALL  # Items which can be blocked or enabled via town/plot flags  # 25 - noteblock  # 54 - chest ...etc  switch_ids: DISPENSER,NOTE_BLOCK,CHEST,FURNACE,BURNING_FURNACE,WOODEN_DOOR,LEVER,STONE_PLATE,IRON_DOOR_BLOCK,WOOD_PLATE,STONE_BUTTON,TRAP_DOOR,JUKEBOX,DIODE_BLOCK_OFF,DIODE_BLOCK_ON,FENCE_GATE,TRAPPED_CHEST,GOLD_PLATE,IRON_PLATE,REDSTONE_COMPARATOR_OFF,REDSTONE_COMPARATOR_ON,BEACON,HOPPER,DROPPER,MINECART,STORAGE_MINECART,POWERED_MINECART,CARROT_STICK,EXPLOSIVE_MINECART,HOPPER_MINECART
0

Share this post


Link to post
Share on other sites

The best way to solve this problem is to use mytown instead of towny because it's essentially the same thing but mytown is designed for modded minecraft and is therefore a more effective choice for tfc

0

Share this post


Link to post
Share on other sites

Thanks Dano. But in the event that a server is using Towny, any ideas on how the blocks for TFC would properly be identified?

0

Share this post


Link to post
Share on other sites

Unfortunately TFC does not officially support the use of MCPC+/Cauldron and plugins with the mod. You will need to contact the Towny support and ask how to add mod items and blocks to their configs.

0

Share this post


Link to post
Share on other sites

You can try to use vanilla brick as stated in Towny config CLAY_BRICK to get in-game block id that Towny can read, e.g. TERRAFIRMACRAFT_CHEST_TFC and even TERRAFIRMACRAFT_INGOTPILE and TERRAFIRMACRAFT_CLAYPOTTERY.

0

Share this post


Link to post
Share on other sites