A mapping tool, that uses Payara Server and Jakarta EE to display a live Minecraft map in your browser.
- Servlets
- Generating map tiles.
- Generating player icons.
- REST API
- Populating the database.
- Updating players and events.
- Postgres Database
- Storing every individual pixel for the map.
- Storing player and event locations.
Data can be fed into FishMaps by any application, but it is intended for use with the FishMaps Minecraft mod.
FishMaps will require a Postgres database (localhost:5432
) with the name FishMaps.
The following batch script can be used for quick setup:
@ECHO OFF
CALL asadmin start-domain
CALL asadmin add-library "C:\path\to\your\.m2\repository\org\postgresql\postgresql\42.3.1\postgresql-42.3.1.jar"
CALL asadmin create-jdbc-connection-pool --dataSourceClassname=org.postgresql.ds.PGSimpleDataSource --resType=javax.sql.DataSource postgres-pool
CALL asadmin set resources.jdbc-connection-pool.postgres-pool.property.password=DATABASE_PASSWORD
CALL asadmin set resources.jdbc-connection-pool.postgres-pool.property.databaseName=FishMaps
CALL asadmin set resources.jdbc-connection-pool.postgres-pool.property.serverName=localhost
CALL asadmin set resources.jdbc-connection-pool.postgres-pool.property.user=postgres
CALL asadmin set resources.jdbc-connection-pool.postgres-pool.property.portNumber=5432
CALL asadmin ping-connection-pool postgres-pool
CALL asadmin create-jdbc-resource --enabled=true --poolName=postgres-pool --target=domain jdbc/local-postgres
CALL asadmin create-resource-ref --enabled=true --target=server jdbc/local-postgres
CALL asadmin stop-domain