FiskPay brings cryptocurrency payment integration to L2J servers, enabling seamless in-game transactions.
This repository is a customized integration project for L2JMobius, adding blockchain payment functionality through FiskPay. It enables in-game transactions (deposits and withdrawals) linked to Ethereum wallet addresses, allowing players to seamlessly interact with blockchain-based services on the Polygon Network.
- Blockchain Integration: Connects L2JMobius with the FiskPay blockchain service for handling deposits and withdrawals.
- Account Linking: Allows players to link/unlink their Ethereum wallet addresses with their in-game accounts.
- Game Server Communication: Uses asynchronous communication to handle requests between the Login Server and Game Servers.
- Secure Transactions: Implements security checks such as wallet ownership verification and anti-exploit measures.
- Real-time Transaction Verification: Ensures instant validation of blockchain transactions, reducing wait times and preventing fraud.
- Automated Delivery System: Delivers in-game items or currency automatically upon successful blockchain transaction confirmation.
- Support for Multiple Cryptocurrencies: Enables transactions using various cryptocurrencies, providing flexibility for administrators.
- User-friendly Payment Interface: Offers a seamless and intuitive payment experience, simplifying blockchain transactions for users.
- L2JMobius source files
- FiskPay blockchain service credentials
- Basic knowledge of how to apply patches using Java
- Web3 Wallet (i.e. MetaMask)
Copy all .java
files from the l2jmobius
folder in this repository to your local L2JMobius project.
Apply all .java.diff
patch files from the l2jmobius
folders in this repository to your L2JMobius project.
Update your Login Server database using the files located in this repository l2jmobius/dist/db_installer/sql/
folder.
Register your L2J server by obtaining service credentials at:
To register, use your desired password and your Login Server remote IPv4 address.
Open FiskPayLoginClient.java
and add your credentials to the appropriate constants. Then, if needed, open GSMethods.java
and replace the reward item id.
Compile your local L2JMobius project by following the instuctions given at: https://l2jmobius.org/forum/index.php?topic=3231.0/
Manage transactions between your server and the blockchain via the following link:
https://l2.fiskpay.com/YOUR_ETHEREUM_ADDRESS_HERE/
Replace YOUR_ETHEREUM_ADDRESS_HERE with your actual Ethereum wallet address.
This project is licensed under the MIT License. See the LICENSE file for more details.