Jump to content

Can someone make me an /compress script for my box server


Patsteaks123
 Share

Recommended Posts

  • 3 weeks later...

> UNTESTED!

 

command /compress:

  if player’s held item is 64 cobblestone

    remove 64 cobblestone from player’s inventory

    give player 1 cobblestone named “&5Enchanted Cobblestone”

    

— OMBS —

Hello. I am ombs, a chill server developer and FPS enthusiast.

Currently working on a server with a queue-style arena PVP.

Battle500 is my completed server. 
 

Have a great day!

 

Link to comment
Share on other sites

On 1/15/2022 at 10:54 AM, AfonsoHackers said:

I can make you a plugin that does this and works with any item. (Paid)

Besides that, it would be A LOT better than any skript, since it wouldn't use hundreds of lines just to make something like this.

"it wouldn't use hundreds of lines" is completely wrong. @ombs example (even though the "trigger:" is missing) seems to work perfectly even though its untested, with it only being 5 lines.

  

[VIP] 12/26/20 - 10/27/2021
[PRO] 12/27/21 - Present

 

Link to comment
Share on other sites

23 hours ago, AgentGamerPro said:

"it wouldn't use hundreds of lines" is completely wrong. @ombs example (even though the "trigger:" is missing) seems to work perfectly even though its untested, with it only being 5 lines.

Yes, but that example only works cobblestone, if you want to add more items, you would add even more lines for each item.

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
 Share



×
×
  • Create New...