DayZ
评价数不足
DZR_permanent_player_names
   
奖励
收藏
已收藏
取消收藏
Type: Mod, Server
Mod Type: Character
文件大小
发表于
更新日期
71.146 KB
2021 年 9 月 7 日 上午 4:22
2022 年 11 月 22 日 下午 8:34
6 项改动说明 ( 查看 )

订阅以下载
DZR_permanent_player_names

在 DZR|Mikhail 的 1 个合集中
DayZRussia.com HARD
47 件物品
描述

Discord: https://discord.gg/3Q2gBAeb
GitLab: https://gitlab.com/dayz-russia/dzr-permanent-player-names

[RU]
Это не мод и не аддон. Это скрипт для серверной части.

Позволяет заходить на сервер только с одним именем персонажа, указанным в списке игроков.
Проще говоря, не даёт игрокам менять имя в любой момент.
Идеален в связке с DZR IdentityZ https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2593334740
В такой комбинации позволит игрокам узнавать атакующих их кемперов, опознавать трупы и т.п. Уникальный социальный механизм.

  1. Читает playersWhiteNames.txt из папки profiles\DZR.
  2. Сравнивает имя подключающегося игрока с именем из файла по GUID
  3. Если совпало, приветствует и пускает.
  4. Если у игрока другое имя, пишет ему об этом в чат и кикает через 45 секунд.
  5. Формат файла:
  6. Steam UID,Нужное имя игрока. Пример:
    76562298156537007,Mikhail
    76561998116927207,Znahar
  7. Перед номером нет пробелов. До и после запятой нет пробелов. В конце строки нет пробелов и запятых.
  8. Из-за бага в дивжке нельзя использовать кириллицу.

Все инструкции в файле check_username.c

[EN]
This is not a mod and not an addon. It is a serverside script.

Will allow connecting only the players with the names defined in the player names list.
Simply put, players will not be able to change character names anytime they want.
Will work perfectly with DZR IdentityZ https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2593334740
Used together, it will bring unique social mechanics to your server. Players will be able to recognize friends and enemies, know their attackers, identify corpses.
  1. Reads playersWhiteNames.txt from profiles\DZR.
  2. Matches the connecting player name with player name by guid from the file.
  3. If matches, greets, and allows to the server.
  4. If the name is changed or the user is not on the list, informs about it in chat and kicks after 45 seconds.
  5. File format:
  6. Steam UID,Required Player Name. Example:
    76562298156537007,Mikhail
    76561998116927207,Znahar
  7. No space before number, no space after number, no space, and a comma after the name.
  8. Due to a bug in the Engine, Cyrillic names are not supported.

Look into check_username.c for instructions



Разрешения: Всё разрешено со ссылкой
Все моды DZR открыты для любого использования, перепаковка и т.п., чтобы наше DayZ сообщество развивалось и было больше разных проектов и других модов. Только открытая разработка сделает игру бессмертной.
Единственное условие: оставьте ссылку на этот оригинальный мод так, чтобы другие тоже смогли найти этот мод.

Permissions: Everything allowed with a link
All DZR mods are open for any use, repacking, etc. so that our DayZ community grows and develops and you could create more cool servers and cool mods. Only this open approach will make DayZ immortal.
The only condition is: leave the link to this original mod so that other could find this mod too.

[discord.gg]
[dayzrussia.com]
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.