Prebuild Standalone Clients have arrived: (no Java installation required anymore for Windows and MacOS)
Check out the latest Release!
Due to legal reasons I have to shut down the self-hosted minigolf server on the 6th of June. See Issue #32 for more information.
For benchmarking resons, a very low spec game server is currently hosting the minigolf server application. You can try it out using the IP 35.209.2.60
and leave some feedback on how the experience was. I apologize for any downtimes, as I can not check it very often.
Playforia.net was an online game community created by Finnish game studio Playforia Inc. in 2002. As of the end of 2018, Playforia announced to close its web presence on January 7th, 2019. (Wikipedia: https://en.wikipedia.org/wiki/Playforia) The gaming platform was also formerly known as Aapeli or Playray.
The Java Applet-based Minigolf Client was one of the most popular multiplayer games on the platform. When I found a partially working codebase for parts of the Playforia related Java-Projects on GitHub (https://github.com/WorldStarHipHopX/playforia) I got it running on my computer by implementing a few small changes, which are explained below.
- 3718 Maps in 8 Categories
- Up to 4 players or Single Player mode
- Graphics quality options
- ...
- Commented out any communication with original Playforia.net servers
- Use local Map store instead of database
- Added ability to pass IP of server to client
- Ability to play on a single computer and hosting a game for up to 4 players in your home network
- Removed bad words and custom tracks
- Added ability to choose a nickname freely
- Clone this repo:
git clone [email protected]:PhilippvK/playforia-minigolf.git
- Install Java Development Kit 8 (https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html)
- OpenJDK1.8 should work as well!
- Install Apache
maven
for building: https://maven.apache.org/install.html - Optional: Install IntelliJ IDEA Java IDE (https://www.jetbrains.com/idea/download/) and import this reposiory as project
Run mvn install
in the root directory. This builds client
, server
and editor
submodules and all their respectable executables
First, the server application has to be started as it provides resources like sounds, maps and textures which are required for "offline" modes, too.
As I could not manage to include the tracks inside the compiled JAR archive, the tracks
directory has to be located at the same folder where the server.jar
is located! There is a symbolic link in the server/
directory which will likely not work on Windows systems. Please remove it and copy the directory instead!
Assuming that all 3 tools have compiled successfully (or downloaded them from the Releases Page), you have 3 possible ways for running the server binary:
- Using the IntelliJ IDE: Use the provides build artifacts or run the server by pressing the play button after compiling
- Using the Maven tool: Run
mvn compile exec:java
in the./server
,./client
or./editor
directory - Use the exported JAR file:
java -jar server.jar
The client can be started the same way (AFTER THE SERVER WAS STARTED) but you can also give launch options for server ip and game language in the following format
java -jar client.jar -server 192.168.1.7 -lang en_US # Replace IP with the one of your server (which you can find out by using for example `ifconfig`/`ipconfig`) and lang with en_US, fi_FI or sv_SE
If you want to enable debugging messages, add -verbose
to the list of arguments.
After the Login screen, which can be skipped with an empty form, you should see your familiar Playforia Minigolf Menu!
NEW: You can now choose your nickname freely. However the input to the password field will still be ignored and there is no check for errors and so on...
Running the Editor is quite straightforward as it can be started like expected: java -jar editor.jar
Tested:
- MacOS 10.14.5 Mojave with Java Version
1.8.0_152-ea
with (Open)JDK - Ubuntu 19.04 with Java version
1.8.0_265
- Windows (7/8/10)
- Passwords and logins are ignored
- Ratings are not synced
- The code is neither written by me nor my property. I do NOT represent the same values as people who have worked on this code before. (Original Source: https://github.com/WorldStarHipHopX/playforia)
- I am not responsible for any bug, problems, security flaws,...
- Also, I do not intent to extend the current codebase very much.
- The Java code you will find in the repository is pretty bad. Some parts even look like they where generated, for example by an converter tool
- There is actually an aimbot implemented in the client code. Look for
allowCheating
inGameCanvas.java
for trying it out. Use it wisely.
- @PhilippvK (BuyMeACoffe: https://www.buymeacoff.ee/PhilippvK)
- @maitovelkkis
- @eYeWoRRy
- @pehala
Have fun.
If you miss the good old times before Playforia.net went down, Minigolf probably was one of your favourite games. I hope you will have some fun in the single player or with friends with this little crappy piece of oldschool software!