Legendary_Edwin Posted November 1, 2021 Share Posted November 1, 2021 So i started a server for me and my friends and it has /dupe but how can i blacklist certain items from getting duped? And if the item is in a shulker how do i make it so the shulker won't get duped either? Link to comment Share on other sites More sharing options...
Lapzzo Posted November 1, 2021 Share Posted November 1, 2021 Is it a skript or plugin? if its a skript send the skript pls Link to comment Share on other sites More sharing options...
Legendary_Edwin Posted November 1, 2021 Author Share Posted November 1, 2021 My skript is command /dupe: trigger: give player player's tool send "&4&lYou just duped &6&l%player's tool%" not a super advanced skript Link to comment Share on other sites More sharing options...
Lapzzo Posted November 2, 2021 Share Posted November 2, 2021 (edited) command /dupe: trigger: if player's tool is diamond or iron or emerald or gold or iron or netherite: send "&c[ERROR] You cannot dupe this item." to player else: give player player's tool send "&4&lYou just duped &6&l%player's tool%" This should work try it also after the send lines do to player. Like send "This is an example" to player or send "This is a broadcast that doesnt show in console" to all players to make a broadcast that does not show up in console Edited November 2, 2021 by Lapzzo Link to comment Share on other sites More sharing options...
Fizzy_cookieboy23 Posted February 15 Share Posted February 15 if you want more of a complex thing u could try command /dupe <int=1>:: trigger: set {_tool} to player's tool if {_tool} is air: send "&8&lL1f3&c&lSee1 &8» &aYou cannot dupe air!" to player stop else: if "%{_tool}%" contains "shulker box": set {_tag} to tag "tag;BlockEntityTag;Items" of nbt compound of {_tool} if "%{_tag}%" contains "elytra" or "trident": send "&8&lL1f3&c&lSee1 &8» &aThis item is blacklisted." to player stop else: if {_tool} is a trident or elytra or dye: send "&8&lL1f3&c&lSee1 &8» &aThis item is blacklisted." to player stop give (arg-int * item amount of player's tool) of player's tool to player Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now