CustomGamerules API

CustomGamerules API

769 Downloads

/gamerule doesn't recognize new gamerules in server.

BlazeRuler opened this issue ยท 10 comments

commented

On my dedicated server, I tried to use the /gamerule command to do the command "/gamerule doInsomnia false" and it just responds with "Incorrect argument for command" with red text and a line underneath the doInsomnia false.
I am currently running on Snapshot 19w09a and i've tested it with Singleplayer and its working perfectly on there.
2019-03-13_20 19 33
2019-03-13_20 19 44

commented

did you install CustomGamrules ?

commented

Yes and both mods are the latest version.

commented

As I said in the original post, It works in SinglePlayer whenever I put it in my own game, but as soon as I try it in my multiplayer server it starts not letting me do anything to them.

commented

Can you post the log ?

commented

I can try, How much of the log would be needed?

commented

latest.log
hope that works

commented

Ok, that should fix the issue, I'll roll an update soon

commented

Uploaded on curseforge.

commented

Found the problem, in dedicated servers, the gamerule command is registered before the mod.

commented

Glad you found the problem