diff --git a/content/categories/clickcounter/_index.md b/content/categories/clickcounter/_index.md index e3829c0..da27e65 100644 --- a/content/categories/clickcounter/_index.md +++ b/content/categories/clickcounter/_index.md @@ -2,6 +2,4 @@ title: "Click Counter" --- -A Minecraft Forge 1.8.9 mod for counting how many times you left/right click. Featuring custom coloring, positioning, and prefixes, this mod provides useful statistics. Get started by typing "/clicks" in chat. - -There are no posts. (Update 2.4 post coming soon) \ No newline at end of file +A Minecraft Forge 1.8.9 mod for counting how many times you left/right click. Featuring custom coloring, positioning, and prefixes, this mod provides useful statistics. Get started by typing the "/clicks" command in chat. The project is under the [MIT License](https://raw.githubusercontent.com/joshuafhiggins/clickcounter/master/LICENSE). \ No newline at end of file diff --git a/content/posts/butter-engine-april2023/index.md b/content/posts/butter-engine-april2023/index.md index 251138d..871a89f 100644 --- a/content/posts/butter-engine-april2023/index.md +++ b/content/posts/butter-engine-april2023/index.md @@ -13,10 +13,6 @@ resources: - name: "featured-image" src: "featured-image.png" -#For this example to not be shown: -hiddenFromHomePage: true -hiddenFromSearch: true - tags: ["Butter Engine", "Update", "Programming"] categories: ["butterengine"] diff --git a/content/posts/clickcounter-v2.4.0/featured-image.png b/content/posts/clickcounter-v2.4.0/featured-image.png new file mode 100644 index 0000000..3e1ada4 Binary files /dev/null and b/content/posts/clickcounter-v2.4.0/featured-image.png differ diff --git a/content/posts/clickcounter-v2.4.0/index.md b/content/posts/clickcounter-v2.4.0/index.md new file mode 100644 index 0000000..7dd41c7 --- /dev/null +++ b/content/posts/clickcounter-v2.4.0/index.md @@ -0,0 +1,80 @@ +--- +title: "Cllick Counter v2.4.0 Release" +date: 2023-06-23T12:00:00-04:00 +lastmod: 2023-06-23T12:00:00-04:00 + +description: "Right clicks, general refactor, more stable/modern codebase, QOL features." +images: [] +resources: +- name: "featured-image" + src: "featured-image.png" + +tags: ["Minecraft", "Modding", "Release", "Features", "Left Click Counter Mod", "Click Counter"] +categories: ["clickcounter"] + +lightgallery: true +--- + +Right clicks, general refactor, more stable/modern codebase, QOL features. + + + +Formally known as Left Click Counter Mod, Click Counter counts your left and right clicks and displays them on your Minecraft HUD. Version 2.4.0 saw the introduction of right clicks, a general refactor, a more stable/modern codebase, and QOL features. Note: a migration of your previous config is needed (located in `.minecraft/config/LeftClickCounter.cfg`). Copy the value in the `SHHH...` key to value in `Clicks` under the `Left` catergory (located in `.minecraft/config/Clicks.cfg`). + +## Changelog + +### General + - New + - Added right clicks + - Option to toggle the display of left/right clicks + - Changes + - Renamed to Click Counter Mod + - Removed unused assets + - Removed support for other Minecraft versions (I welcome pull requests with ports to other versions) + - MIT Open Source License + - Forge 1.8.9 Gradle MDK included + - Note: Java 1.8 is required for this Gradle to work, the Gradle project must not be imported into IntelliJ + - `.gitignore` excludes project generated files + - Overhaul + - Settings/config file has been heavily refactored + - Known Bugs + - Older configs no longer work (won't fix) + +### Positioning + - New + - Added "Go back" button to return to the main page + - Overhauls + - Clicking and dragging the text moves it around and saves its position on release + - Previously: A left click on the text selected it and and right clicked saved it in a new position, no feedback was given to the user on if the text was moving + - Known Bugs + - Both lines of text can be moved at the same time, leading to them always being selected together after saving (planned for 2.4.1) + +### Colors + - Changes + - Friendly naming for chroma and shadow options + - Fixes + - Chroma and shadow options are now reflected in the "Test Color" text + - The "Refresh Color" button is more stable and will no longer crash from text input errors + - Planned + - Remove the "Refresh Color" button and update the colors on the fly (planned for 2.4.1) + +### Prefixes + - Changes + - Removed the symbol option and merged it with the entire prefix + - Note: a space should be included and must be done so by the user + +### Update Checking + - Overhauls + - Updates are now checked through GitHub's REST API + - Removed auto checking for updates on server join (prone to crashes with a race condition if the response from the API was recieved before the game server loaded) + - Failed update checks are sent silently to the console + - Known Bugs + - No response for if there are no updates avaible (planned for 2.4.1) + - Older users are no longer notified of updates (won't fix) + +## Downloads +[Release Page](https://github.com/joshuafhiggins/clickcounter/releases/tag/v2.4.0) +[Click.Counter.v2.4.0.jar](https://github.com/joshuafhiggins/clickcounter/releases/download/v2.4.0/Click.Counter.v2.4.0.jar) (from GitHub) + +## Source Code +The source code for Click Counter is avaible [on GitHub](https://github.com/joshuafhiggins/clickcounter/) under the MIT License. \ No newline at end of file diff --git a/content/posts/clickcounter-v2.4.1/featured-image.png b/content/posts/clickcounter-v2.4.1/featured-image.png new file mode 100644 index 0000000..3e1ada4 Binary files /dev/null and b/content/posts/clickcounter-v2.4.1/featured-image.png differ diff --git a/content/posts/clickcounter-v2.4.1/index.md b/content/posts/clickcounter-v2.4.1/index.md new file mode 100644 index 0000000..b5ce9ed --- /dev/null +++ b/content/posts/clickcounter-v2.4.1/index.md @@ -0,0 +1,41 @@ +--- +title: "Cllick Counter v2.4.1 Release" +date: 2023-06-24T12:00:00-04:00 +lastmod: 2023-06-24T12:00:00-04:00 + +description: "Bug fixes" +images: [] +resources: +- name: "featured-image" + src: "featured-image.png" + +tags: ["Minecraft", "Modding", "Release", "Fixes", "Left Click Counter Mod", "Click Counter"] +categories: ["clickcounter"] + +lightgallery: true +--- + +Bug fixes + + + +## Changelog + +### Positioning + - Fixed + - Both lines of text can be moved at the same time, leading to them always being selected together after saving + +### Colors + - Changes + - Removed the "Refresh Color" button and now update the colors on the fly + +### Update Checking + - Fixed + - Added response for if there are no updates avaible + +## Downloads +[Release Page](https://github.com/joshuafhiggins/clickcounter/releases/tag/v2.4.1) +[Click.Counter.v2.4.1.jar](https://github.com/joshuafhiggins/clickcounter/releases/download/v2.4.1/Click.Counter.v2.4.1.jar) (from GitHub) + +## Source Code +The source code for Click Counter is avaible [on GitHub](https://github.com/joshuafhiggins/clickcounter/) under the MIT License. \ No newline at end of file diff --git a/content/posts/example/index.md b/content/posts/example/index.md index 2849832..bc8f461 100644 --- a/content/posts/example/index.md +++ b/content/posts/example/index.md @@ -1,12 +1,10 @@ --- title: "Example" -date: 2022-08-21T15:02:56-04:00 -lastmod: 2022-08-21T16:02:56-04:00 +date: 2023-08-21T12:00:00-04:00 +lastmod: 2023-08-21T12:00:00-04:00 # date: YEAR-MONTH-DAYTHOUR:MINUTE:SECOND-04:00 draft: true -# author: "LitlToast" -# authorLink: "https://higgy999.github.io" description: "Description" images: [] resources: @@ -17,10 +15,6 @@ tags: ["Tag"] categories: ["Project"] lightgallery: true - -#For this example to not be shown: -hiddenFromHomePage: true -hiddenFromSearch: true --- Description diff --git a/content/posts/tf2classic-docker/featured-image.png b/content/posts/tf2classic-docker/featured-image.png new file mode 100644 index 0000000..a2b2483 Binary files /dev/null and b/content/posts/tf2classic-docker/featured-image.png differ diff --git a/content/posts/tf2classic-docker/index.md b/content/posts/tf2classic-docker/index.md new file mode 100644 index 0000000..bbf1f4d --- /dev/null +++ b/content/posts/tf2classic-docker/index.md @@ -0,0 +1,92 @@ +--- +title: "TF2 Classic Dedicated Server - Docker Image" +date: 2023-06-21T19:00:00-04:00 +lastmod: 2022-08-21T19:00:00-04:00 + +description: "TF2C dedicated server image, made from cm2network's TF2 image" +images: [] +resources: +- name: "featured-image" + src: "featured-image.png" + +tags: ["Docker", "Releases", "TF2 Classic"] +categories: ["General"] + +lightgallery: true +--- + +TF2C dedicated server image, made from cm2network's TF2 image. Art by Hunter R. Thompson, *"boba"* + + + +I created this Docker image for my own servers, but have released it for anyone to use. + +[![Docker Stars](https://img.shields.io/docker/stars/litltoast/tf2-classic.svg)](https://hub.docker.com/r/litltoast/tf2-classic/) [![Docker Pulls](https://img.shields.io/docker/pulls/litltoast/tf2-classic.svg)](https://hub.docker.com/r/litltoast/tf2-classic/) [![](https://img.shields.io/docker/image-size/litltoast/tf2-classic)](https://microbadger.com/images/litltoast/tf2-classic) +## Supported tags and respective `Dockerfile` links +- [`base`, `latest` (*Dockerfile*)](https://github.com/joshuafhiggins/TF2-Classic/blob/master/Dockerfile) + +## How to use this image +### Hosting a simple game server + +Running on the *host* interface (recommended):
+```console +$ docker run -d -it --net=host --name=tf2classic -e SRCDS_TOKEN={YOURTOKEN} litltoast/tf2-classic +``` + +Running using a bind mount for data persistence on container recreation: +```console +$ mkdir -p $(pwd)/tf2-data +$ chmod 777 $(pwd)/tf2-data # Makes sure the directory is writeable by the unprivileged container user +$ docker run -d -it --net=host -v $(pwd)/tf2-data:/home/steam/tf2classic-dedicated/ --name=tf2classic -e SRCDS_TOKEN={YOURTOKEN} litltoast/tf2-classic +``` + +Running multiple instances (increment SRCDS_PORT and SRCDS_TV_PORT): +```console +$ docker run -d -it --net=host --name=tf2classic-2 -e SRCDS_PORT=27016 -e SRCDS_TV_PORT=27021 -e SRCDS_TOKEN={YOURTOKEN} litltoast/tf2-classic +``` + +`SRCDS_TOKEN` **is required to be listed & reachable. Generate one here using AppID `243750`:** +[https://steamcommunity.com/dev/managegameservers](https://steamcommunity.com/dev/managegameservers)

+`SRCDS_WORKSHOP_AUTHKEY` **is required to use workshop features:** +[https://steamcommunity.com/dev/apikey](https://steamcommunity.com/dev/apikey)
+ +**It's also recommended to use "--cpuset-cpus=" to limit the game server to a specific core & thread.**
+ +## Configuration +### Environment Variables +Feel free to overwrite these environment variables, using -e (--env): +```dockerfile +SRCDS_TOKEN="changeme" (value is is required to be listed & reachable, retrieve token here (AppID 440): https://steamcommunity.com/dev/managegameservers) +SRCDS_RCONPW="changeme" (value can be overwritten by tf/cfg/server.cfg) +SRCDS_PW="changeme" (value can be overwritten by tf/cfg/server.cfg) +SRCDS_PORT=27015 +SRCDS_TV_PORT=27020 +SRCDS_IP="0" (local ip to bind) +SRCDS_FPSMAX=300 +SRCDS_TICKRATE=66 +SRCDS_MAXPLAYERS=14 +SRCDS_REGION=3 +SRCDS_STARTMAP="ctf_2fort" +SRCDS_HOSTNAME="New TF Server" (first launch only) +SRCDS_WORKSHOP_AUTHKEY="" (required to load workshop maps) +``` +### Config +TF2 Configs not guarenteed to work in TF2 Classic. + +You can edit the config using this command: +```console +$ docker exec -it tf2classic nano /home/steam/tf2classic-dedicated/tf2classic/cfg/server.cfg +``` + +If you want to learn more about configuring a TF2 server check this [documentation](https://wiki.teamfortress.com/wiki/Dedicated_server_configuration). + +## Image Variants + +### `tf2-classic:latest` +This is the only image + +## Contributors +[![Contributors Display](https://badges.pufler.dev/contributors/joshuafhiggins/TF2-Classic?size=50&padding=5&bots=false)](https://github.com/joshuafhiggins/TF2-Classic/graphs/contributors) + +## The Making of the Image +The original image from cm2network used `git clone` to pull the `entry.sh` script changes into the image. This meant that new containers would not get the entry script changes, unless the whole image was scrapped and rebuilt. Docker doesn't rebuild images if the `Dockerfile` hasn't changed, but the image needs to change if the script has changed. The solution was to simply use the `COPY` command in the `Dockerfile`. Besides that, making the Docker image was smooth. I plan on making one for [my Discord bot](https://discord.gg/b48D4m8jNs) next and to find other cool services to spin up on my home server. \ No newline at end of file