Spigot & BungeeCord 1.16.2 & 1.16.3 & 1.16.4

Discussion in 'News and Announcements' started by md_5, Aug 11, 2020.

  1. He's talking 'bout the chunks.. not compiling the jar ...
    PS: ahh to late ;)
     
    #201 Jeppa, Nov 8, 2020
    Last edited: Nov 8, 2020
    • Funny Funny x 1
  2. my experience 1.16.4
    chunk saved animals / mods = no ia.
    chunk version updated.. can't downgrade.
    Server attempted to load chunk saved with newer version of minecraft! 2584 > 2580
    farms broken
    lost 30% of players
     
  3. It is, it refers to the recommended 'latest' stable version !

    Version 1.16.4 should be USED AT YOUR OWN RISK and is not recommended for production servers until it is available through
    Code (Text):
    BuildTools.jar --rev latest
    There used to be a ***WARNING*** in the console which is no longer there.
     
  4. can somebody please read this and tell me what I need to fix it ?
    Loading BuildTools version: git-BuildTools-7fe9375-122 (#122)
    Java Version: Java 15
    Current Path: /home/dadmar/server/Midgard/.
    git version 2.25.1
    BuildTools
    [email protected]
    Attempting to build version: '1.16.4' use --rev <version> to override
    Found version
    {
    "name": "2952",
    "description": "Jenkins build 2952",
    "refs": {
    "BuildData": "501ea060743c7bba4436878207e4f1232298efce",
    "Bukkit": "2e244e41b4c8ca3236d3a6fac512a8b63a2edcdd",
    "CraftBukkit": "23618b2cb56759e176e5c7796f945782cd065bc6",
    "Spigot": "a19903d24b3189e8769657b9b130f7ed5919b8b8"
    },
    "toolsVersion": 105,
    "javaVersions": [52, 59]
    }







    Patches applied cleanly to Spigot-Server
    *** Spigot patches applied!
    Compiling Spigot & Spigot-API
    Picked up _JAVA_OPTIONS: -Djdk.net.URLClassPath.disableClassPathURLCheck=true -Xmx6G
    [INFO] Scanning for projects...
    [INFO] ------------------------------------------------------------------------
    [INFO] Reactor Build Order:
    [INFO]
    [INFO] Spigot-API [jar]
    [INFO] Spigot-Parent [pom]
    [INFO] Spigot [jar]
    [INFO]
    [INFO] ----------------------< org.spigotmc:spigot-api >-----------------------
    [INFO] Building Spigot-API 1.16.4-R0.1-SNAPSHOT [1/3]
    [INFO] --------------------------------[ jar ]---------------------------------
    [INFO]
    [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ spigot-api ---
    [INFO] Deleting /home/dadmar/server/Midgard/Spigot/Spigot-API/target
    [INFO]
    [INFO] --- scriptus:0.4.1:describe (default) @ spigot-api ---
    [INFO] Set property "describe" to "git-Spigot-API-9d33e75"
    [INFO] Set property "project.build.outputTimestamp" to "1605400994"
    [INFO]
    [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ spigot-api ---
    [INFO] Using 'UTF-8' encoding to copy filtered resources.
    [INFO] skip non existing resourceDirectory /home/dadmar/server/Midgard/Spigot/Spigot-API/src/main/resources
    [INFO]
    [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ spigot-api ---
    [INFO] Changes detected - recompiling the module!
    [INFO]
    [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ spigot-api ---
    [INFO] Using 'UTF-8' encoding to copy filtered resources.
    [INFO] skip non existing resourceDirectory /home/dadmar/server/Midgard/Spigot/Spigot-API/src/test/resources
    [INFO]
    [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ spigot-api ---
    [INFO] Changes detected - recompiling the module!
    [INFO]
    [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ spigot-api ---
    [INFO] Tests are skipped.
    [INFO]
    [INFO] --- maven-jar-plugin:3.2.0:jar (default-jar) @ spigot-api ---
    [INFO] Building jar: /home/dadmar/server/Midgard/Spigot/Spigot-API/target/spigot-api-1.16.4-R0.1-SNAPSHOT.jar
    [INFO]
    [INFO] --- maven-shade-plugin:3.2.3:shade (default) @ spigot-api ---
    [INFO] Including commons-lang:commons-lang:jar:2.6 in the shaded jar.
    [INFO] Including com.google.guava:guava:jar:21.0 in the shaded jar.
    [INFO] Including com.google.code.gson:gson:jar:2.8.0 in the shaded jar.
    [INFO] Including net.md-5:bungeecord-chat:jar:1.16-R0.3 in the shaded jar.
    [INFO] Including org.yaml:snakeyaml:jar:1.26 in the shaded jar.
    [INFO] Attaching shaded artifact.
    [INFO]
    [INFO] --- maven-install-plugin:2.4:install (default-install) @ spigot-api ---
    [INFO] Installing /home/dadmar/server/Midgard/Spigot/Spigot-API/target/spigot-api-1.16.4-R0.1-SNAPSHOT.jar to /home/dadmar/.m2/repository/org/spigotmc/spigot-api/1.16.4-R0.1-SNAPSHOT/spigot-api-1.16.4-R0.1-SNAPSHOT.jar
    [INFO] Installing /home/dadmar/server/Midgard/Spigot/Spigot-API/pom.xml to /home/dadmar/.m2/repository/org/spigotmc/spigot-api/1.16.4-R0.1-SNAPSHOT/spigot-api-1.16.4-R0.1-SNAPSHOT.pom
    [INFO] ------------------------------------------------------------------------
    [INFO] Reactor Summary:
    [INFO]
    [INFO] Spigot-API 1.16.4-R0.1-SNAPSHOT .................... FAILURE [ 5.612 s]
    [INFO] Spigot-Parent dev-SNAPSHOT ......................... SKIPPED
    [INFO] Spigot 1.16.4-R0.1-SNAPSHOT ........................ SKIPPED
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD FAILURE
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 5.717 s
    [INFO] Finished at: 2020-11-15T11:43:21+11:00
    [INFO] ------------------------------------------------------------------------
    [ERROR] Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.4:install (default-install) on project spigot-api: Failed to install metadata org.spigotmc:spigot-api/maven-metadata.xml: Could not parse metadata /home/dadmar/.m2/repository/org/spigotmc/spigot-api/maven-metadata-local.xml: in epilog non whitespace content is not allowed but got > (position: END_TAG seen ...</metadata>\n>... @12:2) -> [Help 1]
    [ERROR]
    [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
    [ERROR] Re-run Maven using the -X switch to enable full debug logging.
    [ERROR]
    [ERROR] For more information about the errors and possible solutions, please read the following articles:
    [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
    Error compiling Spigot. Please check the wiki for FAQs.
    If this does not resolve your issue then please pastebin the entire BuildTools.log.txt file when seeking support.
    java.lang.RuntimeException: Error running command, return status !=0: [sh, /home/dadmar/server/Midgard/apache-maven-3.6.0/bin/mvn, clean, install]
    at org.spigotmc.builder.Builder.runProcess0(Builder.java:819)
    at org.spigotmc.builder.Builder.runProcess(Builder.java:756)
    at org.spigotmc.builder.Builder.main(Builder.java:629)
    at org.spigotmc.builder.Bootstrap.main(Bootstrap.java:34)
    Linux MINT 20
    Using this .sh file to get latest BuildTools file - then start BuildTools.jar

    cd /home/dadmar/server/hub

    rm BuildTools.jar

    wget https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar

    cd /home/dadmar/server/hub

    java -Xmx4G -Xms4G -jar BuildTools.jar --rev 1.16.4

    sleep 5

    ./start.sh
    something has changed was working for the past year
    Full Log
    https://pastebin.com/it6yNi7e
     
    #204 DaDMaR777, Nov 15, 2020
    Last edited: Nov 15, 2020
  5. home/dadmar/.m2/repository/org/spigotmc/spigot-api/maven-metadata-local.xml
    Look into that file and fix the structure or delete the file.
     
    • Agree Agree x 1
  6. That's with every version.
     
  7. This is the contents of
    <?xml version="1.0" encoding="UTF-8"?>
    <metadata>
    <groupId>org.spigotmc</groupId>
    <artifactId>spigot-api</artifactId>
    <versioning>
    <versions>
    <version>1.16.4-R0.1-SNAPSHOT</version>
    </versions>
    <lastUpdated>20201111081535</lastUpdated>
    </versioning>
    </metadata>
    >
    <version>1.16.3-R0.1-SNAPSHOT</version>
    <version>1.16.4-R0.1-SNAPSHOT</version>
    </versions>
    <lastUpdated>20201111081535</lastUpdated>
    </versioning>
    </metadata>

    so I am deleting the 1.16.3 line
    If that does not work - then I wll delete the file as suggested. - thank you

    EDIT: OK had to delete file ---- THANK YOU ----- for taking the time to help and the solution.

    [INFO] ------------------------------------------------------------------------
    [INFO] Reactor Summary:
    [INFO]
    [INFO] Spigot-API 1.16.4-R0.1-SNAPSHOT .................... SUCCESS [ 5.166 s]
    [INFO] Spigot-Parent dev-SNAPSHOT ......................... SUCCESS [ 0.082 s]
    [INFO] Spigot 1.16.4-R0.1-SNAPSHOT ........................ SUCCESS [ 19.533 s]
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD SUCCESS
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 24.885 s
    [INFO] Finished at: 2020-11-18T20:32:16+11:00
    [INFO] ------------------------------------------------------------------------
     
    #208 DaDMaR777, Nov 18, 2020
    Last edited: Dec 2, 2020 at 9:48 PM
  8. md_5

    Administrator Developer

    Oh yeah 1.16.4 is default now, I totally forgot
     
    • Winner Winner x 2
    • Funny Funny x 1
  9. @md_5 It wasn't 45 minutes ago when I made a new build of '-latest'
     
  10. md_5

    Administrator Developer

    Yes, that's why I said now
     
    • Funny Funny x 2
    • Like Like x 1
  11. @md_5 Thanks to yourself and all of your team, and to all of the contributers who make this possible.

    I have just edited the BuildTools Wiki to reflect the change of status '--rev latest' to 1.16.4
     
    #212 Goldentoenail, Nov 21, 2020
    Last edited: Nov 21, 2020
  12. I just noticed that the console commands (the actual command, like 'version') aren't written to the log file. Shouldn't they be?

    (Note this is not affected by the most recent commit, 167ff5917365. The previous version didn't include the commands, either.)
     
  13. md_5

    Administrator Developer

    I don't think they ever have been, even in Vanilla?
     
  14. They were 4 years ago with CraftBukkit. I just checked an old log file I have laying around:
    Code (Text):
    2016-10-31 04:14:03 [INFO] CONSOLE issued server command: /gc
    2016-10-31 04:14:03 [INFO] Uptime: 1 day 18 hours 5 minutes
    2016-10-31 04:14:03 [INFO] Current TPS = 20
    2016-10-31 04:14:03 [INFO] Maximum memory: 3,065 MB.
    2016-10-31 04:14:03 [INFO] Allocated memory: 3,065 MB.
    2016-10-31 04:14:03 [INFO] Free memory: 644 MB.
    EDIT: That was 1.8.8.
     
    #216 Bobcat00, Nov 24, 2020
    Last edited: Nov 24, 2020
  15. I tested Vanilla 1.16.4, and it did NOT log the console commands. For that matter, it doesn't log in-game player commands!

    At least I proved that Craftbukkit 1.8.8 logged the console commands, so I'm not going crazy.
     
  16. If i do a /ping in console i get something like this:
    Code (Text):
    [08:18:59] [Server thread/INFO]: CONSOLE issued server command: /ping
    [08:18:59] [Server thread/INFO]: [0;36;1m..::[0;31;22mPông[0;36;1m::..![m[code/]
    So.. maybe a setting?
     
  17. Is that from the log file? Are you using Multicraft? Multicraft will output the commands to the console window.

    I can't find anything in the code which would write console commands to the log file.
     
  18. To be honest, I would Not mind if the log files would show what was typed into the console and not just the output, it makes grepping data so much easier. Easier overview as well.
     
    • Agree Agree x 2