i don't know how to script, can anybody make me a script that gives creative to players when they join a specific world. (making a creative world for my server)
Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.
If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!
Now, what are you waiting for? Join the community now!
You can always check out skUnity Downloads for downloads and any other information about Skript!
i didnt work, i made sure i put it in the scripts file correctly with the world name. if this helps im using multiverse for my worldsThis should work.
Code:on world change: if player's world is "world": set player's gamemode to creative else: set player's gamemode to survival
i didnt know what addons to install so i installed all of them :/. should i remove some or all?Im not sure why it dont work.
i have just tested it and it works for me.
i tested it with:
Skript 2.4.1
no addons
Paper 1.15.2
Which Skript version are you using and which addons have you installed?
my server is originally 1.16.3 but i have a plugin that allows all verisonswhich minecraft version?
options:
creativeworld: world
on world change:
set {changedworld.%player%} to true
on step:
if {changedworld.%player%} is true:
if player world is "{@creativeworld}":
send "Welcome to creative world"
set player's gamemode to creative
delete {changedworld.%player%}
options:i dont know why the other one dosent work for you. it worked for me testing on paper 1.16.2 and skript 2.5, no addons
but try this:
Code:options: creativeworld: world on world change: set {changedworld.%player%} to true on step: if {changedworld.%player%} is true: if player world is "{@creativeworld}": send "Welcome to creative world" set player's gamemode to creative delete {changedworld.%player%}
options:
creativeworld: creative
on world change:
set {changedworld.%player%} to true
on step:
if {changedworld.%player%} is true:
if player world is "{@creativeworld}":
send "Welcome to creative world"
set player's gamemode to creative
delete {changedworld.%player%}
that is what i put in the "creative.sk" file. the worlds name is "creative" btw
didn't work, the only thing it did was keep game mode in different worlds, when im in world "hub" and i warp to a different world, it automatically changes my game mode to survival. when i put this script in, it keeps my game mode in different worldsCode:on world change: if player's world is "world": set player's gamemode to creative else: set player's gamemode to survival on join: if player's world is "world": set player's gamemode to creative else: set player's gamemode to survival
ok so figured it out in the worlds.yml in multiverse plugin files. not sure why i didnt think about this before. i set the worlds gamemode to "creative" then i did /mv set gamemode creative while in the worlddidn't work, the only thing it did was keep game mode in different worlds, when im in world "hub" and i warp to a different world, it automatically changes my game mode to survival. when i put this script in, it keeps my game mode in different worlds
Yeah, I was going to say that before I read the messagedidn't work, the only thing it did was keep game mode in different worlds, when im in world "hub" and i warp to a different world, it automatically changes my game mode to survival. when i put this script in, it keeps my game mode in different worlds
[doublepost=1603383736,1603381542][/doublepost]
ok so figured it out in the worlds.yml in multiverse plugin files. not sure why i didnt think about this before. i set the worlds gamemode to "creative" then i did /mv set gamemode creative while in the world