Jump to content
  • 0

Skript:Skent copy server files


ProGamer164236

Question

I am make a skript where it copys a file in minehut and pastes it to another because i need it as a different world file with a number so only that player will join it and only that player will go in and leave

command /E-Class:
	permission: Worlds.admin
	trigger:
		add 1 to {_num}
		set {_num::%player%} to {_num}
		copy file path "home/SoloRankingWorlds/E-Class" to file path "home"
		set {_name::%player%} to "E-Class%{_num::%player%}%"
		set {_name::%player%} to file name of file path "home/E-Class"
		send "&2Ready!"
		send "%{_name::%player%}%"
		send {_num::%player%}
command /RemoveE-Class:
	permission: Worlds.admin
	trigger:
		remove 1 from {_num}
		set {_num::%player%} to 0
		set {_name::%player%} to 0
		delete file path "home/E-Class"

can anyone help it isn't copying the file into the place i want it to and there are no errors

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...