BOXEY Posted October 18, 2021 Share Posted October 18, 2021 i made a skript that makes a new world every 30 min for players to gather things Needs: Multiverse, Skript, and probably some others here's the code function NewWorld(p: player): execute console command "/mv create Resource normal" set {Resourceworld} to true wait 2 seconds teleport {_p} to spawn of world("Resource") function DeleteWorld(): delete {Resourceworld} execute console command "/mv delete Resource" wait 2 ticks execute console command "/mv confirm" broadcast "&3&lResorce &8|&7 Resource world reseting" command ResourceWorld [<text>]: trigger: if arg-1 is not set: if {Resourceworld} is set: teleport player to spawn of world("Resource") else: DeleteWorld() wait 2 seconds NewWorld(player) else if arg-1 is set: if player has permission "op": if arg-1 is "Reset": loop all players: if loop-player's world is "Resource": teleport player to {spawm} DeleteWorld() wait 2 seconds NewWorld(player) if arg-1 is "Delete": loop all players: if loop-player's world is "Resource": teleport player to {spawm} DeleteWorld() else: send "&3&lCore &8| &7(Reset or Delete)" else: send "&3&lCore &8| &7Cant do this!" options: resettimer: 30 minutes every {@resettimer}: DeleteWorld() 1 Link to comment Share on other sites More sharing options...
MrTibo Posted October 18, 2021 Share Posted October 18, 2021 interesting idea, actually haven't seen this kind of thing before [<3] DMs open - Discord » mrtibo | or send a forum message Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now