DayZ
DZR_permanent_player_names
46 条留言
BeanMama 2022 年 12 月 24 日 下午 6:23 
You're an actual chad.

I'll check it out!!
DZR|Mikhail  [作者] 2022 年 12 月 24 日 上午 7:49 
HERE YOU GO!!! Lets test it! Give your feedback and suggest features. :steamhappy:

https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2906149539 :steamthumbsup:
DZR|Mikhail  [作者] 2022 年 12 月 24 日 上午 5:28 
You will like it. When the name is not registered, It allows shutting down the client game and opening custom URL. Or just kick with a message. It will allow setting how many names a player can regitser per steam id. You will be able to set a list of ignored names, like ServerGuest, so anyone can enter with that name without registration. There will be the illegal names list too, for Survivor, Admin, etc. It will also have discord integration so you will know who resiters, who failed, which names they tried to use and open their steam profile.
DZR|Mikhail  [作者] 2022 年 12 月 24 日 上午 5:28 
BeanMama, I tried doing it as an init script, but failed. It is too complicated for init.c
So I'm doing it in a mod. It will be a very awesome mod to control the login process. It is already a working prototype, goes final tests. Then I will polish it, add translation and publish.
DZR|Mikhail  [作者] 2022 年 12 月 21 日 下午 9:36 
> Do you think there's any way to support multiple in game names for each player? We are an RP community and some people like to play more than one

BeanMama, great idea. Added to tasks. Thank you.
BeanMama 2022 年 12 月 18 日 下午 1:34 
You are a chad for this, thank you for making it.

Do you think there's any way to support multiple in game names for each player? We are an RP community and some people like to play more than one, we'd like to avoid back end editing if we can.
pennybelle 2022 年 11 月 25 日 下午 1:57 
allowing the function to be able to be done ingame would be perfect, i could def do it with a ftp but i wanted to avoid doing that because id rather not let anyone have access to the files, im a lil bit of a control freak lol. def no rush or pressure but i agree an ingame command would be very cool <3
DZR|Mikhail  [作者] 2022 年 11 月 22 日 下午 8:24 
ratt, by the way, we could make a mod that will allow certain SteamID players to use chat commands for that. If an authorized player says, for example, "dzr_save,<here goes SteamID>,<playername>)" or "dzr_remove" or "dzr_ban", the mod will write the corresponding folder.

Tha is possible for sure, look at the VPP admin mod. It does all kinds of file interactions on the fly.

Not sure when I have time to implement it. But it will be a good idea.
DZR|Mikhail  [作者] 2022 年 11 月 22 日 下午 8:19 
If you don't want your admins to mess with the physical files directly on the server, you could write a web frontend that will access the files. But it would require having a webserver. Installing it on DayZ server may impact fps or stall the web server at high load.

I have my own web hosting where I have my forum + all those web stuff running for DayZ, personal, and work.
DZR|Mikhail  [作者] 2022 年 11 月 22 日 下午 8:19 
ratt, you're probably running a Windows server + Omega, right? If you have that level of access, you can simply share that \DZR\players folder to your admins and they will just log in, edit, and that is it.

For example, you can install FileZilla server, crate accounts for your admins, set up access to that folder, and be sure FTP starts with autorun.

Discord bot is hosted somewhere, so to make it edit server files, you would write your own bot and a script to parse commands etc. It is huge and complicated.

FTP access seems perfect for your idea.
pennybelle 2022 年 11 月 22 日 下午 4:13 
this is kinda an outlandish idea, but im curious if it would be possible to link this system to a discord bot. i really wanna add this to my RP server as a soft whitelist, but im limited by the fact that it has to be added manually via a txt file that only i have access to. would be kickass to have the ability to use a discord bot to add or remove steam64id:name entries using a bot command, so it could be done by any member of my admin team without needing to have direct access to the backend.

if you have any other ideas i could accomplish this with the functionality already available and tools im not aware of, id be eternally grateful to learn of these methods
DZR|Mikhail  [作者] 2022 年 11 月 20 日 下午 11:58 
ratt, it is ok :) Traditionally people do not post scripts in Workshop :) Many people get confused. But I found no better way to distribute useful scripts.
pennybelle 2022 年 11 月 20 日 上午 6:21 
heh i realized that after the fact, i felt pretty silly lol, thank u again!
DZR|Mikhail  [作者] 2022 年 11 月 19 日 下午 10:14 
ratt, thanks! Forgot to disable it. Done now.

But since it is just a script, it should not be loaded as -mod= and will not check requirements. You just add it to your init serverside.
pennybelle 2022 年 11 月 19 日 上午 9:25 
it says in the photo it doesnt require notifications mod anymore (thank u for that btw <3) but thee steam workshop page still shows Notifications as a mod dependency. steam wont allow anyone to bypass that dependency so u would need to remove it from ur end to allow folks to use this mod without Notifications. cheers
madwest69 2022 年 4 月 23 日 上午 8:35 
https://easyupload.io/prsrpu

i upload it boss , the server run now but it not update list player
DZR|Mikhail  [作者] 2022 年 4 月 22 日 下午 8:59 
madwest69
Upload your full init.c and I will have a look.
madwest69 2022 年 4 月 22 日 上午 6:38 
hello i have this problem anyone can help me please

$CurrentDir:mpmissions\dayzOffline.chernarusplus\init.c(140): Function 'OnClientReadyEvent' is marked as override, but there is no function with this name in the base class
DZR|Mikhail  [作者] 2022 年 4 月 21 日 上午 8:58 
Irkutsk86, проверю. Там ошибки вижу из другого моего мода. Странно.
Irkutsk86 2022 年 4 月 21 日 上午 7:19 
Новой версии игры 1.17 сообщение не появляется лог https://pastebin.com/Di6nZL90
Irkutsk86 2022 年 4 月 9 日 上午 2:01 
MastaHiggins , благодарю
DZR|Mikhail  [作者] 2022 年 4 月 9 日 上午 12:27 
Да, спасибо, MastaHiggins.
MastaHigginZ 2022 年 4 月 9 日 上午 12:15 
Irkutsk86, это другой мод флудит. Отключать здесь: Profiles\DZR\IdentityZ\dzr_idz_config.json
EnableDebug поменяй на 0.
Irkutsk86 2022 年 4 月 8 日 下午 10:05 
Как отключить спам сообщение слева в низу и по центру ? https://ibb.co/SfF5zf0
DZR|Mikhail  [作者] 2022 年 1 月 30 日 上午 6:56 
ratt, try this. Haven't tested all the cases with names, but replaced everything with the default chat message. Let me know if it works.
https://gist.github.com/zvukoper/58b272f2c021dc5a5fc6e22e0a37319a
pennybelle 2022 年 1 月 29 日 下午 3:28 
is there a plan for this mod without requiring notifications? I'd love to dive into this mod but i definitely dont need notifications on my server. looks like a cool mod, thanks for your hard work c:
Sgt_Shit 2021 年 12 月 30 日 上午 10:57 
Oh my goodness! I have no idea how I missed that requirement. I'm a fool, sorry about that. I get the feeling that that's why we've been having trouble...
DZR|Mikhail  [作者] 2021 年 12 月 30 日 上午 9:49 
Splinko, yeah, sorry, this time it requires "Notifications". Add me on Discord Mikhail#0937 I'l try to integrate it into your script.
Sgt_Shit 2021 年 12 月 29 日 下午 8:16 
Mikhail - does this mod require notifications to use?
I've followed your instructions but the server still crashes upon trying to join.
Thimerion 2021 年 12 月 23 日 上午 5:17 
No I run an expansion server and as such use COT notifications already and would not be able to use the new version.

So would that mean players with teh name "Survivor" are not auto-kicked but it also does not add the "Survivor" name their steam ID?
DZR|Mikhail  [作者] 2021 年 12 月 23 日 上午 4:57 
Thimerion, so youre using the new system with notifications?
Thanks for pointing to this. I forgot about this. You can "blacklist" any unwanted or reserved name simply by creating a <name>.txt here /profiles/DZR/players/savedNames
and put that <name> inside the file.

My folder: https://gitlab.com/dayz-russia/dzr-permanent-player-names/-/tree/main/profiles/DZR/players/savedNames
Thimerion 2021 年 12 月 23 日 上午 4:45 
Is there any way to add exceptions such that if a new player joins with the name Survivor this is not written to the config but instead only writes to config the first time a player connects with a name that isn't "Survivor" or like "Survivor ("
DZR|Mikhail  [作者] 2021 年 12 月 17 日 上午 8:56 
Just find

class CustomMission: MissionServer
{

and paste the "check_username.c" contents after it
DZR|Mikhail  [作者] 2021 年 12 月 17 日 上午 8:55 
Splinko, it should be compatible with anything. It is using only the engine native functions. The updated second version uses Notifications mod https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2353998362

But it does not intervene into any other function. It just check names agains files in the server folders. Nothing more.
DZR|Mikhail  [作者] 2021 年 12 月 17 日 上午 8:08 
Splinko, sorry. I realized it myself, I've put instructions in the check_username.c file. I've updated the description now.

But yes, you just need to take everything from the check_username.c file and paste right after this:

class CustomMission: MissionServer
{
Sgt_Shit 2021 年 12 月 17 日 上午 6:29 
Also - is this mod compatible with expansion's edits of the init.c file?
Sgt_Shit 2021 年 12 月 17 日 上午 4:50 
No, I haven't. I see the file now. To make sure I understand right, I need to add all of that code to my init.c file?
The readme.md only has the mod name in it when I open it. Is that intentional?
DZR|Mikhail  [作者] 2021 年 12 月 16 日 下午 6:35 
Splinko, have you modified your init.c file with the included check_username.c?
Sgt_Shit 2021 年 12 月 16 日 下午 2:58 
I put the playersWhiteNames.txt file into the DZR profiles folder, but the whitelisting doesn't seem to be working at all. Any suggestions?
DZR|Mikhail  [作者] 2021 年 12 月 16 日 上午 5:42 
MastaHiggins, ты ясновидящий :) У меня уже есть на сервере прототип работающий. Скоро запакую в мод. Но хочу добавить возможность настраивать некоторые параметры + нужно пару плашек информационных задизайнить. Очень хочу до нового года успеть.
MastaHigginZ 2021 年 12 月 16 日 上午 2:20 
А возможно сделать автоматическое добавление ID/имени при первом посещении и потом уже сравнение? А вручную только если надо имя заменить. Было бы совсем круто.
DZR|Mikhail  [作者] 2021 年 11 月 8 日 下午 9:40 
zsk777, пожалуйста.
zsk777 2021 年 11 月 8 日 下午 1:59 
СПАСИБО ЗА РАБОТУ !!!!!!!!!!!!!!!!!
DZR|Mikhail  [作者] 2021 年 10 月 18 日 上午 3:11 
Мой форум генерирует этот файл и на рестарте заливает его на игровой сервер.
DZR|Mikhail  [作者] 2021 年 10 月 18 日 上午 3:10 
RodrigoGellardo, кого нет в списке, тот зайдёт на сервер, через пару секунд в чате ему напишет, что его имя не совпадает с именем из файла. Через 45 секунд кикнет с сервера.
Изменить время кика можно в строке
DelayedKickPlayer(player, p_identity, 1, whiteName, 45);

Файл playersWhiteNames.txt из папки profiles\DZR нужно заполнять вручную. У меня этот файл (и вайтлист тоже) генерирует форум из базы пользователей.
RodrigoGellardo 2021 年 10 月 18 日 上午 2:33 
Как скрипт поступает с теми, кого нет в списке?
Список необходимо руками заполнять?