
Pronouns On Join
A simple mod to fetch people's pronouns from PronounDB.org, and set custom pronouns.
Оцените первым
660
7
Pronouns On Join 1.0.0+1.20_1.21.8_202410180605
Release18.10.2024
Список изменений
First public upload
Commands
- Place all commands inside a "/pronouns" command.
- Add "/pronouns help" command that informs you about the following commands:
- Add "/pronouns list" command to see pronouns of everyone in the world.
- Add "/pronouns list unknown" command to see players you don't know the pronouns of yet.
- Add "/pronouns check
" command to see a player's pronouns (in case you don't want to use "/pronouns list") - Add "/pronouns set
" command to set a custom pronoun (or note, anything really) to a player.
API calls
- Fetches a user's pronouns from PronounDB when they join the world (more specifically, when they enter the Tab list).
- If more players join within 0.02 seconds, attempt to send a bulk API request for the first 50 players (and ignore the rest ig cuz otherwise you could be waiting for seconds and get your chat spammed).
- Save fetched players' pronouns, or save "" if they have none, to prevent unnecessary future calls.
- Make "set" and "check" commands get a user's UUID if the player is in the world; or send an API call to turn their usernames into a UUID; or error if player doesn't exist.
- ^ Technically this API supports inputting the UUID as name so maybe this still works if you directly input a UUID. They just have to exist. (brain moment)
Other features
- Add colors to mod messages like on-join or responses. (still need to implement configurability for this)
- It has some log messages and I should probably remove a few of them.
Файлы
pronouns-on-join-1.0.0+1.20_1.21.1_202410180605.jar(30.45 KiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
1.0.0+1.20_1.21.8_202410180605
Загрузчики
FabricQuilt
Версии игры
1.20–1.21.8
Загрузок
302
Дата публикации
18.10.2024
