Arqade Asked on May 25, 2021
I implemented a datapack, that changes certain gamerules like mobGriefing or doInsomnia based on the preferences of the players that are currently playing on the server. The datapack works in a test world realiable, but when I put it on the server the gamerule changes have no effect.
If I check the current state of the gamerule with the server console, the gamerules change if I change my preferences ingame. But if check the same thing with the server chat and an OP-Account, nothing changes. And the output from the chat seems to be the correct one.
I tested this with mobGriefing. I am the only player online, so if I change my preferences with the datapack they instantly take effect.
true
, both in console and in the chat.false
, the gamerule should switch to false.The server runs on spigot in Java 1.16.4. I have not much experience with spigot, but I know commands and functions pretty well.
Do you have any idea, what causes this or how it could be fixed?
You said you changed the value to "False"
The value must be lowercase, as in "false" same with "true".
Was just a typo, not actually the problem
Answered by jitter on May 25, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP