notpivan
AAdmincraft
•Created by notpivan on 4/22/2025 in #questions
Simple guide to make a server on a KVM Root Server?
Hi.
So, I’m thinking more and more about switching to a KVM Root Server, since I found some hostings that seem very good and will offer me more freedom than my actual shared hosting.
But I heard it is not recommended to run the server from the root user, and that I should make a user and a container specific for my Minecraft Server.
Is there a guide on how to to that?
I’m planning on using Ubuntu, and I need Java 21 LTS.
Also making sure the environment is contained in a secure way to avoid security issues.
Not planning on a big server, but on a powerful one to play with my little community (don’t think it’ll go past 20/30 players).
Last thing last: if it is any good also to install a Pterodactyl Panel or if it is just a waste, and how to do that.
Also, should I use ubuntu’s screens to run the server? Or something else?
Thanks to everyone who’ll help me get this thing figured out, I don’t wanna mess up and I want to make thing the most correct, organized and secure way, to “industry standard” setup.
11 replies
AAdmincraft
•Created by notpivan on 4/21/2025 in #questions
Is default spawn-protection any good?
I wanted to ask if it is any good to use the default spawn-prorection radius in server.properties to protect my spawn in a small server, without installing WE and WG to protect that region.
Does it block mob griefing? Does it stop players from opening/closing trapdoors, ore use windcharges do do that?
Or is it just trash and I should use something else instead?
7 replies
AAdmincraft
•Created by notpivan on 4/18/2025 in #questions
Stacktrace Error probably due to LuckPerms on Pterodactyl?
Hi.
So, I'm having these stacktrace errors on my console on my Pterodactyl Panel (provided by my host when buying the server).:
[01:09:06 WARN]: Exception in thread "Thread-5" java.lang.NoClassDefFoundError: org/h2/api/ErrorCode
[01:09:06 WARN]: at org.h2.message.DbException.getJdbcSQLException(DbException.java:475)
[01:09:06 WARN]: at org.h2.message.DbException.get(DbException.java:212)
[01:09:06 WARN]: at org.h2.mvstore.db.Store.close(Store.java:402)
[01:09:06 WARN]: at org.h2.engine.Database.closeOpenFilesAndUnlock(Database.java:1261)
[01:09:06 WARN]: at org.h2.engine.Database.closeImpl(Database.java:1225)
[01:09:06 WARN]: at org.h2.engine.Database.close(Database.java:1144)
[01:09:06 WARN]: at org.h2.engine.OnExitDatabaseCloser.onShutdown(OnExitDatabaseCloser.java:85)
[01:09:06 WARN]: at org.h2.engine.OnExitDatabaseCloser.run(OnExitDatabaseCloser.java:114)
[01:09:06 WARN]: Caused by: java.lang.ClassNotFoundException: org.h2.api.ErrorCode
[01:09:06 WARN]: at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:445)
[01:09:06 WARN]: at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:592)
[01:09:06 WARN]: at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525)
[01:09:06 WARN]: ... 8 more
This ONLY appears on server shutdown and restarts (ofc in the shutdown process).
I'm pretty sure the issue is caused by LuckPerms.
It doesn't happen on my local server (hosted on my local Windows PC with same exact setup and plugins setup the same exact way).
It only happens in the Pterodactyl environment (it seems).
I'm also having some other inconsistencies regarding Pl-Hide-Pro and CMI command handling on the Pterodactyl hosted server vs. my local server.
On the Pterodactyl one, it seems Pl-Hide-Pro has a lower priority than CMI or other plugins when the users perform them, since it shows the CMI "No permission" message when performing a blocked command, instead of the Pl-Hide "Unknown command" message.
Is it environment related? Why am I facing these inconsistencies and (at this point) bugs and errors with this plugins?28 replies
AAdmincraft
•Created by notpivan on 4/18/2025 in #questions
Minimum Memory -Xms to allocate
Quick question if anyone can answer: my hosting provider (using Pterodactyl) forces me to use -Xms256M and won’t make me use more for the minimum memory. They let use aikar flags and change how much % of the Maximum Memory (12GB) using, but not the minimum.
Is it an issue and am I losing some performance by not setting my minimum memory the same as the maximum, or is it just not that big of a deal?
I’m using Purpur 1.21.5.
12GB Ram
4 Cores available of a Ryzen 9 7900X3D
10 replies