Joey Misfit Posted July 11, 2021 Share Posted July 11, 2021 @Dennis Is there a way I could set the column to not show from the code? If so could I pay you for a revision for it? Link to comment Share on other sites More sharing options...
Joey Misfit Posted July 21, 2021 Share Posted July 21, 2021 Hey @Dennis , With the latest version of modded minecraft I'm noticing this error; C:\TCAFiles\Users\frankj\5585>java\jre8\bin\java.exe -Xmx5120M -Xms128M -jar paper-1.17.1-112.jar nogui Minecraft 1.17 requires running the server with Java 16 or above. Download Java 16 (or above) from https://adoptopenjdk.net/ The game config that you made is pointing to jre8 instead of jre16 and doesn't want to load the service, I've also tried installing jre16 locally on that machine without any luck. If you could please assist with this issue I'd greatly appreciate it. Link to comment Share on other sites More sharing options...
Dennis Posted July 21, 2021 Author Share Posted July 21, 2021 @Joey Misfit there should be a button called "Select Java Version" which allows you to specify which Java version you want the server to run with. The new config downloads Java 8 and 16 and places them locally on the game service. Link to comment Share on other sites More sharing options...
Joey Misfit Posted July 21, 2021 Share Posted July 21, 2021 @DennisWhere would I find the option to select the java version on the panel, as now we are using the default theme and I don't see an option anywhere for that. Link to comment Share on other sites More sharing options...
Dennis Posted July 21, 2021 Author Share Posted July 21, 2021 Ah, I see that it's not included in the config I've uploaded here. Download the latest version. What's New in Version 1.2.2 This update might break things. Please test fully before using in production. This will be the last update before I release a rewritten version of this config. Added ability to select Java version manually Java versions are now updated automatically using scheduled tasks Clients can not manage these scheduled tasks Minor changes to how TCAdmin decides the version of Java to use Link to comment Share on other sites More sharing options...
Dennis Posted August 16, 2021 Author Share Posted August 16, 2021 What's New in Version 2.0.0 Read before upgrading from version 1.x to 2.x! This config has been more or less rewritten. Java is no longer required to be installed on the server as pre-built OpenJDK binaries will be downloaded directly to the service folder. All modpacks have been removed from the "Mod manager" interface. This is done because we have expanded the Custom Mods module to include modpacks from FTB and CurseForge. If you want to take advantage of the new Custom Mods module, please uninstall the module first (if your current TCAdmin version is older than 2.0.169.4). After the module has been uninstalled, perform a manual upgrade to 2.0.169.4 (this version has the module included by default): https://help.tcadmin.com/Updating#Manual_Update Please note that 2.0.169.4 is a development build and might cause some issues. Use it at your own risk. [Added] Custom background images [Added] Reintroduced 'server-name' to show server name in TCAdmin [Added] Java 11 binaries [Improved] Automatic Java version detection. TCAdmin will try to detect the required version of Java based on different things If TCAdmin is unable to decide the correct version, it will default to Java 11 If OpenJDK doesn't exist in the service folder, it will fall back to environment variables (JAVA8, JAVA11 and JAVA16)* If the environment variables doesn't exist, it will fall back to using the regular 'java' command [Added] Automatic OpenJDK update if OpenJDK binaries are installed locally [Added] Purpur Mod [Added] Tuinity Mod [Removed] All modpacks Please note that things are not expected to work perfectly. It's a challenge to be able to detect the required Java version for all existing jars. If you encounter any issues, please post them in the thread. Link to comment Share on other sites More sharing options...
Dennis Posted September 2, 2021 Author Share Posted September 2, 2021 What's New in Version 2.0.1 [New] TCAdmin now asks for Xmx and Xms values during setup [Fixed] Script for generating executable file [Improvement] Various bug fixes and improvements to scripts Link to comment Share on other sites More sharing options...
Dennis Posted September 2, 2021 Author Share Posted September 2, 2021 What's New in Version 2.0.2 [Fixed] Error when creating service Link to comment Share on other sites More sharing options...
HelixServices Posted September 3, 2021 Share Posted September 3, 2021 This is great. Although I have 1 issue. The openjdk is a RAM hog. Is there anyway to not use this or atleast make the ram usage minimal? Link to comment Share on other sites More sharing options...
Dennis Posted September 4, 2021 Author Share Posted September 4, 2021 You're able to use whatever variant of Java you'd like (read the section " Use system-installed Java versions instead of bundling Java with the game service "). The issue is most likely not OpenJDK, though. I tested with multiple variants of Java and versions of Minecraft, and OpenJDK would often be the most efficient. The issue is rather that Minecraft 1.17 and newer uses a lot more RAM than previous versions did. Link to comment Share on other sites More sharing options...
HelixServices Posted September 5, 2021 Share Posted September 5, 2021 On 9/4/2021 at 12:38 PM, Dennis said: You're able to use whatever variant of Java you'd like (read the section " Use system-installed Java versions instead of bundling Java with the game service "). The issue is most likely not OpenJDK, though. I tested with multiple variants of Java and versions of Minecraft, and OpenJDK would often be the most efficient. The issue is rather that Minecraft 1.17 and newer uses a lot more RAM than previous versions did. Oh interesting. Good info to know. Link to comment Share on other sites More sharing options...
Ultrahost Posted September 9, 2021 Share Posted September 9, 2021 @DennisMate i get this error: Unknown column 'rcon_commands' in 'field list' How can i fix it :)? Link to comment Share on other sites More sharing options...
Dennis Posted September 9, 2021 Author Share Posted September 9, 2021 @Ultrahost update TCAdmin. You can also open the .xml file with Notepad and remove the following: <rcon_commands>["whitelist on","whitelist off","seed"]</rcon_commands> 1 Link to comment Share on other sites More sharing options...
Blizi Posted September 17, 2021 Share Posted September 17, 2021 Hello, I have the Problem that on my Windows Server the "Updates" Tab not available. When i for example install Paper (in the Mod Manager Tab) then comes the Message "Latest Paper version has been installed. To select a specific version, please go to "Updates".". But the Updates Tab is not existing. And when I get in the GameConfig, the Updates Tab is completely empty. Can anyone help me? Link to comment Share on other sites More sharing options...
Dennis Posted September 17, 2021 Author Share Posted September 17, 2021 Is that Linux or Windows? Try importing the config again. You can choose to only import updates. Link to comment Share on other sites More sharing options...
kev60fps Posted September 18, 2021 Share Posted September 18, 2021 Hi, I've come across an issue with the RAM usage. Tried even with a fresh install of Minecraft Server and when starting server up it gets to 4GB or more. My Xms is 1024M for the startup and maximum of XmX8192, any ideas? Regards, Kev Link to comment Share on other sites More sharing options...
Dennis Posted September 18, 2021 Author Share Posted September 18, 2021 @kev60fps what's the issue? You allow it to use 8GB of RAM, and it's using 4GB. Link to comment Share on other sites More sharing options...
kev60fps Posted September 18, 2021 Share Posted September 18, 2021 (edited) @Dennis Well the issue is that its starting with 1gb of ram and going to 5gb very fast. With no mods or players. Edited September 18, 2021 by kev60fps Link to comment Share on other sites More sharing options...
Dennis Posted September 18, 2021 Author Share Posted September 18, 2021 That's not an issue with the config. That's just how Java and Minecraft works. Newer versions of Minecraft uses a lot more RAM than older versions did. The more RAM you assign to a program, the more RAM it will consume generally. You can try starting the server outside of TCAdmin to verify that RAM usage is the same. Link to comment Share on other sites More sharing options...
Adam Posted September 18, 2021 Share Posted September 18, 2021 This is a good explination on how JVM works: https://plumbr.io/blog/memory-leaks/why-does-my-java-process-consume-more-memory-than-xmx Link to comment Share on other sites More sharing options...
kev60fps Posted September 18, 2021 Share Posted September 18, 2021 Alright, Thank you for your help! Link to comment Share on other sites More sharing options...
kev60fps Posted September 18, 2021 Share Posted September 18, 2021 @DennisI just gotta say after some testing and debugging i finally found it! As you can see i lowered the Xmx and Xms to 512 and boom it worked. Server now runs from 512Mb and when players connect to it and server have to work at the same time ram goes up. Works like intended. And also you need to set the Memory Limit for each service since something is wrong with the config file of Minecraft. But this will doo for now. Just one question, Is it possible to remove the % so users dont get mind blown... Thanks! Link to comment Share on other sites More sharing options...
kev60fps Posted September 18, 2021 Share Posted September 18, 2021 And here is another server of mine that i implented the fix(Xmx and Xms is 512 ) and Ram Limit is 8Gb Link to comment Share on other sites More sharing options...
Dennis Posted September 18, 2021 Author Share Posted September 18, 2021 It doesn't matter what you set the RAM limit to in TCAdmin - unless you also set a value for virtual memory. If no value for virtual memory is set, the process will keep using virtual memory (page file). TCAdmin will not be able to control the real memory usage of a Java application any better than you can control it outside of TCAdmin. It's just not possible due to the way heap size works. Link to comment Share on other sites More sharing options...
kev60fps Posted September 19, 2021 Share Posted September 19, 2021 Oh okay, Tested the commandlines on my local PC and it works with Xmx and Xms, so something must be wrong. Local MC server using less then 2GB but on TCAdmin is uses over 3GB or more. These are the commandlines for both Local and TCAdmin: java -Xmx8192M -Xms1024M -jar server.jar Local Setup: TCAdmin Setup: Server idle, no players or mods: The task manager shows the exact same usage of Ram on the minecraft server. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now