[Mod Request] Twilight Forest config rule Bug (Final Request)

The Aternos forums are now deprecated

Learn more about this change here.

For help regarding Aternos, we recommend you to visit our support center.

  • Name: The Twilight Forest


    Link: https://www.curseforge.com/min…-mods/the-twilight-forest


    Small Description: A mod that adds a dimmension which is an entire magical forest, full of creatures.



    Situation:

    First of all I would like to apologize to the Engineer Roman for not answering his questions, I got distracted and completely forgot about the subject in matter. I completely understand if I can't ask for help in the subject anymore, I can't even imagine how busy you guys are in solving these petty problems.

    However if I am allowed to answer Roman's question.

    The server adress: King_Kitochiki.aternos.me

    The config rule: Line 43 and Line 44

    # Sets the default value of the game rule controlling enforced progression.

    B:progressionRuleDefault=true

    This rule makes that the player is forced to fight a row of bosses in a certain order, that wouldn't be much of a problem. If it wasn't for the fact that the rule only works in the way that: whoever is the player that last hit that boss and got the achievement for doing it is the only one that is able to fight the next boss, however his friends are not able to. Because technically, they didn't kill the boss, the player of the achievement did. So it means that you can't fight the bosses in the default order with your friends. Because only one makes the progression to the next boss. But if you put the rule into false, you are able to fight the bosses in any order you want, therefore you are able to fight all the bosses with your friends. So when I tried to turned the rule into false and I entered with the server. The Rule was for some reason activated. Even if I put it into true or false.

    Again, am terribly sorry for bothering you with this nuisance. And I understand if I am not able to request this anymore.

    Thank you for reading.

    • Official Post

    You should read the description of that configuration option. It contains some very important information:

    "game rule"

    Game rules are per-world settings that you can adjust using the /gamerule command


    "default value"

    That means that the setting the actually controls behavior is defined somewhere else, in this case, game rules. The configuration option here is just used if it's not defined yet. -> It only applies to new worlds.


    So in order to change that gamerule:

    • turn your server on
    • When it's online type "/gamerule" into the console and find the correct gamerule. (A short google search told me that it might be called TFEnforcedProgression)
    • Adjust the gamerule by executing "/gamerule <game rule name> < value (true/false)>" in the console


    The reason why it worked in SP for you was probably because you changed the configuration file and then tested it in a new world, which causes the gamerule of the newly created world to be set to the default value specified in the configuration.

    It's not a bug, it just works differently than you think.


    I don't really know that mod and I did not test it on my own, but what I have just found when using Google let me suspect that it is as I describe it here.

    Also, check this, it looks helpful: http://benimatic.com/tfwiki/index.php?title=Progression

  • Thank you so much for answering, I'll give it a try, I didn't know that about game rules in mods. I will give it a try. Hope it works. Thanks for all the investigation and the help.

  • Roman

    Closed the thread.