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

Command does not work

6 posts in this topic

I am working on a TFC map and I want to set players' hunger and thirst. But it seems the "/sps" command does not work for hunger or thirst. It only works with the health of the player.

Here is an example: 

" /sps <playername> 10.0 10.0 10.0 "  ----> Result: The health of player was set to 100 but nothing changed about hunger and thirst

 

Am I doing something wrong or is this a common bug/issue ?

Edited by Apperk
0

Share this post


Link to post
Share on other sites

No one knows a solution for this ? My tfc is up to date btw

0

Share this post


Link to post
Share on other sites

Very very few people bother with any of the TFC commands. I've never had good luck with the sps commands, didn't have much need for them though. So I doubt anyone really knows if they are bugged or not.

0

Share this post


Link to post
Share on other sites
16 hours ago, Bunsan said:

Very very few people bother with any of the TFC commands. I've never had good luck with the sps commands, didn't have much need for them though. So I doubt anyone really knows if they are bugged or not.

But I need to set the player's health,hunger and thirst when a pressure plate is triggered, do you know how to do that ? I can edit NBT Data of the world and set my characters stats but i want to change the stats of a player when a pressure plate is activated. Does anyone know how to do it ?

0

Share this post


Link to post
Share on other sites

TFC was never truly friendly for map making. The creative mod is full of glitches and the Devs had said many times that the mod is not intended for creative.

Right now there is no way place a naturally generate ore block. Like for example, you can place a block of Basalt, but if you try to place a block of gold ore it will be transparent. 

Please don't get me wrong I absolutely love Terrafirmacraft, and understand that while developing the mod some choices were made always with the intention that it would be played in a certain way.

In the 5 years that I have played and followed this mod I have never seen a TFC adventure map.

People have been successful in creating mod packs and servers.

Even though you have a hard time setting the player initial health value I have used in the past a mod called JAS ( Just Another Spawner) that allows you to set the health and conditions for the spawning of every animal and mob. That may help you in your project. It requires some learning and you have to create scripts for every thing that will spawn in the world.

Good luck in your map.

0

Share this post


Link to post
Share on other sites

We use command blocks on our server to spawn entities with TFC properties. You should be able to set player properties with them as well.

0

Share this post


Link to post
Share on other sites