Main Menu

Recent posts

#11
JTS3ServerMod Projects and Scripts from other people / Docker
Last post by UncleSam - October 17, 2023, 08:59:23 PM
Hi,


I have no real experience in running jts3servermod using docker, but I found a ways for me which seems to work fine. Feel free to try it. Of course this is NOT official - so use at your own risk.


Regarding the license system I have no clue at the moment if this is working as expected or not. Basically it has the same ip address but could have different hardware specs every time you delete the container and respawn it again.

I am not using a special docker container which contains the hosting files. Instead I am using the official openjdk image and just mount the bot-files inside. The benefit is also that this is not exposing any hosted files.


Requirements:


       
  • knowledge about docker and docker compose
  • working bot
  • reachable database (in my case I also host the database inside docker)
  • installed "docker compose" (or the old "docker-compose")
How To:

       
  • Create a new folder
  • Inside create the "docker-compose.yaml" files (see below)
  • Stop your bot and copy your bot folder in the subfolder "botfiles"
  • Add the "entrypoint.sh" inside this folder
Also make sure to update the binding and telnet whitelist.


After performin this steps start the container using "docker compose" and check if it fails for something.


docker-compose.yaml
version: '3.5'
services:
        jts3servermod:
                container_name: jts3servermod
                image: openjdk:22
                volumes:
                        - ./botfiles:/botfiles
                restart: unless-stopped
                environment:
                        TZ: Europe/Berlin
                entrypoint: ["/botfiles/entrypoint.sh"]



entrypoint.sh
#!/bin/sh
cd /botfiles


# delete pid and lock file which could lead into the bot not starting
rm -f /botfiles/config/jts3servermod.pid
rm -f /botfiles/config/JTS3ServerMod_InstanceManager.cfg.lock


# run the bot
/usr/bin/java -Xms1G -Xmx2G -jar JTS3ServerMod.jar
#12
JTS3ServerMod MySQL & WebInterface / Re: php7 abgekündigt - Kommt p...
Last post by Stefan1200 - September 15, 2023, 07:48:39 PM
Es ist weiterhin möglich mysqli mit PHP 8.1 und 8.2 zu verwenden, man muss ggf. ein Modul installieren und es aktivieren.
Ich habe nicht die Zeit den kompletten Datenbank Part im Web Interface neu zu machen, da das Wechseln von mysqli zu PDO nicht ist, was ich in wenigen Minuten machen kann.

It is still possible to use mysqli with PHP 8.1 and 8.2, you might have to install a module and have to enable it again.
I don't have the time to recreate the whole database part of the web interface, because switching from mysqli to PDO is nothing which I can do within some minutes.
#13
JTS3ServerMod MySQL & WebInterface / php7 abgekündigt - Kommt php8 ...
Last post by supertoasty - September 15, 2023, 07:01:54 PM
Hallo zusammen,

wie bereits bekannt ist ist php7 abgekündigt und soll vermutlich nicht mehr weiter entwickelt werden.
Da im Webinterface die Datenbankverbindungen mit mysqli (welches in php8 nicht mehr unterstützt wird) durchgeführt werden, wollte ich mal fragen, ob bald auch php8 vom Webinterface unterstütz wird?

Liebe Grüße

supertoasty
#14
Der Betrieb des Bots und des Interfaces ist wieder aktiv 8)

Eine neue Version des Anti-VPN-Plugins ist live.

Außerdem biete ich nun die Möglichkeit, dass Plugins entwickelt und in das Interface eingebunden werden.

Bitte schreibt mir eine private Nachricht mit allen Details zur Funktion, nur so ist es möglich, ein Plugin zu entwickeln und in das Interface einzubinden.

Da die Plugins als Premium-Plugin eingebunden werden, entstehen keine Kosten, die für die Entwicklung notwendig sind :)
#15
The operation of the bot and the interface is active again  8)

A new version of the Anti-VPN plugin is rolled out and tested.

Also, I now offer the possibility that plugins are developed and included in the interface.

Please write me a private message with all details about the function, only this way it is possible to develop a plugin and include it in the interface.

Since the plugins would be included as a premium plugin you will not incur any costs that are necessary for the development  :)
#16
Hello all,
bad news is often followed by good news.
If everything goes according to plan, the operation and development will be resumed.

Depending on how fast the necessary hardware arrives and the colocation space is available, the interface and the bot could be available again from 08/31/2013.

Since all bots and users are deleted, it will be possible to register again.

Also the new VPN plugin is 80% finished, as soon as the interface is live again, annoying users can be removed :)
#17
Hallo zusammen,
neben schlechten Neuigkeiten folgen auch des Öfteren gute Neugikeiten.
Wenn alles planmäßig läuft wird der Betrieb und die Entwicklung wieder aufgenommen-

Abhängig davon wie schnell die notwendige Hardware eintrifft und der Colocation Platz verfügbar könnte ab dem 14.08.23 das Interface und der Bot wieder verfügbar sein.

Da alle Bots und User gelöscht sind besteht anschließend die Möglichkeit sich neu zu registrieren.


Gesucht wird außerdem ein Java Entwickler, der das VPN-Plugin neu entwickeln kann anhand der Vorgaben. Gezahlt werden bis zu 140€, alles weitere dann per PN oder TS/Discord.

Update: Ein Entwickler wurde gefunden und soviel sei gesagt, das neue VPN-Plugin ist zu 80% fertig, sobald das Interface dann wieder live ist können fleißig nervige User entfernt werden :)
#18
JTS3ServerMod MySQL & WebInterface / Re: Bot nicht erreichbar
Last post by VeLutIon - June 16, 2023, 10:01:24 PM
Hi, nein leider nicht. Sag gerne mal bescheid wenn du ne Lösung gefunden hast. Ich habe leider noch immer keine gefunden
#19
JTS3ServerMod MySQL & WebInterface / Re: Bot nicht erreichbar
Last post by Jan Brockmann - June 04, 2023, 04:05:58 PM
Wurde das Problem bei dir nun gelöst, da ich genau dasselbe Problem nun auch habe?
#20
JTS3ServerMod MySQL & WebInterface / Re: Bot nicht erreichbar
Last post by VeLutIon - May 16, 2023, 07:41:36 PM
Vielleicht kannst du die Datei mit deiner Vergleich bzw. den Inhalt schauen ob etwas von dem beschriebenen "skip-network" drinnen steht
Gruß