Dusk network crypto

Comment

Author: Admin | 2025-04-28

Setting is {calm=12,warn=3,wild=5,dawn=2})Lock nightmare phase​TheWorld:PushEvent("ms_locknightmarephase",PHASE NAME)Lock at specific Nightmare Cycle phase. Phase names can be "calm", "warn", "wild" or "dawn".Stop locking nightmare phase​TheWorld:PushEvent("ms_locknightmarephase")Set season segments​TheWorld:PushEvent("ms_setseasonclocksegs", {summer={day=sx,dusk=sy,night=sz}, winter={day=wx,dusk=wy,night=wz}})Sets amount of segments. Errors if x + y + z adds up to over 16. Unlike setclocksegs, this is permanent.Example:TheWorld:PushEvent("ms_setseasonclocksegs", {summer={day=14,dusk=1,night=1}, winter={day=13,dusk=1,night=2}})Very long day, very short dusk and night (one segment for dusk and one for night), with a slightly longer night in winter.Set season lengthsTheWorld:PushEvent("ms_setseasonlength", {season="summer", length=15})Sets the lengths of the seasons.Start seasonTheWorld:PushEvent("ms_setseason", "winter")TheWorld:PushEvent("ms_setseason", "spring")TheWorld:PushEvent("ms_setseason", "summer")TheWorld:PushEvent("ms_setseason", "autumn")Start RainTheWorld:PushEvent("ms_forceprecipitation")Start rain.Stop RainTheWorld:PushEvent("ms_forceprecipitation", false)Stop rain. This also includes Frog Rain.Do Lightning StrikeTheWorld:PushEvent("ms_sendlightningstrike", ConsoleWorldPosition())Lightning strike on mouse cursor. Will hit lightning rod instead if there is one nearMeteor Strikec_spawn("shadowmeteor", 1)Meteor strike on mouse cursor. Spawns different kind of rocks randomly.(Warning it may crash the game)Activate all Eventsfor k, v in pairs(SPECIAL_EVENTS) do if v ~= SPECIAL_EVENTS.NONE then local tech = TECH[k] if tech ~= nil then tech.SCIENCE = 0 end end end function IsSpecialEventActive(event) return true endActivates all Events on the same time. Doesnt work if in world gen the events section is set to Auto.Measure Distanceprint(math.sqrt(ThePlayer:GetDistanceSqToInst(ConsoleWorldEntityUnderMouse())))Prints the distance between player and object under mouse to the console log (displayed with Ctrl + L by default).Network/Server CommandsKick/Ban a playerTheNet:Kick(userid)TheNet:Ban(userid)Note that this can be accomplished more easily through the scoreboard. The userid can be obtained from the AllPlayers table. Once you've found the number of the player you want to kick (as shown above in the Other Player Commands section), you can use AllPlayers[#].userid. Example:c_listallplayers()[1] (KU_aabbccdd) Player1 [2] (KU_AABBCCDD) Player2 if Player2 is going to be banned from the server, console command can be written asTheNet:Ban(AllPlayers[2].userid)orTheNet:Ban("KU_AABBCCDD")Temporarily Ban a playerTheNet:BanForTime(userid,time_in_seconds)Player can be banned for a short period of time. userid stands for the KU id of the player to be banned. Once it is obtained it can be

Add Comment