jazzy348 / VRChat_Udon_Admin

Basic VRChat Udon admin system
6 stars 0 forks source link

Any info on how to use it? #1

Open InuYasha86000 opened 5 months ago

InuYasha86000 commented 5 months ago

i've been looking for a way to put an admin system in my VRchat world and stumbled upon yours, however I am really unclear how to use it. i've got a blank game object with the admin script on it, and I have it targeted to an object I only want admins to interact with, however it doesn't seem to be working. are there any guides for how to use it?

jazzy348 commented 5 months ago

Hi there,

Once you've re-linked the script to the U# component, you need to add a list of admin objects into the "Admin Objects" array, then add your admin player's display names into the "Admin Users" array. Make sure the GOs you want for admins only are disabled as the script enables them on runtime.

To be honest this script is old and very basic, I'd recommend looking for something more modern.

InuYasha86000 commented 5 months ago

most of the other admin list prefabs are upwards of 80 dollars roughly so this is why I was glad to stumble across yours.

jazzy348 commented 5 months ago

I recommend checking the Prefabs Database, they have a ton of opensource projects, and most likely have a much better permission system then the one I hastily put together here. https://vrcprefabs.com/

InuYasha86000 commented 5 months ago

believe it or not, I think yours is the only one i've found on that list. unless i'm blind.

InuYasha86000 commented 5 months ago

one last question on function, the object being added to the admin players list, should that have "VRCObjectSync" on it as well or no?

jazzy348 commented 5 months ago

No, it doesn't need anything else

InuYasha86000 commented 5 months ago

ok, I know for most objects in my world I needed the "VRCObjectSync" for all players to see the objects, but for the microphone under admin it's not required. would it affect it if it did have that?

jazzy348 commented 5 months ago

I have no idea, I haven't worked on VRChat worlds in years. I recommend reaching out to the VRChat community for assistance on this.

InuYasha86000 commented 5 months ago

honestly, i'll try it with it, if it doesn't work, i'll remove it, no big deal. thank you for the help though.