#do scripts work on realms?

1 messages · Page 1 of 1 (latest)

ashen owl
#

I'm just wondering cause I'm thinking of making a script for a friend's realm

ashen owl
#

What would /reload do? Like ik reload the script, but would you do it if something is messing up, or...?

ashen owl
#

Alr lol

#

Just getting into scripts, so sorry for any obvious questions

icy horizon
ashen owl
#

And just asking for it won't really help me learn

ashen owl
#

Lol yeah

#

That's a issue in itself, on my end, cause I don't do well learning online lol

#

But I'll do it

icy horizon
#

there's alot of helpful sources, and when it comes to scripting people are usually more helpful than documents when starting out imo

ashen owl
#

Someone sent me a link to codeacademy yesterday

#

Hopefully that'll help

icy horizon
#

examples were a big thing for me when I started

#

I never took any js courses

#

im bad at javascript lol

ashen owl
#

Also I think another annoying problem I have is I try to memorize everything when I try to learn stuff

icy horizon
#

I just know how to work with the api

#

this is what happens when you invest in the api rather than js itself

#

lol

ashen owl
#

Lol, I wanna do js for possible future uses, but I could start with api

#

How long did it take you guys to learn it?

icy horizon
#

start with js first

ashen owl
#

Lol ok

icy horizon
#

lmao

ashen owl
#

I'll learn Javascript, then api lol

icy horizon
#

that wont hurt

ashen owl
#

Dang. I'm currently working on a project for a friend's realm

#

I've done a lot with command blocks. But there's some things you can't do with only commands lol

#

I started 5 months ago

#

I'm not a pro, but I'm definitely advanced

ashen owl
icy horizon
#

ive been doing this for awhile now

#

its been on and off though

ashen owl
#

Tbh I got bored one day and decided to do commands

#

And now I'm slightly bored again and wanna do something more

#

Lmao

thorny spruce
#

Bro "reload" in realm? Not testing in solo world?

icy horizon
icy horizon
ashen owl
icy horizon
ashen owl
#

oh

#

im having a hard time getting the output to actually show lol

#

i have both tho

#

although idk how to use bridge

#

for javascript

icy horizon
#

bridge sets everything up for you

#

you just need to select the "beta apis" toggle so its sets the project up with the NPM stuff
you can toggle it off after if you dont want to use beta apis

ashen owl
#

maybe, but last time i tried using a behavior pack i did on there it wouldnt work

icy horizon
ashen owl
#

i meant for me lol

#

ik i did something wrong but idk what

#

i couldnt find what was wrong

icy horizon
#

you install it, connect it to your com.mojang folder and boom

#

its all set

#

are you on PC?

ashen owl
#

i think it is but idk

#

yes

icy horizon
ashen owl
#

looking in my devleopment behavior packs files shows the new project i just made on bridge so it has to be connected

icy horizon
ashen owl
#

the last behavior pack didnt show up

ive since deleted it bc it was a week ago and it didnt do much, i was just trying it out

icy horizon
ashen owl
#

the game, yes

icy horizon
#

idk then

#

was this like a one time thing you just did and never touched it ever again? lol

#

because maybe something was just wrong with that project

ashen owl
#

Oh hey it worked this time

icy horizon
icy horizon
#

hes saying why are you not testing in a solo world first so you can reload, instead of testing in the realm.

#

because logically, it makes no sense to close the realm each time when you make a change.

ripe basalt
#

BDS do, but realms don't. Goofy.

#

I mean, to use development packs on BDS correctly, you have to remotely access the host files- and I can get why mojang would not want that on realms, as it could be a security issue.

#

honestly sounds like a skill issue with bad code echsplode

#

Understandable, I suffered through the same stuff myself.

icy horizon
#

what?

#

making a new pack each time? why?

#

why though

ripe basalt
icy horizon
#

n o, but why do you have to make a new pack?

#

just update it.

ripe basalt
#

You don't need a new pack, just to update the version

icy horizon
#

does he mean re-import?

#

oh

#

okay

ripe basalt
#

Just keep in mind that making new packs (new UUIDs) will erase dynamic properties

icy horizon
#

am I wrong? I think ive read that.

ripe basalt
#

If you download the world, remove the packs, update them and then re-add them & upload it to realms, then it will not delete them

icy horizon
#

dont you need to restart the realm anyway to remove stuff, idk how someone would join

ripe basalt
#

It restarts, but does not close

#

so someone could join

icy horizon
#

I dont mess with realms so i didnt know lol

#

so it does still save them for worlds? after disabling and enabling?

ripe basalt
#

I messed with them for two years, and can safely say that BDS is much much better

ripe basalt
icy horizon
#

im asking for non-realms

ripe basalt
#

That's for local world, ye

icy horizon
#

ah...

ripe basalt
#

The dynamic properties will only be cleared if the world is loaded without the pack containing the properties applied

icy horizon
#

because its just on your computer

ripe basalt
#

You can self-host, yes

#

Third-party hosts exist, like java server hosters as well.

#

Bedrock runs more CPU & less RAM, Java runs more RAM & less CPU.

icy horizon
#

ive hosted java edition before with hamachi

#

so I can host just like that for bedrock

ripe basalt
#

yeap

icy horizon
ripe basalt
#

No 10-player limit, reload works & you can edit the packs in real-time, more configuration options than realms

icy horizon
#

edit the packs in real time?

ripe basalt
#

Yep

icy horizon
#

like, json?

ripe basalt
#

Not json- that requires a server restart. But scripts & function files can be edited while in-game

icy horizon
#

oh so reload

#

you said AND you can edit the packs in real time, so I thought you meant json files

#

mb

ripe basalt
#

I mean you can but the effects won't be seen until the server is restarted

icy horizon
#

that isnt real time

#

anyway I just misunderstood

ripe basalt
#

gotcha 👍

ashen owl
ripe basalt