How do i get rid of a lag machine

Just for future reference because i know there will be a day when someone decides to build one. What plugins and tools do I need as a self hosting server owner to get my server back up and running?💀
106 Replies
Admincraft Meta
Admincraft Meta•2y ago
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close !close !solved !answered
Requested by toil_ette#0
TerrorByte
TerrorByte•2y ago
It depends, is it network lag or framerate drops?
ProGamingDk
ProGamingDk•2y ago
mcedit to remove it
CRRRRRAAAZY DAVE
CRRRRRAAAZY DAVEOP•2y ago
TPS lag, like a redstone dust and repeater lag machine. How would I know where it is?
ProGamingDk
ProGamingDk•2y ago
well crash reports usually say if it freezes the server
CRRRRRAAAZY DAVE
CRRRRRAAAZY DAVEOP•2y ago
But do those crash reports include positions?
ProGamingDk
ProGamingDk•2y ago
yes most of the time*
CRRRRRAAAZY DAVE
CRRRRRAAAZY DAVEOP•2y ago
okay. Maybe a log plugin to see which players place down blocks and their positions?
lavaking46
lavaking46•2y ago
coreprotect
CRRRRRAAAZY DAVE
CRRRRRAAAZY DAVEOP•2y ago
That doesnt support 1.20 without a subscription apparently so that sucks so any alternatives?
ProGamingDk
ProGamingDk•2y ago
it works without a subscription but not with the best support *for 1.20
CRRRRRAAAZY DAVE
CRRRRRAAAZY DAVEOP•2y ago
i heard about logblock but it uses mysql which im clueless about it does? ill have to try
ProGamingDk
ProGamingDk•2y ago
do u use a host_
CRRRRRAAAZY DAVE
CRRRRRAAAZY DAVEOP•2y ago
also i heard about spark to measure server performance. Is that good?
ProGamingDk
ProGamingDk•2y ago
yes
CRRRRRAAAZY DAVE
CRRRRRAAAZY DAVEOP•2y ago
no, i self host on my home internet
ProGamingDk
ProGamingDk•2y ago
pterodactyl
CRRRRRAAAZY DAVE
CRRRRRAAAZY DAVEOP•2y ago
what is that?
ProGamingDk
ProGamingDk•2y ago
its a free panel most use
CRRRRRAAAZY DAVE
CRRRRRAAAZY DAVEOP•2y ago
oh neat
ProGamingDk
ProGamingDk•2y ago
has mysql database host feature u can add?*
CRRRRRAAAZY DAVE
CRRRRRAAAZY DAVEOP•2y ago
ive been using autoplug for server updates
ProGamingDk
ProGamingDk•2y ago
so its very easy to make new ones god no please no AutoUpdating is not a good idea.
CRRRRRAAAZY DAVE
CRRRRRAAAZY DAVEOP•2y ago
? I never heard of that being a bad thing Can you elaborate?
ProGamingDk
ProGamingDk•2y ago
|every single person who knows what they are talking about knows autoupdating is a bad idea| way less secure, can causes bugs, issues etc just not good in general
CRRRRRAAAZY DAVE
CRRRRRAAAZY DAVEOP•2y ago
i guess i can see bugs and issues but how is it insecure? i would have thought using older versions would be worse
lavaking46
lavaking46•2y ago
if a critical bug is accidentally added in a new version
Cooleg
Cooleg•2y ago
imagine right plugin dev gets hacked or decides to upload malware that would be a problem
lavaking46
lavaking46•2y ago
older versions may be better
CRRRRRAAAZY DAVE
CRRRRRAAAZY DAVEOP•2y ago
true i guess like the recent curseforge incident never considered that but its mostly for geyser because that always has to be up to date and its a pain especially to install plugin updates cuz i have to use a command to transfer files over the network its a mess lol
Cooleg
Cooleg•2y ago
malware is more of a pain
CRRRRRAAAZY DAVE
CRRRRRAAAZY DAVEOP•2y ago
true but it seems like pterodactl can make that easier?
lavaking46
lavaking46•2y ago
yeah management of servers through pterodactyl is extremely easy
CRRRRRAAAZY DAVE
CRRRRRAAAZY DAVEOP•2y ago
cant believe i never heard of it ill do some research
lavaking46
lavaking46•2y ago
its a bit more technical to do
CRRRRRAAAZY DAVE
CRRRRRAAAZY DAVEOP•2y ago
How does it work? Is it like a plugin or like a bootstrapper
lavaking46
lavaking46•2y ago
no
Cooleg
Cooleg•2y ago
or what if you decide to stick on an old version and the dev decides to drop support for older versions to not bloat file size
lavaking46
lavaking46•2y ago
its an external program/webhost
Cooleg
Cooleg•2y ago
you heard of multicraft before?
CRRRRRAAAZY DAVE
CRRRRRAAAZY DAVEOP•2y ago
nope
Cooleg
Cooleg•2y ago
damn
lavaking46
lavaking46•2y ago
have you ever used a host like aternos
CRRRRRAAAZY DAVE
CRRRRRAAAZY DAVEOP•2y ago
yea so it makes a web interface like that?
lavaking46
lavaking46•2y ago
yeah
CRRRRRAAAZY DAVE
CRRRRRAAAZY DAVEOP•2y ago
then i guess i dont understand how it works
lavaking46
lavaking46•2y ago
pterodactyl is the current industry standard for those
CRRRRRAAAZY DAVE
CRRRRRAAAZY DAVEOP•2y ago
like does it boot up as the server starts or do i need to start it seperately
lavaking46
lavaking46•2y ago
its always on
CRRRRRAAAZY DAVE
CRRRRRAAAZY DAVEOP•2y ago
oh okay
lavaking46
lavaking46•2y ago
unless you shut it down
CRRRRRAAAZY DAVE
CRRRRRAAAZY DAVEOP•2y ago
fair
lavaking46
lavaking46•2y ago
you use it to turn your servers on and off and see the status
CRRRRRAAAZY DAVE
CRRRRRAAAZY DAVEOP•2y ago
lemme look into it
lavaking46
lavaking46•2y ago
and upload files and such
CRRRRRAAAZY DAVE
CRRRRRAAAZY DAVEOP•2y ago
oh boy looks like a project to install lol\
Cooleg
Cooleg•2y ago
that it is if you want one thats not a project to install i would reccomend AMP paid and limited number of servers but its a 1 liner then some questions and then a small bit of web gui
CRRRRRAAAZY DAVE
CRRRRRAAAZY DAVEOP•2y ago
but it looks like pterodactl has all the commands i need outlined for me and it looks like those commands work with my os so ill see
lavaking46
lavaking46•2y ago
it only is supported on linux all the commands are fairly straightforward
CRRRRRAAAZY DAVE
CRRRRRAAAZY DAVEOP•2y ago
man though i gotta be honest i dont understand like 90% of pterodactl's setup lol AMP looks pretty good and the 1 time 10 dollar price tag is pretty cheap god forbid another subscription service
lavaking46
lavaking46•2y ago
pterodactyl is better you can install just by reading through what they have but its up to you
CRRRRRAAAZY DAVE
CRRRRRAAAZY DAVEOP•2y ago
yea but it seems like i have to make another user for pt and do a lot of stuff there but the server is on a different user i think it would honestly be a mess i just dont understand it at all
lavaking46
lavaking46•2y ago
You don't have to make a user
CRRRRRAAAZY DAVE
CRRRRRAAAZY DAVEOP•2y ago
it said in the documentation it needs an admin user and i think the one i got for my server is an admin so ok idk im just confused and amp seems easier
ProGamingDk
ProGamingDk•2y ago
amp is easier to install not sure if it has easy mysql databases tho
CRRRRRAAAZY DAVE
CRRRRRAAAZY DAVEOP•2y ago
god even the easy pterodactl install script is making my brain melt lol Okay i think i wrapped my head around it does anybody know how to make it compatible with an existing server instead of making a new one?
lavaking46
lavaking46•2y ago
for pterodactyl?
ProGamingDk
ProGamingDk•2y ago
u just move ur files into the folder
CRRRRRAAAZY DAVE
CRRRRRAAAZY DAVEOP•2y ago
Yes
lavaking46
lavaking46•2y ago
after you set up ptero you create a server then you delete the files it has and move your own in
CRRRRRAAAZY DAVE
CRRRRRAAAZY DAVEOP•2y ago
Okay so i make a backup of the server's folder and install ptero and then drop that backup in?
lavaking46
lavaking46•2y ago
basically
CRRRRRAAAZY DAVE
CRRRRRAAAZY DAVEOP•2y ago
Ok
ProGamingDk
ProGamingDk•2y ago
/var/lib/pterodactyl/volumes/(server-id of newly created server)
CRRRRRAAAZY DAVE
CRRRRRAAAZY DAVEOP•2y ago
Ill try i guess Just to be clear pterodactyl doesnt need me to make a new user account on the linux computer? I can use my existing one
lavaking46
lavaking46•2y ago
yes to install you need to be using an account that has root permissions
TerrorByte
TerrorByte•2y ago
Does not. It has a GUI for working with existing MySQL databases, but it does not have MySQL built-in. If you are setting up Pterodactyl, you need to know what you are doing. It is quite advanced for someone self-hosting
ProGamingDk
ProGamingDk•2y ago
wrong they have a good guide to setting up a database host in the panel and then its 2 clicks to create a mysql database from within the panel
ProGamingDk
ProGamingDk•2y ago
Setting up MySQL | Pterodactyl
Pterodactyl is an open-source game server management panel built with PHP, React, and Go. Designed with security in mind, Pterodactyl runs all game servers in isolated Docker containers while exposing a beautiful and intuitive UI to end users.
TerrorByte
TerrorByte•2y ago
Yes, I'm looking right at it. However, you cannot create a MySQL database. You can create tables and stuff within existing databases, but you cannot just spin up a whole MySQL instance. That's literally why you have to set up MySQL from scratch https://pterodactyl.io/tutorials/mysql_setup.html
Setting up MySQL | Pterodactyl
Pterodactyl is an open-source game server management panel built with PHP, React, and Go. Designed with security in mind, Pterodactyl runs all game servers in isolated Docker containers while exposing a beautiful and intuitive UI to end users.
ProGamingDk
ProGamingDk•2y ago
i think we are mis understanding eachother and the usecase for mc in this case
CRRRRRAAAZY DAVE
CRRRRRAAAZY DAVEOP•2y ago
So i tried to install Pterodactyl using the install script but it just says that issues will occur with anything other than x86 architectures (i have aarm64) so that sucks
ProGamingDk
ProGamingDk•2y ago
manually install it the script removes all support from the official discord
CRRRRRAAAZY DAVE
CRRRRRAAAZY DAVEOP•2y ago
man honestly i think id rather just shell out the 10 bucks for amp rather than going through all this 💀 does amp have a file explorer that i can drag and drop files in? thats what i care about the most
TerrorByte
TerrorByte•2y ago
I think the term "Database" is ambiguous. MySQL is a database system. A MySQL instance can contain multiple databases, aka groups of tables. You must configure a MySQL instance yourself prior to setting up Pterodatcyl. From there, Pterodactyl can create tables and such, but cannot create databases itself. In the setup guide, it literally states you must create the database yourself, then grant access to the Pterodactyl user through the command line before Pterodactyl can do any sort of modification
TerrorByte
TerrorByte•2y ago
.
No description
CRRRRRAAAZY DAVE
CRRRRRAAAZY DAVEOP•2y ago
i also still do not understand mysql and that sucks cuz i need it for a plugin lol
ProGamingDk
ProGamingDk•2y ago
¯\_(ツ)_/¯ going off its own usage of the word "Database" that pterodactyl created
TerrorByte
TerrorByte•2y ago
Again, MySQL is a database system. You have a host, s1_jpremium, which Pterodatcyl can create additional databases on. Pterodactyl does not spin up database instances on its own
CRRRRRAAAZY DAVE
CRRRRRAAAZY DAVEOP•2y ago
but uh yea can any of you confirm if the manual installation for pterodactyl works for raspberry pi os? the headless version
ProGamingDk
ProGamingDk•2y ago
thats never what i said it does tho
TerrorByte
TerrorByte•2y ago
You did ^
ProGamingDk
ProGamingDk•2y ago
its mysql and is a database host
CRRRRRAAAZY DAVE
CRRRRRAAAZY DAVEOP•2y ago
its based off of debian which is the same as ubuntu so id imagine
ProGamingDk
ProGamingDk•2y ago
man your overthinking this way to much lmao
TerrorByte
TerrorByte•2y ago
Yeah, I'm done. I work with Databases for a living, so I'm just gonna stop trying to explain lol
ProGamingDk
ProGamingDk•2y ago
ok then define what would u call it then at this point im just curious
TerrorByte
TerrorByte•2y ago
MySQL is a database management system. It manages databases of the same name. That's why I think the term "Database" is ambigious. Because a MySQL instance, or database, contains databases itself, which is horribly ambiguous. Unlike something like Microsoft SQL Server where a SQL Server instance contains databases. SQL Server is not referred to as a database, unlike MySQL which is both the management tool and database type/name/whatever you want to call it
ProGamingDk
ProGamingDk•2y ago
GitHub
Build software better, together
GitHub is where people build software. More than 100 million people use GitHub to discover, fork, and contribute to over 330 million projects.
TerrorByte
TerrorByte•2y ago
The same issue applies to things like Cockroach DB, Mongo DB, MariaDB, etc. where the name of the management system includes "DB" in the name, making people think that it, itself, is the DB instead of the actual DBs those tools manage
ProGamingDk
ProGamingDk•2y ago
feel free to add that mention here
PhonicUK
PhonicUK•2y ago
It does yes, it also has a built in SFTP server that just uses your AMP login details rather than needing to mess around with the system Also if you want to run it on a Pi, you can still run certain x86 apps like Factorio or the official Bedrock server
ProGamingDk
ProGamingDk•2y ago
doesnt it use Box or whatever or am i misremembering i dont remember the name
PhonicUK
PhonicUK•2y ago
Box64/Box86 yes - the trick of course is making it transparent so you don't see what's going on It used to use QEMU User-mode emulation, but that doesn't work well enough for enough applications Box64/86 it has to compile from source for your platform
Discount Milk
Discount Milk•2y ago
How do you know you have it? :FrogeBIGEYES:
CRRRRRAAAZY DAVE
CRRRRRAAAZY DAVEOP•2y ago
I was saying for a future scenario

Did you find this page helpful?