Jump to content

Is there a way to disable the dropped item stacking and xp orb stacking?


nTiy

Recommended Posts

There is a way to do that with skript.

There is an on item merge event - https://skripthub.net/docs/?id=2477
You can cancel this event and also make it that it only cancels the merge on certain items too. 

  • Like 1

Discord - tarna256

In-game name - _Tarna_

Website - https://tarna.dev
Paste Site: https://paste.tarna.dev

---------------------------------------------------------

[VIP] - 7/27/2020

Community Support - 7/8/20 | 11/3/20

Helper  - 11/3/20 - 2/21/21

Moderator - 2/21/21 - 5/17/21

❤️ - 5/17/21 - now

Moderator - 12/20/22 - now

---------------------------------------------------------

image.png.70849a9b84e0347ce107b8e3eaee312c.pngimage.png.2111009afbd8bef10966ba9ede35a199.png

Link to comment
Share on other sites

14 hours ago, nTiy said:

Could you do a slight in-depth guide on how to change these settings? Would it be in the server files?

Like a guide on how to use skript? Sure

First download Skript and restart the server. Then go to plugins > skript > scripts. This is the folder where you would put the scritps. Make a file called like merge.sk. It can be named anything but just has to end in .sk

on item merge:
	cancel event

This will make it that no items will marge with each other. 

 

If you want to make only certain items not merge with each other, you can do this.

on item merge of gold blocks:
	cancel event

This makes it that no gold blocks will merge with each other.

 

Or if you want to go more specific and have more specific items not merge with each other, you can do the following.

on item merge:
	if name of event-item contains "no merge":
		cancel event

This will make it that any item's name which contain "no merge" will not marge with each other. 

The last one is one that you probably would want to use since you said you were making an item waterfall so only the items in the item waterfall would merge. Just put the skript in the created file and click save. Then in game, do /sk reload merge, or whatever you named it. 

 

14 hours ago, nTiy said:

Also is there a way to install ClearLagg to change this. Or is it just for Spigot and Bukkit?

What do you mean my this? You want to use ClearLagg to try and make an item waterfall? Don't think any of its features can do this. Or do you have ClearLagg and want to stop the despawning of the items in the item waterfall you are making? You can probably just make items constantly spawn so if ClearLagg does happen, more will just start spawning afterwards. 

Discord - tarna256

In-game name - _Tarna_

Website - https://tarna.dev
Paste Site: https://paste.tarna.dev

---------------------------------------------------------

[VIP] - 7/27/2020

Community Support - 7/8/20 | 11/3/20

Helper  - 11/3/20 - 2/21/21

Moderator - 2/21/21 - 5/17/21

❤️ - 5/17/21 - now

Moderator - 12/20/22 - now

---------------------------------------------------------

image.png.70849a9b84e0347ce107b8e3eaee312c.pngimage.png.2111009afbd8bef10966ba9ede35a199.png

Link to comment
Share on other sites

  • 2 years later...
On 12/17/2020 at 4:47 PM, _Tarna_ said:

Like a guide on how to use skript? Sure

First download Skript and restart the server. Then go to plugins > skript > scripts. This is the folder where you would put the scritps. Make a file called like merge.sk. It can be named anything but just has to end in .sk

on item merge:
	cancel event

This will make it that no items will marge with each other. 

 

If you want to make only certain items not merge with each other, you can do this.

on item merge of gold blocks:
	cancel event

This makes it that no gold blocks will merge with each other.

 

Or if you want to go more specific and have more specific items not merge with each other, you can do the following.

on item merge:
	if name of event-item contains "no merge":
		cancel event

This will make it that any item's name which contain "no merge" will not marge with each other. 

The last one is one that you probably would want to use since you said you were making an item waterfall so only the items in the item waterfall would merge. Just put the skript in the created file and click save. Then in game, do /sk reload merge, or whatever you named it. 

 

What do you mean my this? You want to use ClearLagg to try and make an item waterfall? Don't think any of its features can do this. Or do you have ClearLagg and want to stop the despawning of the items in the item waterfall you are making? You can probably just make items constantly spawn so if ClearLagg does happen, more will just start spawning afterwards. 

I tried, but when entering /sk reload merge, it says unknown command.
Is there anything I need to change in the server settings to allow this command to be made?

Thanks in advance!

Link to comment
Share on other sites

There shouldn't be any "server setting" you have to change to allow it to work. If you wouldn't mind sending the "skript" plugins you have added. It could just be your missing a plugin. 😄 

Thank you, 

 
Ruby
 
"Turning code into solutions, one line at a time."
 

Community Management | Administration | Staff Management | Server Management | Development

 

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