ContentDB is for mods that are useful to end-users. Your mod is still broken - it will crash if anyone uses /ssay_player. Please test your mod locally before uploading to ContentDB
minetest.register_chatcommand("ssay_player",{privs={serversay=true},params="<player> <message>",description="Send text to chat as player (Split parameters by ';;')",privs={playersay=true},func=function(name,params)localplayer=params:split(";;")[0]localmessage=params:split(";;")[1:-1]localplayer=playeror"Player"localmessage=messageor""minetest.chat_send_all("<"..player..">: "..message)end})
This is my code, but I cannot understand, why it is not working.
You have a syntax error on line 62 of init.lua - you've commented out a chat command, but missed a line
Was does this have different from original serversay?
I'm sorry, I will fix it very soon! :)
Fixed! If you find more bugs please report it to me :)
this package needs a license
Ok, fixing
Done, I hope it's ok now
Please see state of completion
ContentDB is for mods that are useful to end-users. Your mod is still broken - it will crash if anyone uses
/ssay_player
. Please test your mod locally before uploading to ContentDBI need help:
This is my code, but I cannot understand, why it is not working.
This isn't a good place to get modding help. For that, you can go to the forums, Discord, or Reddit, links here: https://www.minetest.net/get-involved/