all right guys and welcome back to another epic video thanks for tuning in with us this week this
week we're going to be getting one out here for you guys who enjoy playing some minecraft
now we haven't touched on games very much at this stage and we're looking forward to doing a little
bit more i know a lot of you have been keen on pterodactyl and using that to deploy your game
servers now pterodactyl is easy to get set up in a vm but we're trying to aim to get it going in a
container for you which is a quite a beast of an application so that's going to take us a little
bit more time so today i'm not going to be showing you that and as i've said throughout the week
just to set expectations that wasn't going to be today's video but we are going to do that
in the future once we've got all the documentation sorted out so today we're going to show you crafty
controller this is for minecraft and it's going to help you set up your minecraft server very quickly
and securely so that you can get other people to play with you on a server that you're managing
it gives you a nice user interface to help you build and maintain the server
and it's quite customizable it gives you a nice web page to control the server and its functions
so it's a nice interface way to manage things and that's something that we really enjoy here
so today's guide was actually originally built by one of our community members in our discord
rohi so thank you very much roy for contributing your guide to us and allowing us to make a video
with it we really appreciate it we also want to give thanks to the developers of crafty
as well as the template maintainer freddie zero we're going to be using his container today so
thank you to all those who have helped contribute to this project like i said in the in the past if
you're interested in joining our discord the link will be down in the description i'll also bring it
up on the screen and if you haven't already please consider liking and subscribing to the channel
really appreciate it really helps us keep our momentum going we're almost at 5k and
we're almost at 1k in the discord so the big thanks to everyone involved so if this sounds
interesting to you you want to get a minecraft server up and running today's the day for you
so here we are guys we're on craftycontrol.com this is their main website and as you can see
there's a couple of main features that they like to keynote at the start so it's secure
by default easy to use it's open source made by gamers for gamers i mean what more could you want
we head down to the about section we can just have a quick look at some of its other features so
tornado web server used as the back end argon 2 for password hashing it's got a
sqlite db so a little bit easier to manage in terms of database adminite for use for
the web templating and font awesome four for buttons and other graphical things so it looks
really nice even by going by their website here they've set the expectation pretty high
and if we scroll down a little further there's a little video on how that looks
current features and some testimonials as well so again thank you to the developers for allowing
this to go ahead we really appreciate it and we hope this helps bring some well-needed attention
so there's a whole bunch of instructions here but we're going to show you of course the ibracorp
way of getting this going so follow me along and we'll get that installed for those who
aren't aware we're going to be following our documentation that we write up for ourselves
this is in conjunction with the guide given to us and we like to tweak just a couple of things to
match our sort of format so docs.hebrewcorp.io is where you're going to find all this documentation
head over there if you need to follow anything that we've done in the past and in the future
so here here we are back on osiris our main server now the first thing we're going to
do as usual is head over to the apps store once you get there we'll just type in crafty
and you're going to have two options one is from binhex and one is from freddy zero
today we're going to be showing you how to use freddy zero's container click to install
so here we are on the template now the first thing i recommend doing is setting it to your custom
docker network if you don't know how to do that i made a quick one minute video last week
showing you how to do that so we're going to select our custom docker network there
and then we're going to come down to these locations here so we've got database server
files and backups and we don't really need to change anything we're happy with how all this
is by default the only thing i would suggest is if your app data is in a different location
obviously change that otherwise we can just leave them as they are for the web ui port same goes
for that too so 1800 is the fault if that's in use change it for yourself then we have the minecraft
ports now by default this has a hundred possible ports open so it's asking to open these ports now
it's up to you you can change this we recommend you just leave it as is it's only going to be a
risk if someone has access to your network now if that's something you're worried about by all means
change it to what suits you best we're going to leave it as it is and we're going to only
expose the ports that we want and with all that configured you can just go ahead and click apply
once we're finished click done and head back to docker see in docker we can see we've got the
controller running all we're going to do is left click and go to the logs in the logs you're going
to be presented with a username and a password as well as a token so what i'm going to do is
just move this off to the side for a second and we're going to left click and go to the web ui
proceed obviously so in the web ui we'll put in the username and password that we've got in the
logs there and click sign in now once we've signed in we're confronted with the crafty controller
setup page so it doesn't really matter what you type because it's gonna throw
an error anyway crafty doesn't seem to create a folder automatically at the time of writing
our documentation so what we can do is just click save and finish basically and just leave it as is
for the moment click save and finish and sure enough we're going to get the 404 now this is
all documented in our docs so that's expected so what you'll need to do is back up the url and just
go back to the main ui again and again we're just going to sign in using those credentials from the
log and then now we're in the actual dashboard so the first thing you probably want to do is change
the password from the one in the log so we'll go ahead and click change password and all you have
to do is type in your new one now obviously my password isn't that secure so i'm just going to
leave it as password 754 obviously you will pick one that is a little bit more secure than that
once you're done click change password so now we'll try signing in with those new credentials
and sure enough that works fine so we're logged in we've got our new password set we know that it's
a little bit more secure than the default stuff that it was running with so what we need to do
now is create a folder in the app data location so open up your favorite browser or whatever it
is you use to get to your file directory on unraid and here we are in the freddy xero crafty folder
you're going to be showing three folders now we want the minecraft underscore servers folder so
double click that and you'll notice that it's empty in this folder create a new one and for
the sake of this tutorial that we're showing you today we're just going to call this test right
but obviously you just can you can call that whatever you guys want
now we need to download our jar file so depending on what you want whether it's a vanilla or modded
server you can download whichever jar you want so that jar is what basically the server is running
so we're going to show you the vanilla one so here's the website for the vanilla jar file
that we're going to use and keep in mind that the link is all in the documentation as well
so all we need to do then is download the files and save that you'll then need to copy that jar
and paste it in the folder that we've created so there's our test folder and here's the jar so
we've just pasted it in as it is so once you've done that head back to your crafty dashboard
and in the web ui we're just going to click the plus button next to create new server so just
here we'll click that plus button and we're given this window once again let's call that
ibracorp for example for the server path we want to make sure that we're mapping the path
that we actually saved everything in so in our case in the host directory which we were just in
in the host directory it's actually minecraft underscore servers forward slash the name of the
folder that we gave it so in our case that was just test so we're just going to leave that as
test and then that should be fine now the server jar must match the jar file's name you put inside
the server folder so this one here by default it's server.jar now if you go back to the directory to
where we just put that in you can tell that it's called surfer.jar now if yours is called something
else maybe you download one of the custom modded ones then you would need to make sure this matches
that exact file name the rest of the details are really up to you how much ram you want to allocate
the minimum amount of ram you want to allocate as well and whether you want the server to start up
so when we're done we can just click create new server so now we have all those details there
ready to go so the next thing you'll do is just click the play button and that will start it up
now you'll be confronted with this message saying that we need to accept the terms and conditions
or the euler file so to do that go back to the directory and you'll see we have this euler.text
so all you need to do is edit that file as you can see we've got it here for the euler we'll
just set that to true and click save now i had some file permissions issues so i just created
a new one and deleted the old one and restarted the container so now i'll restart the container
and we'll reload the page and we're going to try and start it again and as you can see it's
starting to build our world so if you've got this far and everything's working we can pretty much
go back to the dashboard to see and manage our new server as that's going we don't really need
to sit there and watch it you can just go back to your dashboard and you'll see that things
are taking place and the server is running you've got a couple of different things here you've got
your status your auto start the server type server description the server ip and the port now at the
moment none of this has been set up and if we were to go to the actual server we can go to the logs
and we'll see that it's just finished starting up then and here you go so now we've got our
description a minecraft server the type or version and when it was last started
you can also set whether we want auto start so if you do want auto start set then you can just tick
the box so here we go we want auto start we'll click yes and click save so there's the next
thing we have to set is a couple of networking things so let's go ahead and click the cog again
and we'll go back into the settings the head down to the server port and server ip fields
for the server ip what we're going to do is set it to 0 0 0 0 now the reason why is we found that
setting it to that will disable lan connections but it does seem more stable so your mileage may
vary make sure you change it to suit what you need and how you want things to work once you're done
click save so minecraft wouldn't be really any fun if nobody else was playing with you so the
whole point of hosting a server is to get people onto it now to expose the server is the next step
so for them to be able to join we need to port forward through the router's firewall
so the process of port forwarding is different for every router so you know obviously we can't cover
everything guys but there's documentation on each router on how to do that now even though we did
expose 100 ports for that container like i said at the start we don't suggest you actually expose 100
ports you only really need one two depending how many servers you're trying to expose so if you're
just throwing the one only expose the one it's also worth noting that people have reported that
you can't access the server from the location that you're hosting it using the when i p slash
subdomain in those cases you can access it with the local ip and since you're local that would
make sense anyway so in our case for example for our router we would actually be setting this port
as boarding to our unread server ip address so in your router go ahead and port forward this port
to your minecraft server or in our case the unrate server where it's being hosted the next thing you
might want to do is set yourself up as the server operator so that obviously means that you're an
administrator of that server and crafty makes that pretty easy because you can pretty much just
launch the terminal right here and it gives you direct access so in that case all you need
to do is type in forward slash op and then your in-game name in minecraft so in mind
in my case that's just my typical username and then you just go ahead and click enter
and that's pretty much it so as you can see it's made us a server operator now if i was
to sign in to my minecraft server we can run any command from within the server so you don't need
to come back here and do it but this is another option for you to do that as well now the last
thing i'm going to show you guys is how to get this going through cloudflare because
at the end of the day we don't really want to hand out our full ipv4 address and port to someone
out in the world so now we're in cloudflare we can set up our final changes to make sure that we can
just hand out a subdomain to people and they can access our server that way so if you don't have
the domain already they're pretty cheap guys i recommend you pick one up it just makes your life
a lot easier when you're trying to set up these sort of reverse proxies or anything like that
going forward so once you're in cloudflare head over to your dns tab and we're going to add a
new cname so in here we're going to go say name and you can set it to the name of your server
now we already have one at ibracorp and that's play.ibracorp.io you can call it whatever you want
it's just going to be whatever you hand out to people so maybe you have minecraft at domain.au
whatever so here's ours here play and the target should be basically your ipv4 address
your public ipv4 address now if you want you can use something like duck dns so that you can
always have the most up-to-date thing here and you can target it at your duck dns location instead
the alternative thing that i want to touch on real quick is something like tcp shield now a lot of
people have recommended it and i'll quickly bring that into the frame here so you guys can have a
look so it's really designed towards people who are hosting game servers and i highly recommend
you check it out it's pretty easy to set up i believe it's free to a certain degree as well
let's have a quick look at the pricing so here you go one terabyte monthly bandwidth three domains
one network not bad 20 to 30 player servers so if you're just starting off it's free anyway
it's probably worth checking this out okay so that basically means in cloudflare instead of putting
out public ipv4 address here we can actually just put the tcp shield address and tcp shield
handles the connection back to us the final note here is make sure you turn off proxy you cannot
have cloudflare proxy activated on this so make sure you uncheck that and that's the reason why
i recommend tcp shield because we have the dns only option in cloudflare it means that our root
ip address will actually be shown so if you want to use duckdns that won't show it obviously but if
you put your whole ip address in here that's going to display so in our case we have tcp shields
details which you can see partly there as well and that puts that in there so if somebody was
to try and look back at what ip address the origin is coming from it's going to show the tcp shield
address then we need to create another record so the next record we need to create is a srv record
so up here go ahead click add record scroll down and click srv but for the name we'll just put smc
which just basically means survival minecraft you can you know put that for wherever you like
it doesn't really matter as long as it matches your sub domain so in our case since our sub
domain is actually play we're going to put play there for the service name just put underscore
minecraft text cp auto priority zero we'll give it a weight of five and the port is the port
that we have set in our container and our port forwarding in the router in the target just put
the subdomain that you configured earlier the cname that we've just set up and then go ahead
and click save and that's pretty much it so that part is now complete so now guys if you were to
spin up your minecraft make sure you head over to the minecraft launcher punch in your sub domain
and you should get access again if you're doing it from the local address that you're hosting
you won't work it won't work with the wan address so you might need to use something like a vpn to
make sure make it like you're coming in from the outside with that all complete
that's pretty much it you have your own minecraft server running and we have crafty to maintain it
now we haven't really touched on crafty very much and there's a lot to it so i highly recommend you
check out the app they also have their own discord as well for supporting it and they
have a really good lively community we've got all the related links in our documentation so be sure
to check that out if you're interested and a big props to them for their work it's a really nice
looking dashboard makes it really easy to manage so as you can see you've got the join discord and
documentation links here on the left for crafty and specific and there's a whole bunch of other
things that you can probably get done as well that we just don't have time to show you today you've
got different roles so if you want people to come in and help maintain your servers give them those
staff roles you know get them involved as well how many users are on here you can create them and
you've got your dashboards to help you manage your server resources so that's it for today's video i
hope that helps get you guys going with with your crafty minecraft server there's a lot to it and
it's really really fun but the last announcement i've got for you guys is we actually have a live
minecraft server for our discord community so after this video goes live we will be opening up
our gaming section in our discord which is going to be going live for everyone and if they're going
to be welcome to join if as long as they opt in it's going to be optional um if you're interested
jump in have a go play.ibracorp.io is where our server is living and you'll be able to jump in and
play right now the credentials for logging in will be listed here in the game chat so you can just
jump into discord grab the details and then join us on the server we'll probably host a specific
date where we want everybody to jump on and we can have a bit of a play together but until then
anyone's welcome to jump in and play and try it out for themselves and see how it works also guys
final note we have a huge announcement coming up soon for a new video one that i think you guys are
going to really really enjoy it's taken a lot of hard work from everyone on the team and it's going
to be a huge announcement we've also had help from lone tech themselves so it's going to be a really
really impressive one i think for a lot of people i can't reveal too much just yet but keep an eye
on the page and on our discord i'll be giving you a couple of teasers here and there to help you get
an idea of what it might or may not be thank you very much for joining us again for another
week here at ibracorp really appreciate you guys don't forget to like and subscribe if you enjoyed
our content and we hope to see you around very very soon we'll see you in the next hibrico video
you