Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

5 Frequently Asked Questions

nanonestor edited this page Dec 10, 2023 · 23 revisions
  • (追記) Is the Universalator script file safe to use? (追記ここまで)

    • If you have doubts about this it is highly recommended finding a trusted person or group who understand the code (batch script) and have them take a look / give their opinion.

      The (追記) code for the latest version (追記ここまで) which is linked to the download buttons is always publicly visible here on Github, as well as archived older versions. The option is always there to directly obtain and use a copy of the script file published here that you use in your servers / server packs instead of copies distributed by other sources.

    • It could be argued that because the code is always publicly visible for community and peer review it's 'safer' in the sense that what the code is doing is transparent. Counter to this - many commonly used Minencraft mods have code which is either not published and/or impossible to decrypt - meaning many mods commonly used are running code unknown except to the authors.

      I would suggest that the real question about safety is whether you trust the source that provides you with a given piece of software, or the person/group who you take safety advice from.


  • (追記) Is there a list of all of the different features that the script contains? (追記ここまで)

    • Here is a list of most features - there may be others added or removed depending on the version
      • Installs server files if not present yet.

      • Downloads Java files if not present yet. These files are stored inside the same server folder and do not change any system-wide settings.

      • Scans (optionally) for mods which are needed client-side only. Many client-side only needed mods can crash servers when present - this is a very handy feature. It can detect and remove them from the server folder.

      • Detects many potential issues

        • Checks for environmental variables being set which may override server settings
        • Detects issues with Windows CMD and powershell functions/setup
        • Checks and corrects server.properties file for settings with known issues
        • Checks OS Version
        • Checks folder path for being in locations which may cause problems
        • Checks server.properties file for potential issues such as server-ip= being set and a few other settings
        • Checks the port which is set in server.properties to see if it's already in use
      • Launches server files once setup and installation is complete.

      • If settings and all needed files are detected on being run - skips setup steps and launches server files.


  • (追記) How does the Universalator script detect client-side mods? (追記ここまで)

    • Client-side mods detection is currently done in two different ways.
      • Forge mods - Each mod file has the mods.toml (or mcmod.info depending on the Minecraft version) extracted using the zip program, then the modIDs are read and stored into a list. That list is compared to a downloaded master client-side mod list curated by the author - which is stored on github.
      • Fabric mods - Each mod file has the fabric.mod.json file extracted using the zip program, then the modIDs for mods with the "environment": "client" value are stored to a list. Also - a list is likewise made of all mod's dependency values. The client list is then cross referenced with the list of mods required as dependencies - and a final list is created of client mods that aren't also required as deps. (There are lots of server sided mods that mark client side mods as dependencies!)

  • (追記) Why does the Client-side mod detection remove all client side mods? - There are lots that self-disable on servers anyways." (追記ここまで)

    • Because of the method of detection that uses modIDs (which is very efficient compared to making file name lists), and the fact that the same mod may crash servers in one version and not another version - it's simply easier to remove them all. The master client side list for Forge is carefully maintained to only include client side mods that really have no function at all when placed on server side. The Fabric detection method ensures that only mods really not needed likewise will be removed.

      Also keep in mind that the Client side mod detection is optional and may be bypassed.


  • (追記) May I include this script file in my own server pack? (追記ここまで)

    • Absolutely! This is a recommended use for it and the file may be copied and/or altered for your own use :

  • (追記) I thought BAT Script files are only a few lines of code - this has more than 2000! (追記ここまで)

    • It's perfectly acceptable that a script has this many lines. Keep in mind of all of the features that the 'program' has. Go ahead and view the code in the project 'code' section. Also note that a large portion of the file is dedicated to documentation comments and the user interface printed to screen.

Clone this wiki locally

AltStyle によって変換されたページ (->オリジナル) /