Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hide flags/nbt? #187

Open
wirya00 opened this issue Feb 21, 2025 · 1 comment
Open

Hide flags/nbt? #187

wirya00 opened this issue Feb 21, 2025 · 1 comment
Labels
question Further information is requested

Comments

@wirya00
Copy link

wirya00 commented Feb 21, 2025

skript-gui version 1.3

Description

Hello, how do i hide flags like "When in main hand: xxx" on a tool(diamond sword,iron pickaxe etc)?

create a new gui with id "buyorsellironsword" with virtual chest inventory with 1 row named "Stacks" and shape "----a---x": make gui slot "a" with iron sword named "Iron Sword" with lore "Buy: 10" and "Sell: 5": create a new gui with id "buyorsellironswordSingle" with virtual chest inventory with 1 row named "Buy or Sell Iron Sword" and shape "---a-b--x": make gui slot "x" with barrier named "Return": open gui with id "buyorsellironsword" for player make gui slot "a" with lime concrete named "Buy": if player's balance >= {harga_iron_sword} * 1: remove {harga_iron_sword} from player's balance add 1 iron sword to player send "&aYou bought 1 Iron Sword!" else: send "&cYou have no balance to buy 1 Iron Sword!" make gui slot "b" with red concrete named "Sell": if player has 1 iron sword: remove 1 iron sword from player add {harga_iron_sword} / 2 to player's balance send "&aYou Sold 1 Iron Sword!" else: send "&cYou don't have any iron sword to sell!" open gui with id "buyorsellironswordSingle" for player

Also, thank you.

@wirya00 wirya00 added the question Further information is requested label Feb 21, 2025
@Joshplays05MC
Copy link

Skbee - with nbt from "{""minecraft:attribute_modifiers"":{modifiers:[],show_in_tooltip:0}}"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants