#retreive someone's ip through forms?
1 messages · Page 1 of 1 (latest)
just make it show a random ip, most people dont know what their own ip address is anyway
you can make an array of strings that are random ips you find online, like on a website that produces random ones, then do math.random, so it randomizes the player.sendmessages
that's what I would do
?
uh no
just randomize 4 numbers from 0-255
like 0.123.37.81
uh okay
he can use any solution he wants
i didnt say he can only make it my way.
ohhh
I would kinda say it does already, the chat is right below that.
but no, you cannot put it directly under position, without chat interfering, and without it fading
but even if you make action bar position change with json ui, the chat will overlap that text if a message is sent
function generateFakeIP() {
// Use bitwise operations to generate random numbers for each section
const section1 = (Math.random() * 256) | 0;
const section2 = (Math.random() * 256) | 0;
const section3 = (Math.random() * 256) | 0;
const section4 = (Math.random() * 256) | 0;
// Construct the IP address string using template literals
return `${section1}.${section2}.${section3}.${section4}`;
}
const fakeIP = generateFakeIP();
console.warn(fakeIP);
I believe you would need to modify it in the resource pack, but I'm not sure how you might get the string from the script in the behavior to the resource. That's outside my scope of expertise. I typically only utilize behavior packs. I don't normally touch resources.
move chat then lol