Minecraft- UltimateShops Spigot Plugin Showcase + Tutorial

Minecraft- UltimateShops Spigot Plugin Showcase + Tutorial

October 10, 2019 42 By Bernardo Ryan


Hey guys I’m a back for another video and
today i’m gonna be showcasing my very own spigot plugin ultimate shops
ultimate shops is a spigot plugin which adds the ability for players to create
and use slab shops simply take a stick and right-click on any slab to be
brought to an inventory menu which allows you to specify an item buy price
sell price and quantity per sale once you finish making your shop any player
can approach these shops and buy and sell items without any active effort
from the shops owner the intuitive menus in this plugin can get a player setup
with a fully functioning shop in less than a minute
all without commands although ultimate shops does have plenty for people that
like them and the plugin also suggests prices for common items so that you
don’t have to specify it yourself as you might have seen earlier as you can see
it automatically defaults to 64 for the buy price 16 for the sell price and a
quantity per transaction of 64 valuing each block at one of course you can
change these values by left and right clicking so I’m left clicking to increase
right clicking to decrease and then I can change the rate in which I increase
or decrease the values so I can do 64 and then right click twice to go back to
zero I can make this 128 versus 64 if I wanted as you can see here here’s the
shop I created on my alt account this is what it looks like if your a customer so I
can buy 64 cobblestone for 64 or sell 64 cobblestone for 16 it also tells you how
much is in stock and it translates that to stacks and then over here it shows
you how much money you have this item is called the indicator it shows you who
owns the shop what they’re selling and it describes the transaction so for
example by 64 for 64 or one each there’s a note from the seller which says let’s
do business but of course you can change this using a command and then this gives
you some more info on the shop for example its location in the world and
the most recent activity of course to use these shops all you have to do
it’s click on one of the buttons so as you can see I have a whole bunch of
cobblestone in my inventory and I can sell a stack to my alt account for 16
and every time I do so you can see in the chat sold 64 cobblestone at virus
cam shop profit 16 restocking shops through the inventory is pretty easy all
you have to do is open up the vendor menu and you get the options to deposit
withdraw change rate or modify the shop or view as customer so of course
modifying the shop gives you a similar menu to before it allows you to change
the buy and sell prices as well as the quantity and then you can confirm a
cancel so if I wanted to deposit I just click and it will insert one and I can
shift to deposit everything same goes for withdraw I can take one or shift to
take all of it or if that’s too much work I can actually click on the shop
from the outside so I can punch it and as you can see it inserts the
cobblestone and if I’m too lazy to do that I can shift and then punch and it
will insert everything if I’m too lazy to do all of that I can go over to any
chests right click it with a stick to open the shop input menu so through here
I can do the same thing I click on an item and it automatically gets sent to
any shops that I own in a 32 block radius which sell that item and of
course it supports shift clicking the radius is configurable in the config
file of course so you can set it to is for a distance as you like this menu is
special because you can insert items of any type so for example I have the
cobblestone chest over here can insert all the cobble and then if I wanted to
put dirt in my dirt shop I could put dirt as well and I can do
cobble at the same time so you can go here and go back to the chest
insert the dirt insert the cobblestone and then if you look there it is and
then notice all the other cobblestone from the previous example so it makes it
super easy to restock your shops you don’t even have to touch them as I said
earlier modifying a shop is as simple as a few clicks
if I then I can go here change the rate let’s say I want it to be super stingy
and make my cobblestone worth 1024 done I can view its customer and you can buy
a stack for 1024 just like that and then I can go back modify and it stays where
it was then let’s for example decrease it right let’s go back to 128 maybe
right boom and then that’s done of course modifying a shop doesn’t require
that you start over like some other plugins sign shop shops are
indestructible you can’t break them using tools your fists you can’t use
explosions shops are immune to being pushed by Pistons or being pulled by
sticky pistons shops cannot be lit on fire well they technically can but they’ll
never actually disappear and of course are immune to creepers also they can’t
be picked up by Enderman another cool feature is that the shop display items
have a lot of protections as well you can’t suck them up with hoppers or
hopper minecarts shop items are also immune to things such as lag clear from
clear lag so all of that being said how do you remove a shop well it’s as simple
as right-clicking with a stick and then you are brought to the destroy shop menu
which shows you the shop and then you can either cancel or destroy and then
your shop is no more of course if you do have a shop and there are items in it
then when you destroy it you get the items back as you can see the process of
making and using shops is extremely easy and it doesn’t even require commands
something else that’s pretty neat is that this plugin has support for not
only buying and selling regular items but it can buy and sell anything you can
think of including enchanted items items with special meta attached to them
stacked items which actually show up as a stack of multiple items on top of the
shop and as I said earlier special item meta so for example right so if we go to
this shop which sells white choker boxes that have one dark prison marine slab
inside of them all I have to do as an admin I can do /you shop get item and
then it will give me the shop item even if there’s nothing in there as you can
see the zero stock of course it’s an admin command and now I have a white
shell cur box with a dark prison marine slab in it so then I could actually take
this item and deposit it another fun example of this is an uber item this is
another plug-in I made and if I were to go in here and withdraw one shooty box I
can open it up and you will see that there are 64 oak saplings 16 oak logs
and 64 bedrock in there and this shop can sell that as is of course if I go
over here treaty box Deschutes items as if it was a hand held dispenser pretty
neat so what if you want to do more with your plugin other than just buying and
selling items well you shops has got you covered with buying and selling commands
so let me explain if we go over here we can make ourselves a little shop that
has a diamond block for the display doesn’t matter what the item is let’s
make it real expensive something like maybe 50,000 right and then the sale
price 12,000 doesn’t really matter and then we confirm of course we’re gonna
want to set it to admin so you shop toggle admin now we can make it so that
we can buy a command so let’s have that command for example be God mode so
before we write our command we are going to want to execute you shops shop
command help and this will show you all the placeholders that you can use when
typing in a shop command so now with that knowledge we can do slash you shop
ad buy command and then we follow it up with any command without the dash so
let’s do yeah customer because as you can see customer
gets replaced with the name of the person buying from the shop you can also
replace vendor world shop XYZ and item so as you can see here we have that boom
and now our shop can do / God customer when you purchase let’s be mean as well
if somebody sells we want to kill them so let’s do you shops are you shop ad
sell command kill a customer not the best business strategy but hey I’m not
here to judge boom kill customer so let’s give it a test
run shall we I’m gonna go into gm0 let’s login to our
shop here view as customer and I’m gonna buy one diamond block that comes with
god mode god mode enabled oh yeah and of course if you don’t like
this you can actually go into modify shop and set the quantity per
transaction to zero so it doesn’t give you any items it just executes the
command but I’m gonna keep it as is because I like my damage blocks
now let’s sell our god mode and see how the shop likes what we have to say so
let’s go to view as customer and sell and I died this system is pretty cool
because you can use multiple commands at once for example let us do you shop ad
buy command and then we are going to do tell customer thank you for your
purchase and then if I were to buy god mode again and then it says thank you
for your purchase and of course we can go in you shop ad sell command tell
customer no refunds and then if I were to die no refunds managing the commands
is also really simple you can do / you shop list by commands and it will tell
you all the commands you have and it will index them properly zero and one so
that you know what you’re dealing with and then we can do you shopping list
sell commands and it will do the same thing and then what we could do if we
want to directly manage these we can do / you shop remove by command and let’s
say I don’t want to say anything in the chat anymore so then I remove one which
will remove and it will tell you in the chat tell customer thank you for your
purchase bla bla bla bla bla and then we can do if we don’t want anything to
happen let’s say we change your minds we don’t want to kill our customers anymore
we can do / you shop and then we can do clear sell commands boom so now there
are no sell commands it only toggles godmode
and there’s no messages that go with it whoops no menu monofin not wrong menu
again us customer all right and it enables god mode and then if we sell
nothing happens so there you go that’s how shop the commands work so it’s
pretty neat you can use these shops to give permissions if you like right so as
one final example I’m gonna make a shop here that cost 70 and you can’t sell it
and then I’m going to do such you shop toggle admin / you shop ad buy command
Peck’s user customer group ad VIP so now once I buy from the shop it will allow
me to get VIP right so here we go we go to view as customer boom and of course
this doesn’t show up in the chat anywhere but then if I were to do
suspects user 30 virus oh I don’t have permissions what I screenshotted what it
looks like in the console when I do that command just to verify that it actually
worked there’s also some clever code in the
plug-in that makes it so that you can only make a shop in areas where you can
build so I made this test region here where my alt account has ownership but
my main account does not so if I try to build anywhere over this cobble it will
say you can’t place blocks here additionally if I try to make a shop on
this slab this will happen you cannot build in the
area so this makes us so that only people that have permissions to build in
a certain area can make shops this makes it so you are safe to use slabs in your
server spawns you don’t have to worry about people making shops off of the top
of your buildings or anything crazy like that and then of course if I go just
outside the region then I can make shops again see but not when I am inside as
you might have noticed there are a lot of commands in this plugin and it could
be kind of confusing figuring out what they all do so for one thing if you were
to type in new shops help it will list all of the commands for you
so if you look at the top here it will show you all the user commands as you
can see here and then it will show you the staff commands if you are not staff
it will actually not show you the staff commands so it makes things less
cluttered and a lot of these are self-explanatory for example you shops
list radius and then the radius right just list all the shops that are within
whatever you put in there that makes sense
you shops my shops lists all your shops again makes sense but then if you were
to go to something like you shops purge purge is a complicated thing
so purging is removing old shops right but there’s a lot of variables that come
into play when purging a shop so there’s a lot more context needed there slash
new shops tutorial when you type this it brings you to the user manual for the
plugin this book is intended to be a tutorial for people that are users so
not staff this is for the players of the server so it says welcome to ultimate
shops this guide will this guidebook will show you everything you need to
know about you shops happy reading and then it will have all sorts of different
pages here create a shop maintain a shop quick deposit restock chests modify
delete of course all of this has already been talked about in the video itself so
I’m not going to spend too much time there and the other one is you shops
admin tutorial this one teaches you everything you need to know as staff
including purge so this is how purge works for
those of you that are interested as one final feature before I go the plugin
also has a language file that can be configured so that if you are for
example running a server that’s not English then you can translate all the
messages to fit your server’s needs well anyway that is it for this video guys I
hope you guys enjoyed ultimate shops it was a very difficult plugin to make it’s
been several months in the making and it took even longer to get it approved on
speaking MC for approval which is why I would greatly appreciate if anybody is
interested in this plugin that they buy premium to help support the development
of this plugin the light version limits you to five shops so that you can test
the features out for yourself and of course premium comes with the ability to
make unlimited shops and the command system so I guess that’s it well I hope
you guys enjoyed and I’ll see you guys