Jump to content

Skript is having problems in another server

Recommended Posts

So i've created a simple Generator Skript, it works fine in the Test server, but when i sent it to main server whenever i restart the server the Generators just stop working, something that does not happen at Test Server


on place:
	if event-block is furnace:
		set {_drop} to location of block above event-block
		add {_drop} to {drop-furnace::*}
		message "&aYou've placed a Stone Button Generator"

on break:
	loop {drop-furnace::*}:
		if location of block above event-block is loop-value:
			cancel event
			set event-block to air
			give 1 furnace named "&aStone Button Generator" to player
			remove location of block above event-block from {drop-furnace::*}
			message "&aYou've removed your Stone Button Generator"

every 5 seconds:
	loop {drop-furnace::*}:
		drop 1 of Stone Button at {drop-furnace::%loop-index%}

Plugins at Main Server:

Plugins at Test Server:


Edited by henriqueerzlkj
title fix
Link to comment
Share on other sites

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...