Resource icon

Addon TraderSk 2.4.1

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

Contributors
kh498, cybermaxke (backend API, https://github.com/Cybermaxke/MerchantsAPI)
Supported Minecraft Versions
  1. 1.8
  2. 1.9
  3. 1.10
  4. 1.11
Note: When a new minecraft version comes out it is possible to use an updated api. Simply drop the desired version into the plugin directory and you're good to go.
It can be found here: https://github.com/Cybermaxke/MerchantsAPI

Synapsis
TraderSk let's you open merchant GUIs (the one vanilla mc villagers use) and customize everything about them.

Features
  • Let's you choose whatever items you want
  • Add as many pages you want
  • Let one of the input items be air
  • Change and color the title
Effects

Create trader
code_language.skript:
(create|make) [a] [merchant] trader [named] %string%
remove a trader
code_language.skript:
(remove|clear) [the] [merchant] trader [named] %string%
Change items in a page
code_language.skript:
set items in page %number% (for|of) [merchant] trader %string% to %itemstack% as output[ item](,| and) %itemstack%[ and %-itemstack%] as input[ item[s]]
Remove a page from a trader
code_language.skript:
(remove|clear|delete) page %number% (from|of|for) [merchant] trader %string%
remove all traders
code_language.skript:
(remove|clear|delete) all [merchant] traders
show the trader to player
code_language.skript:
(open|show) [merchant] trader %string% to %player%
Change the title in the gui
code_language.skript:
(rename|set name [of|for]) [merchant] trader %string% to %string%
save changes to disk (this actions is not performed automatically)
code_language.skript:
save all [merchant] trader[s]

Example
A test script:
https://github.com/kh498/TraderSk#example
Pictures
LlOwNAe.png

hBpcSSr.png
Author
kh498
Downloads
2,349
Views
2,349
First release
Last update
Rating
0.00 star(s) 0 ratings

Latest updates

  1. Hotfix

    Fix NullPointerException when loading the plugin without the merchant plugin
  2. Fix 1.11, title colors and bugs!

    See complete list at github