#(funkychick) Resource pack controls

25 messages · Page 1 of 1 (latest)

spark osprey
#

Sooooooo I was thinking… perhaps we could get a tag that lists all resource packs the player has installed? This would make for a really easy X-ray detection system if we could read resource pack names.

eager duneBOT
#

(funkychick) X-ray anticheat

eager duneBOT
#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.
You can block this bot if you don't want to see these messages, I won't mind.
<@&525394568410038282>

neat bluffBOT
#
Changed to Feature

Thread is now a Feature thread. This indicates a request for a new feature to the plugin, that both (A) does not already exist and (B) reasonably can be added. If you are unsure whether this applies, use </helpthread:1028674284870180883> to change back to a normal help thread.

spark osprey
#

Also, maybe a way to access things like the description and pack version?

#

Even more insane of a request: the server could be able to “probe” into a resource pack and get a specific texture, then a script could analyze said texture for transparency

#

Or even better: a new tag that returns whatever the priority texture is for a block or item. For example, if I have an X-ray pack installed and have it above all my other stone-altering packs, it’ll return the transparent stone png from the X-ray pack. However, if I have no packs installed it will return “null”.

peak mesa
peak mesa
queen walrus
#

I would like to add my suggestion here since its the same idea,
have clientizen have a mech to fetch loaded fabric mod names too
as alot of players are loading in fabric based cheats.
This should also allow us to specify only a handful of mods that we wanna allow.

languid wedge
#

looked at src and there is a ResourceManager#streamResourcePacks which you can call like MinecraftClient.getInstance().getResourceManager().streamResourcePacks()

#

and its only for loaded ones

languid wedge
#

for all resource packs there is a ResourcePackManager

#

have clientizen have a mech to fetch loaded fabric mod names too
yep this is pretty easy. there should definitely be a ModTag

#

you can get all mods with a simple FabricLoader.getInstance().getAllMods() call, then ModContainer can be wrapped by ModTag

#

(and then there are other methods to get mod by id / check if one is loaded)

#

This should also allow us to specify only a handful of mods that we wanna allow.
there is a bit of talk about a "server consent api", very much driven by one person, they made this WIP pr https://github.com/FabricMC/fabric/pull/3129

fleet token
#

But no worries ofc