Don't Starve Together

Don't Starve Together

Achievements and Level System
Lavax  [개발자] 2020년 3월 12일 오전 11시 25분
Debug Commands
Remote Commands if you are the admin of the server.

AllPlayers[1].components.allachivcoin.coinamount = 200
AllPlayers[1].components.allachivevent:grantAll(AllPlayers[1])
AllPlayers[1].components.levelsystem:xpDoDelta(10000,AllPlayers[1])
Lavax 님이 마지막으로 수정; 2020년 3월 26일 오전 5시 22분
< >
전체 댓글 20개 중 1~15개 표시 중
sergei.strizhak 2020년 4월 20일 오전 12시 49분 
How to add a single perk with console?, & changind attrib (damage, speed) via console?
sergei.strizhak 님이 마지막으로 수정; 2020년 4월 20일 오전 12시 58분
江江鸡 2020년 4월 20일 오전 8시 31분 
How can I give the achievement points to my teammate?The debug command only work for admin.
Lavax  [개발자] 2020년 4월 20일 오전 8시 41분 
江江鸡 님이 먼저 게시:
How can I give the achievement points to my teammate?The debug command only work for admin.
You have to change the number (1) in AllPlayers[1] to the correct number. I think there are some help functions where you can input the player name and get a number back. Look in the KLEI forums
Lavax  [개발자] 2020년 4월 20일 오전 8시 46분 
sergei.strizhak 님이 먼저 게시:
How to add a single perk with console?, & changind attrib (damage, speed) via console?
Therefore you need to know the names of the perks. They can be found in the allachivcoin.lua.
For example:
AllPlayers[1].components.allachivcoin.lifestealupamount = 3
would set your lifesteal perk to 3 times purchased.

For level attributes it is: (levelsystem.lua)
AllPlayers[1].components.levelsystem.speedupamount = 2
would set your speed upgrades to 2
Lavax 님이 마지막으로 수정; 2020년 4월 20일 오전 8시 47분
江江鸡 2020년 4월 21일 오전 3시 52분 
Lavax 님이 먼저 게시:
江江鸡 님이 먼저 게시:
How can I give the achievement points to my teammate?The debug command only work for admin.
You have to change the number (1) in AllPlayers[1] to the correct number. I think there are some help functions where you can input the player name and get a number back. Look in the KLEI forums
Thanks for your answer, I've learned how to use the debug command to increase achievement points.
Kim 2020년 8월 15일 오전 9시 56분 
Hi, I have a question. How to reset all the granted rewards?
Lavax  [개발자] 2020년 8월 23일 오후 10시 49분 
There is a reset button
摸鱼先锋 2020년 10월 6일 오전 7시 34분 
the commands don`t work i think...i can get points,but when i try to use them, the number of points will change just like before I used command
摸鱼先锋 님이 마지막으로 수정; 2020년 10월 6일 오전 7시 35분
Lavax  [개발자] 2020년 10월 8일 오전 12시 50분 
when entering the commands the mode has to be remote not local (CTRL to switch). pasting code switches the mode.
摸鱼先锋 2020년 10월 8일 오전 2시 51분 
Lavax 님이 먼저 게시:
when entering the commands the mode has to be remote not local (CTRL to switch). pasting code switches the mode.
wow,i don`t know that before,and thanks a lot for your help. XD
dano 2021년 1월 29일 오후 3시 46분 
I tried this command:
AllPlayers[1].components.allachivcoin.lifestealupamount = 3
on Remote console, but it does not work.
I am on hosted server. I am able to add coins but have not been able to do perks.

anybody has any luck with the console command?
Lavax  [개발자] 2021년 1월 29일 오후 11시 53분 
The command works the UI is just not updating. If you hit the lifesteal button again it will update
dano 2021년 3월 1일 오전 7시 56분 
Oh perfect. I see now. We use this mod in our hosted server Kronik and we love it.

I have another question. One player picked up a backpack that contained a lot of gems and she got achievements that she wanted to do herself. So is there a command to remove a particular achievement? For example. Remove Emerald from a player.

I see you use "grant" in "AllPlayers[1].components.allachivevent:grant" do you also have a revoke or remove? or is the app not designed like that?

Thanks

Lavax  [개발자] 2021년 3월 1일 오후 1시 42분 
I did not create a remove function but the commands should be
AllPlayers[1].components.allachivevent.citrins = 0
AllPlayers[1].components.allachivevent.citrin = false
for yellow gems

amber for orange and emerald for green gems
MBM 2021년 5월 29일 오후 5시 06분 
My character is modded and can't sleep. I tried to add the Sweet Home achiev with the AllPlayers[1].components.allachivevent:grantAll(AllPlayers[1]), using sleeptent, Sleeptent, SleepTent, sweethome, Sweethome and I couldnt get it. Can you help me?
< >
전체 댓글 20개 중 1~15개 표시 중
페이지당 표시 개수: 1530 50