guiIntermediatenewmc 1.20.x – 1.21.x19 lines
player trade gui (/trade)
two-player trade with confirm/ready flow. each player adds items to their side; both must accept before the trade completes.
required addons — install before reloading
- download skBee ↗Adds scoreboards, hologram text, and other things Skript can't do on its own.
Drop each
.jar into your plugins/ folder, then restart your server.trade-gui.sk19 lines
command /trade <player>: trigger: if arg-1 is player: send "&cYou can't trade with yourself." to player stop send "&e%player% &7wants to trade with you. Type &a/tradeaccept &7to accept." to arg-1 send "&7Sent trade request to &e%arg-1%&7." to player set {trade.request.%uuid of arg-1%} to player command /tradeaccept: trigger: set {_with} to {trade.request.%uuid of player%} if {_with} is not set: send "&cNo pending trade requests." to player stop send "&aTrade accepted! (Implement the GUI flow with skBee for full functionality)" to player send "&aTrade accepted by &e%player%&a!" to {_with} delete {trade.request.%uuid of player%}
get it running
trade-gui.sk · 19 lines · needs skBee- 1
copy or download
grab the .sk file with the buttons up top.
trade-gui.sk· ready to drop in - 2
drop it in your scripts folder
save it exactly here on your server — no typos, just copy the path:
…/plugins/Skript/scripts/trade-gui.sk - 3
reload in-game
run this in chat or console — your script goes live instantly:
/sk reload trade-gui
that's it — your script is live. hop in-game to try it.
/ related templates
more gui templates
gui
basic shop gui
no-addon chest gui with 3 buyable items. player click → message + give item. items are locked.
guihub / server selector gui
right-click a compass to open a server selector. each slot teleports to a configured warp.
guipaginated chest gui menu
gui helper for browsing a long list across multiple pages. hard-coded item list + auto-generated next/prev/close navigation row.