Jump to content

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


Patsteaks123

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.

 

 

image.png.bc433d6489d70ad831075fe76809b993.png
 

Lifestealed | Minecraft Servers
 

OG [VIP] 12/26/20 - 10/27/2021
OG [PRO] 12/27/21 - 11/18/2022
OG [LEGEND] 11/18/2022 - 3/14/2023
[DEFAULT] 3/14/2023 - 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

On 1/17/2022 at 11:34 AM, AfonsoHackers said:

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

or a {list::*} for every item and {list2::*} for every compressed item

 

 

image.png.bc433d6489d70ad831075fe76809b993.png
 

Lifestealed | Minecraft Servers
 

OG [VIP] 12/26/20 - 10/27/2021
OG [PRO] 12/27/21 - 11/18/2022
OG [LEGEND] 11/18/2022 - 3/14/2023
[DEFAULT] 3/14/2023 - Present

 

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