Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
Join the server as user "admin" with your password. Then in the chat window type
/grantadmin "username"
Type /help to see a list of other commands.
Okay, so i am to rename the SandboxVars.lua file... Yes, works now, the admin system too. Thanks!
New problems, but not really a big deal:
I can't grant my other user admin, so i am stucked with the name "admin" on my server. I can kick off my other user, but every time i try to use grantadmin, it tells me that the user dosent exist.
I also can't seem to have multiple servers on my server list in game. Every time i go in on it, it automagical chooses the one server i already added, and the button to add a new server, keep being stucked at re-saving the old. Maybe the Add button should have its own place?
Each server needs a different name. Enter a different name and you'll be able to save another server.
while making this command i fiddled around with the game, and made it all work out.
thanks for all the help.
This is what i found out:
* The user needs to be whitelisted in order to become admin.
* The announcement from the server saying the long password should be ignored, and the password you enter is still the counting one.
Old comment:
Admin user:
[Me] /grantadmin "Sim3345"
[SERVER] User Sim3345 dosen't exist
[Me] /grantadmin "sim3345"
[SERVER] User sim3345 dosen't exist
[Me] /kickuser "Sim3345" -r="for not existing"
[SERVER] User Sim3345 kicked.
Sim3345 user:
You have been kicked from this server. Reason : for not existing
So it can confirm that the user Sim3345 is on the server if i wish to kick that user, but not if i wish to grant the user admin.
Will the user have to be on my whitelist, in order to become admin?
Oh and talking about the whitelist.
Every time i try to add someone to the whitelist, by in game command, it makes a extremly long password for that user.
I tried to make my own password while adding the user:
[Me] /adduser "Sim3345" "supereasypassword"
[SERVER] User Sim3345 created with the password 157960af427f892b5fbc9e3e514dab31
Its like the server just completey ignores my password making skills, and decides that its password is much better than mine.
sorry for digging out this old thread. But right now i try to figure out how the server settings work through the sandboxvars.lua (build 28). It's correct they get loaded by the server when in the right location (zomboid/servertest etc...), BUT they are not applied. I set the time to 1h per day and power/water to 6 months, but still the day has default length and power as well as water was already out after one day... how do the setting get applied to the server?
And to the thread-starter: i guess you figured out by now, that your password is not 15790af... etc. ;), thats just like an encrypted view of the password you have just created.
cheers,
xenomat
I'm not sure if you did this, but once the SandboxVars.lua has been saved to the right folder it must be renamed to "servertest_SandboxVars.lua".
Please let me know if you have already done that and if its still not working.
yes i did this and it says in the server console window "loading <path>\servertest_SandboxVars.lua", but my day is more like 20-30 Minutes, definitely not one hour.
I've stumbled across a comment somewhere, saying all the clients need to have the same SandboxVars.lua file in place, is this correct? If yes i hope in the future they make it so it gets downloaded automatically by the connecting clients...
Does it maybe have to be in user/Zombiod/Server/ AND in Steam\steamapps\common\ProjectZomboid\media\lua\shared\Sandbox? With the same name?
cheers,
xenomat
Loading: media/lua/server/timedactionshelper.lua
Loading: C:/Users/xenomat/Zomboid/Server/servertest_SandboxVars.lua
Loading: C:/Users/xenomat/Zomboid/Server/servertest_spawnregions.lua
Loading: media/maps/Muldraugh, KY/spawnpoints.lua
Loading: media/maps/West Point, KY/spawnpoints.lua
...
And:
DayLength = 2
I guess 1 would be the default of 30 Minutes.
Do you have an idea?
<edit>
I tried to set it to realtime, day seems longer now... but 1 hour did not work, it was more like 20-30 minutes. So i guess the settings are not lined up correctly... well, i guess i have to wait for bugfix. ;)
Zomboid has a very weird and hard to understand server system if you ask me.
Danish
Sorry but did you find the solution? I have the same problem, I set No Zombies to try but when the server begin I can see a lot of zombies. I am in the same case.
I don't know exactly what problem occurred to you, or what you did incorrect. But the solutions to all the problems I had is stated out in this very thread.
My main problem was that I didn't rename the SandboxVars.lua. It needs to be renamed "servertest_SandboxVars.lua" and placed in: C:\Users\[UserName]\Zomboid\Server\
If you could describe in as much detail as possible what you did, it would be easier to find out what went wrong.
Whith actual version of PZ we don't need to rename and move the file because it's already done by the PZServerSettings.exe
I have servertest_SandboxVar.lua in \username\Zomboid\Server\ and the file is corrrectly loaded at the server starting
thx
(Sorry I'm french)